Hi,

configure with --enable-debug does not seem to add "-g" to CFLAGS while
compiling with gcc. Guess we will need to change configure.in as below:

***************

 # supply -g if --enable-debug
! if test "$enable_debug" = yes && test "$ac_cv_prog_cc_g" = yes; then
   CFLAGS="$CFLAGS -g"
 fi
--- 300,315 ----

 # supply -g if --enable-debug
! if test "$enable_debug" = yes && (test "$ac_cv_prog_cc_g" = yes ||
!       test "$ac_cv_prog_gcc_g" = yes); then
   CFLAGS="$CFLAGS -g"
 fi


Should I submit a patch for this?

Regards,
Nikhils
--
EnterpriseDB               http://www.enterprisedb.com

Reply via email to