~valavanisalex/ubuntu/oneiric/inkscape/inkscape_0.48.1-2ubuntu4

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook, Kees Cook, Ted Gould
  • Date: 2008-02-10 14:20:16 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20080210142016-vcnb2zqyhszu0xvb
Tags: 0.46~pre1-0ubuntu1
[ Kees Cook ]
* debian/control:
  - add libgtkspell-dev build-dep to gain GtkSpell features (LP: #183547).
  - update Standards version (no changes needed).
  - add Vcs and Homepage fields.
  - switch to new python-lxml dep.
* debian/{control,rules}: switch from dpatch to quilt for more sanity.
* debian/patches/20_fix_glib_and_gxx43_ftbfs.patch:
  - merged against upstream fixes.
  - added additional fixes for newly written code.
* debian/rules: enable parallel building.

[ Ted Gould ]
* Updating POTFILES.in to make it so things build correctly.
* debian/control:
  - add ImageMagick++ and libboost-dev to build-deps

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.61 for inkscape 0.45.1.
 
3
# Generated by GNU Autoconf 2.61 for inkscape 0.45.1+0.46pre1.
4
4
#
5
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
6
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
572
572
# Identity of this package.
573
573
PACKAGE_NAME='inkscape'
574
574
PACKAGE_TARNAME='inkscape'
575
 
PACKAGE_VERSION='0.45.1'
576
 
PACKAGE_STRING='inkscape 0.45.1'
 
575
PACKAGE_VERSION='0.45.1+0.46pre1'
 
576
PACKAGE_STRING='inkscape 0.45.1+0.46pre1'
577
577
PACKAGE_BUGREPORT=''
578
578
 
579
579
ac_unique_file="src/main.cpp"
661
661
INSTALL_PROGRAM
662
662
INSTALL_SCRIPT
663
663
INSTALL_DATA
 
664
am__isrc
664
665
CYGPATH_W
665
666
PACKAGE
666
667
VERSION
669
670
AUTOMAKE
670
671
AUTOHEADER
671
672
MAKEINFO
672
 
AMTAR
673
673
install_sh
674
674
STRIP
675
675
INSTALL_STRIP_PROGRAM
 
676
mkdir_p
676
677
AWK
677
678
SET_MAKE
678
679
am__leading_dot
 
680
AMTAR
 
681
am__tar
 
682
am__untar
679
683
INTLTOOL_DESKTOP_RULE
680
684
INTLTOOL_DIRECTORY_RULE
681
685
INTLTOOL_KEYS_RULE
728
732
am__fastdepCXX_FALSE
729
733
CCAS
730
734
CCASFLAGS
 
735
CCASDEPMODE
 
736
am__fastdepCCAS_TRUE
 
737
am__fastdepCCAS_FALSE
731
738
CXXCPP
732
739
GREP
733
740
EGREP
752
759
FREETYPE_LIBS
753
760
PLATFORM_WIN32_TRUE
754
761
PLATFORM_WIN32_FALSE
 
762
PLATFORM_SOLARIS_2_8_TRUE
 
763
PLATFORM_SOLARIS_2_8_FALSE
755
764
XFT_CFLAGS
756
765
XFT_LIBS
757
766
USE_XFT_TRUE
758
767
USE_XFT_FALSE
759
768
PANGOFT2_CFLAGS
760
769
PANGOFT2_LIBS
761
 
GNOME_PRINT_CFLAGS
762
 
GNOME_PRINT_LIBS
763
 
USE_GNOME_PRINT_TRUE
764
 
USE_GNOME_PRINT_FALSE
765
770
GNOME_VFS_CFLAGS
766
771
GNOME_VFS_LIBS
767
772
USE_GNOME_VFS_TRUE
780
785
LCMS_LIBS
781
786
USE_LCMS_TRUE
782
787
USE_LCMS_FALSE
 
788
POPPLER_CFLAGS
 
789
POPPLER_LIBS
 
790
POPPLER_GLIB_CFLAGS
 
791
POPPLER_GLIB_LIBS
 
792
CAIRO_SVG_CFLAGS
 
793
CAIRO_SVG_LIBS
 
794
POPPLER_CAIRO_CFLAGS
 
795
POPPLER_CAIRO_LIBS
783
796
INKBOARD_CFLAGS
784
797
INKBOARD_LIBS
785
798
RELAYTOOL_PROG
786
799
WITH_INKBOARD_TRUE
787
800
WITH_INKBOARD_FALSE
 
801
LIBWPG_CFLAGS
 
802
LIBWPG_LIBS
 
803
WITH_LIBWPG_TRUE
 
804
WITH_LIBWPG_FALSE
 
805
MAGICKPP_CONFIG
 
806
IMAGEMAGICK_LIBS
 
807
USE_IMAGE_MAGICK_TRUE
 
808
USE_IMAGE_MAGICK_FALSE
788
809
INKSCAPE_CFLAGS
789
810
INKSCAPE_LIBS
 
811
CARBON_LDFLAGS
 
812
HAVE_CARBON_TRUE
 
813
HAVE_CARBON_FALSE
790
814
CAIRO_PDF_CFLAGS
791
815
CAIRO_PDF_LIBS
792
816
LIBOBJS
809
833
CXX
810
834
CXXFLAGS
811
835
CCC
 
836
CCAS
 
837
CCASFLAGS
812
838
CXXCPP
813
839
PKG_CONFIG
814
840
XFT_CFLAGS
815
841
XFT_LIBS
816
842
PANGOFT2_CFLAGS
817
843
PANGOFT2_LIBS
818
 
GNOME_PRINT_CFLAGS
819
 
GNOME_PRINT_LIBS
820
844
GNOME_VFS_CFLAGS
821
845
GNOME_VFS_LIBS
822
846
LCMS_CFLAGS
823
847
LCMS_LIBS
 
848
POPPLER_CFLAGS
 
849
POPPLER_LIBS
 
850
POPPLER_GLIB_CFLAGS
 
851
POPPLER_GLIB_LIBS
 
852
CAIRO_SVG_CFLAGS
 
853
CAIRO_SVG_LIBS
 
854
POPPLER_CAIRO_CFLAGS
 
855
POPPLER_CAIRO_LIBS
824
856
INKBOARD_CFLAGS
825
857
INKBOARD_LIBS
 
858
LIBWPG_CFLAGS
 
859
LIBWPG_LIBS
826
860
INKSCAPE_CFLAGS
827
861
INKSCAPE_LIBS
828
862
CAIRO_PDF_CFLAGS
1329
1363
  # Omit some internal or obsolete options to make the list less imposing.
1330
1364
  # This message is too long to be a string in the A/UX 3.1 sh.
1331
1365
  cat <<_ACEOF
1332
 
\`configure' configures inkscape 0.45.1 to adapt to many kinds of systems.
 
1366
\`configure' configures inkscape 0.45.1+0.46pre1 to adapt to many kinds of systems.
1333
1367
 
1334
1368
Usage: $0 [OPTION]... [VAR=VALUE]...
1335
1369
 
1399
1433
 
1400
1434
if test -n "$ac_init_help"; then
1401
1435
  case $ac_init_help in
1402
 
     short | recursive ) echo "Configuration of inkscape 0.45.1:";;
 
1436
     short | recursive ) echo "Configuration of inkscape 0.45.1+0.46pre1:";;
1403
1437
   esac
1404
1438
  cat <<\_ACEOF
1405
1439
 
1407
1441
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1408
1442
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1409
1443
  --enable-lsb            LSB-compatible build configuration
1410
 
  --disable-dependency-tracking Speeds up one-time builds
1411
 
  --enable-dependency-tracking  Do not reject slow dependency extractors
 
1444
  --disable-dependency-tracking  speeds up one-time build
 
1445
  --enable-dependency-tracking   do not reject slow dependency extractors
1412
1446
  --enable-lcms           enable LittleCms for color management
 
1447
  --enable-poppler-cairo  Enable libpoppler-cairo for rendering PDF preview
1413
1448
  --enable-inkboard       enable Inkboard online whiteboard facility (disabled
1414
1449
                          by default)
1415
1450
  --enable-binreloc       compile with binary relocation support
1420
1455
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1421
1456
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1422
1457
  --with-xft              use xft scalable font database (default is auto)
1423
 
  --with-gnome-print      use gnome print font database and spooler frontend
1424
1458
  --with-gnome-vfs        use gnome vfs for loading files
1425
1459
  --without-inkjar        disable openoffice files (SVG jars)
1426
1460
  --with-perl             use Perl for embedded scripting (EXPERIMENTAL)
1436
1470
              you have headers in a nonstandard directory <include dir>
1437
1471
  CXX         C++ compiler command
1438
1472
  CXXFLAGS    C++ compiler flags
 
1473
  CCAS        assembler compiler command (defaults to CC)
 
1474
  CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
1439
1475
  CXXCPP      C++ preprocessor
1440
1476
  PKG_CONFIG  path to pkg-config utility
1441
1477
  XFT_CFLAGS  C compiler flags for XFT, overriding pkg-config
1444
1480
              C compiler flags for PANGOFT2, overriding pkg-config
1445
1481
  PANGOFT2_LIBS
1446
1482
              linker flags for PANGOFT2, overriding pkg-config
1447
 
  GNOME_PRINT_CFLAGS
1448
 
              C compiler flags for GNOME_PRINT, overriding pkg-config
1449
 
  GNOME_PRINT_LIBS
1450
 
              linker flags for GNOME_PRINT, overriding pkg-config
1451
1483
  GNOME_VFS_CFLAGS
1452
1484
              C compiler flags for GNOME_VFS, overriding pkg-config
1453
1485
  GNOME_VFS_LIBS
1454
1486
              linker flags for GNOME_VFS, overriding pkg-config
1455
1487
  LCMS_CFLAGS C compiler flags for LCMS, overriding pkg-config
1456
1488
  LCMS_LIBS   linker flags for LCMS, overriding pkg-config
 
1489
  POPPLER_CFLAGS
 
1490
              C compiler flags for POPPLER, overriding pkg-config
 
1491
  POPPLER_LIBS
 
1492
              linker flags for POPPLER, overriding pkg-config
 
1493
  POPPLER_GLIB_CFLAGS
 
1494
              C compiler flags for POPPLER_GLIB, overriding pkg-config
 
1495
  POPPLER_GLIB_LIBS
 
1496
              linker flags for POPPLER_GLIB, overriding pkg-config
 
1497
  CAIRO_SVG_CFLAGS
 
1498
              C compiler flags for CAIRO_SVG, overriding pkg-config
 
1499
  CAIRO_SVG_LIBS
 
1500
              linker flags for CAIRO_SVG, overriding pkg-config
 
1501
  POPPLER_CAIRO_CFLAGS
 
1502
              C compiler flags for POPPLER_CAIRO, overriding pkg-config
 
1503
  POPPLER_CAIRO_LIBS
 
1504
              linker flags for POPPLER_CAIRO, overriding pkg-config
1457
1505
  INKBOARD_CFLAGS
1458
1506
              C compiler flags for INKBOARD, overriding pkg-config
1459
1507
  INKBOARD_LIBS
1460
1508
              linker flags for INKBOARD, overriding pkg-config
 
1509
  LIBWPG_CFLAGS
 
1510
              C compiler flags for LIBWPG, overriding pkg-config
 
1511
  LIBWPG_LIBS linker flags for LIBWPG, overriding pkg-config
1461
1512
  INKSCAPE_CFLAGS
1462
1513
              C compiler flags for INKSCAPE, overriding pkg-config
1463
1514
  INKSCAPE_LIBS
1530
1581
test -n "$ac_init_help" && exit $ac_status
1531
1582
if $ac_init_version; then
1532
1583
  cat <<\_ACEOF
1533
 
inkscape configure 0.45.1
 
1584
inkscape configure 0.45.1+0.46pre1
1534
1585
generated by GNU Autoconf 2.61
1535
1586
 
1536
1587
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1544
1595
This file contains any messages produced by compilers while
1545
1596
running configure, to aid debugging if configure makes a mistake.
1546
1597
 
1547
 
It was created by inkscape $as_me 0.45.1, which was
 
1598
It was created by inkscape $as_me 0.45.1+0.46pre1, which was
1548
1599
generated by GNU Autoconf 2.61.  Invocation command line was
1549
1600
 
1550
1601
  $ $0 $@
2012
2063
 
2013
2064
 
2014
2065
 
2015
 
am__api_version="1.7"
 
2066
am__api_version='1.10'
 
2067
 
2016
2068
# Find a good install program.  We prefer a C program (faster),
2017
2069
# so one script is as good as another.  But avoid the broken or
2018
2070
# incompatible versions:
2151
2203
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2152
2204
rm -f conftest.sed
2153
2205
 
2154
 
 
2155
2206
# expand $ac_aux_dir to an absolute path
2156
2207
am_aux_dir=`cd $ac_aux_dir && pwd`
2157
2208
 
2165
2216
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2166
2217
fi
2167
2218
 
 
2219
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2220
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
 
2221
if test -z "$MKDIR_P"; then
 
2222
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2223
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2224
else
 
2225
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2226
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
2227
do
 
2228
  IFS=$as_save_IFS
 
2229
  test -z "$as_dir" && as_dir=.
 
2230
  for ac_prog in mkdir gmkdir; do
 
2231
         for ac_exec_ext in '' $ac_executable_extensions; do
 
2232
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
2233
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
2234
             'mkdir (GNU coreutils) '* | \
 
2235
             'mkdir (coreutils) '* | \
 
2236
             'mkdir (fileutils) '4.1*)
 
2237
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
2238
               break 3;;
 
2239
           esac
 
2240
         done
 
2241
       done
 
2242
done
 
2243
IFS=$as_save_IFS
 
2244
 
 
2245
fi
 
2246
 
 
2247
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2248
    MKDIR_P="$ac_cv_path_mkdir -p"
 
2249
  else
 
2250
    # As a last resort, use the slow shell script.  Don't cache a
 
2251
    # value for MKDIR_P within a source directory, because that will
 
2252
    # break other packages using the cache if that directory is
 
2253
    # removed, or if the value is a relative name.
 
2254
    test -d ./--version && rmdir ./--version
 
2255
    MKDIR_P="$ac_install_sh -d"
 
2256
  fi
 
2257
fi
 
2258
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2259
echo "${ECHO_T}$MKDIR_P" >&6; }
 
2260
 
 
2261
mkdir_p="$MKDIR_P"
 
2262
case $mkdir_p in
 
2263
  [\\/$]* | ?:[\\/]*) ;;
 
2264
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
2265
esac
 
2266
 
2168
2267
for ac_prog in gawk mawk nawk awk
2169
2268
do
2170
2269
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2246
2345
fi
2247
2346
rmdir .tst 2>/dev/null
2248
2347
 
2249
 
 # test to see if srcdir already configured
2250
 
if test "`cd $srcdir && pwd`" != "`pwd`" &&
2251
 
   test -f $srcdir/config.status; then
2252
 
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 
2348
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
2349
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
2350
  # is not polluted with repeated "-I."
 
2351
  am__isrc=' -I$(srcdir)'
 
2352
  # test to see if srcdir already configured
 
2353
  if test -f $srcdir/config.status; then
 
2354
    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2253
2355
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2254
2356
   { (exit 1); exit 1; }; }
 
2357
  fi
2255
2358
fi
2256
2359
 
2257
2360
# test whether we have cygpath
2266
2369
 
2267
2370
# Define the identity of the package.
2268
2371
 PACKAGE='inkscape'
2269
 
 VERSION='0.45.1'
 
2372
 VERSION='0.45.1+0.46pre1'
2270
2373
 
2271
2374
 
2272
2375
cat >>confdefs.h <<_ACEOF
2294
2397
 
2295
2398
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2296
2399
 
2297
 
 
2298
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
2299
 
 
2300
 
install_sh=${install_sh-"$am_aux_dir/install-sh"}
 
2400
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2301
2401
 
2302
2402
# Installed binaries are usually stripped using `strip' when the user
2303
2403
# run `make install-strip'.  However `strip' might not be the right
2401
2501
fi
2402
2502
 
2403
2503
fi
2404
 
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
 
2504
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2405
2505
 
2406
2506
# We need awk for the "check" target.  The system "awk" is bad on
2407
2507
# some platforms.
 
2508
# Always define AMTAR for backward compatibility.
 
2509
 
 
2510
AMTAR=${AMTAR-"${am_missing_run}tar"}
 
2511
 
 
2512
 
 
2513
{ echo "$as_me:$LINENO: checking how to create a pax tar archive" >&5
 
2514
echo $ECHO_N "checking how to create a pax tar archive... $ECHO_C" >&6; }
 
2515
# Loop over all known methods to create a tar archive until one works.
 
2516
_am_tools='gnutar  pax cpio none'
 
2517
_am_tools=${am_cv_prog_tar_pax-$_am_tools}
 
2518
# Do not fold the above two line into one, because Tru64 sh and
 
2519
# Solaris sh will not grok spaces in the rhs of `-'.
 
2520
for _am_tool in $_am_tools
 
2521
do
 
2522
  case $_am_tool in
 
2523
  gnutar)
 
2524
    for _am_tar in tar gnutar gtar;
 
2525
    do
 
2526
      { echo "$as_me:$LINENO: $_am_tar --version" >&5
 
2527
   ($_am_tar --version) >&5 2>&5
 
2528
   ac_status=$?
 
2529
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2530
   (exit $ac_status); } && break
 
2531
    done
 
2532
    am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
 
2533
    am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
 
2534
    am__untar="$_am_tar -xf -"
 
2535
    ;;
 
2536
  plaintar)
 
2537
    # Must skip GNU tar: if it does not support --format= it doesn't create
 
2538
    # ustar tarball either.
 
2539
    (tar --version) >/dev/null 2>&1 && continue
 
2540
    am__tar='tar chf - "$$tardir"'
 
2541
    am__tar_='tar chf - "$tardir"'
 
2542
    am__untar='tar xf -'
 
2543
    ;;
 
2544
  pax)
 
2545
    am__tar='pax -L -x pax -w "$$tardir"'
 
2546
    am__tar_='pax -L -x pax -w "$tardir"'
 
2547
    am__untar='pax -r'
 
2548
    ;;
 
2549
  cpio)
 
2550
    am__tar='find "$$tardir" -print | cpio -o -H pax -L'
 
2551
    am__tar_='find "$tardir" -print | cpio -o -H pax -L'
 
2552
    am__untar='cpio -i -H pax -d'
 
2553
    ;;
 
2554
  none)
 
2555
    am__tar=false
 
2556
    am__tar_=false
 
2557
    am__untar=false
 
2558
    ;;
 
2559
  esac
 
2560
 
 
2561
  # If the value was cached, stop now.  We just wanted to have am__tar
 
2562
  # and am__untar set.
 
2563
  test -n "${am_cv_prog_tar_pax}" && break
 
2564
 
 
2565
  # tar/untar a dummy directory, and stop if the command works
 
2566
  rm -rf conftest.dir
 
2567
  mkdir conftest.dir
 
2568
  echo GrepMe > conftest.dir/file
 
2569
  { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
 
2570
   (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
 
2571
   ac_status=$?
 
2572
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2573
   (exit $ac_status); }
 
2574
  rm -rf conftest.dir
 
2575
  if test -s conftest.tar; then
 
2576
    { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
 
2577
   ($am__untar <conftest.tar) >&5 2>&5
 
2578
   ac_status=$?
 
2579
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2580
   (exit $ac_status); }
 
2581
    grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
 
2582
  fi
 
2583
done
 
2584
rm -rf conftest.dir
 
2585
 
 
2586
if test "${am_cv_prog_tar_pax+set}" = set; then
 
2587
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2588
else
 
2589
  am_cv_prog_tar_pax=$_am_tool
 
2590
fi
 
2591
 
 
2592
{ echo "$as_me:$LINENO: result: $am_cv_prog_tar_pax" >&5
 
2593
echo "${ECHO_T}$am_cv_prog_tar_pax" >&6; }
 
2594
 
 
2595
 
2408
2596
 
2409
2597
 
2410
2598
 
2477
2665
  am_depcomp="$ac_aux_dir/depcomp"
2478
2666
  AMDEPBACKSLASH='\'
2479
2667
fi
2480
 
 
2481
 
 
2482
 
if test "x$enable_dependency_tracking" != xno; then
 
2668
 if test "x$enable_dependency_tracking" != xno; then
2483
2669
  AMDEP_TRUE=
2484
2670
  AMDEP_FALSE='#'
2485
2671
else
2488
2674
fi
2489
2675
 
2490
2676
 
2491
 
 
2492
2677
ac_ext=c
2493
2678
ac_cpp='$CPP $CPPFLAGS'
2494
2679
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3449
3634
    : > sub/conftest.c
3450
3635
    for i in 1 2 3 4 5 6; do
3451
3636
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3452
 
      : > sub/conftst$i.h
 
3637
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
3638
      # Solaris 8's {/usr,}/bin/sh.
 
3639
      touch sub/conftst$i.h
3453
3640
    done
3454
3641
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3455
3642
 
3473
3660
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3474
3661
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3475
3662
         >/dev/null 2>conftest.err &&
 
3663
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3476
3664
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3477
3665
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3478
3666
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3479
3667
      # icc doesn't choke on unknown options, it will just issue warnings
3480
 
      # (even with -Werror).  So we grep stderr for any message
3481
 
      # that says an option was ignored.
3482
 
      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
 
3668
      # or remarks (even with -Werror).  So we grep stderr for any message
 
3669
      # that says an option was ignored or not supported.
 
3670
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
3671
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
3672
      # The diagnosis changed in icc 8.0:
 
3673
      #   icc: Command line remark: option '-MP' not supported
 
3674
      if (grep 'ignoring option' conftest.err ||
 
3675
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3483
3676
        am_cv_CC_dependencies_compiler_type=$depmode
3484
3677
        break
3485
3678
      fi
3497
3690
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3498
3691
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3499
3692
 
3500
 
 
3501
 
 
3502
 
if
 
3693
 if
3503
3694
  test "x$enable_dependency_tracking" != xno \
3504
3695
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3505
3696
  am__fastdepCC_TRUE=
3938
4129
 
3939
4130
 
3940
4131
 
3941
 
ac_ext=c
3942
 
ac_cpp='$CPP $CPPFLAGS'
3943
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3944
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3945
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3946
 
if test -n "$ac_tool_prefix"; then
3947
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3948
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3949
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3950
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3951
 
if test "${ac_cv_prog_CC+set}" = set; then
3952
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3953
 
else
3954
 
  if test -n "$CC"; then
3955
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3956
 
else
3957
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3958
 
for as_dir in $PATH
3959
 
do
3960
 
  IFS=$as_save_IFS
3961
 
  test -z "$as_dir" && as_dir=.
3962
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3963
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3964
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3965
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3966
 
    break 2
3967
 
  fi
3968
 
done
3969
 
done
3970
 
IFS=$as_save_IFS
3971
 
 
3972
 
fi
3973
 
fi
3974
 
CC=$ac_cv_prog_CC
3975
 
if test -n "$CC"; then
3976
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3977
 
echo "${ECHO_T}$CC" >&6; }
3978
 
else
3979
 
  { echo "$as_me:$LINENO: result: no" >&5
3980
 
echo "${ECHO_T}no" >&6; }
3981
 
fi
3982
 
 
3983
 
 
3984
 
fi
3985
 
if test -z "$ac_cv_prog_CC"; then
3986
 
  ac_ct_CC=$CC
3987
 
  # Extract the first word of "gcc", so it can be a program name with args.
3988
 
set dummy gcc; ac_word=$2
3989
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3990
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3991
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3992
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3993
 
else
3994
 
  if test -n "$ac_ct_CC"; then
3995
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3996
 
else
3997
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3998
 
for as_dir in $PATH
3999
 
do
4000
 
  IFS=$as_save_IFS
4001
 
  test -z "$as_dir" && as_dir=.
4002
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4003
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4004
 
    ac_cv_prog_ac_ct_CC="gcc"
4005
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4006
 
    break 2
4007
 
  fi
4008
 
done
4009
 
done
4010
 
IFS=$as_save_IFS
4011
 
 
4012
 
fi
4013
 
fi
4014
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4015
 
if test -n "$ac_ct_CC"; then
4016
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4017
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
4018
 
else
4019
 
  { echo "$as_me:$LINENO: result: no" >&5
4020
 
echo "${ECHO_T}no" >&6; }
4021
 
fi
4022
 
 
4023
 
  if test "x$ac_ct_CC" = x; then
4024
 
    CC=""
4025
 
  else
4026
 
    case $cross_compiling:$ac_tool_warned in
4027
 
yes:)
4028
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4029
 
whose name does not start with the host triplet.  If you think this
4030
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
4031
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4032
 
whose name does not start with the host triplet.  If you think this
4033
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4034
 
ac_tool_warned=yes ;;
4035
 
esac
4036
 
    CC=$ac_ct_CC
4037
 
  fi
4038
 
else
4039
 
  CC="$ac_cv_prog_CC"
4040
 
fi
4041
 
 
4042
 
if test -z "$CC"; then
4043
 
          if test -n "$ac_tool_prefix"; then
4044
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4045
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
4046
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4047
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4048
 
if test "${ac_cv_prog_CC+set}" = set; then
4049
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4050
 
else
4051
 
  if test -n "$CC"; then
4052
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
4053
 
else
4054
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4055
 
for as_dir in $PATH
4056
 
do
4057
 
  IFS=$as_save_IFS
4058
 
  test -z "$as_dir" && as_dir=.
4059
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4060
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4061
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
4062
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4063
 
    break 2
4064
 
  fi
4065
 
done
4066
 
done
4067
 
IFS=$as_save_IFS
4068
 
 
4069
 
fi
4070
 
fi
4071
 
CC=$ac_cv_prog_CC
4072
 
if test -n "$CC"; then
4073
 
  { echo "$as_me:$LINENO: result: $CC" >&5
4074
 
echo "${ECHO_T}$CC" >&6; }
4075
 
else
4076
 
  { echo "$as_me:$LINENO: result: no" >&5
4077
 
echo "${ECHO_T}no" >&6; }
4078
 
fi
4079
 
 
4080
 
 
4081
 
  fi
4082
 
fi
4083
 
if test -z "$CC"; then
4084
 
  # Extract the first word of "cc", so it can be a program name with args.
4085
 
set dummy cc; ac_word=$2
4086
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4087
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4088
 
if test "${ac_cv_prog_CC+set}" = set; then
4089
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4090
 
else
4091
 
  if test -n "$CC"; then
4092
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
4093
 
else
4094
 
  ac_prog_rejected=no
4095
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4096
 
for as_dir in $PATH
4097
 
do
4098
 
  IFS=$as_save_IFS
4099
 
  test -z "$as_dir" && as_dir=.
4100
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4101
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4102
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4103
 
       ac_prog_rejected=yes
4104
 
       continue
4105
 
     fi
4106
 
    ac_cv_prog_CC="cc"
4107
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4108
 
    break 2
4109
 
  fi
4110
 
done
4111
 
done
4112
 
IFS=$as_save_IFS
4113
 
 
4114
 
if test $ac_prog_rejected = yes; then
4115
 
  # We found a bogon in the path, so make sure we never use it.
4116
 
  set dummy $ac_cv_prog_CC
4117
 
  shift
4118
 
  if test $# != 0; then
4119
 
    # We chose a different compiler from the bogus one.
4120
 
    # However, it has the same basename, so the bogon will be chosen
4121
 
    # first if we set CC to just the basename; use the full file name.
4122
 
    shift
4123
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4124
 
  fi
4125
 
fi
4126
 
fi
4127
 
fi
4128
 
CC=$ac_cv_prog_CC
4129
 
if test -n "$CC"; then
4130
 
  { echo "$as_me:$LINENO: result: $CC" >&5
4131
 
echo "${ECHO_T}$CC" >&6; }
4132
 
else
4133
 
  { echo "$as_me:$LINENO: result: no" >&5
4134
 
echo "${ECHO_T}no" >&6; }
4135
 
fi
4136
 
 
4137
 
 
4138
 
fi
4139
 
if test -z "$CC"; then
4140
 
  if test -n "$ac_tool_prefix"; then
4141
 
  for ac_prog in cl.exe
4142
 
  do
4143
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4144
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4145
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4146
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4147
 
if test "${ac_cv_prog_CC+set}" = set; then
4148
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4149
 
else
4150
 
  if test -n "$CC"; then
4151
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
4152
 
else
4153
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4154
 
for as_dir in $PATH
4155
 
do
4156
 
  IFS=$as_save_IFS
4157
 
  test -z "$as_dir" && as_dir=.
4158
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4159
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4160
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4161
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4162
 
    break 2
4163
 
  fi
4164
 
done
4165
 
done
4166
 
IFS=$as_save_IFS
4167
 
 
4168
 
fi
4169
 
fi
4170
 
CC=$ac_cv_prog_CC
4171
 
if test -n "$CC"; then
4172
 
  { echo "$as_me:$LINENO: result: $CC" >&5
4173
 
echo "${ECHO_T}$CC" >&6; }
4174
 
else
4175
 
  { echo "$as_me:$LINENO: result: no" >&5
4176
 
echo "${ECHO_T}no" >&6; }
4177
 
fi
4178
 
 
4179
 
 
4180
 
    test -n "$CC" && break
4181
 
  done
4182
 
fi
4183
 
if test -z "$CC"; then
4184
 
  ac_ct_CC=$CC
4185
 
  for ac_prog in cl.exe
4186
 
do
4187
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4188
 
set dummy $ac_prog; ac_word=$2
4189
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4190
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4191
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4192
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4193
 
else
4194
 
  if test -n "$ac_ct_CC"; then
4195
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4196
 
else
4197
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4198
 
for as_dir in $PATH
4199
 
do
4200
 
  IFS=$as_save_IFS
4201
 
  test -z "$as_dir" && as_dir=.
4202
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4203
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4204
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
4205
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4206
 
    break 2
4207
 
  fi
4208
 
done
4209
 
done
4210
 
IFS=$as_save_IFS
4211
 
 
4212
 
fi
4213
 
fi
4214
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4215
 
if test -n "$ac_ct_CC"; then
4216
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4217
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
4218
 
else
4219
 
  { echo "$as_me:$LINENO: result: no" >&5
4220
 
echo "${ECHO_T}no" >&6; }
4221
 
fi
4222
 
 
4223
 
 
4224
 
  test -n "$ac_ct_CC" && break
4225
 
done
4226
 
 
4227
 
  if test "x$ac_ct_CC" = x; then
4228
 
    CC=""
4229
 
  else
4230
 
    case $cross_compiling:$ac_tool_warned in
4231
 
yes:)
4232
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4233
 
whose name does not start with the host triplet.  If you think this
4234
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
4235
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4236
 
whose name does not start with the host triplet.  If you think this
4237
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4238
 
ac_tool_warned=yes ;;
4239
 
esac
4240
 
    CC=$ac_ct_CC
4241
 
  fi
4242
 
fi
4243
 
 
4244
 
fi
4245
 
 
4246
 
 
4247
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4248
 
See \`config.log' for more details." >&5
4249
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
4250
 
See \`config.log' for more details." >&2;}
4251
 
   { (exit 1); exit 1; }; }
4252
 
 
4253
 
# Provide some information about the compiler.
4254
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
4255
 
ac_compiler=`set X $ac_compile; echo $2`
4256
 
{ (ac_try="$ac_compiler --version >&5"
4257
 
case "(($ac_try" in
4258
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4259
 
  *) ac_try_echo=$ac_try;;
4260
 
esac
4261
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4262
 
  (eval "$ac_compiler --version >&5") 2>&5
4263
 
  ac_status=$?
4264
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4265
 
  (exit $ac_status); }
4266
 
{ (ac_try="$ac_compiler -v >&5"
4267
 
case "(($ac_try" in
4268
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4269
 
  *) ac_try_echo=$ac_try;;
4270
 
esac
4271
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4272
 
  (eval "$ac_compiler -v >&5") 2>&5
4273
 
  ac_status=$?
4274
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4275
 
  (exit $ac_status); }
4276
 
{ (ac_try="$ac_compiler -V >&5"
4277
 
case "(($ac_try" in
4278
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4279
 
  *) ac_try_echo=$ac_try;;
4280
 
esac
4281
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4282
 
  (eval "$ac_compiler -V >&5") 2>&5
4283
 
  ac_status=$?
4284
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4285
 
  (exit $ac_status); }
4286
 
 
4287
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4288
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
4289
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
4290
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4291
 
else
4292
 
  cat >conftest.$ac_ext <<_ACEOF
4293
 
/* confdefs.h.  */
4294
 
_ACEOF
4295
 
cat confdefs.h >>conftest.$ac_ext
4296
 
cat >>conftest.$ac_ext <<_ACEOF
4297
 
/* end confdefs.h.  */
4298
 
 
4299
 
int
4300
 
main ()
4301
 
{
4302
 
#ifndef __GNUC__
4303
 
       choke me
4304
 
#endif
4305
 
 
4306
 
  ;
4307
 
  return 0;
4308
 
}
4309
 
_ACEOF
4310
 
rm -f conftest.$ac_objext
4311
 
if { (ac_try="$ac_compile"
4312
 
case "(($ac_try" in
4313
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4314
 
  *) ac_try_echo=$ac_try;;
4315
 
esac
4316
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4317
 
  (eval "$ac_compile") 2>conftest.er1
4318
 
  ac_status=$?
4319
 
  grep -v '^ *+' conftest.er1 >conftest.err
4320
 
  rm -f conftest.er1
4321
 
  cat conftest.err >&5
4322
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4323
 
  (exit $ac_status); } && {
4324
 
         test -z "$ac_c_werror_flag" ||
4325
 
         test ! -s conftest.err
4326
 
       } && test -s conftest.$ac_objext; then
4327
 
  ac_compiler_gnu=yes
4328
 
else
4329
 
  echo "$as_me: failed program was:" >&5
4330
 
sed 's/^/| /' conftest.$ac_ext >&5
4331
 
 
4332
 
        ac_compiler_gnu=no
4333
 
fi
4334
 
 
4335
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4336
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4337
 
 
4338
 
fi
4339
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4340
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4341
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
4342
 
ac_test_CFLAGS=${CFLAGS+set}
4343
 
ac_save_CFLAGS=$CFLAGS
4344
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4345
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
4346
 
if test "${ac_cv_prog_cc_g+set}" = set; then
4347
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4348
 
else
4349
 
  ac_save_c_werror_flag=$ac_c_werror_flag
4350
 
   ac_c_werror_flag=yes
4351
 
   ac_cv_prog_cc_g=no
4352
 
   CFLAGS="-g"
4353
 
   cat >conftest.$ac_ext <<_ACEOF
4354
 
/* confdefs.h.  */
4355
 
_ACEOF
4356
 
cat confdefs.h >>conftest.$ac_ext
4357
 
cat >>conftest.$ac_ext <<_ACEOF
4358
 
/* end confdefs.h.  */
4359
 
 
4360
 
int
4361
 
main ()
4362
 
{
4363
 
 
4364
 
  ;
4365
 
  return 0;
4366
 
}
4367
 
_ACEOF
4368
 
rm -f conftest.$ac_objext
4369
 
if { (ac_try="$ac_compile"
4370
 
case "(($ac_try" in
4371
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4372
 
  *) ac_try_echo=$ac_try;;
4373
 
esac
4374
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4375
 
  (eval "$ac_compile") 2>conftest.er1
4376
 
  ac_status=$?
4377
 
  grep -v '^ *+' conftest.er1 >conftest.err
4378
 
  rm -f conftest.er1
4379
 
  cat conftest.err >&5
4380
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4381
 
  (exit $ac_status); } && {
4382
 
         test -z "$ac_c_werror_flag" ||
4383
 
         test ! -s conftest.err
4384
 
       } && test -s conftest.$ac_objext; then
4385
 
  ac_cv_prog_cc_g=yes
4386
 
else
4387
 
  echo "$as_me: failed program was:" >&5
4388
 
sed 's/^/| /' conftest.$ac_ext >&5
4389
 
 
4390
 
        CFLAGS=""
4391
 
      cat >conftest.$ac_ext <<_ACEOF
4392
 
/* confdefs.h.  */
4393
 
_ACEOF
4394
 
cat confdefs.h >>conftest.$ac_ext
4395
 
cat >>conftest.$ac_ext <<_ACEOF
4396
 
/* end confdefs.h.  */
4397
 
 
4398
 
int
4399
 
main ()
4400
 
{
4401
 
 
4402
 
  ;
4403
 
  return 0;
4404
 
}
4405
 
_ACEOF
4406
 
rm -f conftest.$ac_objext
4407
 
if { (ac_try="$ac_compile"
4408
 
case "(($ac_try" in
4409
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4410
 
  *) ac_try_echo=$ac_try;;
4411
 
esac
4412
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4413
 
  (eval "$ac_compile") 2>conftest.er1
4414
 
  ac_status=$?
4415
 
  grep -v '^ *+' conftest.er1 >conftest.err
4416
 
  rm -f conftest.er1
4417
 
  cat conftest.err >&5
4418
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4419
 
  (exit $ac_status); } && {
4420
 
         test -z "$ac_c_werror_flag" ||
4421
 
         test ! -s conftest.err
4422
 
       } && test -s conftest.$ac_objext; then
4423
 
  :
4424
 
else
4425
 
  echo "$as_me: failed program was:" >&5
4426
 
sed 's/^/| /' conftest.$ac_ext >&5
4427
 
 
4428
 
        ac_c_werror_flag=$ac_save_c_werror_flag
4429
 
         CFLAGS="-g"
4430
 
         cat >conftest.$ac_ext <<_ACEOF
4431
 
/* confdefs.h.  */
4432
 
_ACEOF
4433
 
cat confdefs.h >>conftest.$ac_ext
4434
 
cat >>conftest.$ac_ext <<_ACEOF
4435
 
/* end confdefs.h.  */
4436
 
 
4437
 
int
4438
 
main ()
4439
 
{
4440
 
 
4441
 
  ;
4442
 
  return 0;
4443
 
}
4444
 
_ACEOF
4445
 
rm -f conftest.$ac_objext
4446
 
if { (ac_try="$ac_compile"
4447
 
case "(($ac_try" in
4448
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4449
 
  *) ac_try_echo=$ac_try;;
4450
 
esac
4451
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4452
 
  (eval "$ac_compile") 2>conftest.er1
4453
 
  ac_status=$?
4454
 
  grep -v '^ *+' conftest.er1 >conftest.err
4455
 
  rm -f conftest.er1
4456
 
  cat conftest.err >&5
4457
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4458
 
  (exit $ac_status); } && {
4459
 
         test -z "$ac_c_werror_flag" ||
4460
 
         test ! -s conftest.err
4461
 
       } && test -s conftest.$ac_objext; then
4462
 
  ac_cv_prog_cc_g=yes
4463
 
else
4464
 
  echo "$as_me: failed program was:" >&5
4465
 
sed 's/^/| /' conftest.$ac_ext >&5
4466
 
 
4467
 
 
4468
 
fi
4469
 
 
4470
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4471
 
fi
4472
 
 
4473
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4474
 
fi
4475
 
 
4476
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4477
 
   ac_c_werror_flag=$ac_save_c_werror_flag
4478
 
fi
4479
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4480
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
4481
 
if test "$ac_test_CFLAGS" = set; then
4482
 
  CFLAGS=$ac_save_CFLAGS
4483
 
elif test $ac_cv_prog_cc_g = yes; then
4484
 
  if test "$GCC" = yes; then
4485
 
    CFLAGS="-g -O2"
4486
 
  else
4487
 
    CFLAGS="-g"
4488
 
  fi
4489
 
else
4490
 
  if test "$GCC" = yes; then
4491
 
    CFLAGS="-O2"
4492
 
  else
4493
 
    CFLAGS=
4494
 
  fi
4495
 
fi
4496
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4497
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
4498
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
4499
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4500
 
else
4501
 
  ac_cv_prog_cc_c89=no
4502
 
ac_save_CC=$CC
4503
 
cat >conftest.$ac_ext <<_ACEOF
4504
 
/* confdefs.h.  */
4505
 
_ACEOF
4506
 
cat confdefs.h >>conftest.$ac_ext
4507
 
cat >>conftest.$ac_ext <<_ACEOF
4508
 
/* end confdefs.h.  */
4509
 
#include <stdarg.h>
4510
 
#include <stdio.h>
4511
 
#include <sys/types.h>
4512
 
#include <sys/stat.h>
4513
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4514
 
struct buf { int x; };
4515
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
4516
 
static char *e (p, i)
4517
 
     char **p;
4518
 
     int i;
4519
 
{
4520
 
  return p[i];
4521
 
}
4522
 
static char *f (char * (*g) (char **, int), char **p, ...)
4523
 
{
4524
 
  char *s;
4525
 
  va_list v;
4526
 
  va_start (v,p);
4527
 
  s = g (p, va_arg (v,int));
4528
 
  va_end (v);
4529
 
  return s;
4530
 
}
4531
 
 
4532
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4533
 
   function prototypes and stuff, but not '\xHH' hex character constants.
4534
 
   These don't provoke an error unfortunately, instead are silently treated
4535
 
   as 'x'.  The following induces an error, until -std is added to get
4536
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4537
 
   array size at least.  It's necessary to write '\x00'==0 to get something
4538
 
   that's true only with -std.  */
4539
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4540
 
 
4541
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4542
 
   inside strings and character constants.  */
4543
 
#define FOO(x) 'x'
4544
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4545
 
 
4546
 
int test (int i, double x);
4547
 
struct s1 {int (*f) (int a);};
4548
 
struct s2 {int (*f) (double a);};
4549
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4550
 
int argc;
4551
 
char **argv;
4552
 
int
4553
 
main ()
4554
 
{
4555
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4556
 
  ;
4557
 
  return 0;
4558
 
}
4559
 
_ACEOF
4560
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4561
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4562
 
do
4563
 
  CC="$ac_save_CC $ac_arg"
4564
 
  rm -f conftest.$ac_objext
4565
 
if { (ac_try="$ac_compile"
4566
 
case "(($ac_try" in
4567
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4568
 
  *) ac_try_echo=$ac_try;;
4569
 
esac
4570
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4571
 
  (eval "$ac_compile") 2>conftest.er1
4572
 
  ac_status=$?
4573
 
  grep -v '^ *+' conftest.er1 >conftest.err
4574
 
  rm -f conftest.er1
4575
 
  cat conftest.err >&5
4576
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4577
 
  (exit $ac_status); } && {
4578
 
         test -z "$ac_c_werror_flag" ||
4579
 
         test ! -s conftest.err
4580
 
       } && test -s conftest.$ac_objext; then
4581
 
  ac_cv_prog_cc_c89=$ac_arg
4582
 
else
4583
 
  echo "$as_me: failed program was:" >&5
4584
 
sed 's/^/| /' conftest.$ac_ext >&5
4585
 
 
4586
 
 
4587
 
fi
4588
 
 
4589
 
rm -f core conftest.err conftest.$ac_objext
4590
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
4591
 
done
4592
 
rm -f conftest.$ac_ext
4593
 
CC=$ac_save_CC
4594
 
 
4595
 
fi
4596
 
# AC_CACHE_VAL
4597
 
case "x$ac_cv_prog_cc_c89" in
4598
 
  x)
4599
 
    { echo "$as_me:$LINENO: result: none needed" >&5
4600
 
echo "${ECHO_T}none needed" >&6; } ;;
4601
 
  xno)
4602
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
4603
 
echo "${ECHO_T}unsupported" >&6; } ;;
4604
 
  *)
4605
 
    CC="$CC $ac_cv_prog_cc_c89"
4606
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4607
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4608
 
esac
4609
 
 
4610
 
 
4611
 
ac_ext=c
4612
 
ac_cpp='$CPP $CPPFLAGS'
4613
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4614
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4615
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4616
 
 
4617
 
depcc="$CC"   am_compiler_list=
4618
 
 
4619
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4620
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4621
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4622
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4623
 
else
4624
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4625
 
  # We make a subdir and do the tests there.  Otherwise we can end up
4626
 
  # making bogus files that we don't know about and never remove.  For
4627
 
  # instance it was reported that on HP-UX the gcc test will end up
4628
 
  # making a dummy file named `D' -- because `-MD' means `put the output
4629
 
  # in D'.
4630
 
  mkdir conftest.dir
4631
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
4632
 
  # using a relative directory.
4633
 
  cp "$am_depcomp" conftest.dir
4634
 
  cd conftest.dir
4635
 
  # We will build objects and dependencies in a subdirectory because
4636
 
  # it helps to detect inapplicable dependency modes.  For instance
4637
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
4638
 
  # side effect of compilation, but ICC will put the dependencies in
4639
 
  # the current directory while Tru64 will put them in the object
4640
 
  # directory.
4641
 
  mkdir sub
4642
 
 
4643
 
  am_cv_CC_dependencies_compiler_type=none
4644
 
  if test "$am_compiler_list" = ""; then
4645
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4646
 
  fi
4647
 
  for depmode in $am_compiler_list; do
4648
 
    # Setup a source with many dependencies, because some compilers
4649
 
    # like to wrap large dependency lists on column 80 (with \), and
4650
 
    # we should not choose a depcomp mode which is confused by this.
4651
 
    #
4652
 
    # We need to recreate these files for each test, as the compiler may
4653
 
    # overwrite some of them when testing with obscure command lines.
4654
 
    # This happens at least with the AIX C compiler.
4655
 
    : > sub/conftest.c
4656
 
    for i in 1 2 3 4 5 6; do
4657
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4658
 
      : > sub/conftst$i.h
4659
 
    done
4660
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4661
 
 
4662
 
    case $depmode in
4663
 
    nosideeffect)
4664
 
      # after this tag, mechanisms are not by side-effect, so they'll
4665
 
      # only be used when explicitly requested
4666
 
      if test "x$enable_dependency_tracking" = xyes; then
4667
 
        continue
4668
 
      else
4669
 
        break
4670
 
      fi
4671
 
      ;;
4672
 
    none) break ;;
4673
 
    esac
4674
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4675
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
4676
 
    # handle `-M -o', and we need to detect this.
4677
 
    if depmode=$depmode \
4678
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4679
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4680
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4681
 
         >/dev/null 2>conftest.err &&
4682
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4683
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4684
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4685
 
      # icc doesn't choke on unknown options, it will just issue warnings
4686
 
      # (even with -Werror).  So we grep stderr for any message
4687
 
      # that says an option was ignored.
4688
 
      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
4689
 
        am_cv_CC_dependencies_compiler_type=$depmode
4690
 
        break
4691
 
      fi
4692
 
    fi
4693
 
  done
4694
 
 
4695
 
  cd ..
4696
 
  rm -rf conftest.dir
4697
 
else
4698
 
  am_cv_CC_dependencies_compiler_type=none
4699
 
fi
4700
 
 
4701
 
fi
4702
 
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4703
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4704
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4705
 
 
4706
 
 
4707
 
 
4708
 
if
4709
 
  test "x$enable_dependency_tracking" != xno \
4710
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4711
 
  am__fastdepCC_TRUE=
4712
 
  am__fastdepCC_FALSE='#'
4713
 
else
4714
 
  am__fastdepCC_TRUE='#'
4715
 
  am__fastdepCC_FALSE=
4716
 
fi
4717
 
 
4718
 
 
4719
 
if test "x$CC" != xcc; then
4720
 
  { echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
4721
 
echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; }
4722
 
else
4723
 
  { echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
4724
 
echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; }
4725
 
fi
4726
 
set dummy $CC; ac_cc=`echo $2 |
4727
 
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4728
 
if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
4729
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4730
 
else
4731
 
  cat >conftest.$ac_ext <<_ACEOF
4732
 
/* confdefs.h.  */
4733
 
_ACEOF
4734
 
cat confdefs.h >>conftest.$ac_ext
4735
 
cat >>conftest.$ac_ext <<_ACEOF
4736
 
/* end confdefs.h.  */
4737
 
 
4738
 
int
4739
 
main ()
4740
 
{
4741
 
 
4742
 
  ;
4743
 
  return 0;
4744
 
}
4745
 
_ACEOF
4746
 
# Make sure it works both with $CC and with simple cc.
4747
 
# We do the test twice because some compilers refuse to overwrite an
4748
 
# existing .o file with -o, though they will create one.
4749
 
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4750
 
rm -f conftest2.*
4751
 
if { (case "(($ac_try" in
4752
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4753
 
  *) ac_try_echo=$ac_try;;
4754
 
esac
4755
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4756
 
  (eval "$ac_try") 2>&5
4757
 
  ac_status=$?
4758
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4759
 
  (exit $ac_status); } &&
4760
 
   test -f conftest2.$ac_objext && { (case "(($ac_try" in
4761
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4762
 
  *) ac_try_echo=$ac_try;;
4763
 
esac
4764
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4765
 
  (eval "$ac_try") 2>&5
4766
 
  ac_status=$?
4767
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4768
 
  (exit $ac_status); };
4769
 
then
4770
 
  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4771
 
  if test "x$CC" != xcc; then
4772
 
    # Test first that cc exists at all.
4773
 
    if { ac_try='cc -c conftest.$ac_ext >&5'
4774
 
  { (case "(($ac_try" in
4775
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4776
 
  *) ac_try_echo=$ac_try;;
4777
 
esac
4778
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4779
 
  (eval "$ac_try") 2>&5
4780
 
  ac_status=$?
4781
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4782
 
  (exit $ac_status); }; }; then
4783
 
      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4784
 
      rm -f conftest2.*
4785
 
      if { (case "(($ac_try" in
4786
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4787
 
  *) ac_try_echo=$ac_try;;
4788
 
esac
4789
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4790
 
  (eval "$ac_try") 2>&5
4791
 
  ac_status=$?
4792
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4793
 
  (exit $ac_status); } &&
4794
 
         test -f conftest2.$ac_objext && { (case "(($ac_try" in
4795
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4796
 
  *) ac_try_echo=$ac_try;;
4797
 
esac
4798
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4799
 
  (eval "$ac_try") 2>&5
4800
 
  ac_status=$?
4801
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4802
 
  (exit $ac_status); };
4803
 
      then
4804
 
        # cc works too.
4805
 
        :
4806
 
      else
4807
 
        # cc exists but doesn't like -o.
4808
 
        eval ac_cv_prog_cc_${ac_cc}_c_o=no
4809
 
      fi
4810
 
    fi
4811
 
  fi
4812
 
else
4813
 
  eval ac_cv_prog_cc_${ac_cc}_c_o=no
4814
 
fi
4815
 
rm -f core conftest*
4816
 
 
4817
 
fi
4818
 
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4819
 
  { echo "$as_me:$LINENO: result: yes" >&5
4820
 
echo "${ECHO_T}yes" >&6; }
4821
 
else
4822
 
  { echo "$as_me:$LINENO: result: no" >&5
4823
 
echo "${ECHO_T}no" >&6; }
4824
 
 
4825
 
cat >>confdefs.h <<\_ACEOF
4826
 
#define NO_MINUS_C_MINUS_O 1
4827
 
_ACEOF
4828
 
 
4829
 
fi
4830
 
 
4831
 
# FIXME: we rely on the cache variable name because
4832
 
# there is no other way.
4833
 
set dummy $CC
4834
 
ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4835
 
if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
4836
 
   # Losing compiler, so override with the script.
4837
 
   # FIXME: It is wrong to rewrite CC.
4838
 
   # But if we don't then we get into trouble of one sort or another.
4839
 
   # A longer-term fix would be to have automake use am__CC in this case,
4840
 
   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4841
 
   CC="$am_aux_dir/compile $CC"
4842
 
fi
4843
 
 
4844
 
if test "$GCC" = "yes"; then
4845
 
  # Enable some warnings from gcc.
4846
 
 
4847
 
  # -Wno-pointer-sign is probably new in gcc 4.0; certainly it isn't accepted
4848
 
  # by gcc 2.95.
4849
 
  ink_svd_CFLAGS="$CFLAGS"
4850
 
  CFLAGS="-Wno-pointer-sign $CFLAGS"
4851
 
  cat >conftest.$ac_ext <<_ACEOF
4852
 
int dummy;
4853
 
 
4854
 
_ACEOF
4855
 
rm -f conftest.$ac_objext
4856
 
if { (ac_try="$ac_compile"
4857
 
case "(($ac_try" in
4858
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4859
 
  *) ac_try_echo=$ac_try;;
4860
 
esac
4861
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4862
 
  (eval "$ac_compile") 2>conftest.er1
4863
 
  ac_status=$?
4864
 
  grep -v '^ *+' conftest.er1 >conftest.err
4865
 
  rm -f conftest.er1
4866
 
  cat conftest.err >&5
4867
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4868
 
  (exit $ac_status); } && {
4869
 
         test -z "$ac_c_werror_flag" ||
4870
 
         test ! -s conftest.err
4871
 
       } && test -s conftest.$ac_objext; then
4872
 
  :
4873
 
else
4874
 
  echo "$as_me: failed program was:" >&5
4875
 
sed 's/^/| /' conftest.$ac_ext >&5
4876
 
 
4877
 
        CFLAGS="$ink_svd_CFLAGS"
4878
 
fi
4879
 
 
4880
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4881
 
  CFLAGS="-Wall -Wformat-security -W $CFLAGS"
4882
 
fi
4883
 
 
4884
4132
ac_ext=cpp
4885
4133
ac_cpp='$CXXCPP $CPPFLAGS'
4886
4134
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5292
4540
    : > sub/conftest.c
5293
4541
    for i in 1 2 3 4 5 6; do
5294
4542
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5295
 
      : > sub/conftst$i.h
 
4543
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
4544
      # Solaris 8's {/usr,}/bin/sh.
 
4545
      touch sub/conftst$i.h
5296
4546
    done
5297
4547
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5298
4548
 
5316
4566
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5317
4567
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5318
4568
         >/dev/null 2>conftest.err &&
 
4569
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5319
4570
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5320
4571
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5321
4572
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5322
4573
      # icc doesn't choke on unknown options, it will just issue warnings
5323
 
      # (even with -Werror).  So we grep stderr for any message
5324
 
      # that says an option was ignored.
5325
 
      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
 
4574
      # or remarks (even with -Werror).  So we grep stderr for any message
 
4575
      # that says an option was ignored or not supported.
 
4576
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
4577
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
4578
      # The diagnosis changed in icc 8.0:
 
4579
      #   icc: Command line remark: option '-MP' not supported
 
4580
      if (grep 'ignoring option' conftest.err ||
 
4581
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5326
4582
        am_cv_CXX_dependencies_compiler_type=$depmode
5327
4583
        break
5328
4584
      fi
5340
4596
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5341
4597
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5342
4598
 
5343
 
 
5344
 
 
5345
 
if
 
4599
 if
5346
4600
  test "x$enable_dependency_tracking" != xno \
5347
4601
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5348
4602
  am__fastdepCXX_TRUE=
5842
5096
    : > sub/conftest.c
5843
5097
    for i in 1 2 3 4 5 6; do
5844
5098
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5845
 
      : > sub/conftst$i.h
 
5099
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
5100
      # Solaris 8's {/usr,}/bin/sh.
 
5101
      touch sub/conftst$i.h
5846
5102
    done
5847
5103
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5848
5104
 
5866
5122
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5867
5123
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5868
5124
         >/dev/null 2>conftest.err &&
 
5125
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5869
5126
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5870
5127
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5871
5128
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5872
5129
      # icc doesn't choke on unknown options, it will just issue warnings
5873
 
      # (even with -Werror).  So we grep stderr for any message
5874
 
      # that says an option was ignored.
5875
 
      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
 
5130
      # or remarks (even with -Werror).  So we grep stderr for any message
 
5131
      # that says an option was ignored or not supported.
 
5132
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
5133
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
5134
      # The diagnosis changed in icc 8.0:
 
5135
      #   icc: Command line remark: option '-MP' not supported
 
5136
      if (grep 'ignoring option' conftest.err ||
 
5137
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5876
5138
        am_cv_CXX_dependencies_compiler_type=$depmode
5877
5139
        break
5878
5140
      fi
5890
5152
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5891
5153
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5892
5154
 
5893
 
 
5894
 
 
5895
 
if
 
5155
 if
5896
5156
  test "x$enable_dependency_tracking" != xno \
5897
5157
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5898
5158
  am__fastdepCXX_TRUE=
5903
5163
fi
5904
5164
 
5905
5165
 
5906
 
 
5907
 
 
5908
 
 
5909
 
{ echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
5910
 
echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6; }
5911
 
if test "${am_cv_prog_cc_stdc+set}" = set; then
5912
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5913
 
else
5914
 
  am_cv_prog_cc_stdc=no
5915
 
ac_save_CC="$CC"
5916
 
# Don't try gcc -ansi; that turns off useful extensions and
5917
 
# breaks some systems' header files.
5918
 
# AIX                   -qlanglvl=ansi
5919
 
# Ultrix and OSF/1      -std1
5920
 
# HP-UX 10.20 and later -Ae
5921
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
5922
 
# SVR4                  -Xc -D__EXTENSIONS__
5923
 
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5924
 
do
5925
 
  CC="$ac_save_CC $ac_arg"
 
5166
ac_ext=c
 
5167
ac_cpp='$CPP $CPPFLAGS'
 
5168
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
5169
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
5170
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
5171
if test -n "$ac_tool_prefix"; then
 
5172
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
5173
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
5174
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5175
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
5176
if test "${ac_cv_prog_CC+set}" = set; then
 
5177
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5178
else
 
5179
  if test -n "$CC"; then
 
5180
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
5181
else
 
5182
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5183
for as_dir in $PATH
 
5184
do
 
5185
  IFS=$as_save_IFS
 
5186
  test -z "$as_dir" && as_dir=.
 
5187
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5188
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5189
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
5190
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5191
    break 2
 
5192
  fi
 
5193
done
 
5194
done
 
5195
IFS=$as_save_IFS
 
5196
 
 
5197
fi
 
5198
fi
 
5199
CC=$ac_cv_prog_CC
 
5200
if test -n "$CC"; then
 
5201
  { echo "$as_me:$LINENO: result: $CC" >&5
 
5202
echo "${ECHO_T}$CC" >&6; }
 
5203
else
 
5204
  { echo "$as_me:$LINENO: result: no" >&5
 
5205
echo "${ECHO_T}no" >&6; }
 
5206
fi
 
5207
 
 
5208
 
 
5209
fi
 
5210
if test -z "$ac_cv_prog_CC"; then
 
5211
  ac_ct_CC=$CC
 
5212
  # Extract the first word of "gcc", so it can be a program name with args.
 
5213
set dummy gcc; ac_word=$2
 
5214
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5215
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
5216
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
5217
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5218
else
 
5219
  if test -n "$ac_ct_CC"; then
 
5220
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
5221
else
 
5222
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5223
for as_dir in $PATH
 
5224
do
 
5225
  IFS=$as_save_IFS
 
5226
  test -z "$as_dir" && as_dir=.
 
5227
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5228
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5229
    ac_cv_prog_ac_ct_CC="gcc"
 
5230
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5231
    break 2
 
5232
  fi
 
5233
done
 
5234
done
 
5235
IFS=$as_save_IFS
 
5236
 
 
5237
fi
 
5238
fi
 
5239
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
5240
if test -n "$ac_ct_CC"; then
 
5241
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
5242
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
5243
else
 
5244
  { echo "$as_me:$LINENO: result: no" >&5
 
5245
echo "${ECHO_T}no" >&6; }
 
5246
fi
 
5247
 
 
5248
  if test "x$ac_ct_CC" = x; then
 
5249
    CC=""
 
5250
  else
 
5251
    case $cross_compiling:$ac_tool_warned in
 
5252
yes:)
 
5253
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
5254
whose name does not start with the host triplet.  If you think this
 
5255
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
5256
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
5257
whose name does not start with the host triplet.  If you think this
 
5258
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
5259
ac_tool_warned=yes ;;
 
5260
esac
 
5261
    CC=$ac_ct_CC
 
5262
  fi
 
5263
else
 
5264
  CC="$ac_cv_prog_CC"
 
5265
fi
 
5266
 
 
5267
if test -z "$CC"; then
 
5268
          if test -n "$ac_tool_prefix"; then
 
5269
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
5270
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
5271
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5272
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
5273
if test "${ac_cv_prog_CC+set}" = set; then
 
5274
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5275
else
 
5276
  if test -n "$CC"; then
 
5277
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
5278
else
 
5279
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5280
for as_dir in $PATH
 
5281
do
 
5282
  IFS=$as_save_IFS
 
5283
  test -z "$as_dir" && as_dir=.
 
5284
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5285
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5286
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
5287
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5288
    break 2
 
5289
  fi
 
5290
done
 
5291
done
 
5292
IFS=$as_save_IFS
 
5293
 
 
5294
fi
 
5295
fi
 
5296
CC=$ac_cv_prog_CC
 
5297
if test -n "$CC"; then
 
5298
  { echo "$as_me:$LINENO: result: $CC" >&5
 
5299
echo "${ECHO_T}$CC" >&6; }
 
5300
else
 
5301
  { echo "$as_me:$LINENO: result: no" >&5
 
5302
echo "${ECHO_T}no" >&6; }
 
5303
fi
 
5304
 
 
5305
 
 
5306
  fi
 
5307
fi
 
5308
if test -z "$CC"; then
 
5309
  # Extract the first word of "cc", so it can be a program name with args.
 
5310
set dummy cc; ac_word=$2
 
5311
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5312
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
5313
if test "${ac_cv_prog_CC+set}" = set; then
 
5314
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5315
else
 
5316
  if test -n "$CC"; then
 
5317
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
5318
else
 
5319
  ac_prog_rejected=no
 
5320
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5321
for as_dir in $PATH
 
5322
do
 
5323
  IFS=$as_save_IFS
 
5324
  test -z "$as_dir" && as_dir=.
 
5325
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5326
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5327
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
5328
       ac_prog_rejected=yes
 
5329
       continue
 
5330
     fi
 
5331
    ac_cv_prog_CC="cc"
 
5332
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5333
    break 2
 
5334
  fi
 
5335
done
 
5336
done
 
5337
IFS=$as_save_IFS
 
5338
 
 
5339
if test $ac_prog_rejected = yes; then
 
5340
  # We found a bogon in the path, so make sure we never use it.
 
5341
  set dummy $ac_cv_prog_CC
 
5342
  shift
 
5343
  if test $# != 0; then
 
5344
    # We chose a different compiler from the bogus one.
 
5345
    # However, it has the same basename, so the bogon will be chosen
 
5346
    # first if we set CC to just the basename; use the full file name.
 
5347
    shift
 
5348
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
5349
  fi
 
5350
fi
 
5351
fi
 
5352
fi
 
5353
CC=$ac_cv_prog_CC
 
5354
if test -n "$CC"; then
 
5355
  { echo "$as_me:$LINENO: result: $CC" >&5
 
5356
echo "${ECHO_T}$CC" >&6; }
 
5357
else
 
5358
  { echo "$as_me:$LINENO: result: no" >&5
 
5359
echo "${ECHO_T}no" >&6; }
 
5360
fi
 
5361
 
 
5362
 
 
5363
fi
 
5364
if test -z "$CC"; then
 
5365
  if test -n "$ac_tool_prefix"; then
 
5366
  for ac_prog in cl.exe
 
5367
  do
 
5368
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
5369
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
5370
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5371
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
5372
if test "${ac_cv_prog_CC+set}" = set; then
 
5373
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5374
else
 
5375
  if test -n "$CC"; then
 
5376
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
5377
else
 
5378
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5379
for as_dir in $PATH
 
5380
do
 
5381
  IFS=$as_save_IFS
 
5382
  test -z "$as_dir" && as_dir=.
 
5383
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5384
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5385
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
5386
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5387
    break 2
 
5388
  fi
 
5389
done
 
5390
done
 
5391
IFS=$as_save_IFS
 
5392
 
 
5393
fi
 
5394
fi
 
5395
CC=$ac_cv_prog_CC
 
5396
if test -n "$CC"; then
 
5397
  { echo "$as_me:$LINENO: result: $CC" >&5
 
5398
echo "${ECHO_T}$CC" >&6; }
 
5399
else
 
5400
  { echo "$as_me:$LINENO: result: no" >&5
 
5401
echo "${ECHO_T}no" >&6; }
 
5402
fi
 
5403
 
 
5404
 
 
5405
    test -n "$CC" && break
 
5406
  done
 
5407
fi
 
5408
if test -z "$CC"; then
 
5409
  ac_ct_CC=$CC
 
5410
  for ac_prog in cl.exe
 
5411
do
 
5412
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
5413
set dummy $ac_prog; ac_word=$2
 
5414
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5415
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
5416
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
5417
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5418
else
 
5419
  if test -n "$ac_ct_CC"; then
 
5420
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
5421
else
 
5422
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5423
for as_dir in $PATH
 
5424
do
 
5425
  IFS=$as_save_IFS
 
5426
  test -z "$as_dir" && as_dir=.
 
5427
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5428
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5429
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
5430
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5431
    break 2
 
5432
  fi
 
5433
done
 
5434
done
 
5435
IFS=$as_save_IFS
 
5436
 
 
5437
fi
 
5438
fi
 
5439
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
5440
if test -n "$ac_ct_CC"; then
 
5441
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
5442
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
5443
else
 
5444
  { echo "$as_me:$LINENO: result: no" >&5
 
5445
echo "${ECHO_T}no" >&6; }
 
5446
fi
 
5447
 
 
5448
 
 
5449
  test -n "$ac_ct_CC" && break
 
5450
done
 
5451
 
 
5452
  if test "x$ac_ct_CC" = x; then
 
5453
    CC=""
 
5454
  else
 
5455
    case $cross_compiling:$ac_tool_warned in
 
5456
yes:)
 
5457
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
5458
whose name does not start with the host triplet.  If you think this
 
5459
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
5460
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
5461
whose name does not start with the host triplet.  If you think this
 
5462
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
5463
ac_tool_warned=yes ;;
 
5464
esac
 
5465
    CC=$ac_ct_CC
 
5466
  fi
 
5467
fi
 
5468
 
 
5469
fi
 
5470
 
 
5471
 
 
5472
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
5473
See \`config.log' for more details." >&5
 
5474
echo "$as_me: error: no acceptable C compiler found in \$PATH
 
5475
See \`config.log' for more details." >&2;}
 
5476
   { (exit 1); exit 1; }; }
 
5477
 
 
5478
# Provide some information about the compiler.
 
5479
echo "$as_me:$LINENO: checking for C compiler version" >&5
 
5480
ac_compiler=`set X $ac_compile; echo $2`
 
5481
{ (ac_try="$ac_compiler --version >&5"
 
5482
case "(($ac_try" in
 
5483
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5484
  *) ac_try_echo=$ac_try;;
 
5485
esac
 
5486
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5487
  (eval "$ac_compiler --version >&5") 2>&5
 
5488
  ac_status=$?
 
5489
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5490
  (exit $ac_status); }
 
5491
{ (ac_try="$ac_compiler -v >&5"
 
5492
case "(($ac_try" in
 
5493
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5494
  *) ac_try_echo=$ac_try;;
 
5495
esac
 
5496
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5497
  (eval "$ac_compiler -v >&5") 2>&5
 
5498
  ac_status=$?
 
5499
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5500
  (exit $ac_status); }
 
5501
{ (ac_try="$ac_compiler -V >&5"
 
5502
case "(($ac_try" in
 
5503
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5504
  *) ac_try_echo=$ac_try;;
 
5505
esac
 
5506
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5507
  (eval "$ac_compiler -V >&5") 2>&5
 
5508
  ac_status=$?
 
5509
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5510
  (exit $ac_status); }
 
5511
 
 
5512
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
5513
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
 
5514
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
5515
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5516
else
5926
5517
  cat >conftest.$ac_ext <<_ACEOF
5927
5518
/* confdefs.h.  */
5928
5519
_ACEOF
5929
5520
cat confdefs.h >>conftest.$ac_ext
5930
5521
cat >>conftest.$ac_ext <<_ACEOF
5931
5522
/* end confdefs.h.  */
 
5523
 
 
5524
int
 
5525
main ()
 
5526
{
 
5527
#ifndef __GNUC__
 
5528
       choke me
 
5529
#endif
 
5530
 
 
5531
  ;
 
5532
  return 0;
 
5533
}
 
5534
_ACEOF
 
5535
rm -f conftest.$ac_objext
 
5536
if { (ac_try="$ac_compile"
 
5537
case "(($ac_try" in
 
5538
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5539
  *) ac_try_echo=$ac_try;;
 
5540
esac
 
5541
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5542
  (eval "$ac_compile") 2>conftest.er1
 
5543
  ac_status=$?
 
5544
  grep -v '^ *+' conftest.er1 >conftest.err
 
5545
  rm -f conftest.er1
 
5546
  cat conftest.err >&5
 
5547
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5548
  (exit $ac_status); } && {
 
5549
         test -z "$ac_c_werror_flag" ||
 
5550
         test ! -s conftest.err
 
5551
       } && test -s conftest.$ac_objext; then
 
5552
  ac_compiler_gnu=yes
 
5553
else
 
5554
  echo "$as_me: failed program was:" >&5
 
5555
sed 's/^/| /' conftest.$ac_ext >&5
 
5556
 
 
5557
        ac_compiler_gnu=no
 
5558
fi
 
5559
 
 
5560
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5561
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
5562
 
 
5563
fi
 
5564
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
5565
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
 
5566
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
5567
ac_test_CFLAGS=${CFLAGS+set}
 
5568
ac_save_CFLAGS=$CFLAGS
 
5569
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
5570
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
 
5571
if test "${ac_cv_prog_cc_g+set}" = set; then
 
5572
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5573
else
 
5574
  ac_save_c_werror_flag=$ac_c_werror_flag
 
5575
   ac_c_werror_flag=yes
 
5576
   ac_cv_prog_cc_g=no
 
5577
   CFLAGS="-g"
 
5578
   cat >conftest.$ac_ext <<_ACEOF
 
5579
/* confdefs.h.  */
 
5580
_ACEOF
 
5581
cat confdefs.h >>conftest.$ac_ext
 
5582
cat >>conftest.$ac_ext <<_ACEOF
 
5583
/* end confdefs.h.  */
 
5584
 
 
5585
int
 
5586
main ()
 
5587
{
 
5588
 
 
5589
  ;
 
5590
  return 0;
 
5591
}
 
5592
_ACEOF
 
5593
rm -f conftest.$ac_objext
 
5594
if { (ac_try="$ac_compile"
 
5595
case "(($ac_try" in
 
5596
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5597
  *) ac_try_echo=$ac_try;;
 
5598
esac
 
5599
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5600
  (eval "$ac_compile") 2>conftest.er1
 
5601
  ac_status=$?
 
5602
  grep -v '^ *+' conftest.er1 >conftest.err
 
5603
  rm -f conftest.er1
 
5604
  cat conftest.err >&5
 
5605
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5606
  (exit $ac_status); } && {
 
5607
         test -z "$ac_c_werror_flag" ||
 
5608
         test ! -s conftest.err
 
5609
       } && test -s conftest.$ac_objext; then
 
5610
  ac_cv_prog_cc_g=yes
 
5611
else
 
5612
  echo "$as_me: failed program was:" >&5
 
5613
sed 's/^/| /' conftest.$ac_ext >&5
 
5614
 
 
5615
        CFLAGS=""
 
5616
      cat >conftest.$ac_ext <<_ACEOF
 
5617
/* confdefs.h.  */
 
5618
_ACEOF
 
5619
cat confdefs.h >>conftest.$ac_ext
 
5620
cat >>conftest.$ac_ext <<_ACEOF
 
5621
/* end confdefs.h.  */
 
5622
 
 
5623
int
 
5624
main ()
 
5625
{
 
5626
 
 
5627
  ;
 
5628
  return 0;
 
5629
}
 
5630
_ACEOF
 
5631
rm -f conftest.$ac_objext
 
5632
if { (ac_try="$ac_compile"
 
5633
case "(($ac_try" in
 
5634
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5635
  *) ac_try_echo=$ac_try;;
 
5636
esac
 
5637
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5638
  (eval "$ac_compile") 2>conftest.er1
 
5639
  ac_status=$?
 
5640
  grep -v '^ *+' conftest.er1 >conftest.err
 
5641
  rm -f conftest.er1
 
5642
  cat conftest.err >&5
 
5643
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5644
  (exit $ac_status); } && {
 
5645
         test -z "$ac_c_werror_flag" ||
 
5646
         test ! -s conftest.err
 
5647
       } && test -s conftest.$ac_objext; then
 
5648
  :
 
5649
else
 
5650
  echo "$as_me: failed program was:" >&5
 
5651
sed 's/^/| /' conftest.$ac_ext >&5
 
5652
 
 
5653
        ac_c_werror_flag=$ac_save_c_werror_flag
 
5654
         CFLAGS="-g"
 
5655
         cat >conftest.$ac_ext <<_ACEOF
 
5656
/* confdefs.h.  */
 
5657
_ACEOF
 
5658
cat confdefs.h >>conftest.$ac_ext
 
5659
cat >>conftest.$ac_ext <<_ACEOF
 
5660
/* end confdefs.h.  */
 
5661
 
 
5662
int
 
5663
main ()
 
5664
{
 
5665
 
 
5666
  ;
 
5667
  return 0;
 
5668
}
 
5669
_ACEOF
 
5670
rm -f conftest.$ac_objext
 
5671
if { (ac_try="$ac_compile"
 
5672
case "(($ac_try" in
 
5673
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5674
  *) ac_try_echo=$ac_try;;
 
5675
esac
 
5676
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5677
  (eval "$ac_compile") 2>conftest.er1
 
5678
  ac_status=$?
 
5679
  grep -v '^ *+' conftest.er1 >conftest.err
 
5680
  rm -f conftest.er1
 
5681
  cat conftest.err >&5
 
5682
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5683
  (exit $ac_status); } && {
 
5684
         test -z "$ac_c_werror_flag" ||
 
5685
         test ! -s conftest.err
 
5686
       } && test -s conftest.$ac_objext; then
 
5687
  ac_cv_prog_cc_g=yes
 
5688
else
 
5689
  echo "$as_me: failed program was:" >&5
 
5690
sed 's/^/| /' conftest.$ac_ext >&5
 
5691
 
 
5692
 
 
5693
fi
 
5694
 
 
5695
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5696
fi
 
5697
 
 
5698
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5699
fi
 
5700
 
 
5701
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5702
   ac_c_werror_flag=$ac_save_c_werror_flag
 
5703
fi
 
5704
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
5705
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 
5706
if test "$ac_test_CFLAGS" = set; then
 
5707
  CFLAGS=$ac_save_CFLAGS
 
5708
elif test $ac_cv_prog_cc_g = yes; then
 
5709
  if test "$GCC" = yes; then
 
5710
    CFLAGS="-g -O2"
 
5711
  else
 
5712
    CFLAGS="-g"
 
5713
  fi
 
5714
else
 
5715
  if test "$GCC" = yes; then
 
5716
    CFLAGS="-O2"
 
5717
  else
 
5718
    CFLAGS=
 
5719
  fi
 
5720
fi
 
5721
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
5722
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
5723
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
5724
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5725
else
 
5726
  ac_cv_prog_cc_c89=no
 
5727
ac_save_CC=$CC
 
5728
cat >conftest.$ac_ext <<_ACEOF
 
5729
/* confdefs.h.  */
 
5730
_ACEOF
 
5731
cat confdefs.h >>conftest.$ac_ext
 
5732
cat >>conftest.$ac_ext <<_ACEOF
 
5733
/* end confdefs.h.  */
5932
5734
#include <stdarg.h>
5933
5735
#include <stdio.h>
5934
5736
#include <sys/types.h>
5951
5753
  va_end (v);
5952
5754
  return s;
5953
5755
}
 
5756
 
 
5757
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
5758
   function prototypes and stuff, but not '\xHH' hex character constants.
 
5759
   These don't provoke an error unfortunately, instead are silently treated
 
5760
   as 'x'.  The following induces an error, until -std is added to get
 
5761
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
5762
   array size at least.  It's necessary to write '\x00'==0 to get something
 
5763
   that's true only with -std.  */
 
5764
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
5765
 
 
5766
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
5767
   inside strings and character constants.  */
 
5768
#define FOO(x) 'x'
 
5769
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
5770
 
5954
5771
int test (int i, double x);
5955
5772
struct s1 {int (*f) (int a);};
5956
5773
struct s2 {int (*f) (double a);};
5957
5774
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5958
5775
int argc;
5959
5776
char **argv;
5960
 
 
5961
5777
int
5962
5778
main ()
5963
5779
{
5964
 
 
5965
5780
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5966
 
 
5967
5781
  ;
5968
5782
  return 0;
5969
5783
}
5970
5784
_ACEOF
5971
 
rm -f conftest.$ac_objext
 
5785
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
5786
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
5787
do
 
5788
  CC="$ac_save_CC $ac_arg"
 
5789
  rm -f conftest.$ac_objext
5972
5790
if { (ac_try="$ac_compile"
5973
5791
case "(($ac_try" in
5974
5792
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5982
5800
  cat conftest.err >&5
5983
5801
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5984
5802
  (exit $ac_status); } && {
5985
 
         test -z "$ac_cxx_werror_flag" ||
 
5803
         test -z "$ac_c_werror_flag" ||
5986
5804
         test ! -s conftest.err
5987
5805
       } && test -s conftest.$ac_objext; then
5988
 
  am_cv_prog_cc_stdc="$ac_arg"; break
 
5806
  ac_cv_prog_cc_c89=$ac_arg
5989
5807
else
5990
5808
  echo "$as_me: failed program was:" >&5
5991
5809
sed 's/^/| /' conftest.$ac_ext >&5
5993
5811
 
5994
5812
fi
5995
5813
 
5996
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5814
rm -f core conftest.err conftest.$ac_objext
 
5815
  test "x$ac_cv_prog_cc_c89" != "xno" && break
5997
5816
done
5998
 
CC="$ac_save_CC"
5999
 
 
6000
 
fi
6001
 
 
6002
 
if test -z "$am_cv_prog_cc_stdc"; then
6003
 
  { echo "$as_me:$LINENO: result: none needed" >&5
6004
 
echo "${ECHO_T}none needed" >&6; }
6005
 
else
6006
 
  { echo "$as_me:$LINENO: result: $am_cv_prog_cc_stdc" >&5
6007
 
echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6; }
6008
 
fi
6009
 
case "x$am_cv_prog_cc_stdc" in
6010
 
  x|xno) ;;
6011
 
  *) CC="$CC $am_cv_prog_cc_stdc" ;;
 
5817
rm -f conftest.$ac_ext
 
5818
CC=$ac_save_CC
 
5819
 
 
5820
fi
 
5821
# AC_CACHE_VAL
 
5822
case "x$ac_cv_prog_cc_c89" in
 
5823
  x)
 
5824
    { echo "$as_me:$LINENO: result: none needed" >&5
 
5825
echo "${ECHO_T}none needed" >&6; } ;;
 
5826
  xno)
 
5827
    { echo "$as_me:$LINENO: result: unsupported" >&5
 
5828
echo "${ECHO_T}unsupported" >&6; } ;;
 
5829
  *)
 
5830
    CC="$CC $ac_cv_prog_cc_c89"
 
5831
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
5832
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
6012
5833
esac
6013
5834
 
 
5835
 
 
5836
ac_ext=cpp
 
5837
ac_cpp='$CXXCPP $CPPFLAGS'
 
5838
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
5839
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
5840
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
5841
 
 
5842
depcc="$CC"   am_compiler_list=
 
5843
 
 
5844
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
5845
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
 
5846
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
5847
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5848
else
 
5849
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
5850
  # We make a subdir and do the tests there.  Otherwise we can end up
 
5851
  # making bogus files that we don't know about and never remove.  For
 
5852
  # instance it was reported that on HP-UX the gcc test will end up
 
5853
  # making a dummy file named `D' -- because `-MD' means `put the output
 
5854
  # in D'.
 
5855
  mkdir conftest.dir
 
5856
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
5857
  # using a relative directory.
 
5858
  cp "$am_depcomp" conftest.dir
 
5859
  cd conftest.dir
 
5860
  # We will build objects and dependencies in a subdirectory because
 
5861
  # it helps to detect inapplicable dependency modes.  For instance
 
5862
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
5863
  # side effect of compilation, but ICC will put the dependencies in
 
5864
  # the current directory while Tru64 will put them in the object
 
5865
  # directory.
 
5866
  mkdir sub
 
5867
 
 
5868
  am_cv_CC_dependencies_compiler_type=none
 
5869
  if test "$am_compiler_list" = ""; then
 
5870
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
5871
  fi
 
5872
  for depmode in $am_compiler_list; do
 
5873
    # Setup a source with many dependencies, because some compilers
 
5874
    # like to wrap large dependency lists on column 80 (with \), and
 
5875
    # we should not choose a depcomp mode which is confused by this.
 
5876
    #
 
5877
    # We need to recreate these files for each test, as the compiler may
 
5878
    # overwrite some of them when testing with obscure command lines.
 
5879
    # This happens at least with the AIX C compiler.
 
5880
    : > sub/conftest.c
 
5881
    for i in 1 2 3 4 5 6; do
 
5882
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
5883
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
5884
      # Solaris 8's {/usr,}/bin/sh.
 
5885
      touch sub/conftst$i.h
 
5886
    done
 
5887
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
5888
 
 
5889
    case $depmode in
 
5890
    nosideeffect)
 
5891
      # after this tag, mechanisms are not by side-effect, so they'll
 
5892
      # only be used when explicitly requested
 
5893
      if test "x$enable_dependency_tracking" = xyes; then
 
5894
        continue
 
5895
      else
 
5896
        break
 
5897
      fi
 
5898
      ;;
 
5899
    none) break ;;
 
5900
    esac
 
5901
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
5902
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
5903
    # handle `-M -o', and we need to detect this.
 
5904
    if depmode=$depmode \
 
5905
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
5906
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
5907
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
5908
         >/dev/null 2>conftest.err &&
 
5909
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
5910
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
5911
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
5912
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
5913
      # icc doesn't choke on unknown options, it will just issue warnings
 
5914
      # or remarks (even with -Werror).  So we grep stderr for any message
 
5915
      # that says an option was ignored or not supported.
 
5916
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
5917
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
5918
      # The diagnosis changed in icc 8.0:
 
5919
      #   icc: Command line remark: option '-MP' not supported
 
5920
      if (grep 'ignoring option' conftest.err ||
 
5921
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
5922
        am_cv_CC_dependencies_compiler_type=$depmode
 
5923
        break
 
5924
      fi
 
5925
    fi
 
5926
  done
 
5927
 
 
5928
  cd ..
 
5929
  rm -rf conftest.dir
 
5930
else
 
5931
  am_cv_CC_dependencies_compiler_type=none
 
5932
fi
 
5933
 
 
5934
fi
 
5935
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
5936
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
 
5937
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
5938
 
 
5939
 if
 
5940
  test "x$enable_dependency_tracking" != xno \
 
5941
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
5942
  am__fastdepCC_TRUE=
 
5943
  am__fastdepCC_FALSE='#'
 
5944
else
 
5945
  am__fastdepCC_TRUE='#'
 
5946
  am__fastdepCC_FALSE=
 
5947
fi
 
5948
 
 
5949
 
 
5950
 
 
5951
am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
 
5952
 
6014
5953
# By default we simply use the C compiler to build assembly code.
6015
5954
 
6016
 
: ${CCAS='$(CC)'}
6017
 
# Set ASFLAGS if not already set.
6018
 
: ${CCASFLAGS='$(CFLAGS)'}
 
5955
test "${CCAS+set}" = set || CCAS=$CC
 
5956
test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
 
5957
 
 
5958
 
 
5959
 
 
5960
depcc="$CCAS"   am_compiler_list=
 
5961
 
 
5962
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
5963
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
 
5964
if test "${am_cv_CCAS_dependencies_compiler_type+set}" = set; then
 
5965
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5966
else
 
5967
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
5968
  # We make a subdir and do the tests there.  Otherwise we can end up
 
5969
  # making bogus files that we don't know about and never remove.  For
 
5970
  # instance it was reported that on HP-UX the gcc test will end up
 
5971
  # making a dummy file named `D' -- because `-MD' means `put the output
 
5972
  # in D'.
 
5973
  mkdir conftest.dir
 
5974
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
5975
  # using a relative directory.
 
5976
  cp "$am_depcomp" conftest.dir
 
5977
  cd conftest.dir
 
5978
  # We will build objects and dependencies in a subdirectory because
 
5979
  # it helps to detect inapplicable dependency modes.  For instance
 
5980
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
5981
  # side effect of compilation, but ICC will put the dependencies in
 
5982
  # the current directory while Tru64 will put them in the object
 
5983
  # directory.
 
5984
  mkdir sub
 
5985
 
 
5986
  am_cv_CCAS_dependencies_compiler_type=none
 
5987
  if test "$am_compiler_list" = ""; then
 
5988
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
5989
  fi
 
5990
  for depmode in $am_compiler_list; do
 
5991
    # Setup a source with many dependencies, because some compilers
 
5992
    # like to wrap large dependency lists on column 80 (with \), and
 
5993
    # we should not choose a depcomp mode which is confused by this.
 
5994
    #
 
5995
    # We need to recreate these files for each test, as the compiler may
 
5996
    # overwrite some of them when testing with obscure command lines.
 
5997
    # This happens at least with the AIX C compiler.
 
5998
    : > sub/conftest.c
 
5999
    for i in 1 2 3 4 5 6; do
 
6000
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
6001
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
6002
      # Solaris 8's {/usr,}/bin/sh.
 
6003
      touch sub/conftst$i.h
 
6004
    done
 
6005
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
6006
 
 
6007
    case $depmode in
 
6008
    nosideeffect)
 
6009
      # after this tag, mechanisms are not by side-effect, so they'll
 
6010
      # only be used when explicitly requested
 
6011
      if test "x$enable_dependency_tracking" = xyes; then
 
6012
        continue
 
6013
      else
 
6014
        break
 
6015
      fi
 
6016
      ;;
 
6017
    none) break ;;
 
6018
    esac
 
6019
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
6020
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
6021
    # handle `-M -o', and we need to detect this.
 
6022
    if depmode=$depmode \
 
6023
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
6024
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
6025
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
6026
         >/dev/null 2>conftest.err &&
 
6027
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
6028
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
6029
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
6030
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
6031
      # icc doesn't choke on unknown options, it will just issue warnings
 
6032
      # or remarks (even with -Werror).  So we grep stderr for any message
 
6033
      # that says an option was ignored or not supported.
 
6034
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
6035
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
6036
      # The diagnosis changed in icc 8.0:
 
6037
      #   icc: Command line remark: option '-MP' not supported
 
6038
      if (grep 'ignoring option' conftest.err ||
 
6039
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
6040
        am_cv_CCAS_dependencies_compiler_type=$depmode
 
6041
        break
 
6042
      fi
 
6043
    fi
 
6044
  done
 
6045
 
 
6046
  cd ..
 
6047
  rm -rf conftest.dir
 
6048
else
 
6049
  am_cv_CCAS_dependencies_compiler_type=none
 
6050
fi
 
6051
 
 
6052
fi
 
6053
{ echo "$as_me:$LINENO: result: $am_cv_CCAS_dependencies_compiler_type" >&5
 
6054
echo "${ECHO_T}$am_cv_CCAS_dependencies_compiler_type" >&6; }
 
6055
CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
 
6056
 
 
6057
 if
 
6058
  test "x$enable_dependency_tracking" != xno \
 
6059
  && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
 
6060
  am__fastdepCCAS_TRUE=
 
6061
  am__fastdepCCAS_FALSE='#'
 
6062
else
 
6063
  am__fastdepCCAS_TRUE='#'
 
6064
  am__fastdepCCAS_FALSE=
 
6065
fi
6019
6066
 
6020
6067
 
6021
6068
ac_ext=cpp
6582
6629
fi
6583
6630
 
6584
6631
 
 
6632
ac_ext=c
 
6633
ac_cpp='$CPP $CPPFLAGS'
 
6634
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6635
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6636
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6637
if test -n "$ac_tool_prefix"; then
 
6638
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
6639
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
6640
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6641
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
6642
if test "${ac_cv_prog_CC+set}" = set; then
 
6643
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6644
else
 
6645
  if test -n "$CC"; then
 
6646
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
6647
else
 
6648
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6649
for as_dir in $PATH
 
6650
do
 
6651
  IFS=$as_save_IFS
 
6652
  test -z "$as_dir" && as_dir=.
 
6653
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6654
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6655
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
6656
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6657
    break 2
 
6658
  fi
 
6659
done
 
6660
done
 
6661
IFS=$as_save_IFS
 
6662
 
 
6663
fi
 
6664
fi
 
6665
CC=$ac_cv_prog_CC
 
6666
if test -n "$CC"; then
 
6667
  { echo "$as_me:$LINENO: result: $CC" >&5
 
6668
echo "${ECHO_T}$CC" >&6; }
 
6669
else
 
6670
  { echo "$as_me:$LINENO: result: no" >&5
 
6671
echo "${ECHO_T}no" >&6; }
 
6672
fi
 
6673
 
 
6674
 
 
6675
fi
 
6676
if test -z "$ac_cv_prog_CC"; then
 
6677
  ac_ct_CC=$CC
 
6678
  # Extract the first word of "gcc", so it can be a program name with args.
 
6679
set dummy gcc; ac_word=$2
 
6680
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6681
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
6682
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
6683
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6684
else
 
6685
  if test -n "$ac_ct_CC"; then
 
6686
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
6687
else
 
6688
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6689
for as_dir in $PATH
 
6690
do
 
6691
  IFS=$as_save_IFS
 
6692
  test -z "$as_dir" && as_dir=.
 
6693
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6694
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6695
    ac_cv_prog_ac_ct_CC="gcc"
 
6696
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6697
    break 2
 
6698
  fi
 
6699
done
 
6700
done
 
6701
IFS=$as_save_IFS
 
6702
 
 
6703
fi
 
6704
fi
 
6705
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
6706
if test -n "$ac_ct_CC"; then
 
6707
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
6708
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
6709
else
 
6710
  { echo "$as_me:$LINENO: result: no" >&5
 
6711
echo "${ECHO_T}no" >&6; }
 
6712
fi
 
6713
 
 
6714
  if test "x$ac_ct_CC" = x; then
 
6715
    CC=""
 
6716
  else
 
6717
    case $cross_compiling:$ac_tool_warned in
 
6718
yes:)
 
6719
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6720
whose name does not start with the host triplet.  If you think this
 
6721
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6722
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6723
whose name does not start with the host triplet.  If you think this
 
6724
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6725
ac_tool_warned=yes ;;
 
6726
esac
 
6727
    CC=$ac_ct_CC
 
6728
  fi
 
6729
else
 
6730
  CC="$ac_cv_prog_CC"
 
6731
fi
 
6732
 
 
6733
if test -z "$CC"; then
 
6734
          if test -n "$ac_tool_prefix"; then
 
6735
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
6736
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
6737
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6738
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
6739
if test "${ac_cv_prog_CC+set}" = set; then
 
6740
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6741
else
 
6742
  if test -n "$CC"; then
 
6743
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
6744
else
 
6745
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6746
for as_dir in $PATH
 
6747
do
 
6748
  IFS=$as_save_IFS
 
6749
  test -z "$as_dir" && as_dir=.
 
6750
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6751
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6752
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
6753
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6754
    break 2
 
6755
  fi
 
6756
done
 
6757
done
 
6758
IFS=$as_save_IFS
 
6759
 
 
6760
fi
 
6761
fi
 
6762
CC=$ac_cv_prog_CC
 
6763
if test -n "$CC"; then
 
6764
  { echo "$as_me:$LINENO: result: $CC" >&5
 
6765
echo "${ECHO_T}$CC" >&6; }
 
6766
else
 
6767
  { echo "$as_me:$LINENO: result: no" >&5
 
6768
echo "${ECHO_T}no" >&6; }
 
6769
fi
 
6770
 
 
6771
 
 
6772
  fi
 
6773
fi
 
6774
if test -z "$CC"; then
 
6775
  # Extract the first word of "cc", so it can be a program name with args.
 
6776
set dummy cc; ac_word=$2
 
6777
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6778
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
6779
if test "${ac_cv_prog_CC+set}" = set; then
 
6780
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6781
else
 
6782
  if test -n "$CC"; then
 
6783
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
6784
else
 
6785
  ac_prog_rejected=no
 
6786
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6787
for as_dir in $PATH
 
6788
do
 
6789
  IFS=$as_save_IFS
 
6790
  test -z "$as_dir" && as_dir=.
 
6791
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6792
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6793
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
6794
       ac_prog_rejected=yes
 
6795
       continue
 
6796
     fi
 
6797
    ac_cv_prog_CC="cc"
 
6798
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6799
    break 2
 
6800
  fi
 
6801
done
 
6802
done
 
6803
IFS=$as_save_IFS
 
6804
 
 
6805
if test $ac_prog_rejected = yes; then
 
6806
  # We found a bogon in the path, so make sure we never use it.
 
6807
  set dummy $ac_cv_prog_CC
 
6808
  shift
 
6809
  if test $# != 0; then
 
6810
    # We chose a different compiler from the bogus one.
 
6811
    # However, it has the same basename, so the bogon will be chosen
 
6812
    # first if we set CC to just the basename; use the full file name.
 
6813
    shift
 
6814
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
6815
  fi
 
6816
fi
 
6817
fi
 
6818
fi
 
6819
CC=$ac_cv_prog_CC
 
6820
if test -n "$CC"; then
 
6821
  { echo "$as_me:$LINENO: result: $CC" >&5
 
6822
echo "${ECHO_T}$CC" >&6; }
 
6823
else
 
6824
  { echo "$as_me:$LINENO: result: no" >&5
 
6825
echo "${ECHO_T}no" >&6; }
 
6826
fi
 
6827
 
 
6828
 
 
6829
fi
 
6830
if test -z "$CC"; then
 
6831
  if test -n "$ac_tool_prefix"; then
 
6832
  for ac_prog in cl.exe
 
6833
  do
 
6834
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
6835
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
6836
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6837
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
6838
if test "${ac_cv_prog_CC+set}" = set; then
 
6839
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6840
else
 
6841
  if test -n "$CC"; then
 
6842
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
6843
else
 
6844
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6845
for as_dir in $PATH
 
6846
do
 
6847
  IFS=$as_save_IFS
 
6848
  test -z "$as_dir" && as_dir=.
 
6849
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6850
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6851
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
6852
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6853
    break 2
 
6854
  fi
 
6855
done
 
6856
done
 
6857
IFS=$as_save_IFS
 
6858
 
 
6859
fi
 
6860
fi
 
6861
CC=$ac_cv_prog_CC
 
6862
if test -n "$CC"; then
 
6863
  { echo "$as_me:$LINENO: result: $CC" >&5
 
6864
echo "${ECHO_T}$CC" >&6; }
 
6865
else
 
6866
  { echo "$as_me:$LINENO: result: no" >&5
 
6867
echo "${ECHO_T}no" >&6; }
 
6868
fi
 
6869
 
 
6870
 
 
6871
    test -n "$CC" && break
 
6872
  done
 
6873
fi
 
6874
if test -z "$CC"; then
 
6875
  ac_ct_CC=$CC
 
6876
  for ac_prog in cl.exe
 
6877
do
 
6878
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
6879
set dummy $ac_prog; ac_word=$2
 
6880
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6881
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
6882
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
6883
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6884
else
 
6885
  if test -n "$ac_ct_CC"; then
 
6886
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
6887
else
 
6888
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6889
for as_dir in $PATH
 
6890
do
 
6891
  IFS=$as_save_IFS
 
6892
  test -z "$as_dir" && as_dir=.
 
6893
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6894
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6895
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
6896
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6897
    break 2
 
6898
  fi
 
6899
done
 
6900
done
 
6901
IFS=$as_save_IFS
 
6902
 
 
6903
fi
 
6904
fi
 
6905
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
6906
if test -n "$ac_ct_CC"; then
 
6907
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
6908
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
6909
else
 
6910
  { echo "$as_me:$LINENO: result: no" >&5
 
6911
echo "${ECHO_T}no" >&6; }
 
6912
fi
 
6913
 
 
6914
 
 
6915
  test -n "$ac_ct_CC" && break
 
6916
done
 
6917
 
 
6918
  if test "x$ac_ct_CC" = x; then
 
6919
    CC=""
 
6920
  else
 
6921
    case $cross_compiling:$ac_tool_warned in
 
6922
yes:)
 
6923
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6924
whose name does not start with the host triplet.  If you think this
 
6925
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6926
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6927
whose name does not start with the host triplet.  If you think this
 
6928
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6929
ac_tool_warned=yes ;;
 
6930
esac
 
6931
    CC=$ac_ct_CC
 
6932
  fi
 
6933
fi
 
6934
 
 
6935
fi
 
6936
 
 
6937
 
 
6938
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
6939
See \`config.log' for more details." >&5
 
6940
echo "$as_me: error: no acceptable C compiler found in \$PATH
 
6941
See \`config.log' for more details." >&2;}
 
6942
   { (exit 1); exit 1; }; }
 
6943
 
 
6944
# Provide some information about the compiler.
 
6945
echo "$as_me:$LINENO: checking for C compiler version" >&5
 
6946
ac_compiler=`set X $ac_compile; echo $2`
 
6947
{ (ac_try="$ac_compiler --version >&5"
 
6948
case "(($ac_try" in
 
6949
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6950
  *) ac_try_echo=$ac_try;;
 
6951
esac
 
6952
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6953
  (eval "$ac_compiler --version >&5") 2>&5
 
6954
  ac_status=$?
 
6955
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6956
  (exit $ac_status); }
 
6957
{ (ac_try="$ac_compiler -v >&5"
 
6958
case "(($ac_try" in
 
6959
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6960
  *) ac_try_echo=$ac_try;;
 
6961
esac
 
6962
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6963
  (eval "$ac_compiler -v >&5") 2>&5
 
6964
  ac_status=$?
 
6965
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6966
  (exit $ac_status); }
 
6967
{ (ac_try="$ac_compiler -V >&5"
 
6968
case "(($ac_try" in
 
6969
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6970
  *) ac_try_echo=$ac_try;;
 
6971
esac
 
6972
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6973
  (eval "$ac_compiler -V >&5") 2>&5
 
6974
  ac_status=$?
 
6975
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6976
  (exit $ac_status); }
 
6977
 
 
6978
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
6979
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
 
6980
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
6981
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6982
else
 
6983
  cat >conftest.$ac_ext <<_ACEOF
 
6984
/* confdefs.h.  */
 
6985
_ACEOF
 
6986
cat confdefs.h >>conftest.$ac_ext
 
6987
cat >>conftest.$ac_ext <<_ACEOF
 
6988
/* end confdefs.h.  */
 
6989
 
 
6990
int
 
6991
main ()
 
6992
{
 
6993
#ifndef __GNUC__
 
6994
       choke me
 
6995
#endif
 
6996
 
 
6997
  ;
 
6998
  return 0;
 
6999
}
 
7000
_ACEOF
 
7001
rm -f conftest.$ac_objext
 
7002
if { (ac_try="$ac_compile"
 
7003
case "(($ac_try" in
 
7004
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7005
  *) ac_try_echo=$ac_try;;
 
7006
esac
 
7007
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7008
  (eval "$ac_compile") 2>conftest.er1
 
7009
  ac_status=$?
 
7010
  grep -v '^ *+' conftest.er1 >conftest.err
 
7011
  rm -f conftest.er1
 
7012
  cat conftest.err >&5
 
7013
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7014
  (exit $ac_status); } && {
 
7015
         test -z "$ac_c_werror_flag" ||
 
7016
         test ! -s conftest.err
 
7017
       } && test -s conftest.$ac_objext; then
 
7018
  ac_compiler_gnu=yes
 
7019
else
 
7020
  echo "$as_me: failed program was:" >&5
 
7021
sed 's/^/| /' conftest.$ac_ext >&5
 
7022
 
 
7023
        ac_compiler_gnu=no
 
7024
fi
 
7025
 
 
7026
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7027
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
7028
 
 
7029
fi
 
7030
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
7031
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
 
7032
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
7033
ac_test_CFLAGS=${CFLAGS+set}
 
7034
ac_save_CFLAGS=$CFLAGS
 
7035
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
7036
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
 
7037
if test "${ac_cv_prog_cc_g+set}" = set; then
 
7038
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7039
else
 
7040
  ac_save_c_werror_flag=$ac_c_werror_flag
 
7041
   ac_c_werror_flag=yes
 
7042
   ac_cv_prog_cc_g=no
 
7043
   CFLAGS="-g"
 
7044
   cat >conftest.$ac_ext <<_ACEOF
 
7045
/* confdefs.h.  */
 
7046
_ACEOF
 
7047
cat confdefs.h >>conftest.$ac_ext
 
7048
cat >>conftest.$ac_ext <<_ACEOF
 
7049
/* end confdefs.h.  */
 
7050
 
 
7051
int
 
7052
main ()
 
7053
{
 
7054
 
 
7055
  ;
 
7056
  return 0;
 
7057
}
 
7058
_ACEOF
 
7059
rm -f conftest.$ac_objext
 
7060
if { (ac_try="$ac_compile"
 
7061
case "(($ac_try" in
 
7062
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7063
  *) ac_try_echo=$ac_try;;
 
7064
esac
 
7065
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7066
  (eval "$ac_compile") 2>conftest.er1
 
7067
  ac_status=$?
 
7068
  grep -v '^ *+' conftest.er1 >conftest.err
 
7069
  rm -f conftest.er1
 
7070
  cat conftest.err >&5
 
7071
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7072
  (exit $ac_status); } && {
 
7073
         test -z "$ac_c_werror_flag" ||
 
7074
         test ! -s conftest.err
 
7075
       } && test -s conftest.$ac_objext; then
 
7076
  ac_cv_prog_cc_g=yes
 
7077
else
 
7078
  echo "$as_me: failed program was:" >&5
 
7079
sed 's/^/| /' conftest.$ac_ext >&5
 
7080
 
 
7081
        CFLAGS=""
 
7082
      cat >conftest.$ac_ext <<_ACEOF
 
7083
/* confdefs.h.  */
 
7084
_ACEOF
 
7085
cat confdefs.h >>conftest.$ac_ext
 
7086
cat >>conftest.$ac_ext <<_ACEOF
 
7087
/* end confdefs.h.  */
 
7088
 
 
7089
int
 
7090
main ()
 
7091
{
 
7092
 
 
7093
  ;
 
7094
  return 0;
 
7095
}
 
7096
_ACEOF
 
7097
rm -f conftest.$ac_objext
 
7098
if { (ac_try="$ac_compile"
 
7099
case "(($ac_try" in
 
7100
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7101
  *) ac_try_echo=$ac_try;;
 
7102
esac
 
7103
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7104
  (eval "$ac_compile") 2>conftest.er1
 
7105
  ac_status=$?
 
7106
  grep -v '^ *+' conftest.er1 >conftest.err
 
7107
  rm -f conftest.er1
 
7108
  cat conftest.err >&5
 
7109
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7110
  (exit $ac_status); } && {
 
7111
         test -z "$ac_c_werror_flag" ||
 
7112
         test ! -s conftest.err
 
7113
       } && test -s conftest.$ac_objext; then
 
7114
  :
 
7115
else
 
7116
  echo "$as_me: failed program was:" >&5
 
7117
sed 's/^/| /' conftest.$ac_ext >&5
 
7118
 
 
7119
        ac_c_werror_flag=$ac_save_c_werror_flag
 
7120
         CFLAGS="-g"
 
7121
         cat >conftest.$ac_ext <<_ACEOF
 
7122
/* confdefs.h.  */
 
7123
_ACEOF
 
7124
cat confdefs.h >>conftest.$ac_ext
 
7125
cat >>conftest.$ac_ext <<_ACEOF
 
7126
/* end confdefs.h.  */
 
7127
 
 
7128
int
 
7129
main ()
 
7130
{
 
7131
 
 
7132
  ;
 
7133
  return 0;
 
7134
}
 
7135
_ACEOF
 
7136
rm -f conftest.$ac_objext
 
7137
if { (ac_try="$ac_compile"
 
7138
case "(($ac_try" in
 
7139
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7140
  *) ac_try_echo=$ac_try;;
 
7141
esac
 
7142
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7143
  (eval "$ac_compile") 2>conftest.er1
 
7144
  ac_status=$?
 
7145
  grep -v '^ *+' conftest.er1 >conftest.err
 
7146
  rm -f conftest.er1
 
7147
  cat conftest.err >&5
 
7148
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7149
  (exit $ac_status); } && {
 
7150
         test -z "$ac_c_werror_flag" ||
 
7151
         test ! -s conftest.err
 
7152
       } && test -s conftest.$ac_objext; then
 
7153
  ac_cv_prog_cc_g=yes
 
7154
else
 
7155
  echo "$as_me: failed program was:" >&5
 
7156
sed 's/^/| /' conftest.$ac_ext >&5
 
7157
 
 
7158
 
 
7159
fi
 
7160
 
 
7161
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7162
fi
 
7163
 
 
7164
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7165
fi
 
7166
 
 
7167
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7168
   ac_c_werror_flag=$ac_save_c_werror_flag
 
7169
fi
 
7170
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
7171
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 
7172
if test "$ac_test_CFLAGS" = set; then
 
7173
  CFLAGS=$ac_save_CFLAGS
 
7174
elif test $ac_cv_prog_cc_g = yes; then
 
7175
  if test "$GCC" = yes; then
 
7176
    CFLAGS="-g -O2"
 
7177
  else
 
7178
    CFLAGS="-g"
 
7179
  fi
 
7180
else
 
7181
  if test "$GCC" = yes; then
 
7182
    CFLAGS="-O2"
 
7183
  else
 
7184
    CFLAGS=
 
7185
  fi
 
7186
fi
 
7187
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
7188
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
7189
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
7190
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7191
else
 
7192
  ac_cv_prog_cc_c89=no
 
7193
ac_save_CC=$CC
 
7194
cat >conftest.$ac_ext <<_ACEOF
 
7195
/* confdefs.h.  */
 
7196
_ACEOF
 
7197
cat confdefs.h >>conftest.$ac_ext
 
7198
cat >>conftest.$ac_ext <<_ACEOF
 
7199
/* end confdefs.h.  */
 
7200
#include <stdarg.h>
 
7201
#include <stdio.h>
 
7202
#include <sys/types.h>
 
7203
#include <sys/stat.h>
 
7204
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
7205
struct buf { int x; };
 
7206
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
7207
static char *e (p, i)
 
7208
     char **p;
 
7209
     int i;
 
7210
{
 
7211
  return p[i];
 
7212
}
 
7213
static char *f (char * (*g) (char **, int), char **p, ...)
 
7214
{
 
7215
  char *s;
 
7216
  va_list v;
 
7217
  va_start (v,p);
 
7218
  s = g (p, va_arg (v,int));
 
7219
  va_end (v);
 
7220
  return s;
 
7221
}
 
7222
 
 
7223
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
7224
   function prototypes and stuff, but not '\xHH' hex character constants.
 
7225
   These don't provoke an error unfortunately, instead are silently treated
 
7226
   as 'x'.  The following induces an error, until -std is added to get
 
7227
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
7228
   array size at least.  It's necessary to write '\x00'==0 to get something
 
7229
   that's true only with -std.  */
 
7230
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
7231
 
 
7232
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
7233
   inside strings and character constants.  */
 
7234
#define FOO(x) 'x'
 
7235
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
7236
 
 
7237
int test (int i, double x);
 
7238
struct s1 {int (*f) (int a);};
 
7239
struct s2 {int (*f) (double a);};
 
7240
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
7241
int argc;
 
7242
char **argv;
 
7243
int
 
7244
main ()
 
7245
{
 
7246
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
7247
  ;
 
7248
  return 0;
 
7249
}
 
7250
_ACEOF
 
7251
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
7252
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
7253
do
 
7254
  CC="$ac_save_CC $ac_arg"
 
7255
  rm -f conftest.$ac_objext
 
7256
if { (ac_try="$ac_compile"
 
7257
case "(($ac_try" in
 
7258
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7259
  *) ac_try_echo=$ac_try;;
 
7260
esac
 
7261
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7262
  (eval "$ac_compile") 2>conftest.er1
 
7263
  ac_status=$?
 
7264
  grep -v '^ *+' conftest.er1 >conftest.err
 
7265
  rm -f conftest.er1
 
7266
  cat conftest.err >&5
 
7267
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7268
  (exit $ac_status); } && {
 
7269
         test -z "$ac_c_werror_flag" ||
 
7270
         test ! -s conftest.err
 
7271
       } && test -s conftest.$ac_objext; then
 
7272
  ac_cv_prog_cc_c89=$ac_arg
 
7273
else
 
7274
  echo "$as_me: failed program was:" >&5
 
7275
sed 's/^/| /' conftest.$ac_ext >&5
 
7276
 
 
7277
 
 
7278
fi
 
7279
 
 
7280
rm -f core conftest.err conftest.$ac_objext
 
7281
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
7282
done
 
7283
rm -f conftest.$ac_ext
 
7284
CC=$ac_save_CC
 
7285
 
 
7286
fi
 
7287
# AC_CACHE_VAL
 
7288
case "x$ac_cv_prog_cc_c89" in
 
7289
  x)
 
7290
    { echo "$as_me:$LINENO: result: none needed" >&5
 
7291
echo "${ECHO_T}none needed" >&6; } ;;
 
7292
  xno)
 
7293
    { echo "$as_me:$LINENO: result: unsupported" >&5
 
7294
echo "${ECHO_T}unsupported" >&6; } ;;
 
7295
  *)
 
7296
    CC="$CC $ac_cv_prog_cc_c89"
 
7297
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
7298
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 
7299
esac
 
7300
 
 
7301
 
 
7302
ac_ext=cpp
 
7303
ac_cpp='$CXXCPP $CPPFLAGS'
 
7304
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7305
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7306
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
7307
 
 
7308
depcc="$CC"   am_compiler_list=
 
7309
 
 
7310
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
7311
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
 
7312
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
7313
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7314
else
 
7315
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
7316
  # We make a subdir and do the tests there.  Otherwise we can end up
 
7317
  # making bogus files that we don't know about and never remove.  For
 
7318
  # instance it was reported that on HP-UX the gcc test will end up
 
7319
  # making a dummy file named `D' -- because `-MD' means `put the output
 
7320
  # in D'.
 
7321
  mkdir conftest.dir
 
7322
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
7323
  # using a relative directory.
 
7324
  cp "$am_depcomp" conftest.dir
 
7325
  cd conftest.dir
 
7326
  # We will build objects and dependencies in a subdirectory because
 
7327
  # it helps to detect inapplicable dependency modes.  For instance
 
7328
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
7329
  # side effect of compilation, but ICC will put the dependencies in
 
7330
  # the current directory while Tru64 will put them in the object
 
7331
  # directory.
 
7332
  mkdir sub
 
7333
 
 
7334
  am_cv_CC_dependencies_compiler_type=none
 
7335
  if test "$am_compiler_list" = ""; then
 
7336
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
7337
  fi
 
7338
  for depmode in $am_compiler_list; do
 
7339
    # Setup a source with many dependencies, because some compilers
 
7340
    # like to wrap large dependency lists on column 80 (with \), and
 
7341
    # we should not choose a depcomp mode which is confused by this.
 
7342
    #
 
7343
    # We need to recreate these files for each test, as the compiler may
 
7344
    # overwrite some of them when testing with obscure command lines.
 
7345
    # This happens at least with the AIX C compiler.
 
7346
    : > sub/conftest.c
 
7347
    for i in 1 2 3 4 5 6; do
 
7348
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
7349
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
7350
      # Solaris 8's {/usr,}/bin/sh.
 
7351
      touch sub/conftst$i.h
 
7352
    done
 
7353
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
7354
 
 
7355
    case $depmode in
 
7356
    nosideeffect)
 
7357
      # after this tag, mechanisms are not by side-effect, so they'll
 
7358
      # only be used when explicitly requested
 
7359
      if test "x$enable_dependency_tracking" = xyes; then
 
7360
        continue
 
7361
      else
 
7362
        break
 
7363
      fi
 
7364
      ;;
 
7365
    none) break ;;
 
7366
    esac
 
7367
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
7368
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
7369
    # handle `-M -o', and we need to detect this.
 
7370
    if depmode=$depmode \
 
7371
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
7372
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
7373
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
7374
         >/dev/null 2>conftest.err &&
 
7375
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
7376
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
7377
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
7378
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
7379
      # icc doesn't choke on unknown options, it will just issue warnings
 
7380
      # or remarks (even with -Werror).  So we grep stderr for any message
 
7381
      # that says an option was ignored or not supported.
 
7382
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
7383
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
7384
      # The diagnosis changed in icc 8.0:
 
7385
      #   icc: Command line remark: option '-MP' not supported
 
7386
      if (grep 'ignoring option' conftest.err ||
 
7387
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
7388
        am_cv_CC_dependencies_compiler_type=$depmode
 
7389
        break
 
7390
      fi
 
7391
    fi
 
7392
  done
 
7393
 
 
7394
  cd ..
 
7395
  rm -rf conftest.dir
 
7396
else
 
7397
  am_cv_CC_dependencies_compiler_type=none
 
7398
fi
 
7399
 
 
7400
fi
 
7401
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
7402
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
 
7403
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
7404
 
 
7405
 if
 
7406
  test "x$enable_dependency_tracking" != xno \
 
7407
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
7408
  am__fastdepCC_TRUE=
 
7409
  am__fastdepCC_FALSE='#'
 
7410
else
 
7411
  am__fastdepCC_TRUE='#'
 
7412
  am__fastdepCC_FALSE=
 
7413
fi
 
7414
 
 
7415
 
 
7416
if test "x$CC" != xcc; then
 
7417
  { echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
 
7418
echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; }
 
7419
else
 
7420
  { echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
 
7421
echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; }
 
7422
fi
 
7423
set dummy $CC; ac_cc=`echo $2 |
 
7424
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 
7425
if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
 
7426
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7427
else
 
7428
  cat >conftest.$ac_ext <<_ACEOF
 
7429
/* confdefs.h.  */
 
7430
_ACEOF
 
7431
cat confdefs.h >>conftest.$ac_ext
 
7432
cat >>conftest.$ac_ext <<_ACEOF
 
7433
/* end confdefs.h.  */
 
7434
 
 
7435
int
 
7436
main ()
 
7437
{
 
7438
 
 
7439
  ;
 
7440
  return 0;
 
7441
}
 
7442
_ACEOF
 
7443
# Make sure it works both with $CC and with simple cc.
 
7444
# We do the test twice because some compilers refuse to overwrite an
 
7445
# existing .o file with -o, though they will create one.
 
7446
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 
7447
rm -f conftest2.*
 
7448
if { (case "(($ac_try" in
 
7449
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7450
  *) ac_try_echo=$ac_try;;
 
7451
esac
 
7452
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7453
  (eval "$ac_try") 2>&5
 
7454
  ac_status=$?
 
7455
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7456
  (exit $ac_status); } &&
 
7457
   test -f conftest2.$ac_objext && { (case "(($ac_try" in
 
7458
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7459
  *) ac_try_echo=$ac_try;;
 
7460
esac
 
7461
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7462
  (eval "$ac_try") 2>&5
 
7463
  ac_status=$?
 
7464
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7465
  (exit $ac_status); };
 
7466
then
 
7467
  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
 
7468
  if test "x$CC" != xcc; then
 
7469
    # Test first that cc exists at all.
 
7470
    if { ac_try='cc -c conftest.$ac_ext >&5'
 
7471
  { (case "(($ac_try" in
 
7472
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7473
  *) ac_try_echo=$ac_try;;
 
7474
esac
 
7475
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7476
  (eval "$ac_try") 2>&5
 
7477
  ac_status=$?
 
7478
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7479
  (exit $ac_status); }; }; then
 
7480
      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 
7481
      rm -f conftest2.*
 
7482
      if { (case "(($ac_try" in
 
7483
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7484
  *) ac_try_echo=$ac_try;;
 
7485
esac
 
7486
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7487
  (eval "$ac_try") 2>&5
 
7488
  ac_status=$?
 
7489
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7490
  (exit $ac_status); } &&
 
7491
         test -f conftest2.$ac_objext && { (case "(($ac_try" in
 
7492
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7493
  *) ac_try_echo=$ac_try;;
 
7494
esac
 
7495
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7496
  (eval "$ac_try") 2>&5
 
7497
  ac_status=$?
 
7498
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7499
  (exit $ac_status); };
 
7500
      then
 
7501
        # cc works too.
 
7502
        :
 
7503
      else
 
7504
        # cc exists but doesn't like -o.
 
7505
        eval ac_cv_prog_cc_${ac_cc}_c_o=no
 
7506
      fi
 
7507
    fi
 
7508
  fi
 
7509
else
 
7510
  eval ac_cv_prog_cc_${ac_cc}_c_o=no
 
7511
fi
 
7512
rm -f core conftest*
 
7513
 
 
7514
fi
 
7515
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
 
7516
  { echo "$as_me:$LINENO: result: yes" >&5
 
7517
echo "${ECHO_T}yes" >&6; }
 
7518
else
 
7519
  { echo "$as_me:$LINENO: result: no" >&5
 
7520
echo "${ECHO_T}no" >&6; }
 
7521
 
 
7522
cat >>confdefs.h <<\_ACEOF
 
7523
#define NO_MINUS_C_MINUS_O 1
 
7524
_ACEOF
 
7525
 
 
7526
fi
 
7527
 
 
7528
# FIXME: we rely on the cache variable name because
 
7529
# there is no other way.
 
7530
set dummy $CC
 
7531
ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 
7532
if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
 
7533
   # Losing compiler, so override with the script.
 
7534
   # FIXME: It is wrong to rewrite CC.
 
7535
   # But if we don't then we get into trouble of one sort or another.
 
7536
   # A longer-term fix would be to have automake use am__CC in this case,
 
7537
   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
 
7538
   CC="$am_aux_dir/compile $CC"
 
7539
fi
 
7540
 
 
7541
 
 
7542
{ echo "$as_me:$LINENO: Testing -Wno-pointer-sign" >&5
 
7543
echo "$as_me: Testing -Wno-pointer-sign" >&6;}
 
7544
if test "$GCC" = "yes"; then
 
7545
  # Enable some warnings from gcc.
 
7546
 
 
7547
  ac_ext=c
 
7548
ac_cpp='$CPP $CPPFLAGS'
 
7549
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7550
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7551
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7552
 
 
7553
  # -Wno-pointer-sign is probably new in gcc 4.0; certainly it isn't accepted
 
7554
  # by gcc 2.95.
 
7555
  ink_svd_CFLAGS="$CFLAGS"
 
7556
  CFLAGS="-Wno-pointer-sign $CFLAGS"
 
7557
  cat >conftest.$ac_ext <<_ACEOF
 
7558
/* confdefs.h.  */
 
7559
_ACEOF
 
7560
cat confdefs.h >>conftest.$ac_ext
 
7561
cat >>conftest.$ac_ext <<_ACEOF
 
7562
/* end confdefs.h.  */
 
7563
 
 
7564
int
 
7565
main ()
 
7566
{
 
7567
 
 
7568
  ;
 
7569
  return 0;
 
7570
}
 
7571
_ACEOF
 
7572
rm -f conftest.$ac_objext
 
7573
if { (ac_try="$ac_compile"
 
7574
case "(($ac_try" in
 
7575
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7576
  *) ac_try_echo=$ac_try;;
 
7577
esac
 
7578
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7579
  (eval "$ac_compile") 2>conftest.er1
 
7580
  ac_status=$?
 
7581
  grep -v '^ *+' conftest.er1 >conftest.err
 
7582
  rm -f conftest.er1
 
7583
  cat conftest.err >&5
 
7584
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7585
  (exit $ac_status); } && {
 
7586
         test -z "$ac_c_werror_flag" ||
 
7587
         test ! -s conftest.err
 
7588
       } && test -s conftest.$ac_objext; then
 
7589
  { echo "$as_me:$LINENO:  compiler supports -Wno-pointer-sign" >&5
 
7590
echo "$as_me:  compiler supports -Wno-pointer-sign" >&6;}
 
7591
else
 
7592
  echo "$as_me: failed program was:" >&5
 
7593
sed 's/^/| /' conftest.$ac_ext >&5
 
7594
 
 
7595
        CFLAGS="$ink_svd_CFLAGS"
 
7596
fi
 
7597
 
 
7598
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7599
  CFLAGS="-Wall -Wformat-security -W -D_FORTIFY_SOURCE=2 $CFLAGS"
 
7600
  ac_ext=cpp
 
7601
ac_cpp='$CXXCPP $CPPFLAGS'
 
7602
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7603
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7604
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
7605
 
 
7606
fi
 
7607
 
6585
7608
ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
6586
7609
 
6587
7610
if test -n "$ac_tool_prefix"; then
6685
7708
        { echo "$as_me:$LINENO: checking GNU compiler version" >&5
6686
7709
echo $ECHO_N "checking GNU compiler version... $ECHO_C" >&6; }
6687
7710
 
6688
 
        cc_version="`$CXX $CXXFLAGS -v 2>&1 </dev/null |grep 'gcc version' |\
 
7711
        # Don't pass CXXFLAGS to the following CXX command as some
 
7712
        # of them can't be specified along with '-v'.
 
7713
        cc_version="`$CXX -v 2>&1 </dev/null |grep 'gcc version' |\
6689
7714
                sed 's/.*gcc version \([-a-z0-9\.]*\).*/\1/'`"
6690
7715
 
6691
7716
        { echo "$as_me:$LINENO: result: $cc_version" >&5
6714
7739
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
6715
7740
_ACEOF
6716
7741
 
6717
 
ALL_LINGUAS="am az be bg ca cs da de dz el en_GB en_CA en_US@piglatin eo es es_MX et fi fr ga gl hr hu it ja km ko lt mk mn nb ne nl nn pa pl pt pt_BR ru rw sk sl sq sr sr@Latn sv th tr uk vi zh_CN zh_TW"
 
7742
ALL_LINGUAS="am az be bg bn br ca ca@valencia cs da de dz el en_AU en_CA en_GB en_US@piglatin eo es_MX es et eu fi fr ga gl he hr hu id it ja km ko lt mk mn nb ne nl nn pa pl pt_BR pt ro ru rw sk sl sq sr@Latn sr sv th tr uk vi zh_CN zh_TW"
6718
7743
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
6719
7744
 
6720
7745
 
8348
9373
   { (exit 1); exit 1; }; }
8349
9374
fi
8350
9375
 
 
9376
# Extract the first word of "msgfmt", so it can be a program name with args.
 
9377
set dummy msgfmt; ac_word=$2
 
9378
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9379
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
9380
if test "${ac_cv_path_MSGFMT+set}" = set; then
 
9381
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9382
else
 
9383
  case $MSGFMT in
 
9384
  [\\/]* | ?:[\\/]*)
 
9385
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
 
9386
  ;;
 
9387
  *)
 
9388
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9389
for as_dir in $PATH
 
9390
do
 
9391
  IFS=$as_save_IFS
 
9392
  test -z "$as_dir" && as_dir=.
 
9393
  for ac_exec_ext in '' $ac_executable_extensions; do
 
9394
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9395
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
9396
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9397
    break 2
 
9398
  fi
 
9399
done
 
9400
done
 
9401
IFS=$as_save_IFS
 
9402
 
 
9403
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="msgfmt"
 
9404
  ;;
 
9405
esac
 
9406
fi
 
9407
MSGFMT=$ac_cv_path_MSGFMT
 
9408
if test -n "$MSGFMT"; then
 
9409
  { echo "$as_me:$LINENO: result: $MSGFMT" >&5
 
9410
echo "${ECHO_T}$MSGFMT" >&6; }
 
9411
else
 
9412
  { echo "$as_me:$LINENO: result: no" >&5
 
9413
echo "${ECHO_T}no" >&6; }
 
9414
fi
 
9415
 
 
9416
 
 
9417
# Extract the first word of "gmsgfmt", so it can be a program name with args.
 
9418
set dummy gmsgfmt; ac_word=$2
 
9419
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9420
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
9421
if test "${ac_cv_path_GMSGFMT+set}" = set; then
 
9422
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9423
else
 
9424
  case $GMSGFMT in
 
9425
  [\\/]* | ?:[\\/]*)
 
9426
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
 
9427
  ;;
 
9428
  *)
 
9429
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9430
for as_dir in $PATH
 
9431
do
 
9432
  IFS=$as_save_IFS
 
9433
  test -z "$as_dir" && as_dir=.
 
9434
  for ac_exec_ext in '' $ac_executable_extensions; do
 
9435
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9436
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
9437
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9438
    break 2
 
9439
  fi
 
9440
done
 
9441
done
 
9442
IFS=$as_save_IFS
 
9443
 
 
9444
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
 
9445
  ;;
 
9446
esac
 
9447
fi
 
9448
GMSGFMT=$ac_cv_path_GMSGFMT
 
9449
if test -n "$GMSGFMT"; then
 
9450
  { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 
9451
echo "${ECHO_T}$GMSGFMT" >&6; }
 
9452
else
 
9453
  { echo "$as_me:$LINENO: result: no" >&5
 
9454
echo "${ECHO_T}no" >&6; }
 
9455
fi
 
9456
 
 
9457
 
 
9458
 
8351
9459
{ echo "$as_me:$LINENO: checking for png_read_info in -lpng" >&5
8352
9460
echo $ECHO_N "checking for png_read_info in -lpng... $ECHO_C" >&6; }
8353
9461
if test "${ac_cv_lib_png_png_read_info+set}" = set; then
10367
11475
esac
10368
11476
{ echo "$as_me:$LINENO: result: $platform_win32" >&5
10369
11477
echo "${ECHO_T}$platform_win32" >&6; }
10370
 
 
10371
 
 
10372
 
if test "$platform_win32" = "yes"; then
 
11478
 if test "$platform_win32" = "yes"; then
10373
11479
  PLATFORM_WIN32_TRUE=
10374
11480
  PLATFORM_WIN32_FALSE='#'
10375
11481
else
10378
11484
fi
10379
11485
 
10380
11486
 
 
11487
{ echo "$as_me:$LINENO: checking for Solaris 2.8 platform" >&5
 
11488
echo $ECHO_N "checking for Solaris 2.8 platform... $ECHO_C" >&6; }
 
11489
case "$host" in
 
11490
  *-solaris2.8)
 
11491
    platform_solaris_2_8=yes
 
11492
    CFLAGS="$CFLAGS -DSOLARIS_2_8"
 
11493
    CXXFLAGS="$CXXFLAGS -DSOLARIS_2_8"
 
11494
    ;;
 
11495
  *)
 
11496
    platform_solaris_2_8=no
 
11497
    ;;
 
11498
esac
 
11499
{ echo "$as_me:$LINENO: result: $platform_solaris_2_8" >&5
 
11500
echo "${ECHO_T}$platform_solaris_2_8" >&6; }
 
11501
 if test "$platform_solaris_2_8" = "yes"; then
 
11502
  PLATFORM_SOLARIS_2_8_TRUE=
 
11503
  PLATFORM_SOLARIS_2_8_FALSE='#'
 
11504
else
 
11505
  PLATFORM_SOLARIS_2_8_TRUE='#'
 
11506
  PLATFORM_SOLARIS_2_8_FALSE=
 
11507
fi
 
11508
 
 
11509
 
10381
11510
 
10382
11511
 
10383
11512
# Check whether --with-xft was given.
10803
11932
 
10804
11933
 
10805
11934
 
10806
 
 
10807
 
 
10808
 
if test "x$xft_ok" = "xyes"; then
 
11935
 if test "x$xft_ok" = "xyes"; then
10809
11936
  USE_XFT_TRUE=
10810
11937
  USE_XFT_FALSE='#'
10811
11938
else
10901
12028
 
10902
12029
 
10903
12030
 
10904
 
# Check whether --with-gnome-print was given.
10905
 
if test "${with_gnome_print+set}" = set; then
10906
 
  withval=$with_gnome_print; with_gp=$withval
10907
 
else
10908
 
  with_gp=auto
10909
 
fi
10910
 
 
10911
 
 
10912
 
if test "x$with_gp" = "xyes"; then
10913
 
 
10914
 
pkg_failed=no
10915
 
{ echo "$as_me:$LINENO: checking for GNOME_PRINT" >&5
10916
 
echo $ECHO_N "checking for GNOME_PRINT... $ECHO_C" >&6; }
10917
 
 
10918
 
if test -n "$PKG_CONFIG"; then
10919
 
    if test -n "$GNOME_PRINT_CFLAGS"; then
10920
 
        pkg_cv_GNOME_PRINT_CFLAGS="$GNOME_PRINT_CFLAGS"
10921
 
    else
10922
 
        if test -n "$PKG_CONFIG" && \
10923
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprint-2.2 >= 1.116.0  libgnomeprintui-2.2 >= 1.116.0\"") >&5
10924
 
  ($PKG_CONFIG --exists --print-errors "libgnomeprint-2.2 >= 1.116.0  libgnomeprintui-2.2 >= 1.116.0") 2>&5
10925
 
  ac_status=$?
10926
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10927
 
  (exit $ac_status); }; then
10928
 
  pkg_cv_GNOME_PRINT_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprint-2.2 >= 1.116.0  libgnomeprintui-2.2 >= 1.116.0" 2>/dev/null`
10929
 
else
10930
 
  pkg_failed=yes
10931
 
fi
10932
 
    fi
10933
 
else
10934
 
        pkg_failed=untried
10935
 
fi
10936
 
if test -n "$PKG_CONFIG"; then
10937
 
    if test -n "$GNOME_PRINT_LIBS"; then
10938
 
        pkg_cv_GNOME_PRINT_LIBS="$GNOME_PRINT_LIBS"
10939
 
    else
10940
 
        if test -n "$PKG_CONFIG" && \
10941
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprint-2.2 >= 1.116.0  libgnomeprintui-2.2 >= 1.116.0\"") >&5
10942
 
  ($PKG_CONFIG --exists --print-errors "libgnomeprint-2.2 >= 1.116.0  libgnomeprintui-2.2 >= 1.116.0") 2>&5
10943
 
  ac_status=$?
10944
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10945
 
  (exit $ac_status); }; then
10946
 
  pkg_cv_GNOME_PRINT_LIBS=`$PKG_CONFIG --libs "libgnomeprint-2.2 >= 1.116.0  libgnomeprintui-2.2 >= 1.116.0" 2>/dev/null`
10947
 
else
10948
 
  pkg_failed=yes
10949
 
fi
10950
 
    fi
10951
 
else
10952
 
        pkg_failed=untried
10953
 
fi
10954
 
 
10955
 
 
10956
 
 
10957
 
if test $pkg_failed = yes; then
10958
 
 
10959
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10960
 
        _pkg_short_errors_supported=yes
10961
 
else
10962
 
        _pkg_short_errors_supported=no
10963
 
fi
10964
 
        if test $_pkg_short_errors_supported = yes; then
10965
 
                GNOME_PRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprint-2.2 >= 1.116.0  libgnomeprintui-2.2 >= 1.116.0"`
10966
 
        else
10967
 
                GNOME_PRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprint-2.2 >= 1.116.0  libgnomeprintui-2.2 >= 1.116.0"`
10968
 
        fi
10969
 
        # Put the nasty error message in config.log where it belongs
10970
 
        echo "$GNOME_PRINT_PKG_ERRORS" >&5
10971
 
 
10972
 
        { echo "$as_me:$LINENO: result: no" >&5
10973
 
echo "${ECHO_T}no" >&6; }
10974
 
                gp=no
10975
 
elif test $pkg_failed = untried; then
10976
 
        gp=no
10977
 
else
10978
 
        GNOME_PRINT_CFLAGS=$pkg_cv_GNOME_PRINT_CFLAGS
10979
 
        GNOME_PRINT_LIBS=$pkg_cv_GNOME_PRINT_LIBS
10980
 
        { echo "$as_me:$LINENO: result: yes" >&5
10981
 
echo "${ECHO_T}yes" >&6; }
10982
 
        gp=yes
10983
 
fi
10984
 
        if test "x$gp" != "xyes"; then
10985
 
                                if test "x$with_gp" = "xyes"; then
10986
 
                                                { { echo "$as_me:$LINENO: error: --with-gnome-print was specified, but appropriate libgnomeprint development packages could not be found" >&5
10987
 
echo "$as_me: error: --with-gnome-print was specified, but appropriate libgnomeprint development packages could not be found" >&2;}
10988
 
   { (exit 1); exit 1; }; }
10989
 
                else
10990
 
                        # gp is no, tell us for the log file
10991
 
                        { echo "$as_me:$LINENO: result: $gp" >&5
10992
 
echo "${ECHO_T}$gp" >&6; }
10993
 
                fi
10994
 
        fi
10995
 
else
10996
 
                gp=no
10997
 
fi
10998
 
 
10999
 
 
11000
 
 
11001
 
 
11002
 
 
11003
 
 
11004
 
if test "x$gp" = "xyes"; then
11005
 
  USE_GNOME_PRINT_TRUE=
11006
 
  USE_GNOME_PRINT_FALSE='#'
11007
 
else
11008
 
  USE_GNOME_PRINT_TRUE='#'
11009
 
  USE_GNOME_PRINT_FALSE=
11010
 
fi
11011
 
 
11012
 
if test "x$gp" = "xyes"; then
11013
 
 
11014
 
cat >>confdefs.h <<\_ACEOF
11015
 
#define WITH_GNOME_PRINT 1
11016
 
_ACEOF
11017
 
 
11018
 
fi
11019
 
 
11020
 
 
11021
12031
 
11022
12032
# Check whether --with-gnome-vfs was given.
11023
12033
if test "${with_gnome_vfs+set}" = set; then
11114
12124
        fi
11115
12125
fi
11116
12126
 
11117
 
 
11118
 
 
11119
 
if test "x$gnome_vfs" = "xyes"; then
 
12127
 if test "x$gnome_vfs" = "xyes"; then
11120
12128
  USE_GNOME_VFS_TRUE=
11121
12129
  USE_GNOME_VFS_FALSE='#'
11122
12130
else
11531
12539
else
11532
12540
        ij=no
11533
12541
fi
11534
 
 
11535
 
 
11536
 
if test "$with_ij" = "yes"; then
 
12542
 if test "$with_ij" = "yes"; then
11537
12543
  INKJAR_TRUE=
11538
12544
  INKJAR_FALSE='#'
11539
12545
else
11685
12691
    CFLAGS="$oldCFLAGS"
11686
12692
    LIBS="$oldLIBS"
11687
12693
fi
11688
 
 
11689
 
 
11690
 
if test "x$with_perl" = "xyes"; then
 
12694
 if test "x$with_perl" = "xyes"; then
11691
12695
  WITH_PERL_TRUE=
11692
12696
  WITH_PERL_FALSE='#'
11693
12697
else
11831
12835
    CFLAGS="$oldCFLAGS"
11832
12836
    LIBS="$oldLIBS"
11833
12837
fi
11834
 
 
11835
 
 
11836
 
if test "x$with_python" = "xyes"; then
 
12838
 if test "x$with_python" = "xyes"; then
11837
12839
  WITH_PYTHON_TRUE=
11838
12840
  WITH_PYTHON_FALSE='#'
11839
12841
else
11950
12952
_ACEOF
11951
12953
 
11952
12954
fi
11953
 
 
11954
 
 
11955
 
if test "x$lcms" = "xyes"; then
 
12955
 if test "x$lcms" = "xyes"; then
11956
12956
  USE_LCMS_TRUE=
11957
12957
  USE_LCMS_FALSE='#'
11958
12958
else
11964
12964
 
11965
12965
 
11966
12966
 
 
12967
# Check whether --enable-poppler-cairo was given.
 
12968
if test "${enable_poppler_cairo+set}" = set; then
 
12969
  enableval=$enable_poppler_cairo; enable_poppler_cairo=$enableval
 
12970
else
 
12971
  enable_poppler_cairo=yes
 
12972
fi
 
12973
 
 
12974
 
 
12975
POPPLER_CFLAGS=""
 
12976
 
 
12977
pkg_failed=no
 
12978
{ echo "$as_me:$LINENO: checking for POPPLER" >&5
 
12979
echo $ECHO_N "checking for POPPLER... $ECHO_C" >&6; }
 
12980
 
 
12981
if test -n "$PKG_CONFIG"; then
 
12982
    if test -n "$POPPLER_CFLAGS"; then
 
12983
        pkg_cv_POPPLER_CFLAGS="$POPPLER_CFLAGS"
 
12984
    else
 
12985
        if test -n "$PKG_CONFIG" && \
 
12986
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"poppler >= 0.5.9\"") >&5
 
12987
  ($PKG_CONFIG --exists --print-errors "poppler >= 0.5.9") 2>&5
 
12988
  ac_status=$?
 
12989
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12990
  (exit $ac_status); }; then
 
12991
  pkg_cv_POPPLER_CFLAGS=`$PKG_CONFIG --cflags "poppler >= 0.5.9" 2>/dev/null`
 
12992
else
 
12993
  pkg_failed=yes
 
12994
fi
 
12995
    fi
 
12996
else
 
12997
        pkg_failed=untried
 
12998
fi
 
12999
if test -n "$PKG_CONFIG"; then
 
13000
    if test -n "$POPPLER_LIBS"; then
 
13001
        pkg_cv_POPPLER_LIBS="$POPPLER_LIBS"
 
13002
    else
 
13003
        if test -n "$PKG_CONFIG" && \
 
13004
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"poppler >= 0.5.9\"") >&5
 
13005
  ($PKG_CONFIG --exists --print-errors "poppler >= 0.5.9") 2>&5
 
13006
  ac_status=$?
 
13007
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13008
  (exit $ac_status); }; then
 
13009
  pkg_cv_POPPLER_LIBS=`$PKG_CONFIG --libs "poppler >= 0.5.9" 2>/dev/null`
 
13010
else
 
13011
  pkg_failed=yes
 
13012
fi
 
13013
    fi
 
13014
else
 
13015
        pkg_failed=untried
 
13016
fi
 
13017
 
 
13018
 
 
13019
 
 
13020
if test $pkg_failed = yes; then
 
13021
 
 
13022
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
13023
        _pkg_short_errors_supported=yes
 
13024
else
 
13025
        _pkg_short_errors_supported=no
 
13026
fi
 
13027
        if test $_pkg_short_errors_supported = yes; then
 
13028
                POPPLER_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "poppler >= 0.5.9"`
 
13029
        else
 
13030
                POPPLER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "poppler >= 0.5.9"`
 
13031
        fi
 
13032
        # Put the nasty error message in config.log where it belongs
 
13033
        echo "$POPPLER_PKG_ERRORS" >&5
 
13034
 
 
13035
        { echo "$as_me:$LINENO: result: no" >&5
 
13036
echo "${ECHO_T}no" >&6; }
 
13037
                poppler=no
 
13038
elif test $pkg_failed = untried; then
 
13039
        poppler=no
 
13040
else
 
13041
        POPPLER_CFLAGS=$pkg_cv_POPPLER_CFLAGS
 
13042
        POPPLER_LIBS=$pkg_cv_POPPLER_LIBS
 
13043
        { echo "$as_me:$LINENO: result: yes" >&5
 
13044
echo "${ECHO_T}yes" >&6; }
 
13045
        poppler=yes
 
13046
fi
 
13047
 
 
13048
if test "x$poppler" = "xyes"; then
 
13049
                POPPLER_LIBS="-lpoppler "
 
13050
 
 
13051
pkg_failed=no
 
13052
{ echo "$as_me:$LINENO: checking for POPPLER_GLIB" >&5
 
13053
echo $ECHO_N "checking for POPPLER_GLIB... $ECHO_C" >&6; }
 
13054
 
 
13055
if test -n "$PKG_CONFIG"; then
 
13056
    if test -n "$POPPLER_GLIB_CFLAGS"; then
 
13057
        pkg_cv_POPPLER_GLIB_CFLAGS="$POPPLER_GLIB_CFLAGS"
 
13058
    else
 
13059
        if test -n "$PKG_CONFIG" && \
 
13060
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"poppler-glib >= 0.5.9\"") >&5
 
13061
  ($PKG_CONFIG --exists --print-errors "poppler-glib >= 0.5.9") 2>&5
 
13062
  ac_status=$?
 
13063
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13064
  (exit $ac_status); }; then
 
13065
  pkg_cv_POPPLER_GLIB_CFLAGS=`$PKG_CONFIG --cflags "poppler-glib >= 0.5.9" 2>/dev/null`
 
13066
else
 
13067
  pkg_failed=yes
 
13068
fi
 
13069
    fi
 
13070
else
 
13071
        pkg_failed=untried
 
13072
fi
 
13073
if test -n "$PKG_CONFIG"; then
 
13074
    if test -n "$POPPLER_GLIB_LIBS"; then
 
13075
        pkg_cv_POPPLER_GLIB_LIBS="$POPPLER_GLIB_LIBS"
 
13076
    else
 
13077
        if test -n "$PKG_CONFIG" && \
 
13078
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"poppler-glib >= 0.5.9\"") >&5
 
13079
  ($PKG_CONFIG --exists --print-errors "poppler-glib >= 0.5.9") 2>&5
 
13080
  ac_status=$?
 
13081
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13082
  (exit $ac_status); }; then
 
13083
  pkg_cv_POPPLER_GLIB_LIBS=`$PKG_CONFIG --libs "poppler-glib >= 0.5.9" 2>/dev/null`
 
13084
else
 
13085
  pkg_failed=yes
 
13086
fi
 
13087
    fi
 
13088
else
 
13089
        pkg_failed=untried
 
13090
fi
 
13091
 
 
13092
 
 
13093
 
 
13094
if test $pkg_failed = yes; then
 
13095
 
 
13096
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
13097
        _pkg_short_errors_supported=yes
 
13098
else
 
13099
        _pkg_short_errors_supported=no
 
13100
fi
 
13101
        if test $_pkg_short_errors_supported = yes; then
 
13102
                POPPLER_GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "poppler-glib >= 0.5.9"`
 
13103
        else
 
13104
                POPPLER_GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "poppler-glib >= 0.5.9"`
 
13105
        fi
 
13106
        # Put the nasty error message in config.log where it belongs
 
13107
        echo "$POPPLER_GLIB_PKG_ERRORS" >&5
 
13108
 
 
13109
        { echo "$as_me:$LINENO: result: no" >&5
 
13110
echo "${ECHO_T}no" >&6; }
 
13111
                poppler_glib=no
 
13112
elif test $pkg_failed = untried; then
 
13113
        poppler_glib=no
 
13114
else
 
13115
        POPPLER_GLIB_CFLAGS=$pkg_cv_POPPLER_GLIB_CFLAGS
 
13116
        POPPLER_GLIB_LIBS=$pkg_cv_POPPLER_GLIB_LIBS
 
13117
        { echo "$as_me:$LINENO: result: yes" >&5
 
13118
echo "${ECHO_T}yes" >&6; }
 
13119
        poppler_glib=yes
 
13120
fi
 
13121
        if test "x$poppler_glib" = "xyes"; then
 
13122
 
 
13123
pkg_failed=no
 
13124
{ echo "$as_me:$LINENO: checking for CAIRO_SVG" >&5
 
13125
echo $ECHO_N "checking for CAIRO_SVG... $ECHO_C" >&6; }
 
13126
 
 
13127
if test -n "$PKG_CONFIG"; then
 
13128
    if test -n "$CAIRO_SVG_CFLAGS"; then
 
13129
        pkg_cv_CAIRO_SVG_CFLAGS="$CAIRO_SVG_CFLAGS"
 
13130
    else
 
13131
        if test -n "$PKG_CONFIG" && \
 
13132
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo-svg\"") >&5
 
13133
  ($PKG_CONFIG --exists --print-errors "cairo-svg") 2>&5
 
13134
  ac_status=$?
 
13135
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13136
  (exit $ac_status); }; then
 
13137
  pkg_cv_CAIRO_SVG_CFLAGS=`$PKG_CONFIG --cflags "cairo-svg" 2>/dev/null`
 
13138
else
 
13139
  pkg_failed=yes
 
13140
fi
 
13141
    fi
 
13142
else
 
13143
        pkg_failed=untried
 
13144
fi
 
13145
if test -n "$PKG_CONFIG"; then
 
13146
    if test -n "$CAIRO_SVG_LIBS"; then
 
13147
        pkg_cv_CAIRO_SVG_LIBS="$CAIRO_SVG_LIBS"
 
13148
    else
 
13149
        if test -n "$PKG_CONFIG" && \
 
13150
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo-svg\"") >&5
 
13151
  ($PKG_CONFIG --exists --print-errors "cairo-svg") 2>&5
 
13152
  ac_status=$?
 
13153
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13154
  (exit $ac_status); }; then
 
13155
  pkg_cv_CAIRO_SVG_LIBS=`$PKG_CONFIG --libs "cairo-svg" 2>/dev/null`
 
13156
else
 
13157
  pkg_failed=yes
 
13158
fi
 
13159
    fi
 
13160
else
 
13161
        pkg_failed=untried
 
13162
fi
 
13163
 
 
13164
 
 
13165
 
 
13166
if test $pkg_failed = yes; then
 
13167
 
 
13168
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
13169
        _pkg_short_errors_supported=yes
 
13170
else
 
13171
        _pkg_short_errors_supported=no
 
13172
fi
 
13173
        if test $_pkg_short_errors_supported = yes; then
 
13174
                CAIRO_SVG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo-svg"`
 
13175
        else
 
13176
                CAIRO_SVG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo-svg"`
 
13177
        fi
 
13178
        # Put the nasty error message in config.log where it belongs
 
13179
        echo "$CAIRO_SVG_PKG_ERRORS" >&5
 
13180
 
 
13181
        { echo "$as_me:$LINENO: result: no" >&5
 
13182
echo "${ECHO_T}no" >&6; }
 
13183
                cairo_svg=no
 
13184
elif test $pkg_failed = untried; then
 
13185
        cairo_svg=no
 
13186
else
 
13187
        CAIRO_SVG_CFLAGS=$pkg_cv_CAIRO_SVG_CFLAGS
 
13188
        CAIRO_SVG_LIBS=$pkg_cv_CAIRO_SVG_LIBS
 
13189
        { echo "$as_me:$LINENO: result: yes" >&5
 
13190
echo "${ECHO_T}yes" >&6; }
 
13191
        cairo_svg=yes
 
13192
fi
 
13193
                if test "x$cairo_svg" = "xyes"; then
 
13194
                        POPPLER_LIBS="$POPPLER_LIBS -lpoppler-glib "
 
13195
                fi
 
13196
        fi
 
13197
        if test "x$enable_poppler_cairo" = "xyes"; then
 
13198
 
 
13199
pkg_failed=no
 
13200
{ echo "$as_me:$LINENO: checking for POPPLER_CAIRO" >&5
 
13201
echo $ECHO_N "checking for POPPLER_CAIRO... $ECHO_C" >&6; }
 
13202
 
 
13203
if test -n "$PKG_CONFIG"; then
 
13204
    if test -n "$POPPLER_CAIRO_CFLAGS"; then
 
13205
        pkg_cv_POPPLER_CAIRO_CFLAGS="$POPPLER_CAIRO_CFLAGS"
 
13206
    else
 
13207
        if test -n "$PKG_CONFIG" && \
 
13208
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"poppler-cairo >= 0.5.9\"") >&5
 
13209
  ($PKG_CONFIG --exists --print-errors "poppler-cairo >= 0.5.9") 2>&5
 
13210
  ac_status=$?
 
13211
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13212
  (exit $ac_status); }; then
 
13213
  pkg_cv_POPPLER_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "poppler-cairo >= 0.5.9" 2>/dev/null`
 
13214
else
 
13215
  pkg_failed=yes
 
13216
fi
 
13217
    fi
 
13218
else
 
13219
        pkg_failed=untried
 
13220
fi
 
13221
if test -n "$PKG_CONFIG"; then
 
13222
    if test -n "$POPPLER_CAIRO_LIBS"; then
 
13223
        pkg_cv_POPPLER_CAIRO_LIBS="$POPPLER_CAIRO_LIBS"
 
13224
    else
 
13225
        if test -n "$PKG_CONFIG" && \
 
13226
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"poppler-cairo >= 0.5.9\"") >&5
 
13227
  ($PKG_CONFIG --exists --print-errors "poppler-cairo >= 0.5.9") 2>&5
 
13228
  ac_status=$?
 
13229
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13230
  (exit $ac_status); }; then
 
13231
  pkg_cv_POPPLER_CAIRO_LIBS=`$PKG_CONFIG --libs "poppler-cairo >= 0.5.9" 2>/dev/null`
 
13232
else
 
13233
  pkg_failed=yes
 
13234
fi
 
13235
    fi
 
13236
else
 
13237
        pkg_failed=untried
 
13238
fi
 
13239
 
 
13240
 
 
13241
 
 
13242
if test $pkg_failed = yes; then
 
13243
 
 
13244
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
13245
        _pkg_short_errors_supported=yes
 
13246
else
 
13247
        _pkg_short_errors_supported=no
 
13248
fi
 
13249
        if test $_pkg_short_errors_supported = yes; then
 
13250
                POPPLER_CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "poppler-cairo >= 0.5.9"`
 
13251
        else
 
13252
                POPPLER_CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "poppler-cairo >= 0.5.9"`
 
13253
        fi
 
13254
        # Put the nasty error message in config.log where it belongs
 
13255
        echo "$POPPLER_CAIRO_PKG_ERRORS" >&5
 
13256
 
 
13257
        { echo "$as_me:$LINENO: result: no" >&5
 
13258
echo "${ECHO_T}no" >&6; }
 
13259
                poppler_cairo=no
 
13260
elif test $pkg_failed = untried; then
 
13261
        poppler_cairo=no
 
13262
else
 
13263
        POPPLER_CAIRO_CFLAGS=$pkg_cv_POPPLER_CAIRO_CFLAGS
 
13264
        POPPLER_CAIRO_LIBS=$pkg_cv_POPPLER_CAIRO_LIBS
 
13265
        { echo "$as_me:$LINENO: result: yes" >&5
 
13266
echo "${ECHO_T}yes" >&6; }
 
13267
        poppler_cairo=yes
 
13268
fi
 
13269
                if test "x$poppler_glib" = "xyes" -a "x$poppler_cairo" = "xyes" -a \
 
13270
                        "x$cairo_svg" = "xno"
 
13271
                then
 
13272
                        POPPLER_LIBS="$POPPLER_LIBS -lpoppler-glib "
 
13273
                fi
 
13274
        fi
 
13275
fi
 
13276
 
 
13277
if test "x$poppler" = "xyes"; then
 
13278
        LIBS="$LIBS $POPPLER_LIBS"
 
13279
 
 
13280
cat >>confdefs.h <<\_ACEOF
 
13281
#define HAVE_POPPLER 1
 
13282
_ACEOF
 
13283
 
 
13284
fi
 
13285
if test "x$poppler_cairo" = "xyes" -a "x$poppler_glib" = "xyes"; then
 
13286
 
 
13287
cat >>confdefs.h <<\_ACEOF
 
13288
#define HAVE_POPPLER_CAIRO 1
 
13289
_ACEOF
 
13290
 
 
13291
fi
 
13292
if test "x$poppler_glib" = "xyes" -a "x$cairo_svg" = "xyes"; then
 
13293
 
 
13294
cat >>confdefs.h <<\_ACEOF
 
13295
#define HAVE_POPPLER_GLIB 1
 
13296
_ACEOF
 
13297
 
 
13298
fi
 
13299
 
 
13300
 
 
13301
 
 
13302
 
11967
13303
with_inkboard="no"
11968
13304
with_inkboard_ssl="no"
11969
13305
 
12196
13532
        with_inkboard="no"
12197
13533
fi
12198
13534
 
12199
 
 
12200
 
 
12201
 
if test "x$with_inkboard" = "xyes"; then
 
13535
 if test "x$with_inkboard" = "xyes"; then
12202
13536
  WITH_INKBOARD_TRUE=
12203
13537
  WITH_INKBOARD_FALSE='#'
12204
13538
else
12210
13544
 
12211
13545
 
12212
13546
 
 
13547
 
 
13548
pkg_failed=no
 
13549
{ echo "$as_me:$LINENO: checking for LIBWPG" >&5
 
13550
echo $ECHO_N "checking for LIBWPG... $ECHO_C" >&6; }
 
13551
 
 
13552
if test -n "$PKG_CONFIG"; then
 
13553
    if test -n "$LIBWPG_CFLAGS"; then
 
13554
        pkg_cv_LIBWPG_CFLAGS="$LIBWPG_CFLAGS"
 
13555
    else
 
13556
        if test -n "$PKG_CONFIG" && \
 
13557
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libwpg-0.1 libwpg-stream-0.1\"") >&5
 
13558
  ($PKG_CONFIG --exists --print-errors "libwpg-0.1 libwpg-stream-0.1") 2>&5
 
13559
  ac_status=$?
 
13560
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13561
  (exit $ac_status); }; then
 
13562
  pkg_cv_LIBWPG_CFLAGS=`$PKG_CONFIG --cflags "libwpg-0.1 libwpg-stream-0.1" 2>/dev/null`
 
13563
else
 
13564
  pkg_failed=yes
 
13565
fi
 
13566
    fi
 
13567
else
 
13568
        pkg_failed=untried
 
13569
fi
 
13570
if test -n "$PKG_CONFIG"; then
 
13571
    if test -n "$LIBWPG_LIBS"; then
 
13572
        pkg_cv_LIBWPG_LIBS="$LIBWPG_LIBS"
 
13573
    else
 
13574
        if test -n "$PKG_CONFIG" && \
 
13575
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libwpg-0.1 libwpg-stream-0.1\"") >&5
 
13576
  ($PKG_CONFIG --exists --print-errors "libwpg-0.1 libwpg-stream-0.1") 2>&5
 
13577
  ac_status=$?
 
13578
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13579
  (exit $ac_status); }; then
 
13580
  pkg_cv_LIBWPG_LIBS=`$PKG_CONFIG --libs "libwpg-0.1 libwpg-stream-0.1" 2>/dev/null`
 
13581
else
 
13582
  pkg_failed=yes
 
13583
fi
 
13584
    fi
 
13585
else
 
13586
        pkg_failed=untried
 
13587
fi
 
13588
 
 
13589
 
 
13590
 
 
13591
if test $pkg_failed = yes; then
 
13592
 
 
13593
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
13594
        _pkg_short_errors_supported=yes
 
13595
else
 
13596
        _pkg_short_errors_supported=no
 
13597
fi
 
13598
        if test $_pkg_short_errors_supported = yes; then
 
13599
                LIBWPG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libwpg-0.1 libwpg-stream-0.1"`
 
13600
        else
 
13601
                LIBWPG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libwpg-0.1 libwpg-stream-0.1"`
 
13602
        fi
 
13603
        # Put the nasty error message in config.log where it belongs
 
13604
        echo "$LIBWPG_PKG_ERRORS" >&5
 
13605
 
 
13606
        { echo "$as_me:$LINENO: result: no" >&5
 
13607
echo "${ECHO_T}no" >&6; }
 
13608
                with_libwpg=no
 
13609
elif test $pkg_failed = untried; then
 
13610
        with_libwpg=no
 
13611
else
 
13612
        LIBWPG_CFLAGS=$pkg_cv_LIBWPG_CFLAGS
 
13613
        LIBWPG_LIBS=$pkg_cv_LIBWPG_LIBS
 
13614
        { echo "$as_me:$LINENO: result: yes" >&5
 
13615
echo "${ECHO_T}yes" >&6; }
 
13616
        with_libwpg=yes
 
13617
fi
 
13618
if test "x$with_libwpg" = "xyes"; then
 
13619
 
 
13620
cat >>confdefs.h <<\_ACEOF
 
13621
#define WITH_LIBWPG 1
 
13622
_ACEOF
 
13623
 
 
13624
fi
 
13625
 if test "x$with_libwpg" = "xyes"; then
 
13626
  WITH_LIBWPG_TRUE=
 
13627
  WITH_LIBWPG_FALSE='#'
 
13628
else
 
13629
  WITH_LIBWPG_TRUE='#'
 
13630
  WITH_LIBWPG_FALSE=
 
13631
fi
 
13632
 
 
13633
 
 
13634
 
 
13635
 
 
13636
 
 
13637
 
 
13638
{ echo "$as_me:$LINENO: checking for InitializeMagick in -lMagick++" >&5
 
13639
echo $ECHO_N "checking for InitializeMagick in -lMagick++... $ECHO_C" >&6; }
 
13640
if test "${ac_cv_lib_Magickpp_InitializeMagick+set}" = set; then
 
13641
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13642
else
 
13643
  ac_check_lib_save_LIBS=$LIBS
 
13644
LIBS="-lMagick++ -llcms -lfreetype -ljpeg -lfontconfig -lXext -lSM -lICE -lX11 -lz -lpthread -lm -lpthread $LIBS"
 
13645
cat >conftest.$ac_ext <<_ACEOF
 
13646
/* confdefs.h.  */
 
13647
_ACEOF
 
13648
cat confdefs.h >>conftest.$ac_ext
 
13649
cat >>conftest.$ac_ext <<_ACEOF
 
13650
/* end confdefs.h.  */
 
13651
 
 
13652
/* Override any GCC internal prototype to avoid an error.
 
13653
   Use char because int might match the return type of a GCC
 
13654
   builtin and then its argument prototype would still apply.  */
 
13655
#ifdef __cplusplus
 
13656
extern "C"
 
13657
#endif
 
13658
char InitializeMagick ();
 
13659
int
 
13660
main ()
 
13661
{
 
13662
return InitializeMagick ();
 
13663
  ;
 
13664
  return 0;
 
13665
}
 
13666
_ACEOF
 
13667
rm -f conftest.$ac_objext conftest$ac_exeext
 
13668
if { (ac_try="$ac_link"
 
13669
case "(($ac_try" in
 
13670
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13671
  *) ac_try_echo=$ac_try;;
 
13672
esac
 
13673
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13674
  (eval "$ac_link") 2>conftest.er1
 
13675
  ac_status=$?
 
13676
  grep -v '^ *+' conftest.er1 >conftest.err
 
13677
  rm -f conftest.er1
 
13678
  cat conftest.err >&5
 
13679
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13680
  (exit $ac_status); } && {
 
13681
         test -z "$ac_cxx_werror_flag" ||
 
13682
         test ! -s conftest.err
 
13683
       } && test -s conftest$ac_exeext &&
 
13684
       $as_test_x conftest$ac_exeext; then
 
13685
  ac_cv_lib_Magickpp_InitializeMagick=yes
 
13686
else
 
13687
  echo "$as_me: failed program was:" >&5
 
13688
sed 's/^/| /' conftest.$ac_ext >&5
 
13689
 
 
13690
        ac_cv_lib_Magickpp_InitializeMagick=no
 
13691
fi
 
13692
 
 
13693
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
13694
      conftest$ac_exeext conftest.$ac_ext
 
13695
LIBS=$ac_check_lib_save_LIBS
 
13696
fi
 
13697
{ echo "$as_me:$LINENO: result: $ac_cv_lib_Magickpp_InitializeMagick" >&5
 
13698
echo "${ECHO_T}$ac_cv_lib_Magickpp_InitializeMagick" >&6; }
 
13699
if test $ac_cv_lib_Magickpp_InitializeMagick = yes; then
 
13700
  if test "${ac_cv_header_Magickpp_h+set}" = set; then
 
13701
  { echo "$as_me:$LINENO: checking for Magick++.h" >&5
 
13702
echo $ECHO_N "checking for Magick++.h... $ECHO_C" >&6; }
 
13703
if test "${ac_cv_header_Magickpp_h+set}" = set; then
 
13704
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13705
fi
 
13706
{ echo "$as_me:$LINENO: result: $ac_cv_header_Magickpp_h" >&5
 
13707
echo "${ECHO_T}$ac_cv_header_Magickpp_h" >&6; }
 
13708
else
 
13709
  # Is the header compilable?
 
13710
{ echo "$as_me:$LINENO: checking Magick++.h usability" >&5
 
13711
echo $ECHO_N "checking Magick++.h usability... $ECHO_C" >&6; }
 
13712
cat >conftest.$ac_ext <<_ACEOF
 
13713
/* confdefs.h.  */
 
13714
_ACEOF
 
13715
cat confdefs.h >>conftest.$ac_ext
 
13716
cat >>conftest.$ac_ext <<_ACEOF
 
13717
/* end confdefs.h.  */
 
13718
$ac_includes_default
 
13719
#include <Magick++.h>
 
13720
_ACEOF
 
13721
rm -f conftest.$ac_objext
 
13722
if { (ac_try="$ac_compile"
 
13723
case "(($ac_try" in
 
13724
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13725
  *) ac_try_echo=$ac_try;;
 
13726
esac
 
13727
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13728
  (eval "$ac_compile") 2>conftest.er1
 
13729
  ac_status=$?
 
13730
  grep -v '^ *+' conftest.er1 >conftest.err
 
13731
  rm -f conftest.er1
 
13732
  cat conftest.err >&5
 
13733
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13734
  (exit $ac_status); } && {
 
13735
         test -z "$ac_cxx_werror_flag" ||
 
13736
         test ! -s conftest.err
 
13737
       } && test -s conftest.$ac_objext; then
 
13738
  ac_header_compiler=yes
 
13739
else
 
13740
  echo "$as_me: failed program was:" >&5
 
13741
sed 's/^/| /' conftest.$ac_ext >&5
 
13742
 
 
13743
        ac_header_compiler=no
 
13744
fi
 
13745
 
 
13746
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
13747
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
13748
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
13749
 
 
13750
# Is the header present?
 
13751
{ echo "$as_me:$LINENO: checking Magick++.h presence" >&5
 
13752
echo $ECHO_N "checking Magick++.h presence... $ECHO_C" >&6; }
 
13753
cat >conftest.$ac_ext <<_ACEOF
 
13754
/* confdefs.h.  */
 
13755
_ACEOF
 
13756
cat confdefs.h >>conftest.$ac_ext
 
13757
cat >>conftest.$ac_ext <<_ACEOF
 
13758
/* end confdefs.h.  */
 
13759
#include <Magick++.h>
 
13760
_ACEOF
 
13761
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
13762
case "(($ac_try" in
 
13763
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13764
  *) ac_try_echo=$ac_try;;
 
13765
esac
 
13766
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13767
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
13768
  ac_status=$?
 
13769
  grep -v '^ *+' conftest.er1 >conftest.err
 
13770
  rm -f conftest.er1
 
13771
  cat conftest.err >&5
 
13772
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13773
  (exit $ac_status); } >/dev/null && {
 
13774
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
13775
         test ! -s conftest.err
 
13776
       }; then
 
13777
  ac_header_preproc=yes
 
13778
else
 
13779
  echo "$as_me: failed program was:" >&5
 
13780
sed 's/^/| /' conftest.$ac_ext >&5
 
13781
 
 
13782
  ac_header_preproc=no
 
13783
fi
 
13784
 
 
13785
rm -f conftest.err conftest.$ac_ext
 
13786
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
13787
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
13788
 
 
13789
# So?  What about this header?
 
13790
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
 
13791
  yes:no: )
 
13792
    { echo "$as_me:$LINENO: WARNING: Magick++.h: accepted by the compiler, rejected by the preprocessor!" >&5
 
13793
echo "$as_me: WARNING: Magick++.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
13794
    { echo "$as_me:$LINENO: WARNING: Magick++.h: proceeding with the compiler's result" >&5
 
13795
echo "$as_me: WARNING: Magick++.h: proceeding with the compiler's result" >&2;}
 
13796
    ac_header_preproc=yes
 
13797
    ;;
 
13798
  no:yes:* )
 
13799
    { echo "$as_me:$LINENO: WARNING: Magick++.h: present but cannot be compiled" >&5
 
13800
echo "$as_me: WARNING: Magick++.h: present but cannot be compiled" >&2;}
 
13801
    { echo "$as_me:$LINENO: WARNING: Magick++.h:     check for missing prerequisite headers?" >&5
 
13802
echo "$as_me: WARNING: Magick++.h:     check for missing prerequisite headers?" >&2;}
 
13803
    { echo "$as_me:$LINENO: WARNING: Magick++.h: see the Autoconf documentation" >&5
 
13804
echo "$as_me: WARNING: Magick++.h: see the Autoconf documentation" >&2;}
 
13805
    { echo "$as_me:$LINENO: WARNING: Magick++.h:     section \"Present But Cannot Be Compiled\"" >&5
 
13806
echo "$as_me: WARNING: Magick++.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 
13807
    { echo "$as_me:$LINENO: WARNING: Magick++.h: proceeding with the preprocessor's result" >&5
 
13808
echo "$as_me: WARNING: Magick++.h: proceeding with the preprocessor's result" >&2;}
 
13809
    { echo "$as_me:$LINENO: WARNING: Magick++.h: in the future, the compiler will take precedence" >&5
 
13810
echo "$as_me: WARNING: Magick++.h: in the future, the compiler will take precedence" >&2;}
 
13811
 
 
13812
    ;;
 
13813
esac
 
13814
{ echo "$as_me:$LINENO: checking for Magick++.h" >&5
 
13815
echo $ECHO_N "checking for Magick++.h... $ECHO_C" >&6; }
 
13816
if test "${ac_cv_header_Magickpp_h+set}" = set; then
 
13817
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13818
else
 
13819
  ac_cv_header_Magickpp_h=$ac_header_preproc
 
13820
fi
 
13821
{ echo "$as_me:$LINENO: result: $ac_cv_header_Magickpp_h" >&5
 
13822
echo "${ECHO_T}$ac_cv_header_Magickpp_h" >&6; }
 
13823
 
 
13824
fi
 
13825
if test $ac_cv_header_Magickpp_h = yes; then
 
13826
  magick_ok=yes
 
13827
else
 
13828
  magick_ok=no
 
13829
fi
 
13830
 
 
13831
 
 
13832
else
 
13833
  magick_ok=no
 
13834
fi
 
13835
 
 
13836
 
 
13837
if test "x$magick_ok" = "xyes"; then
 
13838
        # Extract the first word of "Magick++-config", so it can be a program name with args.
 
13839
set dummy Magick++-config; ac_word=$2
 
13840
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
13841
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
13842
if test "${ac_cv_prog_MAGICKPP_CONFIG+set}" = set; then
 
13843
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13844
else
 
13845
  if test -n "$MAGICKPP_CONFIG"; then
 
13846
  ac_cv_prog_MAGICKPP_CONFIG="$MAGICKPP_CONFIG" # Let the user override the test.
 
13847
else
 
13848
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
13849
for as_dir in $PATH
 
13850
do
 
13851
  IFS=$as_save_IFS
 
13852
  test -z "$as_dir" && as_dir=.
 
13853
  for ac_exec_ext in '' $ac_executable_extensions; do
 
13854
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
13855
    ac_cv_prog_MAGICKPP_CONFIG="yes"
 
13856
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13857
    break 2
 
13858
  fi
 
13859
done
 
13860
done
 
13861
IFS=$as_save_IFS
 
13862
 
 
13863
  test -z "$ac_cv_prog_MAGICKPP_CONFIG" && ac_cv_prog_MAGICKPP_CONFIG="no"
 
13864
fi
 
13865
fi
 
13866
MAGICKPP_CONFIG=$ac_cv_prog_MAGICKPP_CONFIG
 
13867
if test -n "$MAGICKPP_CONFIG"; then
 
13868
  { echo "$as_me:$LINENO: result: $MAGICKPP_CONFIG" >&5
 
13869
echo "${ECHO_T}$MAGICKPP_CONFIG" >&6; }
 
13870
else
 
13871
  { echo "$as_me:$LINENO: result: no" >&5
 
13872
echo "${ECHO_T}no" >&6; }
 
13873
fi
 
13874
 
 
13875
 
 
13876
        if test "x$MAGICKPP_CONFIG" = "xyes"; then
 
13877
                IMAGEMAGICK_LIBS=`Magick++-config --libs`
 
13878
 
 
13879
 
 
13880
cat >>confdefs.h <<\_ACEOF
 
13881
#define WITH_IMAGE_MAGICK 1
 
13882
_ACEOF
 
13883
 
 
13884
        fi
 
13885
fi
 
13886
 
 
13887
 if test "x$magick_ok" = "xyes"; then
 
13888
  USE_IMAGE_MAGICK_TRUE=
 
13889
  USE_IMAGE_MAGICK_FALSE='#'
 
13890
else
 
13891
  USE_IMAGE_MAGICK_TRUE='#'
 
13892
  USE_IMAGE_MAGICK_FALSE=
 
13893
fi
 
13894
 
 
13895
 
 
13896
 
12213
13897
if test $cc_vers_major -gt 3; then
12214
13898
  min_sigc_version=2.0.12
12215
13899
else
12225
13909
        pkg_cv_INKSCAPE_CFLAGS="$INKSCAPE_CFLAGS"
12226
13910
    else
12227
13911
        if test -n "$PKG_CONFIG" && \
12228
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gdkmm-2.4  glibmm-2.4  gtkmm-2.4  gtk+-2.0 >= 2.8.0  libxml-2.0 >= 2.6.11  libxslt >= 1.0.15  cairo  sigc++-2.0 >= \$min_sigc_version  \$ink_spell_pkg  gthread-2.0 >= 2.0 libpng >= 1.2\"") >&5
12229
 
  ($PKG_CONFIG --exists --print-errors "gdkmm-2.4  glibmm-2.4  gtkmm-2.4  gtk+-2.0 >= 2.8.0  libxml-2.0 >= 2.6.11  libxslt >= 1.0.15  cairo  sigc++-2.0 >= $min_sigc_version  $ink_spell_pkg  gthread-2.0 >= 2.0 libpng >= 1.2") 2>&5
 
13912
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gdkmm-2.4  glibmm-2.4  gtkmm-2.4 >= 2.10.0  gtk+-2.0  libxml-2.0 >= 2.6.11  libxslt >= 1.0.15  cairo  sigc++-2.0 >= \$min_sigc_version  \$ink_spell_pkg  gthread-2.0 >= 2.0 libpng >= 1.2\"") >&5
 
13913
  ($PKG_CONFIG --exists --print-errors "gdkmm-2.4  glibmm-2.4  gtkmm-2.4 >= 2.10.0  gtk+-2.0  libxml-2.0 >= 2.6.11  libxslt >= 1.0.15  cairo  sigc++-2.0 >= $min_sigc_version  $ink_spell_pkg  gthread-2.0 >= 2.0 libpng >= 1.2") 2>&5
12230
13914
  ac_status=$?
12231
13915
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12232
13916
  (exit $ac_status); }; then
12233
 
  pkg_cv_INKSCAPE_CFLAGS=`$PKG_CONFIG --cflags "gdkmm-2.4  glibmm-2.4  gtkmm-2.4  gtk+-2.0 >= 2.8.0  libxml-2.0 >= 2.6.11  libxslt >= 1.0.15  cairo  sigc++-2.0 >= $min_sigc_version  $ink_spell_pkg  gthread-2.0 >= 2.0 libpng >= 1.2" 2>/dev/null`
 
13917
  pkg_cv_INKSCAPE_CFLAGS=`$PKG_CONFIG --cflags "gdkmm-2.4  glibmm-2.4  gtkmm-2.4 >= 2.10.0  gtk+-2.0  libxml-2.0 >= 2.6.11  libxslt >= 1.0.15  cairo  sigc++-2.0 >= $min_sigc_version  $ink_spell_pkg  gthread-2.0 >= 2.0 libpng >= 1.2" 2>/dev/null`
12234
13918
else
12235
13919
  pkg_failed=yes
12236
13920
fi
12243
13927
        pkg_cv_INKSCAPE_LIBS="$INKSCAPE_LIBS"
12244
13928
    else
12245
13929
        if test -n "$PKG_CONFIG" && \
12246
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gdkmm-2.4  glibmm-2.4  gtkmm-2.4  gtk+-2.0 >= 2.8.0  libxml-2.0 >= 2.6.11  libxslt >= 1.0.15  cairo  sigc++-2.0 >= \$min_sigc_version  \$ink_spell_pkg  gthread-2.0 >= 2.0 libpng >= 1.2\"") >&5
12247
 
  ($PKG_CONFIG --exists --print-errors "gdkmm-2.4  glibmm-2.4  gtkmm-2.4  gtk+-2.0 >= 2.8.0  libxml-2.0 >= 2.6.11  libxslt >= 1.0.15  cairo  sigc++-2.0 >= $min_sigc_version  $ink_spell_pkg  gthread-2.0 >= 2.0 libpng >= 1.2") 2>&5
 
13930
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gdkmm-2.4  glibmm-2.4  gtkmm-2.4 >= 2.10.0  gtk+-2.0  libxml-2.0 >= 2.6.11  libxslt >= 1.0.15  cairo  sigc++-2.0 >= \$min_sigc_version  \$ink_spell_pkg  gthread-2.0 >= 2.0 libpng >= 1.2\"") >&5
 
13931
  ($PKG_CONFIG --exists --print-errors "gdkmm-2.4  glibmm-2.4  gtkmm-2.4 >= 2.10.0  gtk+-2.0  libxml-2.0 >= 2.6.11  libxslt >= 1.0.15  cairo  sigc++-2.0 >= $min_sigc_version  $ink_spell_pkg  gthread-2.0 >= 2.0 libpng >= 1.2") 2>&5
12248
13932
  ac_status=$?
12249
13933
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12250
13934
  (exit $ac_status); }; then
12251
 
  pkg_cv_INKSCAPE_LIBS=`$PKG_CONFIG --libs "gdkmm-2.4  glibmm-2.4  gtkmm-2.4  gtk+-2.0 >= 2.8.0  libxml-2.0 >= 2.6.11  libxslt >= 1.0.15  cairo  sigc++-2.0 >= $min_sigc_version  $ink_spell_pkg  gthread-2.0 >= 2.0 libpng >= 1.2" 2>/dev/null`
 
13935
  pkg_cv_INKSCAPE_LIBS=`$PKG_CONFIG --libs "gdkmm-2.4  glibmm-2.4  gtkmm-2.4 >= 2.10.0  gtk+-2.0  libxml-2.0 >= 2.6.11  libxslt >= 1.0.15  cairo  sigc++-2.0 >= $min_sigc_version  $ink_spell_pkg  gthread-2.0 >= 2.0 libpng >= 1.2" 2>/dev/null`
12252
13936
else
12253
13937
  pkg_failed=yes
12254
13938
fi
12267
13951
        _pkg_short_errors_supported=no
12268
13952
fi
12269
13953
        if test $_pkg_short_errors_supported = yes; then
12270
 
                INKSCAPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gdkmm-2.4  glibmm-2.4  gtkmm-2.4  gtk+-2.0 >= 2.8.0  libxml-2.0 >= 2.6.11  libxslt >= 1.0.15  cairo  sigc++-2.0 >= $min_sigc_version  $ink_spell_pkg  gthread-2.0 >= 2.0 libpng >= 1.2"`
 
13954
                INKSCAPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gdkmm-2.4  glibmm-2.4  gtkmm-2.4 >= 2.10.0  gtk+-2.0  libxml-2.0 >= 2.6.11  libxslt >= 1.0.15  cairo  sigc++-2.0 >= $min_sigc_version  $ink_spell_pkg  gthread-2.0 >= 2.0 libpng >= 1.2"`
12271
13955
        else
12272
 
                INKSCAPE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gdkmm-2.4  glibmm-2.4  gtkmm-2.4  gtk+-2.0 >= 2.8.0  libxml-2.0 >= 2.6.11  libxslt >= 1.0.15  cairo  sigc++-2.0 >= $min_sigc_version  $ink_spell_pkg  gthread-2.0 >= 2.0 libpng >= 1.2"`
 
13956
                INKSCAPE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gdkmm-2.4  glibmm-2.4  gtkmm-2.4 >= 2.10.0  gtk+-2.0  libxml-2.0 >= 2.6.11  libxslt >= 1.0.15  cairo  sigc++-2.0 >= $min_sigc_version  $ink_spell_pkg  gthread-2.0 >= 2.0 libpng >= 1.2"`
12273
13957
        fi
12274
13958
        # Put the nasty error message in config.log where it belongs
12275
13959
        echo "$INKSCAPE_PKG_ERRORS" >&5
12276
13960
 
12277
 
        { { echo "$as_me:$LINENO: error: Package requirements (gdkmm-2.4  glibmm-2.4  gtkmm-2.4  gtk+-2.0 >= 2.8.0  libxml-2.0 >= 2.6.11  libxslt >= 1.0.15  cairo  sigc++-2.0 >= $min_sigc_version  $ink_spell_pkg  gthread-2.0 >= 2.0 libpng >= 1.2) were not met:
 
13961
        { { echo "$as_me:$LINENO: error: Package requirements (gdkmm-2.4  glibmm-2.4  gtkmm-2.4 >= 2.10.0  gtk+-2.0  libxml-2.0 >= 2.6.11  libxslt >= 1.0.15  cairo  sigc++-2.0 >= $min_sigc_version  $ink_spell_pkg  gthread-2.0 >= 2.0 libpng >= 1.2) were not met:
12278
13962
 
12279
13963
$INKSCAPE_PKG_ERRORS
12280
13964
 
12285
13969
and INKSCAPE_LIBS to avoid the need to call pkg-config.
12286
13970
See the pkg-config man page for more details.
12287
13971
" >&5
12288
 
echo "$as_me: error: Package requirements (gdkmm-2.4  glibmm-2.4  gtkmm-2.4  gtk+-2.0 >= 2.8.0  libxml-2.0 >= 2.6.11  libxslt >= 1.0.15  cairo  sigc++-2.0 >= $min_sigc_version  $ink_spell_pkg  gthread-2.0 >= 2.0 libpng >= 1.2) were not met:
 
13972
echo "$as_me: error: Package requirements (gdkmm-2.4  glibmm-2.4  gtkmm-2.4 >= 2.10.0  gtk+-2.0  libxml-2.0 >= 2.6.11  libxslt >= 1.0.15  cairo  sigc++-2.0 >= $min_sigc_version  $ink_spell_pkg  gthread-2.0 >= 2.0 libpng >= 1.2) were not met:
12289
13973
 
12290
13974
$INKSCAPE_PKG_ERRORS
12291
13975
 
12327
14011
        :
12328
14012
fi
12329
14013
 
 
14014
# Check for Apple Mac OS X Carbon framework
 
14015
carbon_ok=no
 
14016
{ echo "$as_me:$LINENO: checking for Mac OS X Carbon support" >&5
 
14017
echo $ECHO_N "checking for Mac OS X Carbon support... $ECHO_C" >&6; }
 
14018
cat >conftest.$ac_ext <<_ACEOF
 
14019
/* confdefs.h.  */
 
14020
_ACEOF
 
14021
cat confdefs.h >>conftest.$ac_ext
 
14022
cat >>conftest.$ac_ext <<_ACEOF
 
14023
/* end confdefs.h.  */
 
14024
 
 
14025
#include <Carbon/Carbon.h>
 
14026
#include <CoreServices/CoreServices.h>
 
14027
 
 
14028
_ACEOF
 
14029
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
14030
case "(($ac_try" in
 
14031
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14032
  *) ac_try_echo=$ac_try;;
 
14033
esac
 
14034
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14035
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
14036
  ac_status=$?
 
14037
  grep -v '^ *+' conftest.er1 >conftest.err
 
14038
  rm -f conftest.er1
 
14039
  cat conftest.err >&5
 
14040
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14041
  (exit $ac_status); } >/dev/null && {
 
14042
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
14043
         test ! -s conftest.err
 
14044
       }; then
 
14045
  carbon_ok=yes
 
14046
else
 
14047
  echo "$as_me: failed program was:" >&5
 
14048
sed 's/^/| /' conftest.$ac_ext >&5
 
14049
 
 
14050
 
 
14051
fi
 
14052
 
 
14053
rm -f conftest.err conftest.$ac_ext
 
14054
{ echo "$as_me:$LINENO: result: $carbon_ok" >&5
 
14055
echo "${ECHO_T}$carbon_ok" >&6; }
 
14056
if test "x$carbon_ok" = "xyes"; then
 
14057
 
 
14058
cat >>confdefs.h <<\_ACEOF
 
14059
#define HAVE_CARBON 1
 
14060
_ACEOF
 
14061
 
 
14062
  CARBON_LDFLAGS="-framework Carbon"
 
14063
 
 
14064
fi
 
14065
 if test "x$carbon_ok" = "xyes"; then
 
14066
  HAVE_CARBON_TRUE=
 
14067
  HAVE_CARBON_FALSE='#'
 
14068
else
 
14069
  HAVE_CARBON_TRUE='#'
 
14070
  HAVE_CARBON_FALSE=
 
14071
fi
 
14072
 
 
14073
 
 
14074
# Check for some boost header files
 
14075
 
 
14076
for ac_header in boost/concept_check.hpp
 
14077
do
 
14078
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
14079
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
14080
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
14081
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
14082
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
14083
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14084
fi
 
14085
ac_res=`eval echo '${'$as_ac_Header'}'`
 
14086
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
14087
echo "${ECHO_T}$ac_res" >&6; }
 
14088
else
 
14089
  # Is the header compilable?
 
14090
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
14091
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
14092
cat >conftest.$ac_ext <<_ACEOF
 
14093
/* confdefs.h.  */
 
14094
_ACEOF
 
14095
cat confdefs.h >>conftest.$ac_ext
 
14096
cat >>conftest.$ac_ext <<_ACEOF
 
14097
/* end confdefs.h.  */
 
14098
$ac_includes_default
 
14099
#include <$ac_header>
 
14100
_ACEOF
 
14101
rm -f conftest.$ac_objext
 
14102
if { (ac_try="$ac_compile"
 
14103
case "(($ac_try" in
 
14104
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14105
  *) ac_try_echo=$ac_try;;
 
14106
esac
 
14107
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14108
  (eval "$ac_compile") 2>conftest.er1
 
14109
  ac_status=$?
 
14110
  grep -v '^ *+' conftest.er1 >conftest.err
 
14111
  rm -f conftest.er1
 
14112
  cat conftest.err >&5
 
14113
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14114
  (exit $ac_status); } && {
 
14115
         test -z "$ac_cxx_werror_flag" ||
 
14116
         test ! -s conftest.err
 
14117
       } && test -s conftest.$ac_objext; then
 
14118
  ac_header_compiler=yes
 
14119
else
 
14120
  echo "$as_me: failed program was:" >&5
 
14121
sed 's/^/| /' conftest.$ac_ext >&5
 
14122
 
 
14123
        ac_header_compiler=no
 
14124
fi
 
14125
 
 
14126
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
14127
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
14128
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
14129
 
 
14130
# Is the header present?
 
14131
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
14132
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
14133
cat >conftest.$ac_ext <<_ACEOF
 
14134
/* confdefs.h.  */
 
14135
_ACEOF
 
14136
cat confdefs.h >>conftest.$ac_ext
 
14137
cat >>conftest.$ac_ext <<_ACEOF
 
14138
/* end confdefs.h.  */
 
14139
#include <$ac_header>
 
14140
_ACEOF
 
14141
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
14142
case "(($ac_try" in
 
14143
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14144
  *) ac_try_echo=$ac_try;;
 
14145
esac
 
14146
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14147
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
14148
  ac_status=$?
 
14149
  grep -v '^ *+' conftest.er1 >conftest.err
 
14150
  rm -f conftest.er1
 
14151
  cat conftest.err >&5
 
14152
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14153
  (exit $ac_status); } >/dev/null && {
 
14154
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
14155
         test ! -s conftest.err
 
14156
       }; then
 
14157
  ac_header_preproc=yes
 
14158
else
 
14159
  echo "$as_me: failed program was:" >&5
 
14160
sed 's/^/| /' conftest.$ac_ext >&5
 
14161
 
 
14162
  ac_header_preproc=no
 
14163
fi
 
14164
 
 
14165
rm -f conftest.err conftest.$ac_ext
 
14166
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
14167
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
14168
 
 
14169
# So?  What about this header?
 
14170
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
 
14171
  yes:no: )
 
14172
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
14173
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
14174
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
14175
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
14176
    ac_header_preproc=yes
 
14177
    ;;
 
14178
  no:yes:* )
 
14179
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
14180
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
14181
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
14182
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
14183
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
14184
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
14185
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
14186
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
14187
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
14188
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
14189
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
14190
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
14191
 
 
14192
    ;;
 
14193
esac
 
14194
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
14195
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
14196
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
14197
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14198
else
 
14199
  eval "$as_ac_Header=\$ac_header_preproc"
 
14200
fi
 
14201
ac_res=`eval echo '${'$as_ac_Header'}'`
 
14202
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
14203
echo "${ECHO_T}$ac_res" >&6; }
 
14204
 
 
14205
fi
 
14206
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
14207
  cat >>confdefs.h <<_ACEOF
 
14208
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
14209
_ACEOF
 
14210
 
 
14211
else
 
14212
  { { echo "$as_me:$LINENO: error: You need the boost package (e.g. libboost-dev)" >&5
 
14213
echo "$as_me: error: You need the boost package (e.g. libboost-dev)" >&2;}
 
14214
   { (exit 1); exit 1; }; }
 
14215
fi
 
14216
 
 
14217
done
 
14218
 
 
14219
 
12330
14220
 
12331
14221
pkg_failed=no
12332
14222
{ echo "$as_me:$LINENO: checking for CAIRO_PDF" >&5
16051
17941
  # programmer deliberately has an unused parameter (e.g. because it's used
16052
17942
  # as a callback or similar function pointer use).
16053
17943
 
16054
 
  CXXFLAGS="-Wall -Wformat-security -W -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch  $CXXFLAGS"
 
17944
  CXXFLAGS="-Wall -Wformat-security -W -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch -D_FORTIFY_SOURCE=2 $CXXFLAGS"
16055
17945
 
16056
17946
    case "$host_cpu" in
16057
17947
    mips|mipsel)
16139
18029
echo "${ECHO_T}no" >&6; }
16140
18030
fi
16141
18031
 
16142
 
 
16143
 
 
16144
 
if test x$use_mmx_asm = xyes; then
 
18032
 if test x$use_mmx_asm = xyes; then
16145
18033
  USE_MMX_TRUE=
16146
18034
  USE_MMX_FALSE='#'
16147
18035
else
16181
18069
 
16182
18070
 
16183
18071
 
16184
 
ac_config_files="$ac_config_files Makefile src/Makefile src/check-header-compile src/algorithms/makefile src/application/makefile src/debug/makefile src/dialogs/makefile src/display/makefile src/dom/makefile src/extension/implementation/makefile src/extension/internal/makefile src/extension/makefile src/extension/script/makefile src/helper/makefile src/inkjar/makefile src/io/makefile src/libcroco/makefile src/libnr/makefile src/libnrtype/makefile src/libavoid/makefile src/livarot/makefile src/pedro/makefile src/jabber_whiteboard/makefile src/removeoverlap/makefile src/svg/makefile src/trace/makefile src/traits/makefile src/ui/dialog/makefile src/ui/makefile src/ui/view/makefile src/ui/widget/makefile src/utest/makefile src/util/makefile src/widgets/makefile src/xml/makefile doc/Makefile po/Makefile.in share/Makefile share/clipart/Makefile share/examples/Makefile share/extensions/Makefile share/fonts/Makefile share/gradients/Makefile share/icons/Makefile share/keys/Makefile share/markers/Makefile share/palettes/Makefile share/patterns/Makefile share/screens/Makefile share/templates/Makefile share/tutorials/Makefile share/ui/Makefile packaging/autopackage/default.apspec inkscape.spec Info.plist inkview.1"
 
18072
ac_config_files="$ac_config_files Makefile src/Makefile src/check-header-compile src/algorithms/makefile src/application/makefile src/debug/makefile src/dialogs/makefile src/display/makefile src/dom/makefile src/extension/implementation/makefile src/extension/internal/makefile src/extension/makefile src/extension/script/makefile src/helper/makefile src/inkjar/makefile src/io/makefile src/libcroco/makefile src/libgdl/makefile src/libnr/makefile src/libnrtype/makefile src/libavoid/makefile src/livarot/makefile src/live_effects/makefile src/live_effects/parameter/makefile src/pedro/makefile src/jabber_whiteboard/makefile src/removeoverlap/makefile src/svg/makefile src/trace/makefile src/traits/makefile src/ui/cache/makefile src/ui/dialog/makefile src/ui/makefile src/ui/view/makefile src/ui/widget/makefile src/utest/makefile src/util/makefile src/widgets/makefile src/xml/makefile src/2geom/makefile doc/Makefile po/Makefile.in share/Makefile share/clipart/Makefile share/examples/Makefile share/extensions/Makefile share/extensions/Barcode/Makefile share/extensions/xaml2svg/Makefile share/fonts/Makefile share/gradients/Makefile share/icons/Makefile share/keys/Makefile share/markers/Makefile share/palettes/Makefile share/patterns/Makefile share/screens/Makefile share/templates/Makefile share/tutorials/Makefile share/ui/Makefile packaging/autopackage/default.apspec inkscape.spec Info.plist inkview.1"
16185
18073
 
16186
18074
 
16187
18075
 
16301
18189
  ac_config_commands="$ac_config_commands po/stamp-it"
16302
18190
 
16303
18191
 
16304
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16305
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
16306
 
Usually this means the macro was only invoked conditionally." >&5
16307
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
16308
 
Usually this means the macro was only invoked conditionally." >&2;}
16309
 
   { (exit 1); exit 1; }; }
16310
 
fi
16311
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16312
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
16313
 
Usually this means the macro was only invoked conditionally." >&5
16314
 
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
16315
 
Usually this means the macro was only invoked conditionally." >&2;}
16316
 
   { (exit 1); exit 1; }; }
16317
 
fi
16318
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16319
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
16320
 
Usually this means the macro was only invoked conditionally." >&5
16321
 
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
 
18192
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 
18193
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
 
18194
Usually this means the macro was only invoked conditionally." >&5
 
18195
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
 
18196
Usually this means the macro was only invoked conditionally." >&2;}
 
18197
   { (exit 1); exit 1; }; }
 
18198
fi
 
18199
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 
18200
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
 
18201
Usually this means the macro was only invoked conditionally." >&5
 
18202
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
 
18203
Usually this means the macro was only invoked conditionally." >&2;}
 
18204
   { (exit 1); exit 1; }; }
 
18205
fi
 
18206
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
18207
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
18208
Usually this means the macro was only invoked conditionally." >&5
 
18209
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
18210
Usually this means the macro was only invoked conditionally." >&2;}
 
18211
   { (exit 1); exit 1; }; }
 
18212
fi
 
18213
if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
 
18214
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCCAS\" was never defined.
 
18215
Usually this means the macro was only invoked conditionally." >&5
 
18216
echo "$as_me: error: conditional \"am__fastdepCCAS\" was never defined.
 
18217
Usually this means the macro was only invoked conditionally." >&2;}
 
18218
   { (exit 1); exit 1; }; }
 
18219
fi
 
18220
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
18221
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
18222
Usually this means the macro was only invoked conditionally." >&5
 
18223
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
16322
18224
Usually this means the macro was only invoked conditionally." >&2;}
16323
18225
   { (exit 1); exit 1; }; }
16324
18226
fi
16329
18231
Usually this means the macro was only invoked conditionally." >&2;}
16330
18232
   { (exit 1); exit 1; }; }
16331
18233
fi
 
18234
if test -z "${PLATFORM_SOLARIS_2_8_TRUE}" && test -z "${PLATFORM_SOLARIS_2_8_FALSE}"; then
 
18235
  { { echo "$as_me:$LINENO: error: conditional \"PLATFORM_SOLARIS_2_8\" was never defined.
 
18236
Usually this means the macro was only invoked conditionally." >&5
 
18237
echo "$as_me: error: conditional \"PLATFORM_SOLARIS_2_8\" was never defined.
 
18238
Usually this means the macro was only invoked conditionally." >&2;}
 
18239
   { (exit 1); exit 1; }; }
 
18240
fi
16332
18241
if test -z "${USE_XFT_TRUE}" && test -z "${USE_XFT_FALSE}"; then
16333
18242
  { { echo "$as_me:$LINENO: error: conditional \"USE_XFT\" was never defined.
16334
18243
Usually this means the macro was only invoked conditionally." >&5
16336
18245
Usually this means the macro was only invoked conditionally." >&2;}
16337
18246
   { (exit 1); exit 1; }; }
16338
18247
fi
16339
 
if test -z "${USE_GNOME_PRINT_TRUE}" && test -z "${USE_GNOME_PRINT_FALSE}"; then
16340
 
  { { echo "$as_me:$LINENO: error: conditional \"USE_GNOME_PRINT\" was never defined.
16341
 
Usually this means the macro was only invoked conditionally." >&5
16342
 
echo "$as_me: error: conditional \"USE_GNOME_PRINT\" was never defined.
16343
 
Usually this means the macro was only invoked conditionally." >&2;}
16344
 
   { (exit 1); exit 1; }; }
16345
 
fi
16346
18248
if test -z "${USE_GNOME_VFS_TRUE}" && test -z "${USE_GNOME_VFS_FALSE}"; then
16347
18249
  { { echo "$as_me:$LINENO: error: conditional \"USE_GNOME_VFS\" was never defined.
16348
18250
Usually this means the macro was only invoked conditionally." >&5
16385
18287
Usually this means the macro was only invoked conditionally." >&2;}
16386
18288
   { (exit 1); exit 1; }; }
16387
18289
fi
 
18290
if test -z "${WITH_LIBWPG_TRUE}" && test -z "${WITH_LIBWPG_FALSE}"; then
 
18291
  { { echo "$as_me:$LINENO: error: conditional \"WITH_LIBWPG\" was never defined.
 
18292
Usually this means the macro was only invoked conditionally." >&5
 
18293
echo "$as_me: error: conditional \"WITH_LIBWPG\" was never defined.
 
18294
Usually this means the macro was only invoked conditionally." >&2;}
 
18295
   { (exit 1); exit 1; }; }
 
18296
fi
 
18297
if test -z "${USE_IMAGE_MAGICK_TRUE}" && test -z "${USE_IMAGE_MAGICK_FALSE}"; then
 
18298
  { { echo "$as_me:$LINENO: error: conditional \"USE_IMAGE_MAGICK\" was never defined.
 
18299
Usually this means the macro was only invoked conditionally." >&5
 
18300
echo "$as_me: error: conditional \"USE_IMAGE_MAGICK\" was never defined.
 
18301
Usually this means the macro was only invoked conditionally." >&2;}
 
18302
   { (exit 1); exit 1; }; }
 
18303
fi
 
18304
if test -z "${HAVE_CARBON_TRUE}" && test -z "${HAVE_CARBON_FALSE}"; then
 
18305
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_CARBON\" was never defined.
 
18306
Usually this means the macro was only invoked conditionally." >&5
 
18307
echo "$as_me: error: conditional \"HAVE_CARBON\" was never defined.
 
18308
Usually this means the macro was only invoked conditionally." >&2;}
 
18309
   { (exit 1); exit 1; }; }
 
18310
fi
16388
18311
if test -z "${USE_MMX_TRUE}" && test -z "${USE_MMX_FALSE}"; then
16389
18312
  { { echo "$as_me:$LINENO: error: conditional \"USE_MMX\" was never defined.
16390
18313
Usually this means the macro was only invoked conditionally." >&5
16692
18615
# report actual input values of CONFIG_FILES etc. instead of their
16693
18616
# values after options handling.
16694
18617
ac_log="
16695
 
This file was extended by inkscape $as_me 0.45.1, which was
 
18618
This file was extended by inkscape $as_me 0.45.1+0.46pre1, which was
16696
18619
generated by GNU Autoconf 2.61.  Invocation command line was
16697
18620
 
16698
18621
  CONFIG_FILES    = $CONFIG_FILES
16745
18668
_ACEOF
16746
18669
cat >>$CONFIG_STATUS <<_ACEOF
16747
18670
ac_cs_version="\\
16748
 
inkscape config.status 0.45.1
 
18671
inkscape config.status 0.45.1+0.46pre1
16749
18672
configured by $0, generated by GNU Autoconf 2.61,
16750
18673
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
16751
18674
 
16756
18679
ac_pwd='$ac_pwd'
16757
18680
srcdir='$srcdir'
16758
18681
INSTALL='$INSTALL'
 
18682
MKDIR_P='$MKDIR_P'
16759
18683
_ACEOF
16760
18684
 
16761
18685
cat >>$CONFIG_STATUS <<\_ACEOF
16883
18807
    "src/inkjar/makefile") CONFIG_FILES="$CONFIG_FILES src/inkjar/makefile" ;;
16884
18808
    "src/io/makefile") CONFIG_FILES="$CONFIG_FILES src/io/makefile" ;;
16885
18809
    "src/libcroco/makefile") CONFIG_FILES="$CONFIG_FILES src/libcroco/makefile" ;;
 
18810
    "src/libgdl/makefile") CONFIG_FILES="$CONFIG_FILES src/libgdl/makefile" ;;
16886
18811
    "src/libnr/makefile") CONFIG_FILES="$CONFIG_FILES src/libnr/makefile" ;;
16887
18812
    "src/libnrtype/makefile") CONFIG_FILES="$CONFIG_FILES src/libnrtype/makefile" ;;
16888
18813
    "src/libavoid/makefile") CONFIG_FILES="$CONFIG_FILES src/libavoid/makefile" ;;
16889
18814
    "src/livarot/makefile") CONFIG_FILES="$CONFIG_FILES src/livarot/makefile" ;;
 
18815
    "src/live_effects/makefile") CONFIG_FILES="$CONFIG_FILES src/live_effects/makefile" ;;
 
18816
    "src/live_effects/parameter/makefile") CONFIG_FILES="$CONFIG_FILES src/live_effects/parameter/makefile" ;;
16890
18817
    "src/pedro/makefile") CONFIG_FILES="$CONFIG_FILES src/pedro/makefile" ;;
16891
18818
    "src/jabber_whiteboard/makefile") CONFIG_FILES="$CONFIG_FILES src/jabber_whiteboard/makefile" ;;
16892
18819
    "src/removeoverlap/makefile") CONFIG_FILES="$CONFIG_FILES src/removeoverlap/makefile" ;;
16893
18820
    "src/svg/makefile") CONFIG_FILES="$CONFIG_FILES src/svg/makefile" ;;
16894
18821
    "src/trace/makefile") CONFIG_FILES="$CONFIG_FILES src/trace/makefile" ;;
16895
18822
    "src/traits/makefile") CONFIG_FILES="$CONFIG_FILES src/traits/makefile" ;;
 
18823
    "src/ui/cache/makefile") CONFIG_FILES="$CONFIG_FILES src/ui/cache/makefile" ;;
16896
18824
    "src/ui/dialog/makefile") CONFIG_FILES="$CONFIG_FILES src/ui/dialog/makefile" ;;
16897
18825
    "src/ui/makefile") CONFIG_FILES="$CONFIG_FILES src/ui/makefile" ;;
16898
18826
    "src/ui/view/makefile") CONFIG_FILES="$CONFIG_FILES src/ui/view/makefile" ;;
16901
18829
    "src/util/makefile") CONFIG_FILES="$CONFIG_FILES src/util/makefile" ;;
16902
18830
    "src/widgets/makefile") CONFIG_FILES="$CONFIG_FILES src/widgets/makefile" ;;
16903
18831
    "src/xml/makefile") CONFIG_FILES="$CONFIG_FILES src/xml/makefile" ;;
 
18832
    "src/2geom/makefile") CONFIG_FILES="$CONFIG_FILES src/2geom/makefile" ;;
16904
18833
    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16905
18834
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
16906
18835
    "share/Makefile") CONFIG_FILES="$CONFIG_FILES share/Makefile" ;;
16907
18836
    "share/clipart/Makefile") CONFIG_FILES="$CONFIG_FILES share/clipart/Makefile" ;;
16908
18837
    "share/examples/Makefile") CONFIG_FILES="$CONFIG_FILES share/examples/Makefile" ;;
16909
18838
    "share/extensions/Makefile") CONFIG_FILES="$CONFIG_FILES share/extensions/Makefile" ;;
 
18839
    "share/extensions/Barcode/Makefile") CONFIG_FILES="$CONFIG_FILES share/extensions/Barcode/Makefile" ;;
 
18840
    "share/extensions/xaml2svg/Makefile") CONFIG_FILES="$CONFIG_FILES share/extensions/xaml2svg/Makefile" ;;
16910
18841
    "share/fonts/Makefile") CONFIG_FILES="$CONFIG_FILES share/fonts/Makefile" ;;
16911
18842
    "share/gradients/Makefile") CONFIG_FILES="$CONFIG_FILES share/gradients/Makefile" ;;
16912
18843
    "share/icons/Makefile") CONFIG_FILES="$CONFIG_FILES share/icons/Makefile" ;;
17033
18964
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
17034
18965
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
17035
18966
INSTALL_DATA!$INSTALL_DATA$ac_delim
 
18967
am__isrc!$am__isrc$ac_delim
17036
18968
CYGPATH_W!$CYGPATH_W$ac_delim
17037
18969
PACKAGE!$PACKAGE$ac_delim
17038
18970
VERSION!$VERSION$ac_delim
17041
18973
AUTOMAKE!$AUTOMAKE$ac_delim
17042
18974
AUTOHEADER!$AUTOHEADER$ac_delim
17043
18975
MAKEINFO!$MAKEINFO$ac_delim
17044
 
AMTAR!$AMTAR$ac_delim
17045
18976
install_sh!$install_sh$ac_delim
17046
18977
STRIP!$STRIP$ac_delim
17047
18978
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
 
18979
mkdir_p!$mkdir_p$ac_delim
17048
18980
AWK!$AWK$ac_delim
17049
18981
SET_MAKE!$SET_MAKE$ac_delim
17050
18982
am__leading_dot!$am__leading_dot$ac_delim
 
18983
AMTAR!$AMTAR$ac_delim
 
18984
am__tar!$am__tar$ac_delim
 
18985
am__untar!$am__untar$ac_delim
17051
18986
INTLTOOL_DESKTOP_RULE!$INTLTOOL_DESKTOP_RULE$ac_delim
17052
18987
INTLTOOL_DIRECTORY_RULE!$INTLTOOL_DIRECTORY_RULE$ac_delim
17053
18988
INTLTOOL_KEYS_RULE!$INTLTOOL_KEYS_RULE$ac_delim
17078
19013
CC!$CC$ac_delim
17079
19014
CFLAGS!$CFLAGS$ac_delim
17080
19015
LDFLAGS!$LDFLAGS$ac_delim
 
19016
_ACEOF
 
19017
 
 
19018
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 
19019
    break
 
19020
  elif $ac_last_try; then
 
19021
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
19022
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
19023
   { (exit 1); exit 1; }; }
 
19024
  else
 
19025
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
19026
  fi
 
19027
done
 
19028
 
 
19029
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
19030
if test -n "$ac_eof"; then
 
19031
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
19032
  ac_eof=`expr $ac_eof + 1`
 
19033
fi
 
19034
 
 
19035
cat >>$CONFIG_STATUS <<_ACEOF
 
19036
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
 
19037
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
19038
_ACEOF
 
19039
sed '
 
19040
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
19041
s/^/s,@/; s/!/@,|#_!!_#|/
 
19042
:n
 
19043
t n
 
19044
s/'"$ac_delim"'$/,g/; t
 
19045
s/$/\\/; p
 
19046
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
19047
' >>$CONFIG_STATUS <conf$$subs.sed
 
19048
rm -f conf$$subs.sed
 
19049
cat >>$CONFIG_STATUS <<_ACEOF
 
19050
CEOF$ac_eof
 
19051
_ACEOF
 
19052
 
 
19053
 
 
19054
ac_delim='%!_!# '
 
19055
for ac_last_try in false false false false false :; do
 
19056
  cat >conf$$subs.sed <<_ACEOF
17081
19057
CPPFLAGS!$CPPFLAGS$ac_delim
17082
19058
ac_ct_CC!$ac_ct_CC$ac_delim
17083
19059
EXEEXT!$EXEEXT$ac_delim
17084
19060
OBJEXT!$OBJEXT$ac_delim
17085
 
_ACEOF
17086
 
 
17087
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
17088
 
    break
17089
 
  elif $ac_last_try; then
17090
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
17091
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
17092
 
   { (exit 1); exit 1; }; }
17093
 
  else
17094
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17095
 
  fi
17096
 
done
17097
 
 
17098
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
17099
 
if test -n "$ac_eof"; then
17100
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
17101
 
  ac_eof=`expr $ac_eof + 1`
17102
 
fi
17103
 
 
17104
 
cat >>$CONFIG_STATUS <<_ACEOF
17105
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
17106
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17107
 
_ACEOF
17108
 
sed '
17109
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
17110
 
s/^/s,@/; s/!/@,|#_!!_#|/
17111
 
:n
17112
 
t n
17113
 
s/'"$ac_delim"'$/,g/; t
17114
 
s/$/\\/; p
17115
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
17116
 
' >>$CONFIG_STATUS <conf$$subs.sed
17117
 
rm -f conf$$subs.sed
17118
 
cat >>$CONFIG_STATUS <<_ACEOF
17119
 
CEOF$ac_eof
17120
 
_ACEOF
17121
 
 
17122
 
 
17123
 
ac_delim='%!_!# '
17124
 
for ac_last_try in false false false false false :; do
17125
 
  cat >conf$$subs.sed <<_ACEOF
17126
19061
DEPDIR!$DEPDIR$ac_delim
17127
19062
am__include!$am__include$ac_delim
17128
19063
am__quote!$am__quote$ac_delim
17141
19076
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
17142
19077
CCAS!$CCAS$ac_delim
17143
19078
CCASFLAGS!$CCASFLAGS$ac_delim
 
19079
CCASDEPMODE!$CCASDEPMODE$ac_delim
 
19080
am__fastdepCCAS_TRUE!$am__fastdepCCAS_TRUE$ac_delim
 
19081
am__fastdepCCAS_FALSE!$am__fastdepCCAS_FALSE$ac_delim
17144
19082
CXXCPP!$CXXCPP$ac_delim
17145
19083
GREP!$GREP$ac_delim
17146
19084
EGREP!$EGREP$ac_delim
17165
19103
FREETYPE_LIBS!$FREETYPE_LIBS$ac_delim
17166
19104
PLATFORM_WIN32_TRUE!$PLATFORM_WIN32_TRUE$ac_delim
17167
19105
PLATFORM_WIN32_FALSE!$PLATFORM_WIN32_FALSE$ac_delim
 
19106
PLATFORM_SOLARIS_2_8_TRUE!$PLATFORM_SOLARIS_2_8_TRUE$ac_delim
 
19107
PLATFORM_SOLARIS_2_8_FALSE!$PLATFORM_SOLARIS_2_8_FALSE$ac_delim
17168
19108
XFT_CFLAGS!$XFT_CFLAGS$ac_delim
17169
19109
XFT_LIBS!$XFT_LIBS$ac_delim
17170
19110
USE_XFT_TRUE!$USE_XFT_TRUE$ac_delim
17171
19111
USE_XFT_FALSE!$USE_XFT_FALSE$ac_delim
17172
19112
PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
17173
19113
PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
17174
 
GNOME_PRINT_CFLAGS!$GNOME_PRINT_CFLAGS$ac_delim
17175
 
GNOME_PRINT_LIBS!$GNOME_PRINT_LIBS$ac_delim
17176
 
USE_GNOME_PRINT_TRUE!$USE_GNOME_PRINT_TRUE$ac_delim
17177
 
USE_GNOME_PRINT_FALSE!$USE_GNOME_PRINT_FALSE$ac_delim
17178
19114
GNOME_VFS_CFLAGS!$GNOME_VFS_CFLAGS$ac_delim
17179
19115
GNOME_VFS_LIBS!$GNOME_VFS_LIBS$ac_delim
17180
19116
USE_GNOME_VFS_TRUE!$USE_GNOME_VFS_TRUE$ac_delim
17193
19129
LCMS_LIBS!$LCMS_LIBS$ac_delim
17194
19130
USE_LCMS_TRUE!$USE_LCMS_TRUE$ac_delim
17195
19131
USE_LCMS_FALSE!$USE_LCMS_FALSE$ac_delim
 
19132
POPPLER_CFLAGS!$POPPLER_CFLAGS$ac_delim
 
19133
POPPLER_LIBS!$POPPLER_LIBS$ac_delim
 
19134
POPPLER_GLIB_CFLAGS!$POPPLER_GLIB_CFLAGS$ac_delim
 
19135
POPPLER_GLIB_LIBS!$POPPLER_GLIB_LIBS$ac_delim
 
19136
CAIRO_SVG_CFLAGS!$CAIRO_SVG_CFLAGS$ac_delim
 
19137
CAIRO_SVG_LIBS!$CAIRO_SVG_LIBS$ac_delim
 
19138
POPPLER_CAIRO_CFLAGS!$POPPLER_CAIRO_CFLAGS$ac_delim
 
19139
POPPLER_CAIRO_LIBS!$POPPLER_CAIRO_LIBS$ac_delim
17196
19140
INKBOARD_CFLAGS!$INKBOARD_CFLAGS$ac_delim
17197
19141
INKBOARD_LIBS!$INKBOARD_LIBS$ac_delim
17198
19142
RELAYTOOL_PROG!$RELAYTOOL_PROG$ac_delim
17199
19143
WITH_INKBOARD_TRUE!$WITH_INKBOARD_TRUE$ac_delim
17200
19144
WITH_INKBOARD_FALSE!$WITH_INKBOARD_FALSE$ac_delim
 
19145
LIBWPG_CFLAGS!$LIBWPG_CFLAGS$ac_delim
 
19146
LIBWPG_LIBS!$LIBWPG_LIBS$ac_delim
 
19147
WITH_LIBWPG_TRUE!$WITH_LIBWPG_TRUE$ac_delim
 
19148
WITH_LIBWPG_FALSE!$WITH_LIBWPG_FALSE$ac_delim
 
19149
MAGICKPP_CONFIG!$MAGICKPP_CONFIG$ac_delim
 
19150
IMAGEMAGICK_LIBS!$IMAGEMAGICK_LIBS$ac_delim
 
19151
USE_IMAGE_MAGICK_TRUE!$USE_IMAGE_MAGICK_TRUE$ac_delim
 
19152
USE_IMAGE_MAGICK_FALSE!$USE_IMAGE_MAGICK_FALSE$ac_delim
17201
19153
INKSCAPE_CFLAGS!$INKSCAPE_CFLAGS$ac_delim
 
19154
_ACEOF
 
19155
 
 
19156
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 
19157
    break
 
19158
  elif $ac_last_try; then
 
19159
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
19160
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
19161
   { (exit 1); exit 1; }; }
 
19162
  else
 
19163
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
19164
  fi
 
19165
done
 
19166
 
 
19167
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
19168
if test -n "$ac_eof"; then
 
19169
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
19170
  ac_eof=`expr $ac_eof + 1`
 
19171
fi
 
19172
 
 
19173
cat >>$CONFIG_STATUS <<_ACEOF
 
19174
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
 
19175
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
19176
_ACEOF
 
19177
sed '
 
19178
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
19179
s/^/s,@/; s/!/@,|#_!!_#|/
 
19180
:n
 
19181
t n
 
19182
s/'"$ac_delim"'$/,g/; t
 
19183
s/$/\\/; p
 
19184
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
19185
' >>$CONFIG_STATUS <conf$$subs.sed
 
19186
rm -f conf$$subs.sed
 
19187
cat >>$CONFIG_STATUS <<_ACEOF
 
19188
CEOF$ac_eof
 
19189
_ACEOF
 
19190
 
 
19191
 
 
19192
ac_delim='%!_!# '
 
19193
for ac_last_try in false false false false false :; do
 
19194
  cat >conf$$subs.sed <<_ACEOF
17202
19195
INKSCAPE_LIBS!$INKSCAPE_LIBS$ac_delim
 
19196
CARBON_LDFLAGS!$CARBON_LDFLAGS$ac_delim
 
19197
HAVE_CARBON_TRUE!$HAVE_CARBON_TRUE$ac_delim
 
19198
HAVE_CARBON_FALSE!$HAVE_CARBON_FALSE$ac_delim
17203
19199
CAIRO_PDF_CFLAGS!$CAIRO_PDF_CFLAGS$ac_delim
17204
19200
CAIRO_PDF_LIBS!$CAIRO_PDF_LIBS$ac_delim
17205
19201
LIBOBJS!$LIBOBJS$ac_delim
17212
19208
LTLIBOBJS!$LTLIBOBJS$ac_delim
17213
19209
_ACEOF
17214
19210
 
17215
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 87; then
 
19211
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 14; then
17216
19212
    break
17217
19213
  elif $ac_last_try; then
17218
19214
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
17230
19226
fi
17231
19227
 
17232
19228
cat >>$CONFIG_STATUS <<_ACEOF
17233
 
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
 
19229
cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
17234
19230
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
17235
19231
_ACEOF
17236
19232
sed '
17439
19435
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17440
19436
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17441
19437
  esac
 
19438
  ac_MKDIR_P=$MKDIR_P
 
19439
  case $MKDIR_P in
 
19440
  [\\/$]* | ?:[\\/]* ) ;;
 
19441
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
19442
  esac
17442
19443
_ACEOF
17443
19444
 
17444
19445
cat >>$CONFIG_STATUS <<\_ACEOF
17492
19493
s&@abs_builddir@&$ac_abs_builddir&;t t
17493
19494
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17494
19495
s&@INSTALL@&$ac_INSTALL&;t t
 
19496
s&@MKDIR_P@&$ac_MKDIR_P&;t t
17495
19497
$ac_datarootdir_hack
17496
 
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
 
19498
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" >$tmp/out
17497
19499
 
17498
19500
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17499
19501
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
17656
19658
  # some people rename them; so instead we look at the file content.
17657
19659
  # Grep'ing the first line is not enough: some people post-process
17658
19660
  # each Makefile.in and add a new line on top of each file to say so.
17659
 
  # So let's grep whole file.
17660
 
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
 
19661
  # Grep'ing the whole file is not good either: AIX grep has a line
 
19662
  # limit of 2048, but all sed's we know have understand at least 4000.
 
19663
  if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
17661
19664
    dirpart=`$as_dirname -- "$mf" ||
17662
19665
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17663
19666
         X"$mf" : 'X\(//\)[^/]' \| \
17684
19687
  else
17685
19688
    continue
17686
19689
  fi
17687
 
  grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
17688
 
  # Extract the definition of DEP_FILES from the Makefile without
17689
 
  # running `make'.
17690
 
  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
 
19690
  # Extract the definition of DEPDIR, am__include, and am__quote
 
19691
  # from the Makefile without running `make'.
 
19692
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17691
19693
  test -z "$DEPDIR" && continue
 
19694
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
19695
  test -z "am__include" && continue
 
19696
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17692
19697
  # When using ansi2knr, U may be empty or an underscore; expand it
17693
 
  U=`sed -n -e '/^U = / s///p' < "$mf"`
17694
 
  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
17695
 
  # We invoke sed twice because it is the simplest approach to
17696
 
  # changing $(DEPDIR) to its actual value in the expansion.
17697
 
  for file in `sed -n -e '
17698
 
    /^DEP_FILES = .*\\\\$/ {
17699
 
      s/^DEP_FILES = //
17700
 
      :loop
17701
 
        s/\\\\$//
17702
 
        p
17703
 
        n
17704
 
        /\\\\$/ b loop
17705
 
      p
17706
 
    }
17707
 
    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
 
19698
  U=`sed -n 's/^U = //p' < "$mf"`
 
19699
  # Find all dependency output files, they are included files with
 
19700
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
19701
  # simplest approach to changing $(DEPDIR) to its actual value in the
 
19702
  # expansion.
 
19703
  for file in `sed -n "
 
19704
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17708
19705
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17709
19706
    # Make sure the directory exists.
17710
19707
    test -f "$dirpart/$file" && continue
17874
19871
        Enable LittleCms:         ${enable_lcms}
17875
19872
        Enable Inkboard:          ${with_inkboard}
17876
19873
        Enable SSL in Inkboard:   ${with_inkboard_ssl}
 
19874
        Enable Poppler-Cairo:     ${enable_poppler_cairo}
 
19875
        ImageMagick Magick++:     ${magick_ok}
 
19876
        Libwpg:                   ${with_libwpg}
17877
19877
"