1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/archivers/lzo/files/patch-ac
Chris Piazza 6cb33ca6e0 Update to version 1.06
Submitted by:	Chris D. Faulhaber <jedgar@fxp.org>
PR:		15214
1999-12-04 23:40:27 +00:00

66 lines
2.3 KiB
Plaintext

--- configure.orig Mon Nov 29 12:37:24 1999
+++ configure Wed Dec 1 15:35:00 1999
@@ -1282,13 +1282,13 @@
CFLAGS="$ac_save_CFLAGS"
elif test $ac_cv_prog_cc_g = yes; then
if test "$GCC" = yes; then
- CFLAGS="-g -O2"
+ CFLAGS="-g"
else
CFLAGS="-g"
fi
else
if test "$GCC" = yes; then
- CFLAGS="-O2"
+ CFLAGS=""
else
CFLAGS=
fi
@@ -2104,8 +2104,8 @@
LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \
DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
-${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
-$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \
+${CONFIG_SHELL-/bin/sh} /usr/local/share/libtool/ltconfig --no-reexec \
+$libtool_flags --no-verify --disable-ltlibs /usr/local/share/libtool/ltmain.sh $host \
|| { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
# Reload cache, that may have been modified by ltconfig
@@ -2119,7 +2119,7 @@
# This can be used to rebuild libtool when needed
-LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"
+LIBTOOL_DEPS="/usr/local/share/libtool/ltconfig --disable-ltlibs /usr/local/share/libtool/ltmain.sh"
# Always use our own libtool.
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
@@ -3369,7 +3369,7 @@
if test "$ac_cv_prog_gcc" = yes; then
mfx_save_cflags="$CFLAGS"
-CFLAGS="-O2 -fschedule-insns -fschedule-insns2"
+CFLAGS="-fschedule-insns -fschedule-insns2"
echo $ac_n "checking whether ${CC-cc} suffers the -fschedule-insns bug""... $ac_c" 1>&6
echo "configure:3375: checking whether ${CC-cc} suffers the -fschedule-insns bug" >&5
if eval "test \"`echo '$''{'mfx_cv_prog_gcc_bug_schedule_insns'+set}'`\" = set"; then
@@ -3412,7 +3412,7 @@
if test "$ac_cv_prog_gcc" = yes; then
mfx_save_cflags="$CFLAGS"
-CFLAGS="-O2 -fstrength-reduce"
+CFLAGS="-fstrength-reduce"
echo $ac_n "checking whether ${CC-cc} suffers the -fstrength-reduce bug""... $ac_c" 1>&6
echo "configure:3418: checking whether ${CC-cc} suffers the -fstrength-reduce bug" >&5
if eval "test \"`echo '$''{'mfx_cv_prog_gcc_bug_strength_reduce'+set}'`\" = set"; then
@@ -3496,7 +3496,7 @@
if test "$enable_debug" = yes; then
CFLAGS_O="-O0"
else
- CFLAGS_O="-O2"
+ CFLAGS_O=""
fi
CFLAGS_W="-Wall -Wcast-align -Wwrite-strings"
case $host in