]> code.delx.au - gnu-emacs/commitdiff
Auto-commit of generated files.
authorGlenn Morris <rgm@gnu.org>
Sun, 7 Apr 2013 10:19:05 +0000 (06:19 -0400)
committerGlenn Morris <rgm@gnu.org>
Sun, 7 Apr 2013 10:19:05 +0000 (06:19 -0400)
autogen/Makefile.in
autogen/configure

index 03e54906b75a66f98f5ddf2577cd9e20d822705d..5f213903e9b5e4478d6c7837366c7650a9064a40 100644 (file)
@@ -1019,7 +1019,7 @@ MOSTLYCLEANFILES = core *.stackdump alloca.h alloca.h-t dirent.h \
        string.h-t sys/select.h sys/select.h-t sys/stat.h sys/stat.h-t \
        sys/time.h sys/time.h-t time.h time.h-t unistd.h unistd.h-t
 noinst_LIBRARIES = libgnu.a
-AM_CFLAGS = $(GNULIB_WARN_CFLAGS) $(WERROR_CFLAGS)
+AM_CFLAGS = $(PROFILING_CFLAGS) $(GNULIB_WARN_CFLAGS) $(WERROR_CFLAGS)
 DEFAULT_INCLUDES = -I. -I$(top_srcdir)/lib -I../src -I$(top_srcdir)/src
 libgnu_a_SOURCES = allocator.c c-ctype.h c-ctype.c c-strcase.h \
        c-strcasecmp.c c-strncasecmp.c careadlinkat.c close-stream.c \
index 23685c523ac4bdd454f2a7b4d85a9412fb914c25..db574207d754394ded8d46bd322db739718ffe2c 100755 (executable)
@@ -26667,6 +26667,13 @@ case "$opsys" in
   *) LD_SWITCH_SYSTEM_TEMACS= ;;
 esac
 
+if test x$ac_enable_profiling != x ; then
+  case $opsys in
+    *freebsd | gnu-linux) ;;
+    *) LD_SWITCH_SYSTEM_TEMACS="$LD_SWITCH_SYSTEM_TEMACS -pg" ;;
+  esac
+fi
+
 
 
 ## Common for all window systems