+Wed Mar 10 21:30:02 EET 2004 Pekka Riikonen <priikone@silcnet.org>
+
+ * 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 <jochen@penguin-breeder.org>
* Removed expiring of client key pair. Affected file is
# 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
])
[ 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
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
#
# Arguments: ad_make_configure <main_configure_file>
#
-function ad_make_configure()
+ad_make_configure()
{
rm -f configure.in
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