From: Pekka Riikonen Date: Wed, 10 Mar 2004 19:32:07 +0000 (+0000) Subject: updates. X-Git-Tag: silc.server.0.9.19~80 X-Git-Url: http://git.silcnet.org/gitweb/?a=commitdiff_plain;h=58f2796d67dab087261a278ef7f6638f5977305c;p=silc.git updates. --- diff --git a/CHANGES b/CHANGES index 61012997..fac02d84 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,10 @@ +Wed Mar 10 21:30:02 EET 2004 Pekka Riikonen + + * Create one configure script from configure fragments + (configure.ad). This is a first step towards new distribution + system. Affected files prepare, configure.in.pre, + lib/silcmath/mpi/configure.ad. + Wed Mar 10 18:35:24 CET 2004 Jochen Eisinger * Removed expiring of client key pair. Affected file is diff --git a/configure.in.pre b/configure.in.pre index c2e6e08b..2c66f012 100644 --- a/configure.in.pre +++ b/configure.in.pre @@ -307,16 +307,16 @@ AC_ARG_ENABLE(stack-trace, # Disable all assembler optimizations # AC_MSG_CHECKING(whether to enable assembler optimizations) -want_asm="yes" +want_asm=true AC_ARG_ENABLE(asm, [ --disable-asm do not use assembler optimizations], [ AC_MSG_RESULT(no) - want_asm="no" + want_asm=false ], [ AC_MSG_RESULT(yes) - want_asm="yes" + want_asm=true ]) @@ -330,7 +330,7 @@ AC_DEFUN(SILC_ADD_CFLAGS, [ tmp_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS $1" AC_MSG_CHECKING(whether $CC accepts $1 flag) - AC_TRY_LINK(, , AC_MSG_RESULT(yes), [AC_MSG_RESULT(no) + AC_TRY_LINK([], [], AC_MSG_RESULT(yes), [AC_MSG_RESULT(no) CFLAGS="$tmp_CFLAGS" $2]) unset tmp_CFLAGS @@ -1244,7 +1244,12 @@ fi echo " SIM support ...................: $sim_support" echo " IPv6 support ..................: $summary_ipv6" echo " Iconv support .................: $iconv_support" -echo " Assembler optimizations .......: $want_asm" +if test x$want_asm = xfalse; then + summary_asm="no" +else + summary_asm="yes" +fi +echo " Assembler optimizations .......: $summary_asm" mp="MPI" if test x$mp_gmp = xtrue; then diff --git a/prepare b/prepare index f72a5f59..219d718b 100755 --- a/prepare +++ b/prepare @@ -50,7 +50,7 @@ SILC_VERSION=0.9.12 # Base version # # Arguments: ad_make_configure # -function ad_make_configure() +ad_make_configure() { rm -f configure.in @@ -158,17 +158,6 @@ autoheader >/dev/null 2>/dev/null libtoolize --automake --copy automake -#echo "Preparing mpi" -#cp Makefile.defines.in lib/silcmath/mpi -#cp Makefile.defines_int.in lib/silcmath/mpi -#cd lib/silcmath/mpi -#aclocal -#autoconf -#autoheader >/dev/null 2>/dev/null -#libtoolize --automake --copy -#automake >/dev/null 2>/dev/null -#cd ../../.. - file=includes/version_internal.h echo "/* Automatically generated by ./prepare */" >$file echo "#define SILC_VERSION_STRING \"$dist_version\"" >>$file