Changeset 00cc023 for configure


Ignore:
Timestamp:
May 31, 2015, 1:54:23 PM (9 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, with_gc
Children:
5cb5f842
Parents:
86bd7c1f
Message:

redo automake first attempt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    r86bd7c1f r00cc023  
    611611GREP
    612612CPP
     613RANLIB
    613614am__fastdepCC_FALSE
    614615am__fastdepCC_TRUE
     
    23632364
    23642365
    2365 am__api_version='1.11'
    2366 
    23672366ac_aux_dir=
    2368 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
     2367for ac_dir in automake "$srcdir"/automake; do
    23692368  if test -f "$ac_dir/install-sh"; then
    23702369    ac_aux_dir=$ac_dir
     
    23822381done
    23832382if test -z "$ac_aux_dir"; then
    2384   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
     2383  as_fn_error $? "cannot find install-sh, install.sh, or shtool in automake \"$srcdir\"/automake" "$LINENO" 5
    23852384fi
    23862385
     
    23932392ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
    23942393
     2394
     2395
     2396ac_config_headers="$ac_config_headers config.h"
     2397
     2398
     2399am__api_version='1.11'
    23952400
    23962401# Find a good install program.  We prefer a C program (faster),
     
    28942899
    28952900
    2896 ac_config_headers="$ac_config_headers config.h"
    2897 
    2898 
    28992901# Installation paths
    29002902
     
    29082910
    29092911  if test x$backcompiler != x; then
    2910      cat >>confdefs.h <<_ACEOF
     2912        cat >>confdefs.h <<_ACEOF
    29112913#define GCC_PATH "${backcompiler}"
    29122914_ACEOF
    29132915
    2914      BACKEND_CC=${backcompiler}
     2916        BACKEND_CC=${backcompiler}
    29152917  else
    2916      # Extract the first word of "gcc", so it can be a program name with args.
     2918        # Extract the first word of "gcc", so it can be a program name with args.
    29172919set dummy gcc; ac_word=$2
    29182920{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     
    29552957
    29562958
    2957      if test "$GCC_PATH" = "N/A"; then
    2958         as_fn_error $? "some version of gcc is needed. Get it at ftp://ftp.gnu.org" "$LINENO" 5
    2959         exit 1
    2960      fi
     2959        if test "$GCC_PATH" = "N/A"; then
     2960                as_fn_error $? "some version of gcc is needed. Get it at ftp://ftp.gnu.org" "$LINENO" 5
     2961                exit 1
     2962        fi
    29612963
    29622964cat >>confdefs.h <<_ACEOF
     
    29642966_ACEOF
    29652967
    2966      BACKEND_CC=${GCC_PATH}
     2968        BACKEND_CC=${GCC_PATH}
    29672969  fi
    29682970
    29692971
    2970 CFA_PREFIX=
    29712972if test "x$prefix" = "xNONE"; then
    2972         cfa_prefix=${ac_default_prefix}
    2973 else
    2974         cfa_prefix=${prefix}
     2973        cfa_prefix=${ac_default_prefix}
     2974else
     2975        cfa_prefix=${prefix}
    29752976fi
    29762977
     
    29822983
    29832984
    2984 CFA_INCDIR=
    29852985if test "$includedir" = '${prefix}/include'; then
    29862986        cfa_incdir="${cfa_prefix}/include"
     
    29962996
    29972997
    2998 CFA_BINDIR=
    29992998if test "$bindir" = '${exec_prefix}/bin'; then
    30002999        cfa_bindir="${cfa_prefix}/bin"
     
    30103009
    30113010
    3012 CFA_LIBDIR=
    30133011if test "$libdir" = '${exec_prefix}/lib'; then
    30143012        cfa_libdir=${cfa_prefix}/lib
     
    44334431
    44344432
     4433if test "x$CC" != xcc; then
     4434  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
     4435$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
     4436else
     4437  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
     4438$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
     4439fi
     4440set dummy $CC; ac_cc=`$as_echo "$2" |
     4441                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
     4442if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
     4443  $as_echo_n "(cached) " >&6
     4444else
     4445  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4446/* end confdefs.h.  */
     4447
     4448int
     4449main ()
     4450{
     4451
     4452  ;
     4453  return 0;
     4454}
     4455_ACEOF
     4456# Make sure it works both with $CC and with simple cc.
     4457# We do the test twice because some compilers refuse to overwrite an
     4458# existing .o file with -o, though they will create one.
     4459ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
     4460rm -f conftest2.*
     4461if { { case "(($ac_try" in
     4462  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4463  *) ac_try_echo=$ac_try;;
     4464esac
     4465eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     4466$as_echo "$ac_try_echo"; } >&5
     4467  (eval "$ac_try") 2>&5
     4468  ac_status=$?
     4469  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     4470  test $ac_status = 0; } &&
     4471   test -f conftest2.$ac_objext && { { case "(($ac_try" in
     4472  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4473  *) ac_try_echo=$ac_try;;
     4474esac
     4475eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     4476$as_echo "$ac_try_echo"; } >&5
     4477  (eval "$ac_try") 2>&5
     4478  ac_status=$?
     4479  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     4480  test $ac_status = 0; };
     4481then
     4482  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
     4483  if test "x$CC" != xcc; then
     4484    # Test first that cc exists at all.
     4485    if { ac_try='cc -c conftest.$ac_ext >&5'
     4486  { { case "(($ac_try" in
     4487  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4488  *) ac_try_echo=$ac_try;;
     4489esac
     4490eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     4491$as_echo "$ac_try_echo"; } >&5
     4492  (eval "$ac_try") 2>&5
     4493  ac_status=$?
     4494  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     4495  test $ac_status = 0; }; }; then
     4496      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
     4497      rm -f conftest2.*
     4498      if { { case "(($ac_try" in
     4499  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4500  *) ac_try_echo=$ac_try;;
     4501esac
     4502eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     4503$as_echo "$ac_try_echo"; } >&5
     4504  (eval "$ac_try") 2>&5
     4505  ac_status=$?
     4506  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     4507  test $ac_status = 0; } &&
     4508         test -f conftest2.$ac_objext && { { case "(($ac_try" in
     4509  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4510  *) ac_try_echo=$ac_try;;
     4511esac
     4512eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     4513$as_echo "$ac_try_echo"; } >&5
     4514  (eval "$ac_try") 2>&5
     4515  ac_status=$?
     4516  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     4517  test $ac_status = 0; };
     4518      then
     4519        # cc works too.
     4520        :
     4521      else
     4522        # cc exists but doesn't like -o.
     4523        eval ac_cv_prog_cc_${ac_cc}_c_o=no
     4524      fi
     4525    fi
     4526  fi
     4527else
     4528  eval ac_cv_prog_cc_${ac_cc}_c_o=no
     4529fi
     4530rm -f core conftest*
     4531
     4532fi
     4533if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
     4534  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     4535$as_echo "yes" >&6; }
     4536else
     4537  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4538$as_echo "no" >&6; }
     4539
     4540$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
     4541
     4542fi
     4543
     4544# FIXME: we rely on the cache variable name because
     4545# there is no other way.
     4546set dummy $CC
     4547am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
     4548eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
     4549if test "$am_t" != yes; then
     4550   # Losing compiler, so override with the script.
     4551   # FIXME: It is wrong to rewrite CC.
     4552   # But if we don't then we get into trouble of one sort or another.
     4553   # A longer-term fix would be to have automake use am__CC in this case,
     4554   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
     4555   CC="$am_aux_dir/compile $CC"
     4556fi
     4557
     4558        # deprecated
    44354559
    44364560{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
     
    44634587$as_echo "no" >&6; }
    44644588  SET_MAKE="MAKE=${MAKE-make}"
     4589fi
     4590
     4591if test -n "$ac_tool_prefix"; then
     4592  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
     4593set dummy ${ac_tool_prefix}ranlib; ac_word=$2
     4594{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4595$as_echo_n "checking for $ac_word... " >&6; }
     4596if ${ac_cv_prog_RANLIB+:} false; then :
     4597  $as_echo_n "(cached) " >&6
     4598else
     4599  if test -n "$RANLIB"; then
     4600  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
     4601else
     4602as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4603for as_dir in $PATH
     4604do
     4605  IFS=$as_save_IFS
     4606  test -z "$as_dir" && as_dir=.
     4607    for ac_exec_ext in '' $ac_executable_extensions; do
     4608  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4609    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
     4610    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     4611    break 2
     4612  fi
     4613done
     4614  done
     4615IFS=$as_save_IFS
     4616
     4617fi
     4618fi
     4619RANLIB=$ac_cv_prog_RANLIB
     4620if test -n "$RANLIB"; then
     4621  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
     4622$as_echo "$RANLIB" >&6; }
     4623else
     4624  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4625$as_echo "no" >&6; }
     4626fi
     4627
     4628
     4629fi
     4630if test -z "$ac_cv_prog_RANLIB"; then
     4631  ac_ct_RANLIB=$RANLIB
     4632  # Extract the first word of "ranlib", so it can be a program name with args.
     4633set dummy ranlib; ac_word=$2
     4634{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4635$as_echo_n "checking for $ac_word... " >&6; }
     4636if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
     4637  $as_echo_n "(cached) " >&6
     4638else
     4639  if test -n "$ac_ct_RANLIB"; then
     4640  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
     4641else
     4642as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4643for as_dir in $PATH
     4644do
     4645  IFS=$as_save_IFS
     4646  test -z "$as_dir" && as_dir=.
     4647    for ac_exec_ext in '' $ac_executable_extensions; do
     4648  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4649    ac_cv_prog_ac_ct_RANLIB="ranlib"
     4650    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     4651    break 2
     4652  fi
     4653done
     4654  done
     4655IFS=$as_save_IFS
     4656
     4657fi
     4658fi
     4659ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
     4660if test -n "$ac_ct_RANLIB"; then
     4661  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
     4662$as_echo "$ac_ct_RANLIB" >&6; }
     4663else
     4664  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4665$as_echo "no" >&6; }
     4666fi
     4667
     4668  if test "x$ac_ct_RANLIB" = x; then
     4669    RANLIB=":"
     4670  else
     4671    case $cross_compiling:$ac_tool_warned in
     4672yes:)
     4673{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     4674$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     4675ac_tool_warned=yes ;;
     4676esac
     4677    RANLIB=$ac_ct_RANLIB
     4678  fi
     4679else
     4680  RANLIB="$ac_cv_prog_RANLIB"
    44654681fi
    44664682
     
    53615577
    53625578
    5363 ac_config_files="$ac_config_files Makefile src/Makefile driver/Makefile libcfa/Makefile src/examples/Makefile"
     5579ac_config_files="$ac_config_files Makefile driver/Makefile src/Makefile src/examples/Makefile libcfa/Makefile"
    53645580
    53655581
     
    61046320    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
    61056321    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
     6322    "driver/Makefile") CONFIG_FILES="$CONFIG_FILES driver/Makefile" ;;
    61066323    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
    6107     "driver/Makefile") CONFIG_FILES="$CONFIG_FILES driver/Makefile" ;;
     6324    "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;;
    61086325    "libcfa/Makefile") CONFIG_FILES="$CONFIG_FILES libcfa/Makefile" ;;
    6109     "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;;
    61106326
    61116327  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
Note: See TracChangeset for help on using the changeset viewer.