2 dnl Binary distribution configure script
8 AC_INIT(mk/config.mk.in)
12 dnl--------------------------------------------------------------------
13 dnl * Deal with arguments telling us gmp is somewhere odd
14 dnl--------------------------------------------------------------------
20 if test "x$gmp_libraries" != "xNONE"; then
21 LDFLAGS="-L$gmp_libraries $LDFLAGS"
22 GMP_LIB_DIRS=$gmp_libraries
24 if test "x$gmp_includes" != "xNONE"; then
25 CPPFLAGS="-I$gmp_includes $CPPFLAGS"
26 GMP_INCLUDE_DIRS=$gmp_includes
28 AC_SUBST(GMP_INCLUDE_DIRS)
29 AC_SUBST(GMP_LIB_DIRS)
32 dnl ** Check Perl installation **
34 AC_PATH_PROG(PerlCmd,perl)
35 if test -z "$PerlCmd"; then
36 echo "You must install perl before you can continue"
37 echo "Perhaps it is already installed, but not in your PATH?"
43 dnl ** figure out how to do a BSD-ish install **
48 dnl ** how to do symlinks **
53 dnl ** how to invoke `ar' and `ranlib'
55 FP_PROG_AR_NEEDS_RANLIB
58 dnl ** Find the path to sed **
60 AC_PATH_PROG(SedCmd,sed)
63 dnl ** How to invoke cpp directly **
69 dnl ** Check gcc version and flags we need to pass it **
74 AC_CONFIG_FILES(extra-gcc-opts mk/config.mk mk/install.mk)
77 echo "****************************************************"
78 echo "Configuration done, ready to 'make install'"
79 echo "(see README and INSTALL files for more info.)"
80 echo "****************************************************"