[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r104619: Fix previous change.
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r104619: Fix previous change. |
Date: |
Fri, 17 Jun 2011 13:32:58 -0400 |
User-agent: |
Bazaar (2.3.1) |
------------------------------------------------------------
revno: 104619
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Fri 2011-06-17 13:32:58 -0400
message:
Fix previous change.
modified:
configure.in
=== modified file 'configure.in'
--- a/configure.in 2011-06-17 17:29:50 +0000
+++ b/configure.in 2011-06-17 17:32:58 +0000
@@ -991,18 +991,6 @@
## If user specified a crt-dir, use that unconditionally.
if test "X$CRT_DIR" = "X"; then
- ## If we're using gcc, and the user hasn't specified a crt-dir, try to
- ## determine it automatically by asking gcc. [If this doesn't work,
- ## CRT_DIR will remain empty and system-dependent code will be used below.]
- if test "x${GCC}" = xyes; then
- crt_file=`$CC --print-file-name=crt1.o 2>/dev/null`
- case "$crt_file" in
- */*)
- CRT_DIR=`AS_DIRNAME(["$crt_file"])`
- ;;
- esac
- fi
-
case "$canonical" in
x86_64-*-linux-gnu* | s390x-*-linux-gnu*)
## On x86-64 and s390x GNU/Linux distributions, the standard library
@@ -1025,6 +1013,18 @@
## Default is /usr/lib.
test "X$CRT_DIR" = "X" && CRT_DIR=/usr/lib
+ ## If we're using gcc, try to determine it automatically by asking
+ ## gcc. [If this doesn't work, CRT_DIR will remain at the
+ ## system-dependent default from above.]
+ if test "x${GCC}" = xyes; then
+ crt_file=`$CC --print-file-name=crt1.o 2>/dev/null`
+ case "$crt_file" in
+ */*)
+ CRT_DIR=`AS_DIRNAME(["$crt_file"])`
+ ;;
+ esac
+ fi
+
else
## Some platforms don't use any of these files, so it is not
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r104619: Fix previous change.,
Glenn Morris <=