~ubuntu-branches/ubuntu/oneiric/sbuild/oneiric

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Lorenzo De Liso
  • Date: 2011-05-01 16:55:16 UTC
  • mfrom: (8.1.19 upstream) (3.3.17 sid)
  • Revision ID: james.westby@ubuntu.com-20110501165516-8g3uwrnhv2bzjt8y
Tags: 0.62.2-1ubuntu1
* Merge from debian unstable, remaining changes:
  - debian/patches/do-not-install-debfoster-into-chroots.patch: 
    do not install debfoster into the chroots because it is in universe and 
    not needed for package building itself.
  - debian/patches/run-pre-build-hooks-as-root.patch: 
    run pre-build hooks as root (Closes: #607228)
* Now that the package uses a patch system, don't modify the files directly;
  instead, put the changes in the respective patches and add the DEP-3
  patch tagging guidelines to them.

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.67 for sbuild 0.60.9.
 
3
# Generated by GNU Autoconf 2.67 for sbuild 0.62.2.
4
4
#
5
5
# Report bugs to <buildd-tools-devel@lists.alioth.debian.org>.
6
6
#
569
569
# Identity of this package.
570
570
PACKAGE_NAME='sbuild'
571
571
PACKAGE_TARNAME='sbuild'
572
 
PACKAGE_VERSION='0.60.9'
573
 
PACKAGE_STRING='sbuild 0.60.9'
 
572
PACKAGE_VERSION='0.62.2'
 
573
PACKAGE_STRING='sbuild 0.62.2'
574
574
PACKAGE_BUGREPORT='buildd-tools-devel@lists.alioth.debian.org'
575
575
PACKAGE_URL=''
576
576
 
577
577
ac_unique_file="bin/sbuild-createchroot"
578
 
ac_subst_vars='LTLIBOBJS
 
578
ac_subst_vars='am__EXEEXT_FALSE
 
579
am__EXEEXT_TRUE
 
580
LTLIBOBJS
579
581
LIBOBJS
580
 
WANNA_BUILD_CONF
 
582
SBUILD_DATA_DIR
581
583
SCHROOT_CONF
582
 
WANNA_BUILD_SYSCONF_DIR
583
584
SCHROOT_SYSCONF_DIR
584
585
BUILDD_CONF
585
586
BUILDD_SYSCONF_DIR
586
587
SBUILD_CONF
587
588
SBUILD_SYSCONF_DIR
588
 
WANNA_BUILD_LIBEXEC_DIR
589
589
SBUILD_LIBEXEC_DIR
590
590
PERL_MODULE_DIR
591
591
PLATFORM_FREEBSD_FALSE
603
603
build_vendor
604
604
build_cpu
605
605
build
 
606
am__fastdepCXX_FALSE
 
607
am__fastdepCXX_TRUE
 
608
CXXDEPMODE
 
609
AMDEPBACKSLASH
 
610
AMDEP_FALSE
 
611
AMDEP_TRUE
 
612
am__quote
 
613
am__include
 
614
DEPDIR
 
615
OBJEXT
 
616
EXEEXT
 
617
ac_ct_CXX
 
618
CPPFLAGS
 
619
LDFLAGS
 
620
CXXFLAGS
 
621
CXX
606
622
SBUILD_CHROOT_CHECKS_FALSE
607
623
SBUILD_CHROOT_CHECKS_TRUE
608
624
SBUILD_CHROOT_CHECKS
680
696
enable_debug
681
697
enable_compat
682
698
enable_chroot_checks
 
699
enable_dependency_tracking
683
700
'
684
701
      ac_precious_vars='build_alias
685
702
host_alias
686
 
target_alias'
 
703
target_alias
 
704
CXX
 
705
CXXFLAGS
 
706
LDFLAGS
 
707
LIBS
 
708
CPPFLAGS
 
709
CCC'
687
710
 
688
711
 
689
712
# Initialize some variables set by options.
1226
1249
  # Omit some internal or obsolete options to make the list less imposing.
1227
1250
  # This message is too long to be a string in the A/UX 3.1 sh.
1228
1251
  cat <<_ACEOF
1229
 
\`configure' configures sbuild 0.60.9 to adapt to many kinds of systems.
 
1252
\`configure' configures sbuild 0.62.2 to adapt to many kinds of systems.
1230
1253
 
1231
1254
Usage: $0 [OPTION]... [VAR=VALUE]...
1232
1255
 
1296
1319
 
1297
1320
if test -n "$ac_init_help"; then
1298
1321
  case $ac_init_help in
1299
 
     short | recursive ) echo "Configuration of sbuild 0.60.9:";;
 
1322
     short | recursive ) echo "Configuration of sbuild 0.62.2:";;
1300
1323
   esac
1301
1324
  cat <<\_ACEOF
1302
1325
 
1311
1334
                          older Debian stable releases
1312
1335
  --enable-chroot-checks  Enable additional chroot checks in testsuite
1313
1336
                          (requires "unstable" chroot)
 
1337
  --disable-dependency-tracking  speeds up one-time build
 
1338
  --enable-dependency-tracking   do not reject slow dependency extractors
 
1339
 
 
1340
Some influential environment variables:
 
1341
  CXX         C++ compiler command
 
1342
  CXXFLAGS    C++ compiler flags
 
1343
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 
1344
              nonstandard directory <lib dir>
 
1345
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1346
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 
1347
              you have headers in a nonstandard directory <include dir>
 
1348
 
 
1349
Use these variables to override the choices made by `configure' or to help
 
1350
it to find libraries and programs with nonstandard names/locations.
1314
1351
 
1315
1352
Report bugs to <buildd-tools-devel@lists.alioth.debian.org>.
1316
1353
_ACEOF
1375
1412
test -n "$ac_init_help" && exit $ac_status
1376
1413
if $ac_init_version; then
1377
1414
  cat <<\_ACEOF
1378
 
sbuild configure 0.60.9
 
1415
sbuild configure 0.62.2
1379
1416
generated by GNU Autoconf 2.67
1380
1417
 
1381
1418
Copyright (C) 2010 Free Software Foundation, Inc.
1406
1443
## ------------------------ ##
1407
1444
## Autoconf initialization. ##
1408
1445
## ------------------------ ##
 
1446
 
 
1447
# ac_fn_cxx_try_compile LINENO
 
1448
# ----------------------------
 
1449
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1450
ac_fn_cxx_try_compile ()
 
1451
{
 
1452
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1453
  rm -f conftest.$ac_objext
 
1454
  if { { ac_try="$ac_compile"
 
1455
case "(($ac_try" in
 
1456
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1457
  *) ac_try_echo=$ac_try;;
 
1458
esac
 
1459
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1460
$as_echo "$ac_try_echo"; } >&5
 
1461
  (eval "$ac_compile") 2>conftest.err
 
1462
  ac_status=$?
 
1463
  if test -s conftest.err; then
 
1464
    grep -v '^ *+' conftest.err >conftest.er1
 
1465
    cat conftest.er1 >&5
 
1466
    mv -f conftest.er1 conftest.err
 
1467
  fi
 
1468
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1469
  test $ac_status = 0; } && {
 
1470
         test -z "$ac_cxx_werror_flag" ||
 
1471
         test ! -s conftest.err
 
1472
       } && test -s conftest.$ac_objext; then :
 
1473
  ac_retval=0
 
1474
else
 
1475
  $as_echo "$as_me: failed program was:" >&5
 
1476
sed 's/^/| /' conftest.$ac_ext >&5
 
1477
 
 
1478
        ac_retval=1
 
1479
fi
 
1480
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1481
  as_fn_set_status $ac_retval
 
1482
 
 
1483
} # ac_fn_cxx_try_compile
1409
1484
cat >config.log <<_ACEOF
1410
1485
This file contains any messages produced by compilers while
1411
1486
running configure, to aid debugging if configure makes a mistake.
1412
1487
 
1413
 
It was created by sbuild $as_me 0.60.9, which was
 
1488
It was created by sbuild $as_me 0.62.2, which was
1414
1489
generated by GNU Autoconf 2.67.  Invocation command line was
1415
1490
 
1416
1491
  $ $0 $@
2231
2306
 
2232
2307
# Define the identity of the package.
2233
2308
 PACKAGE='sbuild'
2234
 
 VERSION='0.60.9'
 
2309
 VERSION='0.62.2'
2235
2310
 
2236
2311
 
2237
2312
cat >>confdefs.h <<_ACEOF
2364
2439
esac
2365
2440
AM_BACKSLASH='\'
2366
2441
 
2367
 
RELEASE_DATE='14 Feb 2011'
2368
 
RELEASE_DATE_S='1297641600'
 
2442
RELEASE_DATE='05 Apr 2011'
 
2443
RELEASE_DATE_S='1301958000'
2369
2444
 
2370
2445
cat >>confdefs.h <<_ACEOF
2371
2446
#define RELEASE_DATE "$RELEASE_DATE_S"
2476
2551
 
2477
2552
 
2478
2553
# Checks for programs.
 
2554
ac_ext=cpp
 
2555
ac_cpp='$CXXCPP $CPPFLAGS'
 
2556
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2557
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2558
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
2559
if test -z "$CXX"; then
 
2560
  if test -n "$CCC"; then
 
2561
    CXX=$CCC
 
2562
  else
 
2563
    if test -n "$ac_tool_prefix"; then
 
2564
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
2565
  do
 
2566
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
2567
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
2568
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2569
$as_echo_n "checking for $ac_word... " >&6; }
 
2570
if test "${ac_cv_prog_CXX+set}" = set; then :
 
2571
  $as_echo_n "(cached) " >&6
 
2572
else
 
2573
  if test -n "$CXX"; then
 
2574
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
 
2575
else
 
2576
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2577
for as_dir in $PATH
 
2578
do
 
2579
  IFS=$as_save_IFS
 
2580
  test -z "$as_dir" && as_dir=.
 
2581
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2582
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2583
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 
2584
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2585
    break 2
 
2586
  fi
 
2587
done
 
2588
  done
 
2589
IFS=$as_save_IFS
 
2590
 
 
2591
fi
 
2592
fi
 
2593
CXX=$ac_cv_prog_CXX
 
2594
if test -n "$CXX"; then
 
2595
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
 
2596
$as_echo "$CXX" >&6; }
 
2597
else
 
2598
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2599
$as_echo "no" >&6; }
 
2600
fi
 
2601
 
 
2602
 
 
2603
    test -n "$CXX" && break
 
2604
  done
 
2605
fi
 
2606
if test -z "$CXX"; then
 
2607
  ac_ct_CXX=$CXX
 
2608
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
2609
do
 
2610
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
2611
set dummy $ac_prog; ac_word=$2
 
2612
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2613
$as_echo_n "checking for $ac_word... " >&6; }
 
2614
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
 
2615
  $as_echo_n "(cached) " >&6
 
2616
else
 
2617
  if test -n "$ac_ct_CXX"; then
 
2618
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 
2619
else
 
2620
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2621
for as_dir in $PATH
 
2622
do
 
2623
  IFS=$as_save_IFS
 
2624
  test -z "$as_dir" && as_dir=.
 
2625
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2626
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2627
    ac_cv_prog_ac_ct_CXX="$ac_prog"
 
2628
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2629
    break 2
 
2630
  fi
 
2631
done
 
2632
  done
 
2633
IFS=$as_save_IFS
 
2634
 
 
2635
fi
 
2636
fi
 
2637
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 
2638
if test -n "$ac_ct_CXX"; then
 
2639
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
 
2640
$as_echo "$ac_ct_CXX" >&6; }
 
2641
else
 
2642
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2643
$as_echo "no" >&6; }
 
2644
fi
 
2645
 
 
2646
 
 
2647
  test -n "$ac_ct_CXX" && break
 
2648
done
 
2649
 
 
2650
  if test "x$ac_ct_CXX" = x; then
 
2651
    CXX="g++"
 
2652
  else
 
2653
    case $cross_compiling:$ac_tool_warned in
 
2654
yes:)
 
2655
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2656
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2657
ac_tool_warned=yes ;;
 
2658
esac
 
2659
    CXX=$ac_ct_CXX
 
2660
  fi
 
2661
fi
 
2662
 
 
2663
  fi
 
2664
fi
 
2665
# Provide some information about the compiler.
 
2666
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
 
2667
set X $ac_compile
 
2668
ac_compiler=$2
 
2669
for ac_option in --version -v -V -qversion; do
 
2670
  { { ac_try="$ac_compiler $ac_option >&5"
 
2671
case "(($ac_try" in
 
2672
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2673
  *) ac_try_echo=$ac_try;;
 
2674
esac
 
2675
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2676
$as_echo "$ac_try_echo"; } >&5
 
2677
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
2678
  ac_status=$?
 
2679
  if test -s conftest.err; then
 
2680
    sed '10a\
 
2681
... rest of stderr output deleted ...
 
2682
         10q' conftest.err >conftest.er1
 
2683
    cat conftest.er1 >&5
 
2684
  fi
 
2685
  rm -f conftest.er1 conftest.err
 
2686
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2687
  test $ac_status = 0; }
 
2688
done
 
2689
 
 
2690
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2691
/* end confdefs.h.  */
 
2692
 
 
2693
int
 
2694
main ()
 
2695
{
 
2696
 
 
2697
  ;
 
2698
  return 0;
 
2699
}
 
2700
_ACEOF
 
2701
ac_clean_files_save=$ac_clean_files
 
2702
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 
2703
# Try to create an executable without -o first, disregard a.out.
 
2704
# It will help us diagnose broken compilers, and finding out an intuition
 
2705
# of exeext.
 
2706
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
 
2707
$as_echo_n "checking whether the C++ compiler works... " >&6; }
 
2708
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
2709
 
 
2710
# The possible output files:
 
2711
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
2712
 
 
2713
ac_rmfiles=
 
2714
for ac_file in $ac_files
 
2715
do
 
2716
  case $ac_file in
 
2717
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
2718
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
2719
  esac
 
2720
done
 
2721
rm -f $ac_rmfiles
 
2722
 
 
2723
if { { ac_try="$ac_link_default"
 
2724
case "(($ac_try" in
 
2725
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2726
  *) ac_try_echo=$ac_try;;
 
2727
esac
 
2728
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2729
$as_echo "$ac_try_echo"; } >&5
 
2730
  (eval "$ac_link_default") 2>&5
 
2731
  ac_status=$?
 
2732
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2733
  test $ac_status = 0; }; then :
 
2734
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
2735
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
2736
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
2737
# so that the user can short-circuit this test for compilers unknown to
 
2738
# Autoconf.
 
2739
for ac_file in $ac_files ''
 
2740
do
 
2741
  test -f "$ac_file" || continue
 
2742
  case $ac_file in
 
2743
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 
2744
        ;;
 
2745
    [ab].out )
 
2746
        # We found the default executable, but exeext='' is most
 
2747
        # certainly right.
 
2748
        break;;
 
2749
    *.* )
 
2750
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
2751
        then :; else
 
2752
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2753
        fi
 
2754
        # We set ac_cv_exeext here because the later test for it is not
 
2755
        # safe: cross compilers may not add the suffix if given an `-o'
 
2756
        # argument, so we may need to know it at that point already.
 
2757
        # Even if this section looks crufty: it has the advantage of
 
2758
        # actually working.
 
2759
        break;;
 
2760
    * )
 
2761
        break;;
 
2762
  esac
 
2763
done
 
2764
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
2765
 
 
2766
else
 
2767
  ac_file=''
 
2768
fi
 
2769
if test -z "$ac_file"; then :
 
2770
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2771
$as_echo "no" >&6; }
 
2772
$as_echo "$as_me: failed program was:" >&5
 
2773
sed 's/^/| /' conftest.$ac_ext >&5
 
2774
 
 
2775
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2776
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2777
as_fn_error 77 "C++ compiler cannot create executables
 
2778
See \`config.log' for more details" "$LINENO" 5 ; }
 
2779
else
 
2780
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2781
$as_echo "yes" >&6; }
 
2782
fi
 
2783
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
 
2784
$as_echo_n "checking for C++ compiler default output file name... " >&6; }
 
2785
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 
2786
$as_echo "$ac_file" >&6; }
 
2787
ac_exeext=$ac_cv_exeext
 
2788
 
 
2789
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 
2790
ac_clean_files=$ac_clean_files_save
 
2791
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 
2792
$as_echo_n "checking for suffix of executables... " >&6; }
 
2793
if { { ac_try="$ac_link"
 
2794
case "(($ac_try" in
 
2795
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2796
  *) ac_try_echo=$ac_try;;
 
2797
esac
 
2798
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2799
$as_echo "$ac_try_echo"; } >&5
 
2800
  (eval "$ac_link") 2>&5
 
2801
  ac_status=$?
 
2802
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2803
  test $ac_status = 0; }; then :
 
2804
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
 
2805
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 
2806
# work properly (i.e., refer to `conftest.exe'), while it won't with
 
2807
# `rm'.
 
2808
for ac_file in conftest.exe conftest conftest.*; do
 
2809
  test -f "$ac_file" || continue
 
2810
  case $ac_file in
 
2811
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
2812
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2813
          break;;
 
2814
    * ) break;;
 
2815
  esac
 
2816
done
 
2817
else
 
2818
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2819
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2820
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 
2821
See \`config.log' for more details" "$LINENO" 5 ; }
 
2822
fi
 
2823
rm -f conftest conftest$ac_cv_exeext
 
2824
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 
2825
$as_echo "$ac_cv_exeext" >&6; }
 
2826
 
 
2827
rm -f conftest.$ac_ext
 
2828
EXEEXT=$ac_cv_exeext
 
2829
ac_exeext=$EXEEXT
 
2830
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2831
/* end confdefs.h.  */
 
2832
#include <stdio.h>
 
2833
int
 
2834
main ()
 
2835
{
 
2836
FILE *f = fopen ("conftest.out", "w");
 
2837
 return ferror (f) || fclose (f) != 0;
 
2838
 
 
2839
  ;
 
2840
  return 0;
 
2841
}
 
2842
_ACEOF
 
2843
ac_clean_files="$ac_clean_files conftest.out"
 
2844
# Check that the compiler produces executables we can run.  If not, either
 
2845
# the compiler is broken, or we cross compile.
 
2846
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
2847
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
2848
if test "$cross_compiling" != yes; then
 
2849
  { { ac_try="$ac_link"
 
2850
case "(($ac_try" in
 
2851
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2852
  *) ac_try_echo=$ac_try;;
 
2853
esac
 
2854
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2855
$as_echo "$ac_try_echo"; } >&5
 
2856
  (eval "$ac_link") 2>&5
 
2857
  ac_status=$?
 
2858
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2859
  test $ac_status = 0; }
 
2860
  if { ac_try='./conftest$ac_cv_exeext'
 
2861
  { { case "(($ac_try" in
 
2862
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2863
  *) ac_try_echo=$ac_try;;
 
2864
esac
 
2865
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2866
$as_echo "$ac_try_echo"; } >&5
 
2867
  (eval "$ac_try") 2>&5
 
2868
  ac_status=$?
 
2869
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2870
  test $ac_status = 0; }; }; then
 
2871
    cross_compiling=no
 
2872
  else
 
2873
    if test "$cross_compiling" = maybe; then
 
2874
        cross_compiling=yes
 
2875
    else
 
2876
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2877
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2878
as_fn_error $? "cannot run C++ compiled programs.
 
2879
If you meant to cross compile, use \`--host'.
 
2880
See \`config.log' for more details" "$LINENO" 5 ; }
 
2881
    fi
 
2882
  fi
 
2883
fi
 
2884
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
2885
$as_echo "$cross_compiling" >&6; }
 
2886
 
 
2887
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
2888
ac_clean_files=$ac_clean_files_save
 
2889
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 
2890
$as_echo_n "checking for suffix of object files... " >&6; }
 
2891
if test "${ac_cv_objext+set}" = set; then :
 
2892
  $as_echo_n "(cached) " >&6
 
2893
else
 
2894
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2895
/* end confdefs.h.  */
 
2896
 
 
2897
int
 
2898
main ()
 
2899
{
 
2900
 
 
2901
  ;
 
2902
  return 0;
 
2903
}
 
2904
_ACEOF
 
2905
rm -f conftest.o conftest.obj
 
2906
if { { ac_try="$ac_compile"
 
2907
case "(($ac_try" in
 
2908
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2909
  *) ac_try_echo=$ac_try;;
 
2910
esac
 
2911
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2912
$as_echo "$ac_try_echo"; } >&5
 
2913
  (eval "$ac_compile") 2>&5
 
2914
  ac_status=$?
 
2915
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2916
  test $ac_status = 0; }; then :
 
2917
  for ac_file in conftest.o conftest.obj conftest.*; do
 
2918
  test -f "$ac_file" || continue;
 
2919
  case $ac_file in
 
2920
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 
2921
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 
2922
       break;;
 
2923
  esac
 
2924
done
 
2925
else
 
2926
  $as_echo "$as_me: failed program was:" >&5
 
2927
sed 's/^/| /' conftest.$ac_ext >&5
 
2928
 
 
2929
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2930
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2931
as_fn_error $? "cannot compute suffix of object files: cannot compile
 
2932
See \`config.log' for more details" "$LINENO" 5 ; }
 
2933
fi
 
2934
rm -f conftest.$ac_cv_objext conftest.$ac_ext
 
2935
fi
 
2936
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 
2937
$as_echo "$ac_cv_objext" >&6; }
 
2938
OBJEXT=$ac_cv_objext
 
2939
ac_objext=$OBJEXT
 
2940
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
 
2941
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
 
2942
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
 
2943
  $as_echo_n "(cached) " >&6
 
2944
else
 
2945
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2946
/* end confdefs.h.  */
 
2947
 
 
2948
int
 
2949
main ()
 
2950
{
 
2951
#ifndef __GNUC__
 
2952
       choke me
 
2953
#endif
 
2954
 
 
2955
  ;
 
2956
  return 0;
 
2957
}
 
2958
_ACEOF
 
2959
if ac_fn_cxx_try_compile "$LINENO"; then :
 
2960
  ac_compiler_gnu=yes
 
2961
else
 
2962
  ac_compiler_gnu=no
 
2963
fi
 
2964
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2965
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 
2966
 
 
2967
fi
 
2968
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
 
2969
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 
2970
if test $ac_compiler_gnu = yes; then
 
2971
  GXX=yes
 
2972
else
 
2973
  GXX=
 
2974
fi
 
2975
ac_test_CXXFLAGS=${CXXFLAGS+set}
 
2976
ac_save_CXXFLAGS=$CXXFLAGS
 
2977
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
 
2978
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
 
2979
if test "${ac_cv_prog_cxx_g+set}" = set; then :
 
2980
  $as_echo_n "(cached) " >&6
 
2981
else
 
2982
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
2983
   ac_cxx_werror_flag=yes
 
2984
   ac_cv_prog_cxx_g=no
 
2985
   CXXFLAGS="-g"
 
2986
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2987
/* end confdefs.h.  */
 
2988
 
 
2989
int
 
2990
main ()
 
2991
{
 
2992
 
 
2993
  ;
 
2994
  return 0;
 
2995
}
 
2996
_ACEOF
 
2997
if ac_fn_cxx_try_compile "$LINENO"; then :
 
2998
  ac_cv_prog_cxx_g=yes
 
2999
else
 
3000
  CXXFLAGS=""
 
3001
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3002
/* end confdefs.h.  */
 
3003
 
 
3004
int
 
3005
main ()
 
3006
{
 
3007
 
 
3008
  ;
 
3009
  return 0;
 
3010
}
 
3011
_ACEOF
 
3012
if ac_fn_cxx_try_compile "$LINENO"; then :
 
3013
 
 
3014
else
 
3015
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
3016
         CXXFLAGS="-g"
 
3017
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3018
/* end confdefs.h.  */
 
3019
 
 
3020
int
 
3021
main ()
 
3022
{
 
3023
 
 
3024
  ;
 
3025
  return 0;
 
3026
}
 
3027
_ACEOF
 
3028
if ac_fn_cxx_try_compile "$LINENO"; then :
 
3029
  ac_cv_prog_cxx_g=yes
 
3030
fi
 
3031
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3032
fi
 
3033
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3034
fi
 
3035
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3036
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
3037
fi
 
3038
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
 
3039
$as_echo "$ac_cv_prog_cxx_g" >&6; }
 
3040
if test "$ac_test_CXXFLAGS" = set; then
 
3041
  CXXFLAGS=$ac_save_CXXFLAGS
 
3042
elif test $ac_cv_prog_cxx_g = yes; then
 
3043
  if test "$GXX" = yes; then
 
3044
    CXXFLAGS="-g -O2"
 
3045
  else
 
3046
    CXXFLAGS="-g"
 
3047
  fi
 
3048
else
 
3049
  if test "$GXX" = yes; then
 
3050
    CXXFLAGS="-O2"
 
3051
  else
 
3052
    CXXFLAGS=
 
3053
  fi
 
3054
fi
 
3055
ac_ext=c
 
3056
ac_cpp='$CPP $CPPFLAGS'
 
3057
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3058
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3059
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3060
DEPDIR="${am__leading_dot}deps"
 
3061
 
 
3062
ac_config_commands="$ac_config_commands depfiles"
 
3063
 
 
3064
 
 
3065
am_make=${MAKE-make}
 
3066
cat > confinc << 'END'
 
3067
am__doit:
 
3068
        @echo this is the am__doit target
 
3069
.PHONY: am__doit
 
3070
END
 
3071
# If we don't find an include directive, just comment out the code.
 
3072
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 
3073
$as_echo_n "checking for style of include used by $am_make... " >&6; }
 
3074
am__include="#"
 
3075
am__quote=
 
3076
_am_result=none
 
3077
# First try GNU make style include.
 
3078
echo "include confinc" > confmf
 
3079
# Ignore all kinds of additional output from `make'.
 
3080
case `$am_make -s -f confmf 2> /dev/null` in #(
 
3081
*the\ am__doit\ target*)
 
3082
  am__include=include
 
3083
  am__quote=
 
3084
  _am_result=GNU
 
3085
  ;;
 
3086
esac
 
3087
# Now try BSD make style include.
 
3088
if test "$am__include" = "#"; then
 
3089
   echo '.include "confinc"' > confmf
 
3090
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
3091
   *the\ am__doit\ target*)
 
3092
     am__include=.include
 
3093
     am__quote="\""
 
3094
     _am_result=BSD
 
3095
     ;;
 
3096
   esac
 
3097
fi
 
3098
 
 
3099
 
 
3100
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 
3101
$as_echo "$_am_result" >&6; }
 
3102
rm -f confinc confmf
 
3103
 
 
3104
# Check whether --enable-dependency-tracking was given.
 
3105
if test "${enable_dependency_tracking+set}" = set; then :
 
3106
  enableval=$enable_dependency_tracking;
 
3107
fi
 
3108
 
 
3109
if test "x$enable_dependency_tracking" != xno; then
 
3110
  am_depcomp="$ac_aux_dir/depcomp"
 
3111
  AMDEPBACKSLASH='\'
 
3112
fi
 
3113
 if test "x$enable_dependency_tracking" != xno; then
 
3114
  AMDEP_TRUE=
 
3115
  AMDEP_FALSE='#'
 
3116
else
 
3117
  AMDEP_TRUE='#'
 
3118
  AMDEP_FALSE=
 
3119
fi
 
3120
 
 
3121
 
 
3122
 
 
3123
depcc="$CXX"  am_compiler_list=
 
3124
 
 
3125
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
3126
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
3127
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
 
3128
  $as_echo_n "(cached) " >&6
 
3129
else
 
3130
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
3131
  # We make a subdir and do the tests there.  Otherwise we can end up
 
3132
  # making bogus files that we don't know about and never remove.  For
 
3133
  # instance it was reported that on HP-UX the gcc test will end up
 
3134
  # making a dummy file named `D' -- because `-MD' means `put the output
 
3135
  # in D'.
 
3136
  mkdir conftest.dir
 
3137
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
3138
  # using a relative directory.
 
3139
  cp "$am_depcomp" conftest.dir
 
3140
  cd conftest.dir
 
3141
  # We will build objects and dependencies in a subdirectory because
 
3142
  # it helps to detect inapplicable dependency modes.  For instance
 
3143
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
3144
  # side effect of compilation, but ICC will put the dependencies in
 
3145
  # the current directory while Tru64 will put them in the object
 
3146
  # directory.
 
3147
  mkdir sub
 
3148
 
 
3149
  am_cv_CXX_dependencies_compiler_type=none
 
3150
  if test "$am_compiler_list" = ""; then
 
3151
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
3152
  fi
 
3153
  am__universal=false
 
3154
  case " $depcc " in #(
 
3155
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
3156
     esac
 
3157
 
 
3158
  for depmode in $am_compiler_list; do
 
3159
    # Setup a source with many dependencies, because some compilers
 
3160
    # like to wrap large dependency lists on column 80 (with \), and
 
3161
    # we should not choose a depcomp mode which is confused by this.
 
3162
    #
 
3163
    # We need to recreate these files for each test, as the compiler may
 
3164
    # overwrite some of them when testing with obscure command lines.
 
3165
    # This happens at least with the AIX C compiler.
 
3166
    : > sub/conftest.c
 
3167
    for i in 1 2 3 4 5 6; do
 
3168
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
3169
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
3170
      # Solaris 8's {/usr,}/bin/sh.
 
3171
      touch sub/conftst$i.h
 
3172
    done
 
3173
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
3174
 
 
3175
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
3176
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
3177
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
3178
    # versions had trouble with output in subdirs
 
3179
    am__obj=sub/conftest.${OBJEXT-o}
 
3180
    am__minus_obj="-o $am__obj"
 
3181
    case $depmode in
 
3182
    gcc)
 
3183
      # This depmode causes a compiler race in universal mode.
 
3184
      test "$am__universal" = false || continue
 
3185
      ;;
 
3186
    nosideeffect)
 
3187
      # after this tag, mechanisms are not by side-effect, so they'll
 
3188
      # only be used when explicitly requested
 
3189
      if test "x$enable_dependency_tracking" = xyes; then
 
3190
        continue
 
3191
      else
 
3192
        break
 
3193
      fi
 
3194
      ;;
 
3195
    msvisualcpp | msvcmsys)
 
3196
      # This compiler won't grok `-c -o', but also, the minuso test has
 
3197
      # not run yet.  These depmodes are late enough in the game, and
 
3198
      # so weak that their functioning should not be impacted.
 
3199
      am__obj=conftest.${OBJEXT-o}
 
3200
      am__minus_obj=
 
3201
      ;;
 
3202
    none) break ;;
 
3203
    esac
 
3204
    if depmode=$depmode \
 
3205
       source=sub/conftest.c object=$am__obj \
 
3206
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
3207
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
3208
         >/dev/null 2>conftest.err &&
 
3209
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
3210
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
3211
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
3212
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
3213
      # icc doesn't choke on unknown options, it will just issue warnings
 
3214
      # or remarks (even with -Werror).  So we grep stderr for any message
 
3215
      # that says an option was ignored or not supported.
 
3216
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
3217
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
3218
      # The diagnosis changed in icc 8.0:
 
3219
      #   icc: Command line remark: option '-MP' not supported
 
3220
      if (grep 'ignoring option' conftest.err ||
 
3221
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
3222
        am_cv_CXX_dependencies_compiler_type=$depmode
 
3223
        break
 
3224
      fi
 
3225
    fi
 
3226
  done
 
3227
 
 
3228
  cd ..
 
3229
  rm -rf conftest.dir
 
3230
else
 
3231
  am_cv_CXX_dependencies_compiler_type=none
 
3232
fi
 
3233
 
 
3234
fi
 
3235
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
3236
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
 
3237
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
 
3238
 
 
3239
 if
 
3240
  test "x$enable_dependency_tracking" != xno \
 
3241
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
 
3242
  am__fastdepCXX_TRUE=
 
3243
  am__fastdepCXX_FALSE='#'
 
3244
else
 
3245
  am__fastdepCXX_TRUE='#'
 
3246
  am__fastdepCXX_FALSE=
 
3247
fi
 
3248
 
 
3249
 
 
3250
ac_ext=cpp
 
3251
ac_cpp='$CXXCPP $CPPFLAGS'
 
3252
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3253
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3254
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
3255
 
2479
3256
 
2480
3257
# Check for host platform
2481
3258
# Make sure we can run config.sub.
2685
3462
_ACEOF
2686
3463
 
2687
3464
 
2688
 
WANNA_BUILD_LIBEXEC_DIR="${PACKAGE_LIBEXEC_DIR}/wanna-build"
2689
 
 
2690
 
 
2691
 
cat >>confdefs.h <<_ACEOF
2692
 
#define WANNA_BUILD_LIBEXEC_DIR "$WANNA_BUILD_LIBEXEC_DIR"
2693
 
_ACEOF
2694
 
 
2695
 
 
2696
3465
 
2697
3466
if test "x${localstatedir}" = 'x${prefix}/var'; then
2698
3467
  if test "x${prefix}" = "xNONE"; then
2771
3540
 
2772
3541
 
2773
3542
 
2774
 
 
2775
 
if test "x${sysconfdir}" = 'x${prefix}/etc'; then
2776
 
  if test "x${prefix}" = "xNONE"; then
2777
 
    WANNA_BUILD_SYSCONF_DIR="${ac_default_prefix}/etc"
2778
 
  else
2779
 
    WANNA_BUILD_SYSCONF_DIR="${prefix}/etc"
2780
 
  fi
2781
 
else
2782
 
  WANNA_BUILD_SYSCONF_DIR="${sysconfdir}"
2783
 
fi
2784
 
WANNA_BUILD_SYSCONF_DIR="${WANNA_BUILD_SYSCONF_DIR}/buildd"
2785
 
cat >>confdefs.h <<_ACEOF
2786
 
#define WANNA_BUILD_SYSCONF_DIR "$WANNA_BUILD_SYSCONF_DIR"
2787
 
_ACEOF
2788
 
 
2789
 
 
2790
 
 
2791
3543
SCHROOT_CONF="${SCHROOT_SYSCONF_DIR}/schroot.conf"
2792
3544
 
2793
3545
 
2797
3549
_ACEOF
2798
3550
 
2799
3551
 
2800
 
WANNA_BUILD_CONF="${WANNA_BUILD_SYSCONF_DIR}/wanna-build.conf"
2801
 
 
2802
 
 
2803
 
 
2804
 
cat >>confdefs.h <<_ACEOF
2805
 
#define WANNA_BUILD_CONF "$WANNA_BUILD_CONF"
2806
 
_ACEOF
2807
 
 
2808
 
 
2809
 
 
2810
 
SBUILD_DATADIR="${PACKAGE_DATA_DIR}/${PACKAGE_VERSION}"
2811
 
cat >>confdefs.h <<_ACEOF
2812
 
#define SBUILD_DATADIR "$SBUILD_DATADIR"
2813
 
_ACEOF
2814
 
 
2815
 
 
2816
 
 
2817
 
SBUILD_MODULEDIR="${PACKAGE_LIB_DIR}/${PACKAGE_VERSION}/modules"
2818
 
cat >>confdefs.h <<_ACEOF
2819
 
#define SBUILD_MODULEDIR "$SBUILD_MODULEDIR"
 
3552
 
 
3553
if test "x${datadir}" = 'x${prefix}/share' || test "x${datadir}" = 'x${datarootdir}'; then
 
3554
  if test "x${prefix}" = "xNONE"; then
 
3555
    SBUILD_DATA_DIR="${ac_default_prefix}/share/sbuild"
 
3556
  else
 
3557
    SBUILD_DATA_DIR="${prefix}/share/sbuild"
 
3558
  fi
 
3559
else
 
3560
  SBUILD_DATA_DIR="${datadir}/sbuild"
 
3561
fi
 
3562
 
 
3563
cat >>confdefs.h <<_ACEOF
 
3564
#define SBUILD_DATA_DIR "$SBUILD_DATA_DIR"
2820
3565
_ACEOF
2821
3566
 
2822
3567
 
2836
3581
 
2837
3582
ac_config_files="$ac_config_files lib/Sbuild/Makefile"
2838
3583
 
2839
 
ac_config_files="$ac_config_files lib/Sbuild/DB/Makefile"
2840
 
 
2841
 
ac_config_files="$ac_config_files lib/WannaBuild/Makefile"
2842
 
 
2843
3584
ac_config_files="$ac_config_files lib/Sbuild/Sysconfig.pm"
2844
3585
 
2845
3586
ac_config_files="$ac_config_files man/Makefile"
2846
3587
 
2847
 
ac_config_files="$ac_config_files man/buildd.1"
2848
 
 
2849
 
ac_config_files="$ac_config_files man/buildd-mail.1"
2850
 
 
2851
 
ac_config_files="$ac_config_files man/buildd-uploader.1"
2852
 
 
2853
 
ac_config_files="$ac_config_files man/buildd-vlog.1"
2854
 
 
2855
 
ac_config_files="$ac_config_files man/buildd-watcher.1"
2856
 
 
2857
 
ac_config_files="$ac_config_files man/sbuild.1"
2858
 
 
2859
 
ac_config_files="$ac_config_files man/sbuild-abort.1"
2860
 
 
2861
 
ac_config_files="$ac_config_files man/sbuild-adduser.8"
2862
 
 
2863
 
ac_config_files="$ac_config_files man/sbuild-apt.1"
2864
 
 
2865
 
ac_config_files="$ac_config_files man/sbuild-checkpackages.1"
2866
 
 
2867
 
ac_config_files="$ac_config_files man/sbuild-createchroot.8"
2868
 
 
2869
 
ac_config_files="$ac_config_files man/sbuild-hold.1"
2870
 
 
2871
 
ac_config_files="$ac_config_files man/sbuild-setup.7"
2872
 
 
2873
 
ac_config_files="$ac_config_files man/sbuild-shell.1"
2874
 
 
2875
 
ac_config_files="$ac_config_files man/sbuild-stats.1"
2876
 
 
2877
 
ac_config_files="$ac_config_files man/sbuild-update.1"
2878
 
 
2879
 
ac_config_files="$ac_config_files man/wanna-build.1"
2880
 
 
2881
 
ac_config_files="$ac_config_files man/wanna-build-catdb.1"
2882
 
 
2883
 
ac_config_files="$ac_config_files man/wanna-build-mail.1"
2884
 
 
2885
 
ac_config_files="$ac_config_files man/wanna-build-merge-packages.1"
2886
 
 
2887
 
ac_config_files="$ac_config_files man/wanna-build-statistics.1"
 
3588
ac_config_files="$ac_config_files man/defs.man"
2888
3589
 
2889
3590
ac_config_files="$ac_config_files test/Makefile"
2890
3591
 
2906
3607
 
2907
3608
ac_config_files="$ac_config_files test/sbuild"
2908
3609
 
 
3610
ac_config_files="$ac_config_files tools/Makefile"
 
3611
 
 
3612
ac_config_files="$ac_config_files wrapper/Makefile"
 
3613
 
2909
3614
 
2910
3615
cat >confcache <<\_ACEOF
2911
3616
# This file is a shell script that caches the results of configure
3005
3710
LTLIBOBJS=$ac_ltlibobjs
3006
3711
 
3007
3712
 
 
3713
 if test -n "$EXEEXT"; then
 
3714
  am__EXEEXT_TRUE=
 
3715
  am__EXEEXT_FALSE='#'
 
3716
else
 
3717
  am__EXEEXT_TRUE='#'
 
3718
  am__EXEEXT_FALSE=
 
3719
fi
3008
3720
 
3009
3721
if test -z "${SBUILD_COMPAT_TRUE}" && test -z "${SBUILD_COMPAT_FALSE}"; then
3010
3722
  as_fn_error $? "conditional \"SBUILD_COMPAT\" was never defined.
3014
3726
  as_fn_error $? "conditional \"SBUILD_CHROOT_CHECKS\" was never defined.
3015
3727
Usually this means the macro was only invoked conditionally." "$LINENO" 5
3016
3728
fi
 
3729
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 
3730
  as_fn_error $? "conditional \"AMDEP\" was never defined.
 
3731
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
3732
fi
 
3733
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 
3734
  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
 
3735
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
3736
fi
3017
3737
if test -z "${PLATFORM_GENERIC_TRUE}" && test -z "${PLATFORM_GENERIC_FALSE}"; then
3018
3738
  as_fn_error $? "conditional \"PLATFORM_GENERIC\" was never defined.
3019
3739
Usually this means the macro was only invoked conditionally." "$LINENO" 5
3434
4154
# report actual input values of CONFIG_FILES etc. instead of their
3435
4155
# values after options handling.
3436
4156
ac_log="
3437
 
This file was extended by sbuild $as_me 0.60.9, which was
 
4157
This file was extended by sbuild $as_me 0.62.2, which was
3438
4158
generated by GNU Autoconf 2.67.  Invocation command line was
3439
4159
 
3440
4160
  CONFIG_FILES    = $CONFIG_FILES
3461
4181
# Files that config.status was made for.
3462
4182
config_files="$ac_config_files"
3463
4183
config_headers="$ac_config_headers"
 
4184
config_commands="$ac_config_commands"
3464
4185
 
3465
4186
_ACEOF
3466
4187
 
3490
4211
Configuration headers:
3491
4212
$config_headers
3492
4213
 
 
4214
Configuration commands:
 
4215
$config_commands
 
4216
 
3493
4217
Report bugs to <buildd-tools-devel@lists.alioth.debian.org>."
3494
4218
 
3495
4219
_ACEOF
3496
4220
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3497
4221
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3498
4222
ac_cs_version="\\
3499
 
sbuild config.status 0.60.9
 
4223
sbuild config.status 0.62.2
3500
4224
configured by $0, generated by GNU Autoconf 2.67,
3501
4225
  with options \\"\$ac_cs_config\\"
3502
4226
 
3612
4336
 
3613
4337
_ACEOF
3614
4338
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
4339
#
 
4340
# INIT-COMMANDS
 
4341
#
 
4342
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 
4343
 
3615
4344
_ACEOF
3616
4345
 
3617
4346
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3621
4350
do
3622
4351
  case $ac_config_target in
3623
4352
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
4353
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
3624
4354
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3625
4355
    "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
3626
4356
    "configs/Makefile") CONFIG_FILES="$CONFIG_FILES configs/Makefile" ;;
3629
4359
    "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
3630
4360
    "lib/Buildd/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Buildd/Makefile" ;;
3631
4361
    "lib/Sbuild/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Sbuild/Makefile" ;;
3632
 
    "lib/Sbuild/DB/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Sbuild/DB/Makefile" ;;
3633
 
    "lib/WannaBuild/Makefile") CONFIG_FILES="$CONFIG_FILES lib/WannaBuild/Makefile" ;;
3634
4362
    "lib/Sbuild/Sysconfig.pm") CONFIG_FILES="$CONFIG_FILES lib/Sbuild/Sysconfig.pm" ;;
3635
4363
    "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
3636
 
    "man/buildd.1") CONFIG_FILES="$CONFIG_FILES man/buildd.1" ;;
3637
 
    "man/buildd-mail.1") CONFIG_FILES="$CONFIG_FILES man/buildd-mail.1" ;;
3638
 
    "man/buildd-uploader.1") CONFIG_FILES="$CONFIG_FILES man/buildd-uploader.1" ;;
3639
 
    "man/buildd-vlog.1") CONFIG_FILES="$CONFIG_FILES man/buildd-vlog.1" ;;
3640
 
    "man/buildd-watcher.1") CONFIG_FILES="$CONFIG_FILES man/buildd-watcher.1" ;;
3641
 
    "man/sbuild.1") CONFIG_FILES="$CONFIG_FILES man/sbuild.1" ;;
3642
 
    "man/sbuild-abort.1") CONFIG_FILES="$CONFIG_FILES man/sbuild-abort.1" ;;
3643
 
    "man/sbuild-adduser.8") CONFIG_FILES="$CONFIG_FILES man/sbuild-adduser.8" ;;
3644
 
    "man/sbuild-apt.1") CONFIG_FILES="$CONFIG_FILES man/sbuild-apt.1" ;;
3645
 
    "man/sbuild-checkpackages.1") CONFIG_FILES="$CONFIG_FILES man/sbuild-checkpackages.1" ;;
3646
 
    "man/sbuild-createchroot.8") CONFIG_FILES="$CONFIG_FILES man/sbuild-createchroot.8" ;;
3647
 
    "man/sbuild-hold.1") CONFIG_FILES="$CONFIG_FILES man/sbuild-hold.1" ;;
3648
 
    "man/sbuild-setup.7") CONFIG_FILES="$CONFIG_FILES man/sbuild-setup.7" ;;
3649
 
    "man/sbuild-shell.1") CONFIG_FILES="$CONFIG_FILES man/sbuild-shell.1" ;;
3650
 
    "man/sbuild-stats.1") CONFIG_FILES="$CONFIG_FILES man/sbuild-stats.1" ;;
3651
 
    "man/sbuild-update.1") CONFIG_FILES="$CONFIG_FILES man/sbuild-update.1" ;;
3652
 
    "man/wanna-build.1") CONFIG_FILES="$CONFIG_FILES man/wanna-build.1" ;;
3653
 
    "man/wanna-build-catdb.1") CONFIG_FILES="$CONFIG_FILES man/wanna-build-catdb.1" ;;
3654
 
    "man/wanna-build-mail.1") CONFIG_FILES="$CONFIG_FILES man/wanna-build-mail.1" ;;
3655
 
    "man/wanna-build-merge-packages.1") CONFIG_FILES="$CONFIG_FILES man/wanna-build-merge-packages.1" ;;
3656
 
    "man/wanna-build-statistics.1") CONFIG_FILES="$CONFIG_FILES man/wanna-build-statistics.1" ;;
 
4364
    "man/defs.man") CONFIG_FILES="$CONFIG_FILES man/defs.man" ;;
3657
4365
    "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
3658
4366
    "test/perl-syntax") CONFIG_FILES="$CONFIG_FILES test/perl-syntax" ;;
3659
4367
    "test/sbuild-checkpackages") CONFIG_FILES="$CONFIG_FILES test/sbuild-checkpackages" ;;
3664
4372
    "test/sbuild-distupgrade") CONFIG_FILES="$CONFIG_FILES test/sbuild-distupgrade" ;;
3665
4373
    "test/sbuild-clean") CONFIG_FILES="$CONFIG_FILES test/sbuild-clean" ;;
3666
4374
    "test/sbuild") CONFIG_FILES="$CONFIG_FILES test/sbuild" ;;
 
4375
    "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
 
4376
    "wrapper/Makefile") CONFIG_FILES="$CONFIG_FILES wrapper/Makefile" ;;
3667
4377
 
3668
4378
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
3669
4379
  esac
3677
4387
if $ac_need_defaults; then
3678
4388
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3679
4389
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 
4390
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3680
4391
fi
3681
4392
 
3682
4393
# Have a temporary directory for convenience.  Make it in the build tree
3971
4682
fi # test -n "$CONFIG_HEADERS"
3972
4683
 
3973
4684
 
3974
 
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
 
4685
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
3975
4686
shift
3976
4687
for ac_tag
3977
4688
do
4248
4959
          s/.*/./; q'`/stamp-h$_am_stamp_count
4249
4960
 ;;
4250
4961
 
4251
 
 
 
4962
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
 
4963
$as_echo "$as_me: executing $ac_file commands" >&6;}
 
4964
 ;;
4252
4965
  esac
4253
4966
 
4254
4967
 
4255
4968
  case $ac_file$ac_mode in
 
4969
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
4970
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
4971
  # are listed without --file.  Let's play safe and only enable the eval
 
4972
  # if we detect the quoting.
 
4973
  case $CONFIG_FILES in
 
4974
  *\'*) eval set x "$CONFIG_FILES" ;;
 
4975
  *)   set x $CONFIG_FILES ;;
 
4976
  esac
 
4977
  shift
 
4978
  for mf
 
4979
  do
 
4980
    # Strip MF so we end up with the name of the file.
 
4981
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
4982
    # Check whether this is an Automake generated Makefile or not.
 
4983
    # We used to match only the files named `Makefile.in', but
 
4984
    # some people rename them; so instead we look at the file content.
 
4985
    # Grep'ing the first line is not enough: some people post-process
 
4986
    # each Makefile.in and add a new line on top of each file to say so.
 
4987
    # Grep'ing the whole file is not good either: AIX grep has a line
 
4988
    # limit of 2048, but all sed's we know have understand at least 4000.
 
4989
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
4990
      dirpart=`$as_dirname -- "$mf" ||
 
4991
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
4992
         X"$mf" : 'X\(//\)[^/]' \| \
 
4993
         X"$mf" : 'X\(//\)$' \| \
 
4994
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 
4995
$as_echo X"$mf" |
 
4996
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
4997
            s//\1/
 
4998
            q
 
4999
          }
 
5000
          /^X\(\/\/\)[^/].*/{
 
5001
            s//\1/
 
5002
            q
 
5003
          }
 
5004
          /^X\(\/\/\)$/{
 
5005
            s//\1/
 
5006
            q
 
5007
          }
 
5008
          /^X\(\/\).*/{
 
5009
            s//\1/
 
5010
            q
 
5011
          }
 
5012
          s/.*/./; q'`
 
5013
    else
 
5014
      continue
 
5015
    fi
 
5016
    # Extract the definition of DEPDIR, am__include, and am__quote
 
5017
    # from the Makefile without running `make'.
 
5018
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
5019
    test -z "$DEPDIR" && continue
 
5020
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
5021
    test -z "am__include" && continue
 
5022
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
5023
    # When using ansi2knr, U may be empty or an underscore; expand it
 
5024
    U=`sed -n 's/^U = //p' < "$mf"`
 
5025
    # Find all dependency output files, they are included files with
 
5026
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
5027
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
5028
    # expansion.
 
5029
    for file in `sed -n "
 
5030
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
5031
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
5032
      # Make sure the directory exists.
 
5033
      test -f "$dirpart/$file" && continue
 
5034
      fdir=`$as_dirname -- "$file" ||
 
5035
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
5036
         X"$file" : 'X\(//\)[^/]' \| \
 
5037
         X"$file" : 'X\(//\)$' \| \
 
5038
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 
5039
$as_echo X"$file" |
 
5040
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
5041
            s//\1/
 
5042
            q
 
5043
          }
 
5044
          /^X\(\/\/\)[^/].*/{
 
5045
            s//\1/
 
5046
            q
 
5047
          }
 
5048
          /^X\(\/\/\)$/{
 
5049
            s//\1/
 
5050
            q
 
5051
          }
 
5052
          /^X\(\/\).*/{
 
5053
            s//\1/
 
5054
            q
 
5055
          }
 
5056
          s/.*/./; q'`
 
5057
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
 
5058
      # echo "creating $dirpart/$file"
 
5059
      echo '# dummy' > "$dirpart/$file"
 
5060
    done
 
5061
  done
 
5062
}
 
5063
 ;;
4256
5064
    "test/perl-syntax":F) chmod +x test/perl-syntax ;;
4257
5065
    "test/sbuild-checkpackages":F) chmod +x test/sbuild-checkpackages ;;
4258
5066
    "test/sbuild-hold":F) chmod +x test/sbuild-hold ;;