f8166a12da
o.k. from mbalmer (also new maintainer).
38 lines
1.5 KiB
Plaintext
38 lines
1.5 KiB
Plaintext
$OpenBSD: patch-configure,v 1.3 2006/10/20 22:52:47 kili Exp $
|
|
--- configure.orig Tue Oct 3 01:07:51 2006
|
|
+++ configure Sun Oct 15 13:46:10 2006
|
|
@@ -6039,7 +6039,7 @@ if test "${ac_cv_lib_tiff_TIFFOpen+set}"
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
else
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
-LIBS="-ltiff -lm $LIBS"
|
|
+LIBS="-ltiff -ljpeg -lz -lm $LIBS"
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
@@ -34119,10 +34119,10 @@ else
|
|
GS_VER_MINOR=`gs --version | cut -d . -f 2`
|
|
echo "$as_me:$LINENO: result: ${GS_VER_MAJOR}.${GS_VER_MINOR}" >&5
|
|
echo "${ECHO_T}${GS_VER_MAJOR}.${GS_VER_MINOR}" >&6
|
|
- if (( "${GS_VER_MAJOR}" < 7 )) ; then
|
|
+ if [ "${GS_VER_MAJOR}" -lt 7 ] ; then
|
|
{ echo "$as_me:$LINENO: WARNING: \"GhostScript found" >&5
|
|
echo "$as_me: WARNING: \"GhostScript found" >&2;}
|
|
- elif (( "${GS_VER_MAJOR}" < 8 )) ; then
|
|
+ elif [ "${GS_VER_MAJOR}" -lt 8 ] ; then
|
|
{ echo "$as_me:$LINENO: WARNING: \"GhostScript v7 found. v8 recommended.\"" >&5
|
|
echo "$as_me: WARNING: \"GhostScript v7 found. v8 recommended.\"" >&2;}
|
|
fi
|
|
@@ -44116,9 +44116,9 @@ if test -z "${GS_PATH}" ; then
|
|
echo "***GhostScript could not be found. See README.***"
|
|
else
|
|
echo "GhostScript ${GS_VER_MAJOR}.${GS_VER_MINOR} was found at ${GS_PATH}"
|
|
- if (( "${GS_VER_MAJOR}" < 7 )) ; then
|
|
+ if [ "${GS_VER_MAJOR}" -lt 7 ] ; then
|
|
echo " *** GhostScript versions older than 7 MAY NOT WORK; v8 recommended ***"
|
|
- elif (( "${GS_VER_MAJOR}" < 8 )) ; then
|
|
+ elif [ "${GS_VER_MAJOR}" -lt 8 ] ; then
|
|
echo " *** GhostScript 8 is STRONGLY recommended ***"
|
|
fi
|
|
fi
|