summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-12-13 02:16:51 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-12-13 02:16:51 +0000
commitca767406332d34892bf5e9adb0adfe3a80fe76e2 (patch)
tree96671deecad40834ebdf741fbf6715d48e782e2e /configure
parenta04d959f0ce1343d34e7eff1ab9f228123235199 (diff)
downloadllvm-ca767406332d34892bf5e9adb0adfe3a80fe76e2.tar.gz
llvm-ca767406332d34892bf5e9adb0adfe3a80fe76e2.tar.bz2
llvm-ca767406332d34892bf5e9adb0adfe3a80fe76e2.tar.xz
Get LLVMGCCDIR into the #defines
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18845 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure66
1 files changed, 35 insertions, 31 deletions
diff --git a/configure b/configure
index 72c645ba54..4741b5f358 100755
--- a/configure
+++ b/configure
@@ -3005,6 +3005,7 @@ if test "x$LLVMGCCDIR" = x ; then
fi
+
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -4444,7 +4445,6 @@ fi
done
test -n "$YACC" || YACC="yacc"
-
fi
echo "$as_me:$LINENO: result: $llvm_cv_has_bison" >&5
echo "${ECHO_T}$llvm_cv_has_bison" >&6
@@ -4457,7 +4457,6 @@ else
fi
-
echo "$as_me:$LINENO: checking for GNU make" >&5
echo $ECHO_N "checking for GNU make... $ECHO_C" >&6
if test "${llvm_cv_gnu_make_command+set}" = set; then
@@ -8110,7 +8109,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 8113 "configure"
+#line 8112 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -10101,7 +10100,7 @@ ia64-*-hpux*)
;;
*-*-irix6*)
# Find out which ABI we are using.
- echo '#line 10104 "configure"' > conftest.$ac_ext
+ echo '#line 10103 "configure"' > conftest.$ac_ext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
@@ -10586,7 +10585,7 @@ fi
# Provide some information about the compiler.
-echo "$as_me:10589:" \
+echo "$as_me:10588:" \
"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
@@ -11643,11 +11642,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:11646: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:11645: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:11650: \$? = $ac_status" >&5
+ echo "$as_me:11649: \$? = $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
@@ -11886,11 +11885,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:11889: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:11888: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:11893: \$? = $ac_status" >&5
+ echo "$as_me:11892: \$? = $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
@@ -11946,11 +11945,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:11949: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:11948: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:11953: \$? = $ac_status" >&5
+ echo "$as_me:11952: \$? = $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
@@ -14131,7 +14130,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 14134 "configure"
+#line 14133 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -14229,7 +14228,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 14232 "configure"
+#line 14231 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -16422,11 +16421,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:16425: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:16424: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:16429: \$? = $ac_status" >&5
+ echo "$as_me:16428: \$? = $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
@@ -16482,11 +16481,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:16485: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:16484: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:16489: \$? = $ac_status" >&5
+ echo "$as_me:16488: \$? = $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
@@ -17843,7 +17842,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 17846 "configure"
+#line 17845 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -17941,7 +17940,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 17944 "configure"
+#line 17943 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -18778,11 +18777,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:18781: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:18780: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:18785: \$? = $ac_status" >&5
+ echo "$as_me:18784: \$? = $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
@@ -18838,11 +18837,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:18841: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:18840: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:18845: \$? = $ac_status" >&5
+ echo "$as_me:18844: \$? = $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
@@ -20877,11 +20876,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:20880: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:20879: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:20884: \$? = $ac_status" >&5
+ echo "$as_me:20883: \$? = $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
@@ -21120,11 +21119,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:21123: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:21122: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:21127: \$? = $ac_status" >&5
+ echo "$as_me:21126: \$? = $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
@@ -21180,11 +21179,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:21183: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:21182: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:21187: \$? = $ac_status" >&5
+ echo "$as_me:21186: \$? = $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
@@ -23365,7 +23364,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 23368 "configure"
+#line 23367 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -23463,7 +23462,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 23466 "configure"
+#line 23465 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -29435,6 +29434,11 @@ cat >>confdefs.h <<_ACEOF
_ACEOF
+cat >>confdefs.h <<_ACEOF
+#define LLVMGCCDIR "$LLVMGCCDIR"
+_ACEOF
+
+
ac_config_headers="$ac_config_headers include/llvm/Config/config.h"