]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libtool.m4 (AC_LIBTOOL_PROG_CC_C_O): Some compilers (e.g. Intel
authorJeff Squyres <jsquyres@lam-mpi.org>
Thu, 22 Jan 2004 19:11:44 +0000 (19:11 +0000)
committerBob Friesenhahn <bfriesen@simple.dallas.tx.us>
Thu, 22 Jan 2004 19:11:44 +0000 (19:11 +0000)
Linux icc compiler) write temporary files to the current
directory. These compilers do support -c and -o simultaneously but
wrongly fail the test due to the failure to create temporary
files. It is incorrect to penalize compilers which write temporary
files to the current directory so the 'chmod -w .' is therefore
removed.

ChangeLog
libtool.m4

index 8042bf8b14c5b7155d4bd175387ab0b187ac2796..a665e1782cef0bdd990ee877e6f095bd9123d704 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2004-01-22  Jeff Squyres  <jsquyres@lam-mpi.org>
+
+       * libtool.m4 (AC_LIBTOOL_PROG_CC_C_O): Some compilers (e.g. Intel
+       Linux icc compiler) write temporary files to the current
+       directory. These compilers do support -c and -o simultaneously but
+       wrongly fail the test due to the failure to create temporary
+       files. It is incorrect to penalize compilers which write temporary
+       files to the current directory so the 'chmod -w .' is therefore
+       removed.
+
 2004-01-21  Nick Hudson  <skrll@netbsd.org>
 
        * m4/libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [netbsd*]: Remove
index c33f7957c8015e477a0a0b5b4bf5df345a7e4a65..1f06caf6d29091378c197e2703daf8c53f1f3af9 100644 (file)
@@ -928,13 +928,6 @@ AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
    mkdir out
    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
-   # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
-   # that will create temporary files in the current directory regardless of
-   # the output directory.  Thus, making CWD read-only will cause this test
-   # to fail, enabling locking or at least warning the user not to do parallel
-   # builds.
-   chmod -w .
-
    lt_compiler_flag="-o out/conftest2.$ac_objext"
    # Insert the option either (1) after the last *FLAGS variable, or
    # (2) before a word containing "conftest.", or (3) at the end.