aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Criswell <criswell@uiuc.edu>2004-07-23 15:40:57 +0000
committerJohn Criswell <criswell@uiuc.edu>2004-07-23 15:40:57 +0000
commitdc76e323968007ae8b89788b8b932e26dfa18abe (patch)
tree9a6485de72f962994c8cb0a7f37530c04b3d1590
parentec2bc645053e9051ada01fac6a555df17a85c91d (diff)
Revised the generation of files so that they follow the newer autoconf
standards. This is in hopes of fixing configuration problems on Windows Services for Unix. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15132 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--autoconf/configure.ac19
-rwxr-xr-xconfigure61
2 files changed, 44 insertions, 36 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index 89a4eef4f7..4d83147df6 100644
--- a/autoconf/configure.ac
+++ b/autoconf/configure.ac
@@ -26,8 +26,18 @@ do
fi
done
-dnl Configure a header file
+dnl Configure header files
AC_CONFIG_HEADERS(include/Config/config.h)
+
+dnl Configure other output file
+AC_CONFIG_FILES(Makefile.config
+ include/Support/DataTypes.h
+ include/Support/ThreadSupport.h
+ include/Support/hash_map
+ include/Support/hash_set
+ include/Support/iterator)
+
+dnl Do special configuration of Makefiles
AC_CONFIG_MAKEFILE(Makefile)
AC_CONFIG_MAKEFILE(Makefile.common)
AC_CONFIG_MAKEFILE(lib/Makefile)
@@ -448,12 +458,7 @@ AC_DEFINE_UNQUOTED(SHLIBEXT,"$SHLIBEXT",
[Extension that shared libraries have, e.g., ".so".])
dnl Create the output files
-AC_OUTPUT(Makefile.config
- include/Support/DataTypes.h
- include/Support/ThreadSupport.h
- include/Support/hash_map
- include/Support/hash_set
- include/Support/iterator)
+AC_OUTPUT()
dnl Warn loudly if llvm-gcc was not obviously working
if test $llvmgccwarn = yes
diff --git a/configure b/configure
index 6a400d28d1..35a5d7a156 100755
--- a/configure
+++ b/configure
@@ -1535,6 +1535,10 @@ done
ac_config_headers="$ac_config_headers include/Config/config.h"
+
+ ac_config_files="$ac_config_files Makefile.config include/Support/DataTypes.h include/Support/ThreadSupport.h include/Support/hash_map include/Support/hash_set include/Support/iterator"
+
+
ac_config_commands="$ac_config_commands Makefile"
@@ -4052,7 +4056,7 @@ ia64-*-hpux*)
;;
*-*-irix6*)
# Find out which ABI we are using.
- echo '#line 4055 "configure"' > conftest.$ac_ext
+ echo '#line 4059 "configure"' > conftest.$ac_ext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
@@ -4893,7 +4897,7 @@ fi
# Provide some information about the compiler.
-echo "$as_me:4896:" \
+echo "$as_me:4900:" \
"checking for Fortran 77 compiler version" >&5
ac_compiler=`set X $ac_compile; echo $2`
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
@@ -5898,11 +5902,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:5901: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:5905: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:5905: \$? = $ac_status" >&5
+ echo "$as_me:5909: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@@ -6130,11 +6134,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:6133: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:6137: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:6137: \$? = $ac_status" >&5
+ echo "$as_me:6141: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@@ -6197,11 +6201,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:6200: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:6204: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:6204: \$? = $ac_status" >&5
+ echo "$as_me:6208: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -8209,7 +8213,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 8212 "configure"
+#line 8216 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -8307,7 +8311,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 8310 "configure"
+#line 8314 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -10439,11 +10443,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:10442: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:10446: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:10446: \$? = $ac_status" >&5
+ echo "$as_me:10450: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@@ -10506,11 +10510,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:10509: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:10513: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:10513: \$? = $ac_status" >&5
+ echo "$as_me:10517: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -11749,7 +11753,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 11752 "configure"
+#line 11756 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -11847,7 +11851,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 11850 "configure"
+#line 11854 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12669,11 +12673,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:12672: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:12676: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:12676: \$? = $ac_status" >&5
+ echo "$as_me:12680: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@@ -12736,11 +12740,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:12739: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:12743: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:12743: \$? = $ac_status" >&5
+ echo "$as_me:12747: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -14676,11 +14680,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:14679: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:14683: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:14683: \$? = $ac_status" >&5
+ echo "$as_me:14687: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@@ -14908,11 +14912,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:14911: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:14915: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:14915: \$? = $ac_status" >&5
+ echo "$as_me:14919: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@@ -14975,11 +14979,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:14978: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:14982: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:14982: \$? = $ac_status" >&5
+ echo "$as_me:14986: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -16987,7 +16991,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 16990 "configure"
+#line 16994 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -17085,7 +17089,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 17088 "configure"
+#line 17092 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -22686,7 +22690,6 @@ cat >>confdefs.h <<_ACEOF
_ACEOF
- ac_config_files="$ac_config_files Makefile.config include/Support/DataTypes.h include/Support/ThreadSupport.h include/Support/hash_map include/Support/hash_set include/Support/iterator"
cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
# tests run on this system so they can be shared between configure