diff options
| author | Dan Nicolaescu | 2010-10-10 08:35:04 -0700 |
|---|---|---|
| committer | Dan Nicolaescu | 2010-10-10 08:35:04 -0700 |
| commit | a4daeecfef2bf5822f2b514b2878391b90edf741 (patch) | |
| tree | b099f5110bc376c1b4b584112d569e00f870a0db /configure | |
| parent | 4cf3ad3065d38ec51d6da12d50a83d96860f7db8 (diff) | |
| download | emacs-a4daeecfef2bf5822f2b514b2878391b90edf741.tar.gz emacs-a4daeecfef2bf5822f2b514b2878391b90edf741.zip | |
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-x | configure | 6 |
1 files changed, 1 insertions, 5 deletions
| @@ -749,7 +749,6 @@ build_os | |||
| 749 | build_vendor | 749 | build_vendor |
| 750 | build_cpu | 750 | build_cpu |
| 751 | build | 751 | build |
| 752 | PROFILING_LDFLAGS | ||
| 753 | PROFILING_CFLAGS | 752 | PROFILING_CFLAGS |
| 754 | MAINT | 753 | MAINT |
| 755 | GZIP_INFO | 754 | GZIP_INFO |
| @@ -3038,14 +3037,11 @@ fi | |||
| 3038 | 3037 | ||
| 3039 | if test x$ac_enable_profiling != x ; then | 3038 | if test x$ac_enable_profiling != x ; then |
| 3040 | PROFILING_CFLAGS="-DPROFILING=1 -pg" | 3039 | PROFILING_CFLAGS="-DPROFILING=1 -pg" |
| 3041 | PROFILING_LDFLAGS="-pg" | ||
| 3042 | else | 3040 | else |
| 3043 | PROFILING_CFLAGS= | 3041 | PROFILING_CFLAGS= |
| 3044 | PROFILING_LDFLAGS= | ||
| 3045 | fi | 3042 | fi |
| 3046 | 3043 | ||
| 3047 | 3044 | ||
| 3048 | |||
| 3049 | # Check whether --enable-autodepend was given. | 3045 | # Check whether --enable-autodepend was given. |
| 3050 | if test "${enable_autodepend+set}" = set; then : | 3046 | if test "${enable_autodepend+set}" = set; then : |
| 3051 | enableval=$enable_autodepend; ac_enable_autodepend="${enableval}" | 3047 | enableval=$enable_autodepend; ac_enable_autodepend="${enableval}" |
| @@ -7679,7 +7675,7 @@ tmp_CPPFLAGS="$CPPFLAGS" | |||
| 7679 | tmp_CFLAGS="$CFLAGS" | 7675 | tmp_CFLAGS="$CFLAGS" |
| 7680 | CPPFLAGS="$CPPFLAGS -x objective-c" | 7676 | CPPFLAGS="$CPPFLAGS -x objective-c" |
| 7681 | CFLAGS="$CFLAGS -x objective-c" | 7677 | CFLAGS="$CFLAGS -x objective-c" |
| 7682 | TEMACS_LDFLAGS2="\${LDFLAGS} \${PROFILING_LDFLAGS}" | 7678 | TEMACS_LDFLAGS2="\${LDFLAGS}" |
| 7683 | if test "${with_ns}" != no; then | 7679 | if test "${with_ns}" != no; then |
| 7684 | if test "${opsys}" = darwin; then | 7680 | if test "${opsys}" = darwin; then |
| 7685 | NS_IMPL_COCOA=yes | 7681 | NS_IMPL_COCOA=yes |