version 1.6, 2003/06/27 12:18:12 |
version 1.7, 2003/09/23 21:39:48 |
|
|
$NetBSD$ |
$NetBSD$ |
|
|
--- configure.orig Tue Oct 1 16:05:55 2002 |
--- configure.orig Fri May 23 04:28:51 2003 |
+++ configure |
+++ configure |
@@ -37,23 +37,23 @@ |
@@ -37,23 +37,23 @@ |
# |
# |
|
|
SYSGID= |
SYSGID= |
DSO=auto |
DSO=auto |
GETTY=auto |
GETTY=auto |
@@ -72,8 +72,8 @@ DPS=no |
@@ -73,8 +73,8 @@ GS=no |
GS=no |
|
IMP=no |
IMP=no |
UTMP=auto |
UTMP=auto |
|
OPTIMIZER="-O" |
-LIBTIFF="-L/usr/local/lib -ltiff" |
-LIBTIFF="-L/usr/local/lib -ltiff" |
-TIFFINC=/usr/local/include |
-TIFFINC=/usr/local/include |
+LIBTIFF="-Wl,-R${PREFIX}/lib -L${PREFIX}/lib -ltiff -ljpeg -lz -lm" |
+LIBTIFF="-Wl,-R${PREFIX}/lib -L${PREFIX}/lib -ltiff -ljpeg -lz -lm" |
|
|
TIFFBIN= |
TIFFBIN= |
LIBZ= |
LIBZ= |
ZLIBINC= |
ZLIBINC= |
@@ -81,8 +81,8 @@ REGEX=yes |
@@ -82,8 +82,8 @@ REGEX=yes |
LIBREGEX='-L${DEPTH}/regex -lregex' |
LIBREGEX='-L${DEPTH}/regex -lregex' |
REGEXINC='${DEPTH}/${TOPSRCDIR}/regex' |
REGEXINC='${DEPTH}/${TOPSRCDIR}/regex' |
DBLIB=no |
DBLIB=no |
|
|
FAXD= |
FAXD= |
LIBFAXSERVER='libfaxserver.${DSO}' |
LIBFAXSERVER='libfaxserver.${DSO}' |
LIBUTIL='${UTIL}/libfaxutil.${DSO}' |
LIBUTIL='${UTIL}/libfaxutil.${DSO}' |
@@ -216,6 +216,7 @@ PKG_EMAIL |
@@ -218,6 +218,7 @@ PKG_EMAIL |
PKG_VENDOR |
PKG_VENDOR |
PORT |
PORT |
PORTFUNCS |
PORTFUNCS |
|
|
PROTOTYPES |
PROTOTYPES |
PSPACKAGE PS |
PSPACKAGE PS |
PWDCMD |
PWDCMD |
@@ -279,7 +280,7 @@ test -d /usr/bsd && PATH=$PATH:/usr/bsd |
@@ -281,7 +282,7 @@ test -d /usr/bsd && PATH=$PATH:/usr/bsd |
test -d /usr/ucb && PATH=$PATH:/usr/ucb # Sun and others |
test -d /usr/ucb && PATH=$PATH:/usr/ucb # Sun and others |
test -d /usr/contrib/bin && PATH=$PATH:/usr/contrib/bin # BSDi |
test -d /usr/contrib/bin && PATH=$PATH:/usr/contrib/bin # BSDi |
test -d /usr/5bin && PATH=/usr/5bin:$PATH:/usr/etc # Sun and others |
test -d /usr/5bin && PATH=/usr/5bin:$PATH:/usr/etc # Sun and others |
|
|
PATH=$PATH:$OPATH |
PATH=$PATH:$OPATH |
|
|
POSIXLY_CORRECT=1; export POSIXLY_CORRECT # disable GNU extensions |
POSIXLY_CORRECT=1; export POSIXLY_CORRECT # disable GNU extensions |
@@ -3020,13 +3021,7 @@ main() |
@@ -3042,13 +3043,7 @@ main() |
printf("old include files: version %u\n", ZLIB_VERSION); |
printf("old include files: version %u\n", ZLIB_VERSION); |
exit(-1); |
exit(-1); |
} |
} |
|
|
} |
} |
EOF |
EOF |
capture cat t.c |
capture cat t.c |
@@ -3088,7 +3083,7 @@ Note "Checking TIFF support." |
@@ -3110,7 +3105,7 @@ Note "Checking TIFF support." |
# Location of TIFF binaries |
# Location of TIFF binaries |
# |
# |
if [ -z "$TIFFBIN" ]; then |
if [ -z "$TIFFBIN" ]; then |
|
|
for i in $DIRS; do |
for i in $DIRS; do |
test -x $i/tiff2ps && { TIFFBIN=$i; break; } |
test -x $i/tiff2ps && { TIFFBIN=$i; break; } |
done |
done |
@@ -3672,7 +3667,7 @@ fi |
@@ -3694,7 +3689,7 @@ fi |
if [ -z "$PATH_VGETTY" ]; then |
if [ -z "$PATH_VGETTY" ]; then |
PATH_VGETTY=`findApp vgetty /usr/libexec:/sbin:$PATH` |
PATH_VGETTY=`findApp vgetty /usr/libexec:/sbin:$PATH` |
if [ -z "$PATH_VGETTY" ]; then |
if [ -z "$PATH_VGETTY" ]; then |
|
|
Note "WARNING, no vgetty program found to handle a voice call, using $PATH_VGETTY." |
Note "WARNING, no vgetty program found to handle a voice call, using $PATH_VGETTY." |
else |
else |
Note "Looks like $PATH_VGETTY is the program to exec for a voice call." |
Note "Looks like $PATH_VGETTY is the program to exec for a voice call." |
@@ -3685,7 +3680,7 @@ fi |
@@ -3707,7 +3702,7 @@ fi |
if [ -z "$PATH_EGETTY" ]; then |
if [ -z "$PATH_EGETTY" ]; then |
PATH_EGETTY=`findApp egetty /usr/libexec:/sbin:$PATH` |
PATH_EGETTY=`findApp egetty /usr/libexec:/sbin:$PATH` |
if [ -z "$PATH_EGETTY" ]; then |
if [ -z "$PATH_EGETTY" ]; then |
|
|
Note "WARNING, no egetty program found, using $PATH_EGETTY." |
Note "WARNING, no egetty program found, using $PATH_EGETTY." |
else |
else |
Note "Looks like $PATH_EGETTY is the program to exec for an extern call." |
Note "Looks like $PATH_EGETTY is the program to exec for an extern call." |
@@ -3756,6 +3751,7 @@ PickRIP() |
@@ -3778,6 +3773,7 @@ PickRIP() |
{ |
{ |
if [ -z "$PATH_GSRIP" ]; then |
if [ -z "$PATH_GSRIP" ]; then |
GSLOCS=" |
GSLOCS=" |
|
|
/usr/local/bin/gs |
/usr/local/bin/gs |
/usr/contrib/bin/gs |
/usr/contrib/bin/gs |
/usr/gnu/bin/gs |
/usr/gnu/bin/gs |
@@ -3803,7 +3799,7 @@ fax software to operate correctly. See |
@@ -3825,7 +3821,7 @@ fax software to operate correctly. See |
on building Ghostscript with the necessary TIFF driver. |
on building Ghostscript with the necessary TIFF driver. |
|
|
EOF |
EOF |
|
|
PATH_GSRIP=$PATH_PSRIP |
PATH_GSRIP=$PATH_PSRIP |
fi |
fi |
} |
} |
@@ -3870,9 +3866,9 @@ if [ -z "$PATH_AFM" ]; then |
@@ -3892,9 +3888,9 @@ if [ -z "$PATH_AFM" ]; then |
else |
else |
DIR_AFMS=" |
DIR_AFMS=" |
/usr/lib/afm |
/usr/lib/afm |
|
|
/usr/share/ghostscript/fonts |
/usr/share/ghostscript/fonts |
/usr/gnu/lib/ghostscript/fonts |
/usr/gnu/lib/ghostscript/fonts |
/opt/gnu/lib/ghostscript/fonts |
/opt/gnu/lib/ghostscript/fonts |
@@ -3892,7 +3888,7 @@ if [ -z "$PATH_AFM" ]; then |
@@ -3914,7 +3910,7 @@ if [ -z "$PATH_AFM" ]; then |
fi |
fi |
if [ -z "$PATH_AFM" ]; then |
if [ -z "$PATH_AFM" ]; then |
# put it where ghostscript normally puts things |
# put it where ghostscript normally puts things |
|
|
Note "WARNING, could not locate a directory with font metric information," |
Note "WARNING, could not locate a directory with font metric information," |
Note "guessing that font metric information goes in $PATH_AFM." |
Note "guessing that font metric information goes in $PATH_AFM." |
else |
else |
@@ -3911,6 +3907,7 @@ fi |
@@ -3933,6 +3929,7 @@ fi |
# |
# |
if [ -z "$DIR_MAN" ]; then |
if [ -z "$DIR_MAN" ]; then |
MANPATH=" |
MANPATH=" |
|
|
$MANPATH |
$MANPATH |
/usr/local/man |
/usr/local/man |
/usr/contrib/man |
/usr/contrib/man |
@@ -3920,7 +3917,7 @@ if [ -z "$DIR_MAN" ]; then |
@@ -3942,7 +3939,7 @@ if [ -z "$DIR_MAN" ]; then |
for i in $MANPATH; do |
for i in $MANPATH; do |
test -d $i && { DIR_MAN=$i; break; } |
test -d $i && { DIR_MAN=$i; break; } |
done |
done |