summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/qu-prolog/files/qu-prolog-7.2-configure.patch')
-rw-r--r--dev-lang/qu-prolog/files/qu-prolog-7.2-configure.patch30
1 files changed, 16 insertions, 14 deletions
diff --git a/dev-lang/qu-prolog/files/qu-prolog-7.2-configure.patch b/dev-lang/qu-prolog/files/qu-prolog-7.2-configure.patch
index 222a0940e773..e2df546b5fcf 100644
--- a/dev-lang/qu-prolog/files/qu-prolog-7.2-configure.patch
+++ b/dev-lang/qu-prolog/files/qu-prolog-7.2-configure.patch
@@ -1,15 +1,17 @@
--- qp7.2.orig/configure.in 2006-04-06 14:14:33.000000000 +1200
-+++ qp7.2/configure.in 2006-05-27 19:41:18.000000000 +1200
-@@ -25,7 +25,7 @@
++++ qp7.2/configure.in 2006-08-07 20:12:48.000000000 +1200
+@@ -25,7 +25,9 @@
#
DEBUGGING=" -DNDEBUG "
AC_ARG_ENABLE(debug, [ --enable-debug Turn on debugging],
-[ DEBUGGING=])
-+[ DEBUGGING="-DDEBUG_BLOCK -DDEBUG_IO -DDEBUG_MT -DDEBUG_RETRY -DDEBUG_SCHED -DDEBUG_TIMEOUT"])
++[if test "$enable_debug" != no; then
++ DEBUGGING="-DDEBUG_BLOCK -DDEBUG_IO -DDEBUG_MT -DDEBUG_RETRY -DDEBUG_SCHED -DDEBUG_TIMEOUT"
++fi])
AC_SUBST(DEBUGGING)
# Single versus multiple thread configuraation.
-@@ -34,8 +34,6 @@
+@@ -34,8 +36,6 @@
if test "$enable_multiple_threads" != no; then
# Multiple threads is the default.
AC_DEFINE(MULTIPLE_THREADS)
@@ -18,7 +20,7 @@
fi
AC_LANG_CPLUSPLUS
-@@ -115,17 +113,13 @@
+@@ -115,17 +115,13 @@
AC_SUBST(QPPP_TRADITIONAL)
fi
@@ -39,7 +41,7 @@
TK_ICM=
ICM_LIB=
AC_SUBST(TK_ICM)
-@@ -140,11 +134,17 @@
+@@ -140,11 +136,17 @@
ICM_LIB="-licm -lpthread"
AC_SUBST(ICM_LIB)
fi
@@ -58,7 +60,7 @@
ELVIN_LIB=
ELVIN_CFLAGS=
AC_SUBST(ELVIN_LIB)
-@@ -160,6 +160,7 @@
+@@ -160,6 +162,7 @@
AC_SUBST(ELVIN_LIB)
AC_SUBST(ELVIN_CFLAGS)
fi
@@ -66,7 +68,7 @@
GCCINCLUDES=
AC_ARG_WITH(gcclib,
-@@ -232,12 +233,12 @@
+@@ -232,12 +235,12 @@
then
TKDIR=NONE
else
@@ -81,7 +83,7 @@
TKDIR=`dirname $tkfile`
TKL=`basename $tkfile .a | sed -e "s/lib//"`
fi
-@@ -269,12 +270,12 @@
+@@ -269,12 +272,12 @@
then
TKDIR=NONE
else
@@ -96,7 +98,7 @@
TCLDIR=`dirname $tclfile`
TCLL=`basename $tclfile .a | sed -e "s/lib//"`
fi
-@@ -304,7 +305,7 @@
+@@ -304,7 +307,7 @@
then
TKDIR=NONE
else
@@ -105,7 +107,7 @@
TKHDIR=`dirname $tkf`
fi
rm $tktmp
-@@ -360,12 +361,12 @@
+@@ -360,12 +363,12 @@
then
TKDIR=NONE
else
@@ -120,7 +122,7 @@
TKDIR=`dirname $tkfile`
TKL=`basename $tkfile .so | sed -e "s/lib//"`
fi
-@@ -397,12 +398,12 @@
+@@ -397,12 +400,12 @@
then
TKDIR=NONE
else
@@ -135,7 +137,7 @@
TCLDIR=`dirname $tclfile`
TCLL=`basename $tclfile .so | sed -e "s/lib//"`
fi
-@@ -432,7 +433,7 @@
+@@ -432,7 +435,7 @@
then
TKDIR=NONE
else
@@ -144,7 +146,7 @@
TKHDIR=`dirname $tkf`
fi
rm $tktmp
-@@ -529,7 +530,7 @@
+@@ -529,7 +532,7 @@
#----------------------------------------------------------------------------
dnl Check for CPP version
AC_MSG_CHECKING([for GCC version])