freebsd-ports/multimedia/xdvshow/files/patch-configure.in
Hidetoshi Shimokawa e530b8fce1 - Remove -pthread from CFLAGS for -current.
- Distfile has been updated(PAL support).
2003-09-26 12:55:59 +00:00

42 lines
849 B
Text

--- configure.in.orig Thu May 16 20:07:47 2002
+++ configure.in Sun Sep 21 11:54:41 2003
@@ -18,8 +18,8 @@
AC_PROG_CC_WARNINGS()
-LDFLAGS="$LDFLAGS -L/usr/local/lib"
-CFLAGS="-I/usr/local/include $CFLAGS"
+LDFLAGS="$LDFLAGS -L/usr/local/lib %%PTHREAD_LIBS%%"
+CFLAGS="-I/usr/local/include $CFLAGS %%PTHREAD_CFLAGS%%"
AC_PATH_X
if test $have_x
@@ -38,11 +38,6 @@
echo "*****************************"
exit
])
-AC_CHECK_LIB(pthread, main, [],
- [
- CFLAGS="$CFLAGS -pthread"
- ])
-
dnl AC_WITH_SDL
AC_CHECK_LIB(SDL, main,
@@ -80,14 +75,8 @@
AC_CANONICAL_HOST
case "$host_os" in
- freebsd4*)
- echo " + OS Type is FreeBSD 4.x"
- CFLAGS="-DFREEBSD_4 $CFLAGS"
- ;;
-
- freebsd5*)
- echo " + OS Type is FreeBSD 5.x"
- CFLAGS="-DFREEBSD_5 $CFLAGS"
+ freebsd*)
+ echo " + OS Type is FreeBSD"
;;
darwin1.3.*)