Mercurial > emacs
comparison configure.in @ 110905:158de1f7d257
Pass CFLAGS to the linker.
* configure.in (PROFILING_LDFLAGS): Do not define, remove all uses.
* lib-src/Makefile.in (PROFILING_LDFLAGS): Remove, not needed.
* msdos/sed1v2.inp (PROFILING_LDFLAGS):
* msdos/sed3v2.inp (PROFILING_LDFLAGS): Remove, not defined anymore.
* src/Makefile.in (temacs): Use $(ALL_CFLAGS) on the link line.
(PROFILING_LDFLAGS): Remove, not needed anymore.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Sun, 10 Oct 2010 08:35:04 -0700 |
parents | b71665f4f9ba |
children | 07776ed6876f |
comparison
equal
deleted
inserted
replaced
110904:e887f48abae5 | 110905:158de1f7d257 |
---|---|
323 [build emacs with profiling support. | 323 [build emacs with profiling support. |
324 This might not work on all platforms])], | 324 This might not work on all platforms])], |
325 [ac_enable_profiling="${enableval}"],[]) | 325 [ac_enable_profiling="${enableval}"],[]) |
326 if test x$ac_enable_profiling != x ; then | 326 if test x$ac_enable_profiling != x ; then |
327 PROFILING_CFLAGS="-DPROFILING=1 -pg" | 327 PROFILING_CFLAGS="-DPROFILING=1 -pg" |
328 PROFILING_LDFLAGS="-pg" | |
329 else | 328 else |
330 PROFILING_CFLAGS= | 329 PROFILING_CFLAGS= |
331 PROFILING_LDFLAGS= | |
332 fi | 330 fi |
333 AC_SUBST(PROFILING_CFLAGS) | 331 AC_SUBST(PROFILING_CFLAGS) |
334 AC_SUBST(PROFILING_LDFLAGS) | |
335 | 332 |
336 AC_ARG_ENABLE(autodepend, | 333 AC_ARG_ENABLE(autodepend, |
337 [AS_HELP_STRING([--enable-autodepend], | 334 [AS_HELP_STRING([--enable-autodepend], |
338 [automatically generate dependencies to .h-files. | 335 [automatically generate dependencies to .h-files. |
339 Requires GNU Make and Gcc. Enabled if GNU Make and Gcc is | 336 Requires GNU Make and Gcc. Enabled if GNU Make and Gcc is |
1485 NS_IMPL_GNUSTEP=no | 1482 NS_IMPL_GNUSTEP=no |
1486 tmp_CPPFLAGS="$CPPFLAGS" | 1483 tmp_CPPFLAGS="$CPPFLAGS" |
1487 tmp_CFLAGS="$CFLAGS" | 1484 tmp_CFLAGS="$CFLAGS" |
1488 CPPFLAGS="$CPPFLAGS -x objective-c" | 1485 CPPFLAGS="$CPPFLAGS -x objective-c" |
1489 CFLAGS="$CFLAGS -x objective-c" | 1486 CFLAGS="$CFLAGS -x objective-c" |
1490 TEMACS_LDFLAGS2="\${LDFLAGS} \${PROFILING_LDFLAGS}" | 1487 TEMACS_LDFLAGS2="\${LDFLAGS}" |
1491 dnl I don't think it's especially important, but src/Makefile.in | 1488 dnl I don't think it's especially important, but src/Makefile.in |
1492 dnl (now the only user of ns_appdir) used to go to the trouble of adding a | 1489 dnl (now the only user of ns_appdir) used to go to the trouble of adding a |
1493 dnl trailing "/" to it, so now we do it here. | 1490 dnl trailing "/" to it, so now we do it here. |
1494 if test "${with_ns}" != no; then | 1491 if test "${with_ns}" != no; then |
1495 if test "${opsys}" = darwin; then | 1492 if test "${opsys}" = darwin; then |