29 lines
821 B
Diff
29 lines
821 B
Diff
|
Index: djview4-4.12/config/acinclude.m4
|
||
|
===================================================================
|
||
|
--- djview4-4.12.orig/config/acinclude.m4
|
||
|
+++ djview4-4.12/config/acinclude.m4
|
||
|
@@ -73,23 +73,6 @@ AC_DEFUN([AC_CXX_OPTIMIZE],[
|
||
|
[ac_debug=$enableval],[ac_debug=no])
|
||
|
OPTS=
|
||
|
AC_SUBST(OPTS)
|
||
|
- saved_CXXFLAGS="$CXXFLAGS"
|
||
|
- saved_CFLAGS="$CFLAGS"
|
||
|
- CXXFLAGS=
|
||
|
- CFLAGS=
|
||
|
- for opt in $saved_CXXFLAGS ; do
|
||
|
- case $opt in
|
||
|
- -g*) test $ac_debug != no && OPTS="$OPTS $opt" ;;
|
||
|
- -O*) ;;
|
||
|
- *) CXXFLAGS="$CXXFLAGS $opt" ;;
|
||
|
- esac
|
||
|
- done
|
||
|
- for opt in $saved_CFLAGS ; do
|
||
|
- case $opt in
|
||
|
- -O*|-g*) ;;
|
||
|
- *) CFLAGS="$CFLAGS $opt" ;;
|
||
|
- esac
|
||
|
- done
|
||
|
if test x$ac_debug = xno ; then
|
||
|
OPTS=-DNDEBUG
|
||
|
AC_CHECK_CXX_OPT([-Wall],[OPTS="$OPTS -Wall"])
|