43492dc07f
- use SUBST_CMD - fix FR locale (use fr.po from upstream SVN) from Pierre-Emmanuel Andre (MAINTAINER), thanks!
39 lines
1.3 KiB
Plaintext
39 lines
1.3 KiB
Plaintext
$OpenBSD: patch-configure,v 1.3 2008/08/25 14:48:42 ajacoutot Exp $
|
|
--- configure.orig Wed Jul 30 17:02:19 2008
|
|
+++ configure Wed Jul 30 17:03:05 2008
|
|
@@ -5397,13 +5397,13 @@ else
|
|
use_ical=1
|
|
fi
|
|
|
|
-{ echo "$as_me:$LINENO: checking for pthread_attr_init in -lpthread" >&5
|
|
-echo $ECHO_N "checking for pthread_attr_init in -lpthread... $ECHO_C" >&6; }
|
|
+{ echo "$as_me:$LINENO: checking for pthread_attr_init in -pthread" >&5
|
|
+echo $ECHO_N "checking for pthread_attr_init in -pthread... $ECHO_C" >&6; }
|
|
if test "${ac_cv_lib_pthread_pthread_attr_init+set}" = set; then
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
else
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
-LIBS="-lpthread $LIBS"
|
|
+LIBS="-pthread $LIBS"
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
@@ -5465,7 +5465,7 @@ else
|
|
fi
|
|
|
|
if test "$lib" = "yes" && test "$use_ical" = "1"; then
|
|
- LDFLAGS="${LDFLAGS} -lpthread"
|
|
+ LDFLAGS="${LDFLAGS} -pthread"
|
|
{ echo "$as_me:$LINENO: checking for icalparser_new in -lical" >&5
|
|
echo $ECHO_N "checking for icalparser_new in -lical... $ECHO_C" >&6; }
|
|
if test "${ac_cv_lib_ical_icalparser_new+set}" = set; then
|
|
@@ -5534,7 +5534,7 @@ else
|
|
fi
|
|
|
|
if test "$lib" = "yes"; then
|
|
- ical_LIBS="-lical -lpthread"
|
|
+ ical_LIBS="-lical -pthread"
|
|
|
|
cat >>confdefs.h <<\_ACEOF
|
|
#define HAVE_LIBICAL 1
|