f353d0daae
Tested on i386/sparc64/macppc/alpha by myself and/or alek@ One issue found with sparc64: fetching mail crashes. okay pval@
33 lines
1.1 KiB
Plaintext
33 lines
1.1 KiB
Plaintext
$OpenBSD: patch-configure_in,v 1.10 2005/03/13 05:02:16 kurt Exp $
|
|
--- configure.in.orig Tue Jan 11 22:59:51 2005
|
|
+++ configure.in Tue Jan 11 23:02:47 2005
|
|
@@ -1350,6 +1350,10 @@ case "$target" in
|
|
DSO_CFLAGS=''
|
|
DSO_PIC_CFLAGS='-fPIC'
|
|
DSO_LDOPTS='-shared -fPIC'
|
|
+ MKSHLIB='$(CXX) $(DSO_LDOPTS) -o $@'
|
|
+ MKCSHLIB='$(CC) $(DSO_LDOPTS) -o $@'
|
|
+ MKSHLIB_FORCE_ALL=''
|
|
+ MKSHLIB_UNFORCE_ALL=''
|
|
if test "$LIBRUNPATH"; then
|
|
DSO_LDOPTS="-R$LIBRUNPATH $DSO_LDOPTS"
|
|
fi
|
|
@@ -3100,7 +3104,7 @@ _SAVE_LIBS=$LIBS
|
|
CFLAGS="$ZLIB_CFLAGS $CFLAGS"
|
|
LDFLAGS="$ZLIB_LIBS -lz $LDFLAGS"
|
|
if test -n "${PNG_DIR}"; then
|
|
- CFLAGS="-I${PNG_DIR}/include $CFLAGS"
|
|
+ CFLAGS="-I${PNG_DIR}/include/libpng $CFLAGS"
|
|
LDFLAGS="-L${PNG_DIR}/lib $LDFLAGS"
|
|
fi
|
|
if test -z "$PNG_DIR" -o "$PNG_DIR" = no; then
|
|
@@ -3130,7 +3134,7 @@ LDFLAGS=$_SAVE_LDFLAGS
|
|
LIBS=$_SAVE_LIBS
|
|
|
|
if test "${PNG_DIR}" -a -d "${PNG_DIR}" -a "$SYSTEM_PNG" = 1; then
|
|
- PNG_CFLAGS="-I${PNG_DIR}/include"
|
|
+ PNG_CFLAGS="-I${PNG_DIR}/include/libpng"
|
|
PNG_LIBS="-L${PNG_DIR}/lib ${PNG_LIBS}"
|
|
fi
|
|
|