summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorDan Nicolaescu <dann@ics.uci.edu>2010-10-10 08:35:04 -0700
committerDan Nicolaescu <dann@ics.uci.edu>2010-10-10 08:35:04 -0700
commita4daeecfef2bf5822f2b514b2878391b90edf741 (patch)
treeb099f5110bc376c1b4b584112d569e00f870a0db /configure
parent4cf3ad3065d38ec51d6da12d50a83d96860f7db8 (diff)
downloademacs-a4daeecfef2bf5822f2b514b2878391b90edf741.tar.gz
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.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 1 insertions, 5 deletions
diff --git a/configure b/configure
index 144d6dff5c3..2db41ecf485 100755
--- a/configure
+++ b/configure
@@ -749,7 +749,6 @@ build_os
build_vendor
build_cpu
build
-PROFILING_LDFLAGS
PROFILING_CFLAGS
MAINT
GZIP_INFO
@@ -3038,14 +3037,11 @@ fi
if test x$ac_enable_profiling != x ; then
PROFILING_CFLAGS="-DPROFILING=1 -pg"
- PROFILING_LDFLAGS="-pg"
else
PROFILING_CFLAGS=
- PROFILING_LDFLAGS=
fi
-
# Check whether --enable-autodepend was given.
if test "${enable_autodepend+set}" = set; then :
enableval=$enable_autodepend; ac_enable_autodepend="${enableval}"
@@ -7679,7 +7675,7 @@ tmp_CPPFLAGS="$CPPFLAGS"
tmp_CFLAGS="$CFLAGS"
CPPFLAGS="$CPPFLAGS -x objective-c"
CFLAGS="$CFLAGS -x objective-c"
-TEMACS_LDFLAGS2="\${LDFLAGS} \${PROFILING_LDFLAGS}"
+TEMACS_LDFLAGS2="\${LDFLAGS}"
if test "${with_ns}" != no; then
if test "${opsys}" = darwin; then
NS_IMPL_COCOA=yes