From 7c84d120d8433c6a3327d8ac806c1fb09e5e67c5 Mon Sep 17 00:00:00 2001 From: Pekka Riikonen Date: Wed, 10 Mar 2004 19:36:01 +0000 Subject: [PATCH] updates --- configure.in.pre | 4 ++-- prepare | 11 +++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/configure.in.pre b/configure.in.pre index 2c66f012..b23194a8 100644 --- a/configure.in.pre +++ b/configure.in.pre @@ -326,11 +326,11 @@ AC_ARG_ENABLE(asm, # Function to check if compiler flag works # Usage: SILC_ADD_CFLAGS(FLAGS, [ACTION-IF-FAILED]) -AC_DEFUN(SILC_ADD_CFLAGS, +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 diff --git a/prepare b/prepare index 219d718b..4f74fe06 100755 --- a/prepare +++ b/prepare @@ -158,6 +158,17 @@ 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 -- 2.43.0