Vanilla Development Maling List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS update: Vanilla
Date: Saturday March 13, 1999 @ 3:01
Author: cameron
Update of /home/netrek/cvsroot/Vanilla
In directory cvs.castle.real-time.com:/var/tmp/cvs-serv8557
Modified Files:
configure.in configure
Log Message:
reorder libgmp and libmpbsd scan since libmpbsd calls libgmp
****************************************
Index: Vanilla/configure.in
diff -u Vanilla/configure.in:1.12 Vanilla/configure.in:1.13
--- Vanilla/configure.in:1.12 Sat Mar 13 02:13:54 1999
+++ Vanilla/configure.in Sat Mar 13 03:01:41 1999
@@ -281,8 +281,8 @@
MPLIB=nope
else
AC_CHECK_LIB(mp, main, MPLIB="-lmp", MPLIB=" ")
- AC_CHECK_LIB(gmp, main, MPLIB="$MPLIB -lgmp", MPLIB=nope)
AC_CHECK_LIB(mpbsd, main, MPLIB="$MPLIB -lmpbsd", MPLIB=" ")
+ AC_CHECK_LIB(gmp, main, MPLIB="$MPLIB -lgmp", MPLIB=nope)
fi
if test "$MPLIB" = nope; then
dirs="$srcdir/gmp-2.0.2 /usr/unsupported/lib /usr/local/lib /usr/gnu/lib \
Index: Vanilla/configure
diff -u Vanilla/configure:1.12 Vanilla/configure:1.13
--- Vanilla/configure:1.12 Sat Mar 13 02:13:53 1999
+++ Vanilla/configure Sat Mar 13 03:01:41 1999
@@ -2595,14 +2595,14 @@
MPLIB=" "
fi
- echo $ac_n "checking for main in -lgmp""... $ac_c" 1>&6
-echo "configure:2600: checking for main in -lgmp" >&5
-ac_lib_var=`echo gmp'_'main | sed 'y%./+-%__p_%'`
+ echo $ac_n "checking for main in -lmpbsd""... $ac_c" 1>&6
+echo "configure:2600: checking for main in -lmpbsd" >&5
+ac_lib_var=`echo mpbsd'_'main | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
-LIBS="-lgmp $LIBS"
+LIBS="-lmpbsd $LIBS"
cat > conftest.$ac_ext <<EOF
#line 2608 "configure"
#include "confdefs.h"
@@ -2626,20 +2626,20 @@
fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo "$ac_t""yes" 1>&6
- MPLIB="$MPLIB -lgmp"
+ MPLIB="$MPLIB -lmpbsd"
else
echo "$ac_t""no" 1>&6
-MPLIB=nope
+MPLIB=" "
fi
- echo $ac_n "checking for main in -lmpbsd""... $ac_c" 1>&6
-echo "configure:2637: checking for main in -lmpbsd" >&5
-ac_lib_var=`echo mpbsd'_'main | sed 'y%./+-%__p_%'`
+ echo $ac_n "checking for main in -lgmp""... $ac_c" 1>&6
+echo "configure:2637: checking for main in -lgmp" >&5
+ac_lib_var=`echo gmp'_'main | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
-LIBS="-lmpbsd $LIBS"
+LIBS="-lgmp $LIBS"
cat > conftest.$ac_ext <<EOF
#line 2645 "configure"
#include "confdefs.h"
@@ -2663,10 +2663,10 @@
fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo "$ac_t""yes" 1>&6
- MPLIB="$MPLIB -lmpbsd"
+ MPLIB="$MPLIB -lgmp"
else
echo "$ac_t""no" 1>&6
-MPLIB=" "
+MPLIB=nope
fi
fi