Unless I am missing something here, the configure script does not add
the "-g" flag to CFLAGS when "--enable-debug" is specified; it only
removes "-g" if it is not. This patch seems to fix it. Have I been
invoking configure incorrectly?

The patch is against configure.in. I presume you don't want a patch
against the configure script itself.
                       Doug

--- lynx2.8.5dev.9/lynx2-8-5/configure.in.orig  2002-10-06 17:43:28.000000000 -0700
+++ lynx2.8.5dev.9/lynx2-8-5/configure.in       2002-11-11 20:25:40.000000000 -0800
@@ -93,6 +93,9 @@
                        CFLAGS="$CFLAGS -g3"
                fi
                ;;
+       *)
+               CFLAGS="$CFLAGS -g"
+               ;;
        esac
 else
        case $host_os in

__
Doug Kaufman
Internet: [EMAIL PROTECTED]


; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to [EMAIL PROTECTED]

Reply via email to