- use better filename for patch

- change -lpthread -> -pthread consistantly throughout the autoconf script
This commit is contained in:
brad 2000-09-13 08:37:15 +00:00
parent 114b5a68e6
commit 830303b9f5
2 changed files with 29 additions and 20 deletions

View File

@ -1,20 +0,0 @@
--- configure.orig Mon May 29 12:14:05 2000
+++ configure Sat Sep 2 20:12:26 2000
@@ -2785,7 +2785,7 @@
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
-LIBS="-lpthread $LIBS"
+LIBS="-pthread $LIBS"
cat > conftest.$ac_ext <<EOF
#line 2791 "configure"
#include "confdefs.h"
@@ -2813,7 +2813,7 @@
fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo "$ac_t""yes" 1>&6
- LIBS="$LIBS -lpthread"
+ LIBS="$LIBS -pthread"
else
echo "$ac_t""no" 1>&6
fi

View File

@ -0,0 +1,29 @@
--- configure.orig Mon May 29 08:14:05 2000
+++ configure Tue Sep 12 22:40:24 2000
@@ -2778,14 +2778,14 @@
echo "$ac_t""no" 1>&6
fi
- echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
-echo "configure:2783: checking for pthread_create in -lpthread" >&5
+ echo $ac_n "checking for pthread_create in -pthread""... $ac_c" 1>&6
+echo "configure:2783: checking for pthread_create in -pthread" >&5
ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
if eval "test \"\${ac_cv_lib_$ac_lib_var+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
-LIBS="-lpthread $LIBS"
+LIBS="-pthread $LIBS"
cat > conftest.$ac_ext <<EOF
#line 2791 "configure"
#include "confdefs.h"
@@ -2813,7 +2813,7 @@
fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo "$ac_t""yes" 1>&6
- LIBS="$LIBS -lpthread"
+ LIBS="$LIBS -pthread"
else
echo "$ac_t""no" 1>&6
fi