~ubuntu-branches/debian/sid/menu/sid

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Bill Allombert
  • Date: 2010-01-24 13:08:52 UTC
  • Revision ID: james.westby@ubuntu.com-20100124130852-lk68l5he3qmisszp
Tags: 2.1.43
* The "Javier Jugendtraum" release.
* menu repository on alioth.debian.org converted to subversion
* doc/su-to-root.1:
  + Fix typo. Closes: #552153. Thanks Filipus Klutiero.
* doc/menu.sgml:
  + Mention that the new menu structure was drafted by Linas Zvirblis.
* install-menu/functions.cc, install-menu/install-menu.cc:
  + Add support for translation of menu entries in gettext domain 
   'menu-entries'. Translations will be provided by the menu-l10n package.
    Closes: #37716
* update automake-related scripts.

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,
1325
1328
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1326
1329
              nonstandard directory <lib dir>
1327
1330
  LIBS        libraries to pass to the linker, e.g. -l<library>
1328
 
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1331
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1329
1332
              you have headers in a nonstandard directory <include dir>
1330
1333
  CC          C compiler command
1331
1334
  CFLAGS      C compiler flags
1398
1401
if $ac_init_version; then
1399
1402
  cat <<\_ACEOF
1400
1403
configure
1401
 
generated by GNU Autoconf 2.64
 
1404
generated by GNU Autoconf 2.65
1402
1405
 
1403
1406
Copyright (C) 2009 Free Software Foundation, Inc.
1404
1407
This configure script is free software; the Free Software Foundation
1445
1448
        ac_retval=1
1446
1449
fi
1447
1450
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1448
 
  return $ac_retval
 
1451
  as_fn_set_status $ac_retval
1449
1452
 
1450
1453
} # ac_fn_cxx_try_compile
1451
1454
 
1483
1486
        ac_retval=1
1484
1487
fi
1485
1488
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1486
 
  return $ac_retval
 
1489
  as_fn_set_status $ac_retval
1487
1490
 
1488
1491
} # ac_fn_c_try_compile
1489
1492
 
1529
1532
  # left behind by Apple's compiler.  We do this before executing the actions.
1530
1533
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1531
1534
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1532
 
  return $ac_retval
 
1535
  as_fn_set_status $ac_retval
1533
1536
 
1534
1537
} # ac_fn_c_try_link
1535
1538
 
1566
1569
    ac_retval=1
1567
1570
fi
1568
1571
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1569
 
  return $ac_retval
 
1572
  as_fn_set_status $ac_retval
1570
1573
 
1571
1574
} # ac_fn_c_try_cpp
1572
1575
 
1608
1611
fi
1609
1612
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1610
1613
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1611
 
  return $ac_retval
 
1614
  as_fn_set_status $ac_retval
1612
1615
 
1613
1616
} # ac_fn_c_try_run
1614
1617
 
1801
1804
running configure, to aid debugging if configure makes a mistake.
1802
1805
 
1803
1806
It was created by $as_me, which was
1804
 
generated by GNU Autoconf 2.64.  Invocation command line was
 
1807
generated by GNU Autoconf 2.65.  Invocation command line was
1805
1808
 
1806
1809
  $ $0 $@
1807
1810
 
2054
2057
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2055
2058
do
2056
2059
  test "x$ac_site_file" = xNONE && continue
2057
 
  if test -r "$ac_site_file"; then
 
2060
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2058
2061
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2059
2062
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2060
2063
    sed 's/^/| /' "$ac_site_file" >&5
2063
2066
done
2064
2067
 
2065
2068
if test -r "$cache_file"; then
2066
 
  # Some versions of bash will fail to source /dev/null (special
2067
 
  # files actually), so we avoid doing that.
2068
 
  if test -f "$cache_file"; then
 
2069
  # Some versions of bash will fail to source /dev/null (special files
 
2070
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
2071
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2069
2072
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2070
2073
$as_echo "$as_me: loading cache $cache_file" >&6;}
2071
2074
    case $cache_file in
2461
2464
 
2462
2465
# Define the identity of the package.
2463
2466
 PACKAGE=menu
2464
 
 VERSION=2.1.42
 
2467
 VERSION=2.1.43
2465
2468
 
2466
2469
 
2467
2470
cat >>confdefs.h <<_ACEOF
2758
2761
... rest of stderr output deleted ...
2759
2762
         10q' conftest.err >conftest.er1
2760
2763
    cat conftest.er1 >&5
2761
 
    rm -f conftest.er1 conftest.err
2762
2764
  fi
 
2765
  rm -f conftest.er1 conftest.err
2763
2766
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2764
2767
  test $ac_status = 0; }
2765
2768
done
2766
2769
 
2767
2770
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2768
2771
/* end confdefs.h.  */
2769
 
#include <stdio.h>
 
2772
 
2770
2773
int
2771
2774
main ()
2772
2775
{
2773
 
FILE *f = fopen ("conftest.out", "w");
2774
 
 return ferror (f) || fclose (f) != 0;
2775
2776
 
2776
2777
  ;
2777
2778
  return 0;
2778
2779
}
2779
2780
_ACEOF
2780
2781
ac_clean_files_save=$ac_clean_files
2781
 
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
 
2782
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2782
2783
# Try to create an executable without -o first, disregard a.out.
2783
2784
# It will help us diagnose broken compilers, and finding out an intuition
2784
2785
# of exeext.
2785
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2786
 
$as_echo_n "checking for C++ compiler default output file name... " >&6; }
 
2786
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
 
2787
$as_echo_n "checking whether the C++ compiler works... " >&6; }
2787
2788
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2788
2789
 
2789
2790
# The possible output files:
2845
2846
else
2846
2847
  ac_file=''
2847
2848
fi
2848
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2849
 
$as_echo "$ac_file" >&6; }
2850
2849
if test -z "$ac_file"; then :
2851
 
  $as_echo "$as_me: failed program was:" >&5
 
2850
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2851
$as_echo "no" >&6; }
 
2852
$as_echo "$as_me: failed program was:" >&5
2852
2853
sed 's/^/| /' conftest.$ac_ext >&5
2853
2854
 
2854
2855
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2856
2857
{ as_fn_set_status 77
2857
2858
as_fn_error "C++ compiler cannot create executables
2858
2859
See \`config.log' for more details." "$LINENO" 5; }; }
 
2860
else
 
2861
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2862
$as_echo "yes" >&6; }
2859
2863
fi
 
2864
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
 
2865
$as_echo_n "checking for C++ compiler default output file name... " >&6; }
 
2866
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 
2867
$as_echo "$ac_file" >&6; }
2860
2868
ac_exeext=$ac_cv_exeext
2861
2869
 
2862
 
# Check that the compiler produces executables we can run.  If not, either
2863
 
# the compiler is broken, or we cross compile.
2864
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2865
 
$as_echo_n "checking whether the C++ compiler works... " >&6; }
2866
 
# If not cross compiling, check that we can run a simple program.
2867
 
if test "$cross_compiling" != yes; then
2868
 
  if { ac_try='./$ac_file'
2869
 
  { { case "(($ac_try" in
2870
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2871
 
  *) ac_try_echo=$ac_try;;
2872
 
esac
2873
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2874
 
$as_echo "$ac_try_echo"; } >&5
2875
 
  (eval "$ac_try") 2>&5
2876
 
  ac_status=$?
2877
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2878
 
  test $ac_status = 0; }; }; then
2879
 
    cross_compiling=no
2880
 
  else
2881
 
    if test "$cross_compiling" = maybe; then
2882
 
        cross_compiling=yes
2883
 
    else
2884
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2885
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2886
 
as_fn_error "cannot run C++ compiled programs.
2887
 
If you meant to cross compile, use \`--host'.
2888
 
See \`config.log' for more details." "$LINENO" 5; }
2889
 
    fi
2890
 
  fi
2891
 
fi
2892
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2893
 
$as_echo "yes" >&6; }
2894
 
 
2895
 
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
 
2870
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2896
2871
ac_clean_files=$ac_clean_files_save
2897
 
# Check that the compiler produces executables we can run.  If not, either
2898
 
# the compiler is broken, or we cross compile.
2899
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2900
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
2901
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2902
 
$as_echo "$cross_compiling" >&6; }
2903
 
 
2904
2872
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2905
2873
$as_echo_n "checking for suffix of executables... " >&6; }
2906
2874
if { { ac_try="$ac_link"
2933
2901
as_fn_error "cannot compute suffix of executables: cannot compile and link
2934
2902
See \`config.log' for more details." "$LINENO" 5; }
2935
2903
fi
2936
 
rm -f conftest$ac_cv_exeext
 
2904
rm -f conftest conftest$ac_cv_exeext
2937
2905
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2938
2906
$as_echo "$ac_cv_exeext" >&6; }
2939
2907
 
2940
2908
rm -f conftest.$ac_ext
2941
2909
EXEEXT=$ac_cv_exeext
2942
2910
ac_exeext=$EXEEXT
 
2911
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2912
/* end confdefs.h.  */
 
2913
#include <stdio.h>
 
2914
int
 
2915
main ()
 
2916
{
 
2917
FILE *f = fopen ("conftest.out", "w");
 
2918
 return ferror (f) || fclose (f) != 0;
 
2919
 
 
2920
  ;
 
2921
  return 0;
 
2922
}
 
2923
_ACEOF
 
2924
ac_clean_files="$ac_clean_files conftest.out"
 
2925
# Check that the compiler produces executables we can run.  If not, either
 
2926
# the compiler is broken, or we cross compile.
 
2927
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
2928
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
2929
if test "$cross_compiling" != yes; then
 
2930
  { { ac_try="$ac_link"
 
2931
case "(($ac_try" in
 
2932
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2933
  *) ac_try_echo=$ac_try;;
 
2934
esac
 
2935
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2936
$as_echo "$ac_try_echo"; } >&5
 
2937
  (eval "$ac_link") 2>&5
 
2938
  ac_status=$?
 
2939
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2940
  test $ac_status = 0; }
 
2941
  if { ac_try='./conftest$ac_cv_exeext'
 
2942
  { { case "(($ac_try" in
 
2943
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2944
  *) ac_try_echo=$ac_try;;
 
2945
esac
 
2946
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2947
$as_echo "$ac_try_echo"; } >&5
 
2948
  (eval "$ac_try") 2>&5
 
2949
  ac_status=$?
 
2950
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2951
  test $ac_status = 0; }; }; then
 
2952
    cross_compiling=no
 
2953
  else
 
2954
    if test "$cross_compiling" = maybe; then
 
2955
        cross_compiling=yes
 
2956
    else
 
2957
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2958
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2959
as_fn_error "cannot run C++ compiled programs.
 
2960
If you meant to cross compile, use \`--host'.
 
2961
See \`config.log' for more details." "$LINENO" 5; }
 
2962
    fi
 
2963
  fi
 
2964
fi
 
2965
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
2966
$as_echo "$cross_compiling" >&6; }
 
2967
 
 
2968
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
2969
ac_clean_files=$ac_clean_files_save
2943
2970
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2944
2971
$as_echo_n "checking for suffix of object files... " >&6; }
2945
2972
if test "${ac_cv_objext+set}" = set; then :
3612
3639
... rest of stderr output deleted ...
3613
3640
         10q' conftest.err >conftest.er1
3614
3641
    cat conftest.er1 >&5
3615
 
    rm -f conftest.er1 conftest.err
3616
3642
  fi
 
3643
  rm -f conftest.er1 conftest.err
3617
3644
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3618
3645
  test $ac_status = 0; }
3619
3646
done
5138
5165
# values after options handling.
5139
5166
ac_log="
5140
5167
This file was extended by $as_me, which was
5141
 
generated by GNU Autoconf 2.64.  Invocation command line was
 
5168
generated by GNU Autoconf 2.65.  Invocation command line was
5142
5169
 
5143
5170
  CONFIG_FILES    = $CONFIG_FILES
5144
5171
  CONFIG_HEADERS  = $CONFIG_HEADERS
5178
5205
 
5179
5206
  -h, --help       print this help, then exit
5180
5207
  -V, --version    print version number and configuration settings, then exit
 
5208
      --config     print configuration, then exit
5181
5209
  -q, --quiet, --silent
5182
5210
                   do not print progress messages
5183
5211
  -d, --debug      don't remove temporary files
5200
5228
 
5201
5229
_ACEOF
5202
5230
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
5231
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5203
5232
ac_cs_version="\\
5204
5233
config.status
5205
 
configured by $0, generated by GNU Autoconf 2.64,
5206
 
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
5234
configured by $0, generated by GNU Autoconf 2.65,
 
5235
  with options \\"\$ac_cs_config\\"
5207
5236
 
5208
5237
Copyright (C) 2009 Free Software Foundation, Inc.
5209
5238
This config.status script is free software; the Free Software Foundation
5240
5269
    ac_cs_recheck=: ;;
5241
5270
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5242
5271
    $as_echo "$ac_cs_version"; exit ;;
 
5272
  --config | --confi | --conf | --con | --co | --c )
 
5273
    $as_echo "$ac_cs_config"; exit ;;
5243
5274
  --debug | --debu | --deb | --de | --d | -d )
5244
5275
    debug=: ;;
5245
5276
  --file | --fil | --fi | --f )
5434
5465
t delim
5435
5466
:nl
5436
5467
h
5437
 
s/\(.\{148\}\).*/\1/
 
5468
s/\(.\{148\}\)..*/\1/
5438
5469
t more1
5439
5470
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5440
5471
p
5448
5479
t nl
5449
5480
:delim
5450
5481
h
5451
 
s/\(.\{148\}\).*/\1/
 
5482
s/\(.\{148\}\)..*/\1/
5452
5483
t more2
5453
5484
s/["\\]/\\&/g; s/^/"/; s/$/"/
5454
5485
p