Index: configure.ac
--- configure.ac.orig
+++ configure.ac
@@ -68,9 +68,7 @@ if ! test "$localesonly" = "yes"; then
 
   if test "X$GCC" = Xyes; then
     AX_APPEND_FLAG(-Wall, CFLAGS)
-    AX_APPEND_FLAG(-g, CFLAGS)
     AX_APPEND_FLAG(-Wall, CXXFLAGS)
-    AX_APPEND_FLAG(-g, CXXFLAGS)
   fi
 
   # Do this early: Compiler and linker flags to work around a nasty bug in Xcode.
