~ubuntu-branches/ubuntu/precise/cpmtools/precise

« back to all changes in this revision

Viewing changes to configure

  • Committer: Package Import Robot
  • Author(s): Bdale Garbee
  • Date: 2011-12-26 01:02:56 UTC
  • mfrom: (1.2.6)
  • Revision ID: package-import@ubuntu.com-20111226010256-l67860ehmhudboi9
Tags: 2.13-1
* new uptream version
* add Vcs entries to the control file

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.64.
 
3
# Generated by GNU Autoconf 2.65.
 
4
#
4
5
#
5
6
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7
 
# Foundation, Inc.
 
7
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
 
8
# Inc.
 
9
#
8
10
#
9
11
# This configure script is free software; the Free Software Foundation
10
12
# gives unlimited permission to copy, distribute and modify it.
524
526
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
525
527
 
526
528
 
527
 
exec 7<&0 </dev/null 6>&1
 
529
test -n "$DJDIR" || exec 7<&0 </dev/null
 
530
exec 6>&1
528
531
 
529
532
# Name of the host.
530
533
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
1303
1306
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1304
1307
              nonstandard directory <lib dir>
1305
1308
  LIBS        libraries to pass to the linker, e.g. -l<library>
1306
 
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1309
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1307
1310
              you have headers in a nonstandard directory <include dir>
1308
1311
  CPP         C preprocessor
1309
1312
 
1374
1377
if $ac_init_version; then
1375
1378
  cat <<\_ACEOF
1376
1379
configure
1377
 
generated by GNU Autoconf 2.64
 
1380
generated by GNU Autoconf 2.65
1378
1381
 
1379
1382
Copyright (C) 2009 Free Software Foundation, Inc.
1380
1383
This configure script is free software; the Free Software Foundation
1421
1424
        ac_retval=1
1422
1425
fi
1423
1426
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1424
 
  return $ac_retval
 
1427
  as_fn_set_status $ac_retval
1425
1428
 
1426
1429
} # ac_fn_c_try_compile
1427
1430
 
1458
1461
    ac_retval=1
1459
1462
fi
1460
1463
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1461
 
  return $ac_retval
 
1464
  as_fn_set_status $ac_retval
1462
1465
 
1463
1466
} # ac_fn_c_try_cpp
1464
1467
 
1504
1507
  # left behind by Apple's compiler.  We do this before executing the actions.
1505
1508
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1506
1509
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1507
 
  return $ac_retval
 
1510
  as_fn_set_status $ac_retval
1508
1511
 
1509
1512
} # ac_fn_c_try_link
1510
1513
 
1633
1636
fi
1634
1637
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1635
1638
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1636
 
  return $ac_retval
 
1639
  as_fn_set_status $ac_retval
1637
1640
 
1638
1641
} # ac_fn_c_try_run
1639
1642
 
1793
1796
running configure, to aid debugging if configure makes a mistake.
1794
1797
 
1795
1798
It was created by $as_me, which was
1796
 
generated by GNU Autoconf 2.64.  Invocation command line was
 
1799
generated by GNU Autoconf 2.65.  Invocation command line was
1797
1800
 
1798
1801
  $ $0 $@
1799
1802
 
2046
2049
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2047
2050
do
2048
2051
  test "x$ac_site_file" = xNONE && continue
2049
 
  if test -r "$ac_site_file"; then
 
2052
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2050
2053
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2051
2054
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2052
2055
    sed 's/^/| /' "$ac_site_file" >&5
2055
2058
done
2056
2059
 
2057
2060
if test -r "$cache_file"; then
2058
 
  # Some versions of bash will fail to source /dev/null (special
2059
 
  # files actually), so we avoid doing that.
2060
 
  if test -f "$cache_file"; then
 
2061
  # Some versions of bash will fail to source /dev/null (special files
 
2062
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
2063
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2061
2064
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2062
2065
$as_echo "$as_me: loading cache $cache_file" >&6;}
2063
2066
    case $cache_file in
2235
2238
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2236
2239
 
2237
2240
 
2238
 
VERSION=2.12
2239
 
UPDATED='December 20, 2009'
 
2241
VERSION=2.13
 
2242
UPDATED='March 30, 2010'
2240
2243
 
2241
2244
DEVICE="posix"
2242
2245
 
2573
2576
... rest of stderr output deleted ...
2574
2577
         10q' conftest.err >conftest.er1
2575
2578
    cat conftest.er1 >&5
2576
 
    rm -f conftest.er1 conftest.err
2577
2579
  fi
 
2580
  rm -f conftest.er1 conftest.err
2578
2581
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2579
2582
  test $ac_status = 0; }
2580
2583
done
2581
2584
 
2582
2585
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2583
2586
/* end confdefs.h.  */
2584
 
#include <stdio.h>
 
2587
 
2585
2588
int
2586
2589
main ()
2587
2590
{
2588
 
FILE *f = fopen ("conftest.out", "w");
2589
 
 return ferror (f) || fclose (f) != 0;
2590
2591
 
2591
2592
  ;
2592
2593
  return 0;
2593
2594
}
2594
2595
_ACEOF
2595
2596
ac_clean_files_save=$ac_clean_files
2596
 
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
 
2597
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2597
2598
# Try to create an executable without -o first, disregard a.out.
2598
2599
# It will help us diagnose broken compilers, and finding out an intuition
2599
2600
# of exeext.
2600
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2601
 
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
2601
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
2602
$as_echo_n "checking whether the C compiler works... " >&6; }
2602
2603
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2603
2604
 
2604
2605
# The possible output files:
2660
2661
else
2661
2662
  ac_file=''
2662
2663
fi
2663
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2664
 
$as_echo "$ac_file" >&6; }
2665
2664
if test -z "$ac_file"; then :
2666
 
  $as_echo "$as_me: failed program was:" >&5
 
2665
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2666
$as_echo "no" >&6; }
 
2667
$as_echo "$as_me: failed program was:" >&5
2667
2668
sed 's/^/| /' conftest.$ac_ext >&5
2668
2669
 
2669
2670
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2671
2672
{ as_fn_set_status 77
2672
2673
as_fn_error "C compiler cannot create executables
2673
2674
See \`config.log' for more details." "$LINENO" 5; }; }
 
2675
else
 
2676
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2677
$as_echo "yes" >&6; }
2674
2678
fi
 
2679
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
2680
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
2681
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 
2682
$as_echo "$ac_file" >&6; }
2675
2683
ac_exeext=$ac_cv_exeext
2676
2684
 
2677
 
# Check that the compiler produces executables we can run.  If not, either
2678
 
# the compiler is broken, or we cross compile.
2679
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2680
 
$as_echo_n "checking whether the C compiler works... " >&6; }
2681
 
# If not cross compiling, check that we can run a simple program.
2682
 
if test "$cross_compiling" != yes; then
2683
 
  if { ac_try='./$ac_file'
2684
 
  { { case "(($ac_try" in
2685
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2686
 
  *) ac_try_echo=$ac_try;;
2687
 
esac
2688
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2689
 
$as_echo "$ac_try_echo"; } >&5
2690
 
  (eval "$ac_try") 2>&5
2691
 
  ac_status=$?
2692
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2693
 
  test $ac_status = 0; }; }; then
2694
 
    cross_compiling=no
2695
 
  else
2696
 
    if test "$cross_compiling" = maybe; then
2697
 
        cross_compiling=yes
2698
 
    else
2699
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2700
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2701
 
as_fn_error "cannot run C compiled programs.
2702
 
If you meant to cross compile, use \`--host'.
2703
 
See \`config.log' for more details." "$LINENO" 5; }
2704
 
    fi
2705
 
  fi
2706
 
fi
2707
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2708
 
$as_echo "yes" >&6; }
2709
 
 
2710
 
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
 
2685
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2711
2686
ac_clean_files=$ac_clean_files_save
2712
 
# Check that the compiler produces executables we can run.  If not, either
2713
 
# the compiler is broken, or we cross compile.
2714
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2715
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
2716
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2717
 
$as_echo "$cross_compiling" >&6; }
2718
 
 
2719
2687
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2720
2688
$as_echo_n "checking for suffix of executables... " >&6; }
2721
2689
if { { ac_try="$ac_link"
2748
2716
as_fn_error "cannot compute suffix of executables: cannot compile and link
2749
2717
See \`config.log' for more details." "$LINENO" 5; }
2750
2718
fi
2751
 
rm -f conftest$ac_cv_exeext
 
2719
rm -f conftest conftest$ac_cv_exeext
2752
2720
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2753
2721
$as_echo "$ac_cv_exeext" >&6; }
2754
2722
 
2755
2723
rm -f conftest.$ac_ext
2756
2724
EXEEXT=$ac_cv_exeext
2757
2725
ac_exeext=$EXEEXT
 
2726
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2727
/* end confdefs.h.  */
 
2728
#include <stdio.h>
 
2729
int
 
2730
main ()
 
2731
{
 
2732
FILE *f = fopen ("conftest.out", "w");
 
2733
 return ferror (f) || fclose (f) != 0;
 
2734
 
 
2735
  ;
 
2736
  return 0;
 
2737
}
 
2738
_ACEOF
 
2739
ac_clean_files="$ac_clean_files conftest.out"
 
2740
# Check that the compiler produces executables we can run.  If not, either
 
2741
# the compiler is broken, or we cross compile.
 
2742
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
2743
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
2744
if test "$cross_compiling" != yes; then
 
2745
  { { ac_try="$ac_link"
 
2746
case "(($ac_try" in
 
2747
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2748
  *) ac_try_echo=$ac_try;;
 
2749
esac
 
2750
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2751
$as_echo "$ac_try_echo"; } >&5
 
2752
  (eval "$ac_link") 2>&5
 
2753
  ac_status=$?
 
2754
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2755
  test $ac_status = 0; }
 
2756
  if { ac_try='./conftest$ac_cv_exeext'
 
2757
  { { case "(($ac_try" in
 
2758
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2759
  *) ac_try_echo=$ac_try;;
 
2760
esac
 
2761
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2762
$as_echo "$ac_try_echo"; } >&5
 
2763
  (eval "$ac_try") 2>&5
 
2764
  ac_status=$?
 
2765
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2766
  test $ac_status = 0; }; }; then
 
2767
    cross_compiling=no
 
2768
  else
 
2769
    if test "$cross_compiling" = maybe; then
 
2770
        cross_compiling=yes
 
2771
    else
 
2772
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2773
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2774
as_fn_error "cannot run C compiled programs.
 
2775
If you meant to cross compile, use \`--host'.
 
2776
See \`config.log' for more details." "$LINENO" 5; }
 
2777
    fi
 
2778
  fi
 
2779
fi
 
2780
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
2781
$as_echo "$cross_compiling" >&6; }
 
2782
 
 
2783
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
2784
ac_clean_files=$ac_clean_files_save
2758
2785
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2759
2786
$as_echo_n "checking for suffix of object files... " >&6; }
2760
2787
if test "${ac_cv_objext+set}" = set; then :
4909
4936
# values after options handling.
4910
4937
ac_log="
4911
4938
This file was extended by $as_me, which was
4912
 
generated by GNU Autoconf 2.64.  Invocation command line was
 
4939
generated by GNU Autoconf 2.65.  Invocation command line was
4913
4940
 
4914
4941
  CONFIG_FILES    = $CONFIG_FILES
4915
4942
  CONFIG_HEADERS  = $CONFIG_HEADERS
4948
4975
 
4949
4976
  -h, --help       print this help, then exit
4950
4977
  -V, --version    print version number and configuration settings, then exit
 
4978
      --config     print configuration, then exit
4951
4979
  -q, --quiet, --silent
4952
4980
                   do not print progress messages
4953
4981
  -d, --debug      don't remove temporary files
4967
4995
 
4968
4996
_ACEOF
4969
4997
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
4998
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4970
4999
ac_cs_version="\\
4971
5000
config.status
4972
 
configured by $0, generated by GNU Autoconf 2.64,
4973
 
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
5001
configured by $0, generated by GNU Autoconf 2.65,
 
5002
  with options \\"\$ac_cs_config\\"
4974
5003
 
4975
5004
Copyright (C) 2009 Free Software Foundation, Inc.
4976
5005
This config.status script is free software; the Free Software Foundation
5006
5035
    ac_cs_recheck=: ;;
5007
5036
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5008
5037
    $as_echo "$ac_cs_version"; exit ;;
 
5038
  --config | --confi | --conf | --con | --co | --c )
 
5039
    $as_echo "$ac_cs_config"; exit ;;
5009
5040
  --debug | --debu | --deb | --de | --d | -d )
5010
5041
    debug=: ;;
5011
5042
  --file | --fil | --fi | --f )
5195
5226
t delim
5196
5227
:nl
5197
5228
h
5198
 
s/\(.\{148\}\).*/\1/
 
5229
s/\(.\{148\}\)..*/\1/
5199
5230
t more1
5200
5231
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5201
5232
p
5209
5240
t nl
5210
5241
:delim
5211
5242
h
5212
 
s/\(.\{148\}\).*/\1/
 
5243
s/\(.\{148\}\)..*/\1/
5213
5244
t more2
5214
5245
s/["\\]/\\&/g; s/^/"/; s/$/"/
5215
5246
p