./configure[7897]: LIBS: not found

Don't introduce a syntax error in configure; sh(1) is not make(1)
and here the expansion happens in sh.  ok rpointel@
This commit is contained in:
naddy 2011-12-10 19:06:03 +00:00
parent a450bb4c9e
commit 3ba3d24b0d
4 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-configure_in,v 1.8 2009/01/01 21:03:27 djm Exp $
$OpenBSD: patch-configure_in,v 1.9 2011/12/10 19:06:03 naddy Exp $
--- configure.in.orig Wed Oct 18 02:03:36 2006
+++ configure.in Fri Dec 26 12:27:20 2008
@@ -197,7 +197,7 @@ case $ac_sys_system/$ac_sys_release in
@ -18,7 +18,7 @@ $OpenBSD: patch-configure_in,v 1.8 2009/01/01 21:03:27 djm Exp $
+# AC_SEARCH_LIBS(sem_init, pthread rt posix4) # 'Real Time' functions on Solaris
# posix4 on Solaris 2.6
# pthread (first!) on Linux
+ LIBS="-pthread $(LIBS)"
+ LIBS="-pthread ${LIBS}"
fi
# check if we need libintl for locale functions

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-configure_in,v 1.6 2009/01/01 21:03:27 djm Exp $
$OpenBSD: patch-configure_in,v 1.7 2011/12/10 19:06:03 naddy Exp $
--- configure.in.orig Sun Dec 14 01:13:52 2008
+++ configure.in Mon Dec 15 20:13:14 2008
@@ -201,7 +201,7 @@ case $ac_sys_system/$ac_sys_release in
@ -39,7 +39,7 @@ $OpenBSD: patch-configure_in,v 1.6 2009/01/01 21:03:27 djm Exp $
+# AC_SEARCH_LIBS(sem_init, pthread rt posix4) # 'Real Time' functions on Solaris
# posix4 on Solaris 2.6
# pthread (first!) on Linux
+ LIBS="-pthread $(LIBS)"
+ LIBS="-pthread ${LIBS}"
fi
# check if we need libintl for locale functions

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-configure_in,v 1.5 2011/07/07 21:32:39 jasper Exp $
$OpenBSD: patch-configure_in,v 1.6 2011/12/10 19:06:03 naddy Exp $
Wrong value of LDSHARED in sysconfig, cf http://bugs.python.org/issue10547
@ -56,7 +56,7 @@ Wrong value of LDSHARED in sysconfig, cf http://bugs.python.org/issue10547
+# AC_SEARCH_LIBS(sem_init, pthread rt posix4) # 'Real Time' functions on Solaris
# posix4 on Solaris 2.6
# pthread (first!) on Linux
+ LIBS="-pthread $(LIBS)"
+ LIBS="-pthread ${LIBS}"
fi
# check if we need libintl for locale functions

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-configure_in,v 1.1.1.1 2011/09/20 10:51:26 fgsch Exp $
$OpenBSD: patch-configure_in,v 1.2 2011/12/10 19:06:03 naddy Exp $
--- configure.in.orig Sat Sep 3 18:16:50 2011
+++ configure.in Mon Sep 5 20:00:17 2011
@@ -1773,7 +1773,7 @@
@ -42,7 +42,7 @@ $OpenBSD: patch-configure_in,v 1.1.1.1 2011/09/20 10:51:26 fgsch Exp $
- # pthread (first!) on Linux
+ case $ac_sys_system/$ac_sys_release in
+ OpenBSD*)
+ LIBS="-pthread $(LIBS)" ;;
+ LIBS="-pthread ${LIBS}" ;;
+ *)
+ AC_SEARCH_LIBS(sem_init, pthread rt posix4) ;; # 'Real Time' functions on Solaris
+ # posix4 on Solaris 2.6