emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r104780: * configure.in: Do not overr


From: Glenn Morris
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r104780: * configure.in: Do not override user crt-dir, even if faulty.
Date: Tue, 28 Jun 2011 20:47:07 -0700
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 104780
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Tue 2011-06-28 20:47:07 -0700
message:
  * configure.in: Do not override user crt-dir, even if faulty.
modified:
  configure.in
=== modified file 'configure.in'
--- a/configure.in      2011-06-29 03:21:14 +0000
+++ b/configure.in      2011-06-29 03:47:07 +0000
@@ -1040,6 +1040,8 @@
 if test "x$crt_files" != x; then
 
   ## If user specified a crt-dir, use that unconditionally.
+  crt_gcc=no
+
   if test "X$CRT_DIR" = "X"; then
 
     CRT_DIR=/usr/lib            # default
@@ -1063,18 +1065,17 @@
       hpux10-20) CRT_DIR=/lib ;;
     esac
 
+    test "x${GCC}" = xyes && crt_gcc=yes
+
   fi                            # CRT_DIR = ""
 
   crt_missing=
-  crt_gcc=no
-  test "x${GCC}" = xyes && crt_gcc=yes
 
   for file in $crt_files; do
 
     ## 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.]
-    ## Note that this overrides a faulty with-crt-dir.
     if test $crt_gcc = yes && test ! -e $CRT_DIR/$file; then
 
        crt_file=`$CC --print-file-name=$file 2>/dev/null`


reply via email to

[Prev in Thread] Current Thread [Next in Thread]