Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/configure

    r04bc1c0 rc8c0c7c5  
    790790enable_distcc
    791791with_cfa_name
     792enable_shared
    792793enable_static
    793 enable_shared
    794794with_pic
    795795enable_fast_install
     
    14521452  --disable-silent-rules  verbose build output (undo: "make V=0")
    14531453  --enable-distcc     whether or not to enable distributed compilation
    1454   --enable-static[=PKGS]  build static libraries [default=no]
    14551454  --enable-shared[=PKGS]  build shared libraries [default=yes]
     1455  --enable-static[=PKGS]  build static libraries [default=yes]
    14561456  --enable-fast-install[=PKGS]
    14571457                          optimize for fast installation [default=yes]
     
    19601960
    19611961} # ac_fn_cxx_try_link
    1962 
    1963 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
    1964 # -------------------------------------------------------
    1965 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
    1966 # the include files in INCLUDES and setting the cache variable VAR
    1967 # accordingly.
    1968 ac_fn_c_check_header_mongrel ()
    1969 {
    1970   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1971   if eval \${$3+:} false; then :
    1972   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    1973 $as_echo_n "checking for $2... " >&6; }
    1974 if eval \${$3+:} false; then :
    1975   $as_echo_n "(cached) " >&6
    1976 fi
    1977 eval ac_res=\$$3
    1978                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1979 $as_echo "$ac_res" >&6; }
    1980 else
    1981   # Is the header compilable?
    1982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
    1983 $as_echo_n "checking $2 usability... " >&6; }
    1984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1985 /* end confdefs.h.  */
    1986 $4
    1987 #include <$2>
    1988 _ACEOF
    1989 if ac_fn_c_try_compile "$LINENO"; then :
    1990   ac_header_compiler=yes
    1991 else
    1992   ac_header_compiler=no
    1993 fi
    1994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
    1996 $as_echo "$ac_header_compiler" >&6; }
    1997 
    1998 # Is the header present?
    1999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
    2000 $as_echo_n "checking $2 presence... " >&6; }
    2001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    2002 /* end confdefs.h.  */
    2003 #include <$2>
    2004 _ACEOF
    2005 if ac_fn_c_try_cpp "$LINENO"; then :
    2006   ac_header_preproc=yes
    2007 else
    2008   ac_header_preproc=no
    2009 fi
    2010 rm -f conftest.err conftest.i conftest.$ac_ext
    2011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
    2012 $as_echo "$ac_header_preproc" >&6; }
    2013 
    2014 # So?  What about this header?
    2015 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
    2016   yes:no: )
    2017     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
    2018 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
    2019     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
    2020 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
    2021     ;;
    2022   no:yes:* )
    2023     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
    2024 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
    2025     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
    2026 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
    2027     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
    2028 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
    2029     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
    2030 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
    2031     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
    2032 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
    2033 ( $as_echo "## --------------------------------------- ##
    2034 ## Report this to cforall@plg.uwaterloo.ca ##
    2035 ## --------------------------------------- ##"
    2036      ) | sed "s/^/$as_me: WARNING:     /" >&2
    2037     ;;
    2038 esac
    2039   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    2040 $as_echo_n "checking for $2... " >&6; }
    2041 if eval \${$3+:} false; then :
    2042   $as_echo_n "(cached) " >&6
    2043 else
    2044   eval "$3=\$ac_header_compiler"
    2045 fi
    2046 eval ac_res=\$$3
    2047                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    2048 $as_echo "$ac_res" >&6; }
    2049 fi
    2050   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    2051 
    2052 } # ac_fn_c_check_header_mongrel
    20531962cat >config.log <<_ACEOF
    20541963This file contains any messages produced by compilers while
     
    80307939
    80317940# Set options
    8032 # Check whether --enable-static was given.
    8033 if test "${enable_static+set}" = set; then :
    8034   enableval=$enable_static; p=${PACKAGE-default}
    8035     case $enableval in
    8036     yes) enable_static=yes ;;
    8037     no) enable_static=no ;;
    8038     *)
    8039      enable_static=no
    8040       # Look at the argument we got.  We use all the common list separators.
    8041       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
    8042       for pkg in $enableval; do
    8043         IFS=$lt_save_ifs
    8044         if test "X$pkg" = "X$p"; then
    8045           enable_static=yes
    8046         fi
    8047       done
    8048       IFS=$lt_save_ifs
    8049       ;;
    8050     esac
    8051 else
    8052   enable_static=no
    8053 fi
    8054 
    8055 
    8056 
    8057 
    8058 
    8059 
    8060 
    80617941
    80627942
     
    80917971fi
    80927972
     7973
     7974
     7975
     7976
     7977
     7978
     7979
     7980
     7981  # Check whether --enable-static was given.
     7982if test "${enable_static+set}" = set; then :
     7983  enableval=$enable_static; p=${PACKAGE-default}
     7984    case $enableval in
     7985    yes) enable_static=yes ;;
     7986    no) enable_static=no ;;
     7987    *)
     7988     enable_static=no
     7989      # Look at the argument we got.  We use all the common list separators.
     7990      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
     7991      for pkg in $enableval; do
     7992        IFS=$lt_save_ifs
     7993        if test "X$pkg" = "X$p"; then
     7994          enable_static=yes
     7995        fi
     7996      done
     7997      IFS=$lt_save_ifs
     7998      ;;
     7999    esac
     8000else
     8001  enable_static=yes
     8002fi
    80938003
    80948004
     
    1694916859
    1695016860
    16951 for ac_header in linux/io_uring.h
    16952 do :
    16953   ac_fn_c_check_header_mongrel "$LINENO" "linux/io_uring.h" "ac_cv_header_linux_io_uring_h" "$ac_includes_default"
    16954 if test "x$ac_cv_header_linux_io_uring_h" = xyes; then :
    16955   cat >>confdefs.h <<_ACEOF
    16956 #define HAVE_LINUX_IO_URING_H 1
    16957 _ACEOF
    16958 
    16959 fi
    16960 
    16961 done
    16962 
    16963 for ac_func in preadv2 pwritev2
    16964 do :
    16965   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    16966 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
    16967 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
    16968   cat >>confdefs.h <<_ACEOF
    16969 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    16970 _ACEOF
    16971 
    16972 fi
    16973 done
    16974 
    16975 
    1697616861ac_config_files="$ac_config_files Makefile src/Makefile prelude/Makefile"
    16977 
    16978 
    16979 ac_config_headers="$ac_config_headers prelude/defines.hfa"
    1698016862
    1698116863
     
    1707016952test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
    1707116953
    17072 DEFS=-DHAVE_CONFIG_H
     16954# Transform confdefs.h into DEFS.
     16955# Protect against shell expansion while executing Makefile rules.
     16956# Protect against Makefile macro expansion.
     16957#
     16958# If the first sed substitution is executed (which looks for macros that
     16959# take arguments), then branch to the quote section.  Otherwise,
     16960# look for a macro that doesn't take arguments.
     16961ac_script='
     16962:mline
     16963/\\$/{
     16964 N
     16965 s,\\\n,,
     16966 b mline
     16967}
     16968t clear
     16969:clear
     16970s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
     16971t quote
     16972s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
     16973t quote
     16974b any
     16975:quote
     16976s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
     16977s/\[/\\&/g
     16978s/\]/\\&/g
     16979s/\$/$$/g
     16980H
     16981:any
     16982${
     16983        g
     16984        s/^\n//
     16985        s/\n/ /g
     16986        p
     16987}
     16988'
     16989DEFS=`sed -n "$ac_script" confdefs.h`
     16990
    1707316991
    1707416992ac_libobjs=
     
    1754817466esac
    1754917467
    17550 case $ac_config_headers in *"
    17551 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
    17552 esac
    1755317468
    1755417469
     
    1755617471# Files that config.status was made for.
    1755717472config_files="$ac_config_files"
    17558 config_headers="$ac_config_headers"
    1755917473config_commands="$ac_config_commands"
    1756017474
     
    1757817492      --file=FILE[:TEMPLATE]
    1757917493                   instantiate the configuration file FILE
    17580       --header=FILE[:TEMPLATE]
    17581                    instantiate the configuration header FILE
    1758217494
    1758317495Configuration files:
    1758417496$config_files
    17585 
    17586 Configuration headers:
    17587 $config_headers
    1758817497
    1758917498Configuration commands:
     
    1765317562    as_fn_append CONFIG_FILES " '$ac_optarg'"
    1765417563    ac_need_defaults=false;;
    17655   --header | --heade | --head | --hea )
    17656     $ac_shift
    17657     case $ac_optarg in
    17658     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
    17659     esac
    17660     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
    17661     ac_need_defaults=false;;
    17662   --he | --h)
    17663     # Conflict between --help and --header
    17664     as_fn_error $? "ambiguous option: \`$1'
    17665 Try \`$0 --help' for more information.";;
    17666   --help | --hel | -h )
     17564  --he | --h |  --help | --hel | -h )
    1766717565    $as_echo "$ac_cs_usage"; exit ;;
    1766817566  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
     
    1772717625macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
    1772817626macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
     17627enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
    1772917628enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
    17730 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
    1773117629pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
    1773217630enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
     
    1811118009    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
    1811218010    "prelude/Makefile") CONFIG_FILES="$CONFIG_FILES prelude/Makefile" ;;
    18113     "prelude/defines.hfa") CONFIG_HEADERS="$CONFIG_HEADERS prelude/defines.hfa" ;;
    1811418011
    1811518012  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
     
    1812418021if $ac_need_defaults; then
    1812518022  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
    18126   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
    1812718023  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
    1812818024fi
     
    1831318209fi # test -n "$CONFIG_FILES"
    1831418210
    18315 # Set up the scripts for CONFIG_HEADERS section.
    18316 # No need to generate them if there are no CONFIG_HEADERS.
    18317 # This happens for instance with `./config.status Makefile'.
    18318 if test -n "$CONFIG_HEADERS"; then
    18319 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
    18320 BEGIN {
    18321 _ACEOF
    18322 
    18323 # Transform confdefs.h into an awk script `defines.awk', embedded as
    18324 # here-document in config.status, that substitutes the proper values into
    18325 # config.h.in to produce config.h.
    18326 
    18327 # Create a delimiter string that does not exist in confdefs.h, to ease
    18328 # handling of long lines.
    18329 ac_delim='%!_!# '
    18330 for ac_last_try in false false :; do
    18331   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
    18332   if test -z "$ac_tt"; then
    18333     break
    18334   elif $ac_last_try; then
    18335     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
    18336   else
    18337     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
    18338   fi
    18339 done
    18340 
    18341 # For the awk script, D is an array of macro values keyed by name,
    18342 # likewise P contains macro parameters if any.  Preserve backslash
    18343 # newline sequences.
    18344 
    18345 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
    18346 sed -n '
    18347 s/.\{148\}/&'"$ac_delim"'/g
    18348 t rset
    18349 :rset
    18350 s/^[     ]*#[    ]*define[       ][      ]*/ /
    18351 t def
    18352 d
    18353 :def
    18354 s/\\$//
    18355 t bsnl
    18356 s/["\\]/\\&/g
    18357 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
    18358 D["\1"]=" \3"/p
    18359 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
    18360 d
    18361 :bsnl
    18362 s/["\\]/\\&/g
    18363 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
    18364 D["\1"]=" \3\\\\\\n"\\/p
    18365 t cont
    18366 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
    18367 t cont
    18368 d
    18369 :cont
    18370 n
    18371 s/.\{148\}/&'"$ac_delim"'/g
    18372 t clear
    18373 :clear
    18374 s/\\$//
    18375 t bsnlc
    18376 s/["\\]/\\&/g; s/^/"/; s/$/"/p
    18377 d
    18378 :bsnlc
    18379 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
    18380 b cont
    18381 ' <confdefs.h | sed '
    18382 s/'"$ac_delim"'/"\\\
    18383 "/g' >>$CONFIG_STATUS || ac_write_fail=1
    18384 
    18385 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    18386   for (key in D) D_is_set[key] = 1
    18387   FS = ""
    18388 }
    18389 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
    18390   line = \$ 0
    18391   split(line, arg, " ")
    18392   if (arg[1] == "#") {
    18393     defundef = arg[2]
    18394     mac1 = arg[3]
    18395   } else {
    18396     defundef = substr(arg[1], 2)
    18397     mac1 = arg[2]
    18398   }
    18399   split(mac1, mac2, "(") #)
    18400   macro = mac2[1]
    18401   prefix = substr(line, 1, index(line, defundef) - 1)
    18402   if (D_is_set[macro]) {
    18403     # Preserve the white space surrounding the "#".
    18404     print prefix "define", macro P[macro] D[macro]
    18405     next
    18406   } else {
    18407     # Replace #undef with comments.  This is necessary, for example,
    18408     # in the case of _POSIX_SOURCE, which is predefined and required
    18409     # on some systems where configure will not decide to define it.
    18410     if (defundef == "undef") {
    18411       print "/*", prefix defundef, macro, "*/"
    18412       next
    18413     }
    18414   }
    18415 }
    18416 { print }
    18417 _ACAWK
    18418 _ACEOF
    18419 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    18420   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
    18421 fi # test -n "$CONFIG_HEADERS"
    18422 
    18423 
    18424 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
     18211
     18212eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
    1842518213shift
    1842618214for ac_tag
     
    1864118429  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    1864218430 ;;
    18643   :H)
    18644   #
    18645   # CONFIG_HEADER
    18646   #
    18647   if test x"$ac_file" != x-; then
    18648     {
    18649       $as_echo "/* $configure_input  */" \
    18650       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
    18651     } >"$ac_tmp/config.h" \
    18652       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    18653     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
    18654       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
    18655 $as_echo "$as_me: $ac_file is unchanged" >&6;}
    18656     else
    18657       rm -f "$ac_file"
    18658       mv "$ac_tmp/config.h" "$ac_file" \
    18659         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    18660     fi
    18661   else
    18662     $as_echo "/* $configure_input  */" \
    18663       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
    18664       || as_fn_error $? "could not create -" "$LINENO" 5
    18665   fi
    18666 # Compute "$ac_file"'s index in $config_headers.
    18667 _am_arg="$ac_file"
    18668 _am_stamp_count=1
    18669 for _am_header in $config_headers :; do
    18670   case $_am_header in
    18671     $_am_arg | $_am_arg:* )
    18672       break ;;
    18673     * )
    18674       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
    18675   esac
    18676 done
    18677 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
    18678 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    18679          X"$_am_arg" : 'X\(//\)[^/]' \| \
    18680          X"$_am_arg" : 'X\(//\)$' \| \
    18681          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
    18682 $as_echo X"$_am_arg" |
    18683     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    18684             s//\1/
    18685             q
    18686           }
    18687           /^X\(\/\/\)[^/].*/{
    18688             s//\1/
    18689             q
    18690           }
    18691           /^X\(\/\/\)$/{
    18692             s//\1/
    18693             q
    18694           }
    18695           /^X\(\/\).*/{
    18696             s//\1/
    18697             q
    18698           }
    18699           s/.*/./; q'`/stamp-h$_am_stamp_count
    18700  ;;
     18431
    1870118432
    1870218433  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
     
    1885618587macro_revision=$macro_revision
    1885718588
     18589# Whether or not to build shared libraries.
     18590build_libtool_libs=$enable_shared
     18591
    1885818592# Whether or not to build static libraries.
    1885918593build_old_libs=$enable_static
    18860 
    18861 # Whether or not to build shared libraries.
    18862 build_libtool_libs=$enable_shared
    1886318594
    1886418595# What type of objects to build.
Note: See TracChangeset for help on using the changeset viewer.