[prev in list] [next in list] [prev in thread] [next in thread]
List: netsaint-devel
Subject: [netsaint-devel] Fix (use site arch directory for perl; reorder tests for gd)
From: Thorsten Lockert <tholo () sigmasoft ! com>
Date: 2001-02-13 23:35:18
[Download RAW message or body]
Index: configure.in
===================================================================
RCS file: /cvsroot/netsaint/netsaint-alpha/configure.in,v
retrieving revision 1.7
diff -u -r1.7 configure.in
--- configure.in 2001/01/31 02:59:46 1.7
+++ configure.in 2001/02/13 23:35:18
@@ -340,29 +340,29 @@
dnl Should we try and detect the GD libs?
if test x$TRYGD = xyep; then
- dnl See if the GD lib is available and supports PNG images...
+ dnl GD 1.8.1 requires the jpeg library to be present as well, so test for that \
first... dnl AC_CHECK_LIB(gd,gdImagePng,[
JMD_CHECK_LIB_ORDER(gd,gdImagePng,1,[
GDLIBFOUND=yep
- GDLIBS="-lgd -lz -lm -lpng"
- ],:,[-lz -lm -lpng])
+ GDLIBS="-lgd -lz -lm -lpng -ljpeg"
+ ],:,[-lz -lm -lpng -ljpeg])
- dnl If we failed the first time, try again with different library ordering...
+ dnl See if the GD lib is available and supports PNG images...
if test x$GDLIBFOUND = x; then
dnl AC_CHECK_LIB(gd,gdImagePng,[
JMD_CHECK_LIB_ORDER(gd,gdImagePng,2,[
GDLIBFOUND=yep
- GDLIBS="-lgd -lpng -lz -lm"
- ],:,[-lpng -lz -lm])
+ GDLIBS="-lgd -lz -lm -lpng"
+ ],:,[-lz -lm -lpng])
fi
- dnl GD 1.8.1 requires the jpeg library to be present as well, so test for that if \
we failed the second time... + dnl If we failed the first time, try again with \
different library ordering... if test x$GDLIBFOUND = x; then
dnl AC_CHECK_LIB(gd,gdImagePng,[
JMD_CHECK_LIB_ORDER(gd,gdImagePng,3,[
GDLIBFOUND=yep
- GDLIBS="-lgd -lz -lm -lpng -ljpeg"
- ],:,[-lz -lm -lpng -ljpeg])
+ GDLIBS="-lgd -lpng -lz -lm"
+ ],:,[-lpng -lz -lm])
fi
dnl Did we find the necessary GD libraries?
@@ -416,7 +416,7 @@
AC_ARG_ENABLE(embedded-perl,--enable-embedded-perl will enable embedded Perl \
interpreter,[ AC_DEFINE_UNQUOTED(EMBEDDEDPERL)
PERLLIBS="`perl -MExtUtils::Embed -e ldopts`"
- PERLDIR="`perl -MConfig -e 'print $Config{archlib}'`"
+ PERLDIR="`perl -MConfig -e 'print $Config{installsitearch}'`"
CFLAGS="${CFLAGS} `perl -MExtUtils::Embed -e ccopts`"
USEPERL=yes
INSTALLPERLSTUFF=yes;
_______________________________________________
Netsaint-devel mailing list
Netsaint-devel@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/netsaint-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic