llvm.org GIT mirror llvm / 8a2d471
Add CMP and CP configuration variables for the unix cmp and cp programs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18990 91177308-0d34-0410-b5e6-96231b3b80d8 Reid Spencer 14 years ago
3 changed file(s) with 116 addition(s) and 30 deletion(s). Raw diff Collapse all Expand all
5656
5757 # The pathnames of the programs we require to build
5858 BISON := @BISON@
59 CMP := @CMP@
60 CP := @CP@
5961 DATE := @DATE@
6062 FIND := @FIND@
6163 FLEX := @LEX@
236236 dnl Check for the tools that the makefiles require
237237 AC_CHECK_GNU_MAKE
238238 AC_PROG_LN_S
239 AC_PATH_PROG(CMP, [cmp], [cmp])
240 AC_PATH_PROG(CP, [cp], [cp])
239241 AC_PATH_PROG(DATE, [date], [date])
240242 AC_PATH_PROG(FIND, [find], [find])
241243 AC_PATH_PROG(GREP, [grep], [grep])
475475 # include
476476 #endif"
477477
478 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS LLVM_COPYRIGHT subdirs build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os OS ARCH ENDIAN CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT ENABLE_OPTIMIZED JIT ENABLE_DOXYGEN LLVMGCCDIR CPP CXX CXXFLAGS ac_ct_CXX LEX LEXLIB LEX_OUTPUT_ROOT FLEX YACC BISON ifGNUmake LN_S DATE FIND GREP MKDIR MV PAX RANLIB ac_ct_RANLIB RM SED TAR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA BZIP2 DOT DOXYGEN ETAGS GROFF GZIP POD2HTML POD2MAN RUNTEST TCLSH ZIP EGREP INSTALL_LTDL_TRUE INSTALL_LTDL_FALSE CONVENIENCE_LTDL_TRUE CONVENIENCE_LTDL_FALSE LIBADD_DL ECHO AR ac_ct_AR STRIP ac_ct_STRIP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL ETAGSFLAGS ALLOCA MMAP_FILE LLVMGCC LLVMCC1 LLVMCC1PLUS SHLIBEXT LLVM_PREFIX LLVM_BINDIR LLVM_LIBDIR LLVM_DATADIR LLVM_DOCSDIR LLVM_ETCDIR LLVM_INCLUDEDIR LLVM_INFODIR LLVM_MANDIR LLVM_CONFIGTIME LIBOBJS LTLIBOBJS'
478 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS LLVM_COPYRIGHT subdirs build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os OS ARCH ENDIAN CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT ENABLE_OPTIMIZED JIT ENABLE_DOXYGEN LLVMGCCDIR CPP CXX CXXFLAGS ac_ct_CXX LEX LEXLIB LEX_OUTPUT_ROOT FLEX YACC BISON ifGNUmake LN_S CMP CP DATE FIND GREP MKDIR MV PAX RANLIB ac_ct_RANLIB RM SED TAR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA BZIP2 DOT DOXYGEN ETAGS GROFF GZIP POD2HTML POD2MAN RUNTEST TCLSH ZIP EGREP INSTALL_LTDL_TRUE INSTALL_LTDL_FALSE CONVENIENCE_LTDL_TRUE CONVENIENCE_LTDL_FALSE LIBADD_DL ECHO AR ac_ct_AR STRIP ac_ct_STRIP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL ETAGSFLAGS ALLOCA MMAP_FILE LLVMGCC LLVMCC1 LLVMCC1PLUS SHLIBEXT LLVM_PREFIX LLVM_BINDIR LLVM_LIBDIR LLVM_DATADIR LLVM_DOCSDIR LLVM_ETCDIR LLVM_INCLUDEDIR LLVM_INFODIR LLVM_MANDIR LLVM_CONFIGTIME LIBOBJS LTLIBOBJS'
479479 ac_subst_files=''
480480
481481 # Initialize some variables set by options.
44934493 echo "${ECHO_T}no, using $LN_S" >&6
44944494 fi
44954495
4496 # Extract the first word of "cmp", so it can be a program name with args.
4497 set dummy cmp; ac_word=$2
4498 echo "$as_me:$LINENO: checking for $ac_word" >&5
4499 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4500 if test "${ac_cv_path_CMP+set}" = set; then
4501 echo $ECHO_N "(cached) $ECHO_C" >&6
4502 else
4503 case $CMP in
4504 [\\/]* | ?:[\\/]*)
4505 ac_cv_path_CMP="$CMP" # Let the user override the test with a path.
4506 ;;
4507 *)
4508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4509 for as_dir in $PATH
4510 do
4511 IFS=$as_save_IFS
4512 test -z "$as_dir" && as_dir=.
4513 for ac_exec_ext in '' $ac_executable_extensions; do
4514 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4515 ac_cv_path_CMP="$as_dir/$ac_word$ac_exec_ext"
4516 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4517 break 2
4518 fi
4519 done
4520 done
4521
4522 test -z "$ac_cv_path_CMP" && ac_cv_path_CMP="cmp"
4523 ;;
4524 esac
4525 fi
4526 CMP=$ac_cv_path_CMP
4527
4528 if test -n "$CMP"; then
4529 echo "$as_me:$LINENO: result: $CMP" >&5
4530 echo "${ECHO_T}$CMP" >&6
4531 else
4532 echo "$as_me:$LINENO: result: no" >&5
4533 echo "${ECHO_T}no" >&6
4534 fi
4535
4536 # Extract the first word of "cp", so it can be a program name with args.
4537 set dummy cp; ac_word=$2
4538 echo "$as_me:$LINENO: checking for $ac_word" >&5
4539 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4540 if test "${ac_cv_path_CP+set}" = set; then
4541 echo $ECHO_N "(cached) $ECHO_C" >&6
4542 else
4543 case $CP in
4544 [\\/]* | ?:[\\/]*)
4545 ac_cv_path_CP="$CP" # Let the user override the test with a path.
4546 ;;
4547 *)
4548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4549 for as_dir in $PATH
4550 do
4551 IFS=$as_save_IFS
4552 test -z "$as_dir" && as_dir=.
4553 for ac_exec_ext in '' $ac_executable_extensions; do
4554 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4555 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
4556 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4557 break 2
4558 fi
4559 done
4560 done
4561
4562 test -z "$ac_cv_path_CP" && ac_cv_path_CP="cp"
4563 ;;
4564 esac
4565 fi
4566 CP=$ac_cv_path_CP
4567
4568 if test -n "$CP"; then
4569 echo "$as_me:$LINENO: result: $CP" >&5
4570 echo "${ECHO_T}$CP" >&6
4571 else
4572 echo "$as_me:$LINENO: result: no" >&5
4573 echo "${ECHO_T}no" >&6
4574 fi
4575
44964576 # Extract the first word of "date", so it can be a program name with args.
44974577 set dummy date; ac_word=$2
44984578 echo "$as_me:$LINENO: checking for $ac_word" >&5
81088188 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
81098189 lt_status=$lt_dlunknown
81108190 cat > conftest.$ac_ext <
8111 #line 8112 "configure"
8191 #line 8192 "configure"
81128192 #include "confdefs.h"
81138193
81148194 #if HAVE_DLFCN_H
1009910179 ;;
1010010180 *-*-irix6*)
1010110181 # Find out which ABI we are using.
10102 echo '#line 10103 "configure"' > conftest.$ac_ext
10182 echo '#line 10183 "configure"' > conftest.$ac_ext
1010310183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1010410184 (eval $ac_compile) 2>&5
1010510185 ac_status=$?
1058410664
1058510665
1058610666 # Provide some information about the compiler.
10587 echo "$as_me:10588:" \
10667 echo "$as_me:10668:" \
1058810668 "checking for Fortran 77 compiler version" >&5
1058910669 ac_compiler=`set X $ac_compile; echo $2`
1059010670 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5
1164111721 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1164211722 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1164311723 -e 's:$: $lt_compiler_flag:'`
11644 (eval echo "\"\$as_me:11645: $lt_compile\"" >&5)
11724 (eval echo "\"\$as_me:11725: $lt_compile\"" >&5)
1164511725 (eval "$lt_compile" 2>conftest.err)
1164611726 ac_status=$?
1164711727 cat conftest.err >&5
11648 echo "$as_me:11649: \$? = $ac_status" >&5
11728 echo "$as_me:11729: \$? = $ac_status" >&5
1164911729 if (exit $ac_status) && test -s "$ac_outfile"; then
1165011730 # The compiler can only warn and ignore the option if not recognized
1165111731 # So say no if there are warnings
1188411964 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1188511965 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1188611966 -e 's:$: $lt_compiler_flag:'`
11887 (eval echo "\"\$as_me:11888: $lt_compile\"" >&5)
11967 (eval echo "\"\$as_me:11968: $lt_compile\"" >&5)
1188811968 (eval "$lt_compile" 2>conftest.err)
1188911969 ac_status=$?
1189011970 cat conftest.err >&5
11891 echo "$as_me:11892: \$? = $ac_status" >&5
11971 echo "$as_me:11972: \$? = $ac_status" >&5
1189211972 if (exit $ac_status) && test -s "$ac_outfile"; then
1189311973 # The compiler can only warn and ignore the option if not recognized
1189411974 # So say no if there are warnings
1194412024 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1194512025 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1194612026 -e 's:$: $lt_compiler_flag:'`
11947 (eval echo "\"\$as_me:11948: $lt_compile\"" >&5)
12027 (eval echo "\"\$as_me:12028: $lt_compile\"" >&5)
1194812028 (eval "$lt_compile" 2>out/conftest.err)
1194912029 ac_status=$?
1195012030 cat out/conftest.err >&5
11951 echo "$as_me:11952: \$? = $ac_status" >&5
12031 echo "$as_me:12032: \$? = $ac_status" >&5
1195212032 if (exit $ac_status) && test -s out/conftest2.$ac_objext
1195312033 then
1195412034 # The compiler can only warn and ignore the option if not recognized
1412914209 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1413014210 lt_status=$lt_dlunknown
1413114211 cat > conftest.$ac_ext <
14132 #line 14133 "configure"
14212 #line 14213 "configure"
1413314213 #include "confdefs.h"
1413414214
1413514215 #if HAVE_DLFCN_H
1422714307 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1422814308 lt_status=$lt_dlunknown
1422914309 cat > conftest.$ac_ext <
14230 #line 14231 "configure"
14310 #line 14311 "configure"
1423114311 #include "confdefs.h"
1423214312
1423314313 #if HAVE_DLFCN_H
1642016500 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1642116501 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1642216502 -e 's:$: $lt_compiler_flag:'`
16423 (eval echo "\"\$as_me:16424: $lt_compile\"" >&5)
16503 (eval echo "\"\$as_me:16504: $lt_compile\"" >&5)
1642416504 (eval "$lt_compile" 2>conftest.err)
1642516505 ac_status=$?
1642616506 cat conftest.err >&5
16427 echo "$as_me:16428: \$? = $ac_status" >&5
16507 echo "$as_me:16508: \$? = $ac_status" >&5
1642816508 if (exit $ac_status) && test -s "$ac_outfile"; then
1642916509 # The compiler can only warn and ignore the option if not recognized
1643016510 # So say no if there are warnings
1648016560 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1648116561 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1648216562 -e 's:$: $lt_compiler_flag:'`
16483 (eval echo "\"\$as_me:16484: $lt_compile\"" >&5)
16563 (eval echo "\"\$as_me:16564: $lt_compile\"" >&5)
1648416564 (eval "$lt_compile" 2>out/conftest.err)
1648516565 ac_status=$?
1648616566 cat out/conftest.err >&5
16487 echo "$as_me:16488: \$? = $ac_status" >&5
16567 echo "$as_me:16568: \$? = $ac_status" >&5
1648816568 if (exit $ac_status) && test -s out/conftest2.$ac_objext
1648916569 then
1649016570 # The compiler can only warn and ignore the option if not recognized
1784117921 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1784217922 lt_status=$lt_dlunknown
1784317923 cat > conftest.$ac_ext <
17844 #line 17845 "configure"
17924 #line 17925 "configure"
1784517925 #include "confdefs.h"
1784617926
1784717927 #if HAVE_DLFCN_H
1793918019 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1794018020 lt_status=$lt_dlunknown
1794118021 cat > conftest.$ac_ext <
17942 #line 17943 "configure"
18022 #line 18023 "configure"
1794318023 #include "confdefs.h"
1794418024
1794518025 #if HAVE_DLFCN_H
1877618856 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1877718857 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1877818858 -e 's:$: $lt_compiler_flag:'`
18779 (eval echo "\"\$as_me:18780: $lt_compile\"" >&5)
18859 (eval echo "\"\$as_me:18860: $lt_compile\"" >&5)
1878018860 (eval "$lt_compile" 2>conftest.err)
1878118861 ac_status=$?
1878218862 cat conftest.err >&5
18783 echo "$as_me:18784: \$? = $ac_status" >&5
18863 echo "$as_me:18864: \$? = $ac_status" >&5
1878418864 if (exit $ac_status) && test -s "$ac_outfile"; then
1878518865 # The compiler can only warn and ignore the option if not recognized
1878618866 # So say no if there are warnings
1883618916 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1883718917 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1883818918 -e 's:$: $lt_compiler_flag:'`
18839 (eval echo "\"\$as_me:18840: $lt_compile\"" >&5)
18919 (eval echo "\"\$as_me:18920: $lt_compile\"" >&5)
1884018920 (eval "$lt_compile" 2>out/conftest.err)
1884118921 ac_status=$?
1884218922 cat out/conftest.err >&5
18843 echo "$as_me:18844: \$? = $ac_status" >&5
18923 echo "$as_me:18924: \$? = $ac_status" >&5
1884418924 if (exit $ac_status) && test -s out/conftest2.$ac_objext
1884518925 then
1884618926 # The compiler can only warn and ignore the option if not recognized
2087520955 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
2087620956 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
2087720957 -e 's:$: $lt_compiler_flag:'`
20878 (eval echo "\"\$as_me:20879: $lt_compile\"" >&5)
20958 (eval echo "\"\$as_me:20959: $lt_compile\"" >&5)
2087920959 (eval "$lt_compile" 2>conftest.err)
2088020960 ac_status=$?
2088120961 cat conftest.err >&5
20882 echo "$as_me:20883: \$? = $ac_status" >&5
20962 echo "$as_me:20963: \$? = $ac_status" >&5
2088320963 if (exit $ac_status) && test -s "$ac_outfile"; then
2088420964 # The compiler can only warn and ignore the option if not recognized
2088520965 # So say no if there are warnings
2111821198 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
2111921199 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
2112021200 -e 's:$: $lt_compiler_flag:'`
21121 (eval echo "\"\$as_me:21122: $lt_compile\"" >&5)
21201 (eval echo "\"\$as_me:21202: $lt_compile\"" >&5)
2112221202 (eval "$lt_compile" 2>conftest.err)
2112321203 ac_status=$?
2112421204 cat conftest.err >&5
21125 echo "$as_me:21126: \$? = $ac_status" >&5
21205 echo "$as_me:21206: \$? = $ac_status" >&5
2112621206 if (exit $ac_status) && test -s "$ac_outfile"; then
2112721207 # The compiler can only warn and ignore the option if not recognized
2112821208 # So say no if there are warnings
2117821258 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
2117921259 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
2118021260 -e 's:$: $lt_compiler_flag:'`
21181 (eval echo "\"\$as_me:21182: $lt_compile\"" >&5)
21261 (eval echo "\"\$as_me:21262: $lt_compile\"" >&5)
2118221262 (eval "$lt_compile" 2>out/conftest.err)
2118321263 ac_status=$?
2118421264 cat out/conftest.err >&5
21185 echo "$as_me:21186: \$? = $ac_status" >&5
21265 echo "$as_me:21266: \$? = $ac_status" >&5
2118621266 if (exit $ac_status) && test -s out/conftest2.$ac_objext
2118721267 then
2118821268 # The compiler can only warn and ignore the option if not recognized
2336323443 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
2336423444 lt_status=$lt_dlunknown
2336523445 cat > conftest.$ac_ext <
23366 #line 23367 "configure"
23446 #line 23447 "configure"
2336723447 #include "confdefs.h"
2336823448
2336923449 #if HAVE_DLFCN_H
2346123541 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
2346223542 lt_status=$lt_dlunknown
2346323543 cat > conftest.$ac_ext <
23464 #line 23465 "configure"
23544 #line 23545 "configure"
2346523545 #include "confdefs.h"
2346623546
2346723547 #if HAVE_DLFCN_H
3020130281 s,@BISON@,$BISON,;t t
3020230282 s,@ifGNUmake@,$ifGNUmake,;t t
3020330283 s,@LN_S@,$LN_S,;t t
30284 s,@CMP@,$CMP,;t t
30285 s,@CP@,$CP,;t t
3020430286 s,@DATE@,$DATE,;t t
3020530287 s,@FIND@,$FIND,;t t
3020630288 s,@GREP@,$GREP,;t t