Mail Archives: djgpp/1997/05/22/08:42:55
I have uploaded the DJGPP port of GNU autoconf 2.12
to simtelnet.
What is autoconf?
=================
Autoconf is a collection of shell scripts, which allows
you to produce redy to use configure scripts from a
small configure.in file, using very powerfull macros
to check your system for available programs, functions
and so on.
It comes in two archives:
acnf212b.zip - This conatine the binaries (scripts) and
documentation in INFO format
acnf212s.zip - The sources
If you reply to this message, please send it not
announce-djgpp AT delorie DOT com but use instead
djgpp AT delorie DOT com
The file 'readme.djg' which is part of the archives
is appended to this post.
------------------------------------------------------
This is the port of GNU autoconf 2.12 to DJGPP
DJGPP specific changes:
=======================
These changes are very small but powerfull. I changed in
'acgeneral.m4' and 'acspecific.m4' the tests for a given
program, so they can be found using the 'test -x' instead
of the original 'test -f' and I changed there also the
$IFS so the programs can be searched also on MS-DOS, where
the path separator is ';'.
These patches are done in the 'djgppcfg.sh' script, which
is called by configure.bat.
I changed also in the above mentioned '.m4' files the absolute
paths to the data files to using the ${DJGPP} variable.
Requirements:
=============
- GNU bash
- GNU sed
- GNU m4
- GNU install (ginstall)
Building and installing:
========================
create at first (if not already done) a directory
/bin
NOTE: This must be the on the current drive.
copy you bash.exe to /bin/sh.exe
To build autoconf use the following steps:
configure.bat
make
make install
To install it:
make install
How to use autonf
=================
Read the autoconf doc for all the autoconf options.
Since MS-DOS does not support to run shell scripts
directly, you have to run autoconf by a call of
bash.
bash autoconf
Thats (hopefully) the only difference in running autoconf
on DJGPP.
How to run configure scripts
============================
When you have a package with a configure script, which was
created by autoconf, then run it like:
bash configure
NOTE: If the configure script was created by autoconf not from
DJGPP, run at first autoconf from this package here, because it
creates a configure script, which knows about the DJGPP specific
things (see the changes at the beginning of this file)
bash autoconf
Documentation for autoconf:
===========================
After the 'make install' the INFO files, which contain
the documentation about autoconf are copied to your
INFO directory. To access these files also from the
main dir info-file, edit the file dir.txi by adding
the following lines:
* Standards: (standards). GNU coding standards.
* Autoconf: (autoconf). Create source code configuration scripts.
If you have any questions about the DJGPP specific parts
of autoconf post it in
comp.os.msdos.djgpp
or mail me directly.
Robert Hoehne <robert DOT hoehne AT mathematik DOT tu-chemnitz DOT de>
*****************************************************************
* Robert Hoehne, Fakultaet fuer Mathematik, TU-Chemnitz-Zwickau *
* Post: Am Berg 3, D-09573 Dittmannsdorf *
* e-Mail: Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE *
* WWW: http://www.tu-chemnitz.de/~rho *
*****************************************************************
- Raw text -