~ubuntu-branches/ubuntu/precise/cheese/precise-proposed

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher, Jeremy Bicha, Robert Ancell
  • Date: 2011-06-10 11:45:37 UTC
  • mfrom: (1.2.24 upstream)
  • Revision ID: james.westby@ubuntu.com-20110610114537-p9e4zl8m0ehf2b5a
Tags: 3.0.0-0ubuntu1
* Upload to oneiric

[ Jeremy Bicha ]
* Depend on gnome-video-effects since clicking Effects when it is
  not installed results in a segmentation fault.

[ Robert Ancell]
* New upstream version
* debian/control:
  - Use standards version 3.9.1
  - Add build-depends on dh-autoreconf, valac, libclutter-1.0-dev,
    libclutter-gtk-1.0-dev, libclutter-gst-dev, libmx-dev,
    gnome-video-effects-dev, libgee-dev, gnome-common, gobject-introspection, 
    libgirepository1.0-dev, gir1.2-freedesktop, gir1.2-glib-2.0, 
    gir1.2-gstreamer-0.10, gir1.2-clutter-1.0, gir1.2-gdkpixbuf-2.0
  - Drop build-depends on libgconf2-dev, libdbus-1-dev, libdbus-glib-1-dev,
  - Bump build-depends on libglib2.0-dev, libgtk-3-dev,
    libgnome-desktop-3-dev, libgstreamer0.10-dev,
    libgstreamer-plugins-base0.10-dev, libcairo2-dev, libpango1.0-dev,
    librsvg2-dev, libcanberra-gtk3-dev
  - Add new gir1.2-cheese-3.0 package
  - libcheese-gtk18 -> libcheese-gtk19
* debian/cheese.install:
* debian/cheese-common.install:
* debian/libcheese-gtk-dev.install
  - Update for new/changed files
* debian/gir1.2-cheese-3.0.install:
  - Install typelib
* debian/patches/fix-linking.patch:
  - Fix linking issues
* debian/patches/no-gnu-gettext.patch:
  - Don't use both AM_GNU_GETTEXT and IT_PROG_INTLTOOL

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.65 for cheese 2.32.0.
 
3
# Generated by GNU Autoconf 2.67 for cheese 3.0.0.
 
4
#
 
5
# Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=cheese>.
4
6
#
5
7
#
6
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
8
 
# Inc.
 
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
 
10
# Foundation, Inc.
9
11
#
10
12
#
11
13
# This configure script is free software; the Free Software Foundation
228
230
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229
231
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
230
232
  else
231
 
    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232
 
$0: including any error possibly output before this
233
 
$0: message. Then install a modern shell, or manually run
234
 
$0: the script under such a shell if you do have one."
 
233
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
 
234
$0: http://bugzilla.gnome.org/enter_bug.cgi?product=cheese
 
235
$0: about your system, including any error possibly output
 
236
$0: before this message. Then install a modern shell, or
 
237
$0: manually run the script under such a shell if you do
 
238
$0: have one."
235
239
  fi
236
240
  exit 1
237
241
fi
316
320
      test -d "$as_dir" && break
317
321
    done
318
322
    test -z "$as_dirs" || eval "mkdir $as_dirs"
319
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
323
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
320
324
 
321
325
 
322
326
} # as_fn_mkdir_p
356
360
fi # as_fn_arith
357
361
 
358
362
 
359
 
# as_fn_error ERROR [LINENO LOG_FD]
360
 
# ---------------------------------
 
363
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
364
# ----------------------------------------
361
365
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362
366
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363
 
# script with status $?, using 1 if that was 0.
 
367
# script with STATUS, using 1 if that was 0.
364
368
as_fn_error ()
365
369
{
366
 
  as_status=$?; test $as_status -eq 0 && as_status=1
367
 
  if test "$3"; then
368
 
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
370
  as_status=$1; test $as_status -eq 0 && as_status=1
 
371
  if test "$4"; then
 
372
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
373
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
370
374
  fi
371
 
  $as_echo "$as_me: error: $1" >&2
 
375
  $as_echo "$as_me: error: $2" >&2
372
376
  as_fn_exit $as_status
373
377
} # as_fn_error
374
378
 
525
529
# Sed expression to map a string onto a valid variable name.
526
530
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527
531
 
 
532
as_awk_strverscmp='
 
533
  # Use only awk features that work with 7th edition Unix awk (1978).
 
534
  # My, what an old awk you have, Mr. Solaris!
 
535
  END {
 
536
    while (length(v1) && length(v2)) {
 
537
      # Set d1 to be the next thing to compare from v1, and likewise for d2.
 
538
      # Normally this is a single character, but if v1 and v2 contain digits,
 
539
      # compare them as integers and fractions as strverscmp does.
 
540
      if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
 
541
        # Split v1 and v2 into their leading digit string components d1 and d2,
 
542
        # and advance v1 and v2 past the leading digit strings.
 
543
        for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
 
544
        for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
 
545
        d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
 
546
        d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
 
547
        if (d1 ~ /^0/) {
 
548
          if (d2 ~ /^0/) {
 
549
            # Compare two fractions.
 
550
            while (d1 ~ /^0/ && d2 ~ /^0/) {
 
551
              d1 = substr(d1, 2); len1--
 
552
              d2 = substr(d2, 2); len2--
 
553
            }
 
554
            if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
 
555
              # The two components differ in length, and the common prefix
 
556
              # contains only leading zeros.  Consider the longer to be less.
 
557
              d1 = -len1
 
558
              d2 = -len2
 
559
            } else {
 
560
              # Otherwise, compare as strings.
 
561
              d1 = "x" d1
 
562
              d2 = "x" d2
 
563
            }
 
564
          } else {
 
565
            # A fraction is less than an integer.
 
566
            exit 1
 
567
          }
 
568
        } else {
 
569
          if (d2 ~ /^0/) {
 
570
            # An integer is greater than a fraction.
 
571
            exit 2
 
572
          } else {
 
573
            # Compare two integers.
 
574
            d1 += 0
 
575
            d2 += 0
 
576
          }
 
577
        }
 
578
      } else {
 
579
        # The normal case, without worrying about digits.
 
580
        d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
 
581
        d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
 
582
      }
 
583
      if (d1 < d2) exit 1
 
584
      if (d1 > d2) exit 2
 
585
    }
 
586
    # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
 
587
    # which mishandles some comparisons of empty strings to integers.
 
588
    if (length(v2)) exit 1
 
589
    if (length(v1)) exit 2
 
590
  }
 
591
'
528
592
 
529
593
 
530
594
# Check that we are running under the correct shell.
679
743
exec 6>&1
680
744
 
681
745
# Name of the host.
682
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
746
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
683
747
# so uname gets run too.
684
748
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
685
749
 
698
762
# Identity of this package.
699
763
PACKAGE_NAME='cheese'
700
764
PACKAGE_TARNAME='cheese'
701
 
PACKAGE_VERSION='2.32.0'
702
 
PACKAGE_STRING='cheese 2.32.0'
703
 
PACKAGE_BUGREPORT=''
704
 
PACKAGE_URL=''
 
765
PACKAGE_VERSION='3.0.0'
 
766
PACKAGE_STRING='cheese 3.0.0'
 
767
PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=cheese'
 
768
PACKAGE_URL='http://projects.gnome.org/cheese/'
705
769
 
 
770
ac_unique_file="configure.ac"
706
771
# Factoring default headers for most tests.
707
772
ac_includes_default="\
708
773
#include <stdio.h>
739
804
# include <unistd.h>
740
805
#endif"
741
806
 
 
807
gt_needs=
742
808
ac_subst_vars='am__EXEEXT_FALSE
743
809
am__EXEEXT_TRUE
744
810
LTLIBOBJS
745
811
LIBOBJS
746
 
GCONF_SCHEMAS_INSTALL_FALSE
747
 
GCONF_SCHEMAS_INSTALL_TRUE
748
 
GCONF_SCHEMA_FILE_DIR
749
 
GCONF_SCHEMA_CONFIG_SOURCE
750
 
GCONFTOOL
751
 
GLIB_MKENUMS
752
 
GLIB_GENMARSHAL
753
 
CHEESE_LIBS
754
 
CHEESE_CFLAGS
755
 
HAVE_XTEST_FALSE
756
 
HAVE_XTEST_TRUE
757
 
XTEST_LIBS
758
 
OS_LINUX
759
 
UDEV_LIBS
760
 
UDEV_CFLAGS
 
812
GSETTINGS_RULES
 
813
GLIB_COMPILE_SCHEMAS
 
814
gsettingsschemadir
 
815
GSETTINGS_DISABLE_SCHEMAS_COMPILE
761
816
HAVE_GNOME_DOC_UTILS_FALSE
762
817
HAVE_GNOME_DOC_UTILS_TRUE
763
818
DISTCHECK_CONFIGURE_FLAGS
766
821
DOC_USER_FORMATS
767
822
OMF_DIR
768
823
HELP_DIR
769
 
MKINSTALLDIRS
770
 
POSUB
771
 
POFILES
772
 
PO_IN_DATADIR_FALSE
773
 
PO_IN_DATADIR_TRUE
774
 
INTLLIBS
775
 
INSTOBJEXT
776
 
GMOFILES
777
 
CATOBJEXT
778
 
CATALOGS
779
 
MSGFMT_OPTS
 
824
GTK_DOC_USE_REBASE_FALSE
 
825
GTK_DOC_USE_REBASE_TRUE
 
826
GTK_DOC_USE_LIBTOOL_FALSE
 
827
GTK_DOC_USE_LIBTOOL_TRUE
 
828
GTK_DOC_BUILD_PDF_FALSE
 
829
GTK_DOC_BUILD_PDF_TRUE
 
830
GTK_DOC_BUILD_HTML_FALSE
 
831
GTK_DOC_BUILD_HTML_TRUE
 
832
ENABLE_GTK_DOC_FALSE
 
833
ENABLE_GTK_DOC_TRUE
 
834
HTML_DIR
 
835
GTKDOC_MKPDF
 
836
GTKDOC_REBASE
 
837
GTKDOC_CHECK
 
838
HAVE_INTROSPECTION_FALSE
 
839
HAVE_INTROSPECTION_TRUE
 
840
INTROSPECTION_MAKEFILE
 
841
INTROSPECTION_LIBS
 
842
INTROSPECTION_CFLAGS
 
843
INTROSPECTION_TYPELIBDIR
 
844
INTROSPECTION_GIRDIR
 
845
INTROSPECTION_GENERATE
 
846
INTROSPECTION_COMPILER
 
847
INTROSPECTION_SCANNER
 
848
GLIB_MKENUMS
 
849
GLIB_GENMARSHAL
 
850
CHEESE_GTK_LIBS
 
851
CHEESE_GTK_CFLAGS
 
852
CHEESE_LIBS
 
853
CHEESE_CFLAGS
 
854
HAVE_XTEST_FALSE
 
855
HAVE_XTEST_TRUE
 
856
XTEST_LIBS
 
857
OS_LINUX
 
858
UDEV_LIBS
 
859
UDEV_CFLAGS
 
860
PKG_CONFIG_LIBDIR
 
861
PKG_CONFIG_PATH
 
862
PKG_CONFIG
780
863
DATADIRNAME
781
864
ALL_LINGUAS
782
865
INTLTOOL_PERL
783
 
GMSGFMT
784
 
MSGFMT
785
 
MSGMERGE
786
 
XGETTEXT
787
866
INTLTOOL_POLICY_RULE
788
867
INTLTOOL_SERVICE_RULE
789
868
INTLTOOL_THEME_RULE
806
885
INTLTOOL_EXTRACT
807
886
INTLTOOL_MERGE
808
887
INTLTOOL_UPDATE
 
888
GETTEXT_PACKAGE
 
889
POSUB
 
890
LTLIBINTL
 
891
LIBINTL
 
892
INTLLIBS
 
893
LTLIBICONV
 
894
LIBICONV
 
895
INTL_MACOSX_LIBS
 
896
XGETTEXT_EXTRA_OPTIONS
 
897
MSGMERGE
 
898
XGETTEXT_015
 
899
XGETTEXT
 
900
GMSGFMT_015
 
901
MSGFMT_015
 
902
GMSGFMT
 
903
MSGFMT
 
904
GETTEXT_MACRO_VERSION
809
905
USE_NLS
810
 
GETTEXT_PACKAGE
811
906
FULL_LIBEXECDIR
812
 
CHEESE_LT_VERSION
813
 
GTK_DOC_USE_REBASE_FALSE
814
 
GTK_DOC_USE_REBASE_TRUE
815
 
GTK_DOC_USE_LIBTOOL_FALSE
816
 
GTK_DOC_USE_LIBTOOL_TRUE
817
 
GTK_DOC_BUILD_PDF_FALSE
818
 
GTK_DOC_BUILD_PDF_TRUE
819
 
GTK_DOC_BUILD_HTML_FALSE
820
 
GTK_DOC_BUILD_HTML_TRUE
821
 
ENABLE_GTK_DOC_FALSE
822
 
ENABLE_GTK_DOC_TRUE
823
 
PKG_CONFIG
824
 
HTML_DIR
825
 
GTKDOC_MKPDF
826
 
GTKDOC_REBASE
827
 
GTKDOC_CHECK
 
907
LIBCHEESE_GTK_LT_VERSION
 
908
LIBCHEESE_LT_VERSION
828
909
WARN_CFLAGS
829
910
DISABLE_DEPRECATED
830
911
OTOOL64
852
933
build_cpu
853
934
build
854
935
LIBTOOL
 
936
VALAC
855
937
EGREP
856
938
GREP
857
939
CPP
871
953
LDFLAGS
872
954
CFLAGS
873
955
CC
874
 
ACLOCAL_AMFLAGS
875
956
MAINT
876
957
MAINTAINER_MODE_FALSE
877
958
MAINTAINER_MODE_TRUE
878
 
AM_BACKSLASH
879
 
AM_DEFAULT_VERBOSITY
880
959
am__untar
881
960
am__tar
882
961
AMTAR
941
1020
ac_subst_files=''
942
1021
ac_user_opts='
943
1022
enable_option_checking
944
 
enable_silent_rules
945
1023
enable_maintainer_mode
946
1024
enable_dependency_tracking
947
1025
enable_shared
952
1030
enable_libtool_lock
953
1031
enable_compile_warnings
954
1032
enable_iso_c
 
1033
enable_nls
 
1034
enable_rpath
 
1035
with_libiconv_prefix
 
1036
with_libintl_prefix
 
1037
enable_introspection
955
1038
with_html_dir
956
1039
enable_gtk_doc
957
1040
enable_gtk_doc_html
958
1041
enable_gtk_doc_pdf
959
 
enable_nls
960
1042
with_help_dir
961
1043
with_omf_dir
962
1044
with_help_formats
963
1045
enable_scrollkeeper
964
 
with_gconf_source
965
 
with_gconf_schema_file_dir
966
 
enable_schemas_install
 
1046
enable_schemas_compile
967
1047
'
968
1048
      ac_precious_vars='build_alias
969
1049
host_alias
975
1055
CPPFLAGS
976
1056
CPP
977
1057
PKG_CONFIG
 
1058
PKG_CONFIG_PATH
 
1059
PKG_CONFIG_LIBDIR
978
1060
UDEV_CFLAGS
979
1061
UDEV_LIBS
980
1062
CHEESE_CFLAGS
981
 
CHEESE_LIBS'
 
1063
CHEESE_LIBS
 
1064
CHEESE_GTK_CFLAGS
 
1065
CHEESE_GTK_LIBS'
982
1066
 
983
1067
 
984
1068
# Initialize some variables set by options.
1041
1125
  fi
1042
1126
 
1043
1127
  case $ac_option in
1044
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1045
 
  *)    ac_optarg=yes ;;
 
1128
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
1129
  *=)   ac_optarg= ;;
 
1130
  *)    ac_optarg=yes ;;
1046
1131
  esac
1047
1132
 
1048
1133
  # Accept the important Cygnus configure options, so we can diagnose typos.
1087
1172
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1088
1173
    # Reject names that are not valid shell variable names.
1089
1174
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1090
 
      as_fn_error "invalid feature name: $ac_useropt"
 
1175
      as_fn_error $? "invalid feature name: $ac_useropt"
1091
1176
    ac_useropt_orig=$ac_useropt
1092
1177
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1093
1178
    case $ac_user_opts in
1113
1198
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1114
1199
    # Reject names that are not valid shell variable names.
1115
1200
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1116
 
      as_fn_error "invalid feature name: $ac_useropt"
 
1201
      as_fn_error $? "invalid feature name: $ac_useropt"
1117
1202
    ac_useropt_orig=$ac_useropt
1118
1203
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1119
1204
    case $ac_user_opts in
1317
1402
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1318
1403
    # Reject names that are not valid shell variable names.
1319
1404
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1320
 
      as_fn_error "invalid package name: $ac_useropt"
 
1405
      as_fn_error $? "invalid package name: $ac_useropt"
1321
1406
    ac_useropt_orig=$ac_useropt
1322
1407
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1323
1408
    case $ac_user_opts in
1333
1418
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1334
1419
    # Reject names that are not valid shell variable names.
1335
1420
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1336
 
      as_fn_error "invalid package name: $ac_useropt"
 
1421
      as_fn_error $? "invalid package name: $ac_useropt"
1337
1422
    ac_useropt_orig=$ac_useropt
1338
1423
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1339
1424
    case $ac_user_opts in
1363
1448
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1364
1449
    x_libraries=$ac_optarg ;;
1365
1450
 
1366
 
  -*) as_fn_error "unrecognized option: \`$ac_option'
1367
 
Try \`$0 --help' for more information."
 
1451
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1452
Try \`$0 --help' for more information"
1368
1453
    ;;
1369
1454
 
1370
1455
  *=*)
1372
1457
    # Reject names that are not valid shell variable names.
1373
1458
    case $ac_envvar in #(
1374
1459
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1375
 
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1460
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1376
1461
    esac
1377
1462
    eval $ac_envvar=\$ac_optarg
1378
1463
    export $ac_envvar ;;
1390
1475
 
1391
1476
if test -n "$ac_prev"; then
1392
1477
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1393
 
  as_fn_error "missing argument to $ac_option"
 
1478
  as_fn_error $? "missing argument to $ac_option"
1394
1479
fi
1395
1480
 
1396
1481
if test -n "$ac_unrecognized_opts"; then
1397
1482
  case $enable_option_checking in
1398
1483
    no) ;;
1399
 
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
 
1484
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1400
1485
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1401
1486
  esac
1402
1487
fi
1419
1504
    [\\/$]* | ?:[\\/]* )  continue;;
1420
1505
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1421
1506
  esac
1422
 
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
 
1507
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1423
1508
done
1424
1509
 
1425
1510
# There might be people who depend on the old broken behavior: `$host'
1433
1518
if test "x$host_alias" != x; then
1434
1519
  if test "x$build_alias" = x; then
1435
1520
    cross_compiling=maybe
1436
 
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1437
 
    If a cross compiler is detected then cross compile mode will be used." >&2
 
1521
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 
1522
    If a cross compiler is detected then cross compile mode will be used" >&2
1438
1523
  elif test "x$build_alias" != "x$host_alias"; then
1439
1524
    cross_compiling=yes
1440
1525
  fi
1449
1534
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1450
1535
ac_ls_di=`ls -di .` &&
1451
1536
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1452
 
  as_fn_error "working directory cannot be determined"
 
1537
  as_fn_error $? "working directory cannot be determined"
1453
1538
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1454
 
  as_fn_error "pwd does not report name of working directory"
 
1539
  as_fn_error $? "pwd does not report name of working directory"
1455
1540
 
1456
1541
 
1457
1542
# Find the source files, if location was not specified.
1490
1575
fi
1491
1576
if test ! -r "$srcdir/$ac_unique_file"; then
1492
1577
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1493
 
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
 
1578
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1494
1579
fi
1495
1580
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1496
1581
ac_abs_confdir=`(
1497
 
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
 
1582
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1498
1583
        pwd)`
1499
1584
# When building in place, set srcdir=.
1500
1585
if test "$ac_abs_confdir" = "$ac_pwd"; then
1520
1605
  # Omit some internal or obsolete options to make the list less imposing.
1521
1606
  # This message is too long to be a string in the A/UX 3.1 sh.
1522
1607
  cat <<_ACEOF
1523
 
\`configure' configures cheese 2.32.0 to adapt to many kinds of systems.
 
1608
\`configure' configures cheese 3.0.0 to adapt to many kinds of systems.
1524
1609
 
1525
1610
Usage: $0 [OPTION]... [VAR=VALUE]...
1526
1611
 
1534
1619
      --help=short        display options specific to this package
1535
1620
      --help=recursive    display the short help of all the included packages
1536
1621
  -V, --version           display version information and exit
1537
 
  -q, --quiet, --silent   do not print \`checking...' messages
 
1622
  -q, --quiet, --silent   do not print \`checking ...' messages
1538
1623
      --cache-file=FILE   cache test results in FILE [disabled]
1539
1624
  -C, --config-cache      alias for \`--cache-file=config.cache'
1540
1625
  -n, --no-create         do not create output files
1590
1675
 
1591
1676
if test -n "$ac_init_help"; then
1592
1677
  case $ac_init_help in
1593
 
     short | recursive ) echo "Configuration of cheese 2.32.0:";;
 
1678
     short | recursive ) echo "Configuration of cheese 3.0.0:";;
1594
1679
   esac
1595
1680
  cat <<\_ACEOF
1596
1681
 
1598
1683
  --disable-option-checking  ignore unrecognized --enable/--with options
1599
1684
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1600
1685
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1601
 
  --enable-silent-rules          less verbose build output (undo: `make V=1')
1602
 
  --disable-silent-rules         verbose build output (undo: `make V=0')
1603
 
  --enable-maintainer-mode  enable make rules and dependencies not useful
 
1686
  --disable-maintainer-mode  disable make rules and dependencies not useful
1604
1687
                          (and sometimes confusing) to the casual installer
1605
1688
  --disable-dependency-tracking  speeds up one-time build
1606
1689
  --enable-dependency-tracking   do not reject slow dependency extractors
1612
1695
  --enable-compile-warnings=[no/minimum/yes/maximum/error]
1613
1696
                          Turn on compiler warnings
1614
1697
  --enable-iso-c          Try to warn if code is not ISO C
 
1698
  --disable-nls           do not use Native Language Support
 
1699
  --disable-rpath         do not hardcode runtime library paths
 
1700
  --enable-introspection=[no/auto/yes]
 
1701
                          Enable introspection for this build
1615
1702
  --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
1616
1703
  --enable-gtk-doc-html   build documentation in html format [[default=yes]]
1617
1704
  --enable-gtk-doc-pdf    build documentation in pdf format [[default=no]]
1618
 
  --disable-nls           do not use Native Language Support
1619
1705
  --disable-scrollkeeper  do not make updates to the scrollkeeper database
1620
 
  --disable-schemas-install
1621
 
                          Disable the schemas installation
 
1706
  --disable-schemas-compile
 
1707
                          Disable regeneration of gschemas.compiled on install
1622
1708
 
1623
1709
Optional Packages:
1624
1710
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1626
1712
  --with-pic              try to use only PIC/non-PIC objects [default=use
1627
1713
                          both]
1628
1714
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1715
  --with-gnu-ld           assume the C compiler uses GNU ld default=no
 
1716
  --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
 
1717
  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
 
1718
  --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
 
1719
  --without-libintl-prefix     don't search for libintl in includedir and libdir
1629
1720
  --with-html-dir=PATH    path to installed docs
1630
1721
  --with-help-dir=DIR     path to help docs
1631
1722
  --with-omf-dir=DIR      path to OMF files
1632
1723
  --with-help-formats=FORMATS
1633
1724
                          list of formats
1634
 
  --with-gconf-source=sourceaddress
1635
 
                          Config database for installing schema files.
1636
 
  --with-gconf-schema-file-dir=dir
1637
 
                          Directory for installing schema files.
1638
1725
 
1639
1726
Some influential environment variables:
1640
1727
  CC          C compiler command
1646
1733
              you have headers in a nonstandard directory <include dir>
1647
1734
  CPP         C preprocessor
1648
1735
  PKG_CONFIG  path to pkg-config utility
 
1736
  PKG_CONFIG_PATH
 
1737
              directories to add to pkg-config's search path
 
1738
  PKG_CONFIG_LIBDIR
 
1739
              path overriding pkg-config's built-in search path
1649
1740
  UDEV_CFLAGS C compiler flags for UDEV, overriding pkg-config
1650
1741
  UDEV_LIBS   linker flags for UDEV, overriding pkg-config
1651
1742
  CHEESE_CFLAGS
1652
1743
              C compiler flags for CHEESE, overriding pkg-config
1653
1744
  CHEESE_LIBS linker flags for CHEESE, overriding pkg-config
 
1745
  CHEESE_GTK_CFLAGS
 
1746
              C compiler flags for CHEESE_GTK, overriding pkg-config
 
1747
  CHEESE_GTK_LIBS
 
1748
              linker flags for CHEESE_GTK, overriding pkg-config
1654
1749
 
1655
1750
Use these variables to override the choices made by `configure' or to help
1656
1751
it to find libraries and programs with nonstandard names/locations.
1657
1752
 
1658
 
Report bugs to the package provider.
 
1753
Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=cheese>.
 
1754
cheese home page: <http://projects.gnome.org/cheese/>.
1659
1755
_ACEOF
1660
1756
ac_status=$?
1661
1757
fi
1718
1814
test -n "$ac_init_help" && exit $ac_status
1719
1815
if $ac_init_version; then
1720
1816
  cat <<\_ACEOF
1721
 
cheese configure 2.32.0
1722
 
generated by GNU Autoconf 2.65
 
1817
cheese configure 3.0.0
 
1818
generated by GNU Autoconf 2.67
1723
1819
 
1724
 
Copyright (C) 2009 Free Software Foundation, Inc.
 
1820
Copyright (C) 2010 Free Software Foundation, Inc.
1725
1821
This configure script is free software; the Free Software Foundation
1726
1822
gives unlimited permission to copy, distribute and modify it.
1727
1823
_ACEOF
1770
1866
 
1771
1867
} # ac_fn_c_try_compile
1772
1868
 
1773
 
# ac_fn_c_try_link LINENO
1774
 
# -----------------------
1775
 
# Try to link conftest.$ac_ext, and return whether this succeeded.
1776
 
ac_fn_c_try_link ()
1777
 
{
1778
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1779
 
  rm -f conftest.$ac_objext conftest$ac_exeext
1780
 
  if { { ac_try="$ac_link"
1781
 
case "(($ac_try" in
1782
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1783
 
  *) ac_try_echo=$ac_try;;
1784
 
esac
1785
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1786
 
$as_echo "$ac_try_echo"; } >&5
1787
 
  (eval "$ac_link") 2>conftest.err
1788
 
  ac_status=$?
1789
 
  if test -s conftest.err; then
1790
 
    grep -v '^ *+' conftest.err >conftest.er1
1791
 
    cat conftest.er1 >&5
1792
 
    mv -f conftest.er1 conftest.err
1793
 
  fi
1794
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1795
 
  test $ac_status = 0; } && {
1796
 
         test -z "$ac_c_werror_flag" ||
1797
 
         test ! -s conftest.err
1798
 
       } && test -s conftest$ac_exeext && {
1799
 
         test "$cross_compiling" = yes ||
1800
 
         $as_test_x conftest$ac_exeext
1801
 
       }; then :
1802
 
  ac_retval=0
1803
 
else
1804
 
  $as_echo "$as_me: failed program was:" >&5
1805
 
sed 's/^/| /' conftest.$ac_ext >&5
1806
 
 
1807
 
        ac_retval=1
1808
 
fi
1809
 
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1810
 
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1811
 
  # interfere with the next link command; also delete a directory that is
1812
 
  # left behind by Apple's compiler.  We do this before executing the actions.
1813
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1814
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1815
 
  as_fn_set_status $ac_retval
1816
 
 
1817
 
} # ac_fn_c_try_link
1818
 
 
1819
1869
# ac_fn_c_try_cpp LINENO
1820
1870
# ----------------------
1821
1871
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1837
1887
    mv -f conftest.er1 conftest.err
1838
1888
  fi
1839
1889
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1840
 
  test $ac_status = 0; } >/dev/null && {
 
1890
  test $ac_status = 0; } > conftest.i && {
1841
1891
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1842
1892
         test ! -s conftest.err
1843
1893
       }; then :
1895
1945
 
1896
1946
} # ac_fn_c_try_run
1897
1947
 
 
1948
# ac_fn_c_try_link LINENO
 
1949
# -----------------------
 
1950
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1951
ac_fn_c_try_link ()
 
1952
{
 
1953
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1954
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1955
  if { { ac_try="$ac_link"
 
1956
case "(($ac_try" in
 
1957
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1958
  *) ac_try_echo=$ac_try;;
 
1959
esac
 
1960
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1961
$as_echo "$ac_try_echo"; } >&5
 
1962
  (eval "$ac_link") 2>conftest.err
 
1963
  ac_status=$?
 
1964
  if test -s conftest.err; then
 
1965
    grep -v '^ *+' conftest.err >conftest.er1
 
1966
    cat conftest.er1 >&5
 
1967
    mv -f conftest.er1 conftest.err
 
1968
  fi
 
1969
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1970
  test $ac_status = 0; } && {
 
1971
         test -z "$ac_c_werror_flag" ||
 
1972
         test ! -s conftest.err
 
1973
       } && test -s conftest$ac_exeext && {
 
1974
         test "$cross_compiling" = yes ||
 
1975
         $as_test_x conftest$ac_exeext
 
1976
       }; then :
 
1977
  ac_retval=0
 
1978
else
 
1979
  $as_echo "$as_me: failed program was:" >&5
 
1980
sed 's/^/| /' conftest.$ac_ext >&5
 
1981
 
 
1982
        ac_retval=1
 
1983
fi
 
1984
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1985
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1986
  # interfere with the next link command; also delete a directory that is
 
1987
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1988
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1989
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1990
  as_fn_set_status $ac_retval
 
1991
 
 
1992
} # ac_fn_c_try_link
 
1993
 
1898
1994
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1899
1995
# -------------------------------------------------------
1900
1996
# Tests whether HEADER exists and can be compiled using the include files in
1904
2000
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1905
2001
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1906
2002
$as_echo_n "checking for $2... " >&6; }
1907
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2003
if eval "test \"\${$3+set}\"" = set; then :
1908
2004
  $as_echo_n "(cached) " >&6
1909
2005
else
1910
2006
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1934
2030
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1935
2031
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1936
2032
$as_echo_n "checking for $2... " >&6; }
1937
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2033
if eval "test \"\${$3+set}\"" = set; then :
1938
2034
  $as_echo_n "(cached) " >&6
1939
2035
else
1940
2036
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2001
2097
ac_fn_c_check_header_mongrel ()
2002
2098
{
2003
2099
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2004
 
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2100
  if eval "test \"\${$3+set}\"" = set; then :
2005
2101
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2006
2102
$as_echo_n "checking for $2... " >&6; }
2007
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2103
if eval "test \"\${$3+set}\"" = set; then :
2008
2104
  $as_echo_n "(cached) " >&6
2009
2105
fi
2010
2106
eval ac_res=\$$3
2040
2136
else
2041
2137
  ac_header_preproc=no
2042
2138
fi
2043
 
rm -f conftest.err conftest.$ac_ext
 
2139
rm -f conftest.err conftest.i conftest.$ac_ext
2044
2140
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2045
2141
$as_echo "$ac_header_preproc" >&6; }
2046
2142
 
2063
2159
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2064
2160
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2065
2161
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2162
( $as_echo "## --------------------------------------------------------------------- ##
 
2163
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=cheese ##
 
2164
## --------------------------------------------------------------------- ##"
 
2165
     ) | sed "s/^/$as_me: WARNING:     /" >&2
2066
2166
    ;;
2067
2167
esac
2068
2168
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2069
2169
$as_echo_n "checking for $2... " >&6; }
2070
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2170
if eval "test \"\${$3+set}\"" = set; then :
2071
2171
  $as_echo_n "(cached) " >&6
2072
2172
else
2073
2173
  eval "$3=\$ac_header_compiler"
2083
2183
This file contains any messages produced by compilers while
2084
2184
running configure, to aid debugging if configure makes a mistake.
2085
2185
 
2086
 
It was created by cheese $as_me 2.32.0, which was
2087
 
generated by GNU Autoconf 2.65.  Invocation command line was
 
2186
It was created by cheese $as_me 3.0.0, which was
 
2187
generated by GNU Autoconf 2.67.  Invocation command line was
2088
2188
 
2089
2189
  $ $0 $@
2090
2190
 
2194
2294
  {
2195
2295
    echo
2196
2296
 
2197
 
    cat <<\_ASBOX
2198
 
## ---------------- ##
 
2297
    $as_echo "## ---------------- ##
2199
2298
## Cache variables. ##
2200
 
## ---------------- ##
2201
 
_ASBOX
 
2299
## ---------------- ##"
2202
2300
    echo
2203
2301
    # The following way of writing the cache mishandles newlines in values,
2204
2302
(
2232
2330
)
2233
2331
    echo
2234
2332
 
2235
 
    cat <<\_ASBOX
2236
 
## ----------------- ##
 
2333
    $as_echo "## ----------------- ##
2237
2334
## Output variables. ##
2238
 
## ----------------- ##
2239
 
_ASBOX
 
2335
## ----------------- ##"
2240
2336
    echo
2241
2337
    for ac_var in $ac_subst_vars
2242
2338
    do
2249
2345
    echo
2250
2346
 
2251
2347
    if test -n "$ac_subst_files"; then
2252
 
      cat <<\_ASBOX
2253
 
## ------------------- ##
 
2348
      $as_echo "## ------------------- ##
2254
2349
## File substitutions. ##
2255
 
## ------------------- ##
2256
 
_ASBOX
 
2350
## ------------------- ##"
2257
2351
      echo
2258
2352
      for ac_var in $ac_subst_files
2259
2353
      do
2267
2361
    fi
2268
2362
 
2269
2363
    if test -s confdefs.h; then
2270
 
      cat <<\_ASBOX
2271
 
## ----------- ##
 
2364
      $as_echo "## ----------- ##
2272
2365
## confdefs.h. ##
2273
 
## ----------- ##
2274
 
_ASBOX
 
2366
## ----------- ##"
2275
2367
      echo
2276
2368
      cat confdefs.h
2277
2369
      echo
2326
2418
ac_site_file1=NONE
2327
2419
ac_site_file2=NONE
2328
2420
if test -n "$CONFIG_SITE"; then
2329
 
  ac_site_file1=$CONFIG_SITE
 
2421
  # We do not want a PATH search for config.site.
 
2422
  case $CONFIG_SITE in #((
 
2423
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
2424
    */*) ac_site_file1=$CONFIG_SITE;;
 
2425
    *)   ac_site_file1=./$CONFIG_SITE;;
 
2426
  esac
2330
2427
elif test "x$prefix" != xNONE; then
2331
2428
  ac_site_file1=$prefix/share/config.site
2332
2429
  ac_site_file2=$prefix/etc/config.site
2341
2438
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2342
2439
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2343
2440
    sed 's/^/| /' "$ac_site_file" >&5
2344
 
    . "$ac_site_file"
 
2441
    . "$ac_site_file" \
 
2442
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2443
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2444
as_fn_error $? "failed to load site script $ac_site_file
 
2445
See \`config.log' for more details" "$LINENO" 5 ; }
2345
2446
  fi
2346
2447
done
2347
2448
 
2362
2463
  >$cache_file
2363
2464
fi
2364
2465
 
 
2466
gt_needs="$gt_needs "
2365
2467
# Check that the precious variables saved in the cache have kept the same
2366
2468
# value.
2367
2469
ac_cache_corrupted=false
2417
2519
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2418
2520
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2419
2521
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2420
 
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 
2522
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2421
2523
fi
2422
2524
## -------------------- ##
2423
2525
## Main body of script. ##
2431
2533
 
2432
2534
 
2433
2535
 
 
2536
ac_config_headers="$ac_config_headers cheese-config.h"
 
2537
 
 
2538
 
 
2539
 
 
2540
 
2434
2541
am__api_version='1.11'
2435
2542
 
2436
2543
ac_aux_dir=
2437
2544
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2438
 
  for ac_t in install-sh install.sh shtool; do
2439
 
    if test -f "$ac_dir/$ac_t"; then
2440
 
      ac_aux_dir=$ac_dir
2441
 
      ac_install_sh="$ac_aux_dir/$ac_t -c"
2442
 
      break 2
2443
 
    fi
2444
 
  done
 
2545
  if test -f "$ac_dir/install-sh"; then
 
2546
    ac_aux_dir=$ac_dir
 
2547
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
2548
    break
 
2549
  elif test -f "$ac_dir/install.sh"; then
 
2550
    ac_aux_dir=$ac_dir
 
2551
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
2552
    break
 
2553
  elif test -f "$ac_dir/shtool"; then
 
2554
    ac_aux_dir=$ac_dir
 
2555
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
2556
    break
 
2557
  fi
2445
2558
done
2446
2559
if test -z "$ac_aux_dir"; then
2447
 
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 
2560
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2448
2561
fi
2449
2562
 
2450
2563
# These three variables are undocumented and unsupported,
2560
2673
'
2561
2674
case `pwd` in
2562
2675
  *[\\\"\#\$\&\'\`$am_lf]*)
2563
 
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
 
2676
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2564
2677
esac
2565
2678
case $srcdir in
2566
2679
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2567
 
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2680
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2568
2681
esac
2569
2682
 
2570
2683
# Do `set' in a subshell so we don't clobber the current shell's
2586
2699
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2587
2700
      # broken ls alias from the environment.  This has actually
2588
2701
      # happened.  Such a system could not be considered "sane".
2589
 
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 
2702
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2590
2703
alias in your environment" "$LINENO" 5
2591
2704
   fi
2592
2705
 
2596
2709
   # Ok.
2597
2710
   :
2598
2711
else
2599
 
   as_fn_error "newly created file is older than distributed files!
 
2712
   as_fn_error $? "newly created file is older than distributed files!
2600
2713
Check your system clock" "$LINENO" 5
2601
2714
fi
2602
2715
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2834
2947
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2835
2948
set x ${MAKE-make}
2836
2949
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2837
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2950
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2838
2951
  $as_echo_n "(cached) " >&6
2839
2952
else
2840
2953
  cat >conftest.make <<\_ACEOF
2842
2955
all:
2843
2956
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2844
2957
_ACEOF
2845
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
2958
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2846
2959
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2847
2960
  *@@@%%%=?*=@@@%%%*)
2848
2961
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2876
2989
  am__isrc=' -I$(srcdir)'
2877
2990
  # test to see if srcdir already configured
2878
2991
  if test -f $srcdir/config.status; then
2879
 
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
2992
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2880
2993
  fi
2881
2994
fi
2882
2995
 
2891
3004
 
2892
3005
 
2893
3006
# Define the identity of the package.
2894
 
 PACKAGE=cheese
2895
 
 VERSION=2.32.0
 
3007
 PACKAGE='cheese'
 
3008
 VERSION='3.0.0'
2896
3009
 
2897
3010
 
2898
3011
cat >>confdefs.h <<_ACEOF
2932
3045
 
2933
3046
 
2934
3047
 
2935
 
# Check whether --enable-silent-rules was given.
2936
 
if test "${enable_silent_rules+set}" = set; then :
2937
 
  enableval=$enable_silent_rules;
2938
 
fi
2939
 
 
2940
 
case $enable_silent_rules in
2941
 
yes) AM_DEFAULT_VERBOSITY=0;;
2942
 
no)  AM_DEFAULT_VERBOSITY=1;;
2943
 
*)   AM_DEFAULT_VERBOSITY=0;;
2944
 
esac
2945
 
AM_BACKSLASH='\'
2946
 
 
2947
 
ac_config_headers="$ac_config_headers cheese-config.h"
2948
 
 
2949
 
 
2950
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2951
 
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
 
3048
 
 
3049
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable maintainer-specific portions of Makefiles" >&5
 
3050
$as_echo_n "checking whether to disable maintainer-specific portions of Makefiles... " >&6; }
2952
3051
    # Check whether --enable-maintainer-mode was given.
2953
3052
if test "${enable_maintainer_mode+set}" = set; then :
2954
3053
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2955
3054
else
2956
 
  USE_MAINTAINER_MODE=no
 
3055
  USE_MAINTAINER_MODE=yes
2957
3056
fi
2958
3057
 
2959
3058
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2970
3069
 
2971
3070
 
2972
3071
 
2973
 
ACLOCAL_AMFLAGS="\${ACLOCAL_FLAGS}"
2974
 
 
2975
 
 
2976
 
DEPDIR="${am__leading_dot}deps"
2977
 
 
2978
 
ac_config_commands="$ac_config_commands depfiles"
2979
 
 
2980
 
 
2981
 
am_make=${MAKE-make}
2982
 
cat > confinc << 'END'
2983
 
am__doit:
2984
 
        @echo this is the am__doit target
2985
 
.PHONY: am__doit
2986
 
END
2987
 
# If we don't find an include directive, just comment out the code.
2988
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2989
 
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2990
 
am__include="#"
2991
 
am__quote=
2992
 
_am_result=none
2993
 
# First try GNU make style include.
2994
 
echo "include confinc" > confmf
2995
 
# Ignore all kinds of additional output from `make'.
2996
 
case `$am_make -s -f confmf 2> /dev/null` in #(
2997
 
*the\ am__doit\ target*)
2998
 
  am__include=include
2999
 
  am__quote=
3000
 
  _am_result=GNU
3001
 
  ;;
3002
 
esac
3003
 
# Now try BSD make style include.
3004
 
if test "$am__include" = "#"; then
3005
 
   echo '.include "confinc"' > confmf
3006
 
   case `$am_make -s -f confmf 2> /dev/null` in #(
3007
 
   *the\ am__doit\ target*)
3008
 
     am__include=.include
3009
 
     am__quote="\""
3010
 
     _am_result=BSD
3011
 
     ;;
3012
 
   esac
3013
 
fi
3014
 
 
3015
 
 
3016
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3017
 
$as_echo "$_am_result" >&6; }
3018
 
rm -f confinc confmf
3019
 
 
3020
 
# Check whether --enable-dependency-tracking was given.
3021
 
if test "${enable_dependency_tracking+set}" = set; then :
3022
 
  enableval=$enable_dependency_tracking;
3023
 
fi
3024
 
 
3025
 
if test "x$enable_dependency_tracking" != xno; then
3026
 
  am_depcomp="$ac_aux_dir/depcomp"
3027
 
  AMDEPBACKSLASH='\'
3028
 
fi
3029
 
 if test "x$enable_dependency_tracking" != xno; then
3030
 
  AMDEP_TRUE=
3031
 
  AMDEP_FALSE='#'
3032
 
else
3033
 
  AMDEP_TRUE='#'
3034
 
  AMDEP_FALSE=
3035
 
fi
3036
 
 
3037
 
 
 
3072
# Check for programs
3038
3073
ac_ext=c
3039
3074
ac_cpp='$CPP $CPPFLAGS'
3040
3075
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3335
3370
 
3336
3371
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3337
3372
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3338
 
as_fn_error "no acceptable C compiler found in \$PATH
3339
 
See \`config.log' for more details." "$LINENO" 5; }
 
3373
as_fn_error $? "no acceptable C compiler found in \$PATH
 
3374
See \`config.log' for more details" "$LINENO" 5 ; }
3340
3375
 
3341
3376
# Provide some information about the compiler.
3342
3377
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3450
3485
 
3451
3486
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3452
3487
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3453
 
{ as_fn_set_status 77
3454
 
as_fn_error "C compiler cannot create executables
3455
 
See \`config.log' for more details." "$LINENO" 5; }; }
 
3488
as_fn_error 77 "C compiler cannot create executables
 
3489
See \`config.log' for more details" "$LINENO" 5 ; }
3456
3490
else
3457
3491
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3458
3492
$as_echo "yes" >&6; }
3494
3528
else
3495
3529
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3496
3530
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3497
 
as_fn_error "cannot compute suffix of executables: cannot compile and link
3498
 
See \`config.log' for more details." "$LINENO" 5; }
 
3531
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 
3532
See \`config.log' for more details" "$LINENO" 5 ; }
3499
3533
fi
3500
3534
rm -f conftest conftest$ac_cv_exeext
3501
3535
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3552
3586
    else
3553
3587
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3554
3588
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3555
 
as_fn_error "cannot run C compiled programs.
 
3589
as_fn_error $? "cannot run C compiled programs.
3556
3590
If you meant to cross compile, use \`--host'.
3557
 
See \`config.log' for more details." "$LINENO" 5; }
 
3591
See \`config.log' for more details" "$LINENO" 5 ; }
3558
3592
    fi
3559
3593
  fi
3560
3594
fi
3605
3639
 
3606
3640
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3607
3641
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3608
 
as_fn_error "cannot compute suffix of object files: cannot compile
3609
 
See \`config.log' for more details." "$LINENO" 5; }
 
3642
as_fn_error $? "cannot compute suffix of object files: cannot compile
 
3643
See \`config.log' for more details" "$LINENO" 5 ; }
3610
3644
fi
3611
3645
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3612
3646
fi
3825
3859
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3826
3860
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3827
3861
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3828
 
 
3829
 
depcc="$CC"   am_compiler_list=
3830
 
 
3831
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3832
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
3833
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3834
 
  $as_echo_n "(cached) " >&6
3835
 
else
3836
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3837
 
  # We make a subdir and do the tests there.  Otherwise we can end up
3838
 
  # making bogus files that we don't know about and never remove.  For
3839
 
  # instance it was reported that on HP-UX the gcc test will end up
3840
 
  # making a dummy file named `D' -- because `-MD' means `put the output
3841
 
  # in D'.
3842
 
  mkdir conftest.dir
3843
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
3844
 
  # using a relative directory.
3845
 
  cp "$am_depcomp" conftest.dir
3846
 
  cd conftest.dir
3847
 
  # We will build objects and dependencies in a subdirectory because
3848
 
  # it helps to detect inapplicable dependency modes.  For instance
3849
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
3850
 
  # side effect of compilation, but ICC will put the dependencies in
3851
 
  # the current directory while Tru64 will put them in the object
3852
 
  # directory.
3853
 
  mkdir sub
3854
 
 
3855
 
  am_cv_CC_dependencies_compiler_type=none
3856
 
  if test "$am_compiler_list" = ""; then
3857
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3858
 
  fi
3859
 
  am__universal=false
3860
 
  case " $depcc " in #(
3861
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3862
 
     esac
3863
 
 
3864
 
  for depmode in $am_compiler_list; do
3865
 
    # Setup a source with many dependencies, because some compilers
3866
 
    # like to wrap large dependency lists on column 80 (with \), and
3867
 
    # we should not choose a depcomp mode which is confused by this.
3868
 
    #
3869
 
    # We need to recreate these files for each test, as the compiler may
3870
 
    # overwrite some of them when testing with obscure command lines.
3871
 
    # This happens at least with the AIX C compiler.
3872
 
    : > sub/conftest.c
3873
 
    for i in 1 2 3 4 5 6; do
3874
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3875
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3876
 
      # Solaris 8's {/usr,}/bin/sh.
3877
 
      touch sub/conftst$i.h
3878
 
    done
3879
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3880
 
 
3881
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3882
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3883
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
3884
 
    # versions had trouble with output in subdirs
3885
 
    am__obj=sub/conftest.${OBJEXT-o}
3886
 
    am__minus_obj="-o $am__obj"
3887
 
    case $depmode in
3888
 
    gcc)
3889
 
      # This depmode causes a compiler race in universal mode.
3890
 
      test "$am__universal" = false || continue
3891
 
      ;;
3892
 
    nosideeffect)
3893
 
      # after this tag, mechanisms are not by side-effect, so they'll
3894
 
      # only be used when explicitly requested
3895
 
      if test "x$enable_dependency_tracking" = xyes; then
3896
 
        continue
3897
 
      else
3898
 
        break
3899
 
      fi
3900
 
      ;;
3901
 
    msvisualcpp | msvcmsys)
3902
 
      # This compiler won't grok `-c -o', but also, the minuso test has
3903
 
      # not run yet.  These depmodes are late enough in the game, and
3904
 
      # so weak that their functioning should not be impacted.
3905
 
      am__obj=conftest.${OBJEXT-o}
3906
 
      am__minus_obj=
3907
 
      ;;
3908
 
    none) break ;;
3909
 
    esac
3910
 
    if depmode=$depmode \
3911
 
       source=sub/conftest.c object=$am__obj \
3912
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3913
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3914
 
         >/dev/null 2>conftest.err &&
3915
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3916
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3917
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3918
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3919
 
      # icc doesn't choke on unknown options, it will just issue warnings
3920
 
      # or remarks (even with -Werror).  So we grep stderr for any message
3921
 
      # that says an option was ignored or not supported.
3922
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
3923
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
3924
 
      # The diagnosis changed in icc 8.0:
3925
 
      #   icc: Command line remark: option '-MP' not supported
3926
 
      if (grep 'ignoring option' conftest.err ||
3927
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3928
 
        am_cv_CC_dependencies_compiler_type=$depmode
3929
 
        break
3930
 
      fi
3931
 
    fi
3932
 
  done
3933
 
 
3934
 
  cd ..
3935
 
  rm -rf conftest.dir
3936
 
else
3937
 
  am_cv_CC_dependencies_compiler_type=none
3938
 
fi
3939
 
 
3940
 
fi
3941
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3942
 
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3943
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3944
 
 
3945
 
 if
3946
 
  test "x$enable_dependency_tracking" != xno \
3947
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3948
 
  am__fastdepCC_TRUE=
3949
 
  am__fastdepCC_FALSE='#'
3950
 
else
3951
 
  am__fastdepCC_TRUE='#'
3952
 
  am__fastdepCC_FALSE=
3953
 
fi
3954
 
 
3955
 
 
3956
 
 
3957
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3958
 
$as_echo_n "checking for library containing strerror... " >&6; }
3959
 
if test "${ac_cv_search_strerror+set}" = set; then :
3960
 
  $as_echo_n "(cached) " >&6
3961
 
else
3962
 
  ac_func_search_save_LIBS=$LIBS
3963
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3964
 
/* end confdefs.h.  */
3965
 
 
3966
 
/* Override any GCC internal prototype to avoid an error.
3967
 
   Use char because int might match the return type of a GCC
3968
 
   builtin and then its argument prototype would still apply.  */
3969
 
#ifdef __cplusplus
3970
 
extern "C"
3971
 
#endif
3972
 
char strerror ();
3973
 
int
3974
 
main ()
3975
 
{
3976
 
return strerror ();
3977
 
  ;
3978
 
  return 0;
3979
 
}
3980
 
_ACEOF
3981
 
for ac_lib in '' cposix; do
3982
 
  if test -z "$ac_lib"; then
3983
 
    ac_res="none required"
3984
 
  else
3985
 
    ac_res=-l$ac_lib
3986
 
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
3987
 
  fi
3988
 
  if ac_fn_c_try_link "$LINENO"; then :
3989
 
  ac_cv_search_strerror=$ac_res
3990
 
fi
3991
 
rm -f core conftest.err conftest.$ac_objext \
3992
 
    conftest$ac_exeext
3993
 
  if test "${ac_cv_search_strerror+set}" = set; then :
3994
 
  break
3995
 
fi
3996
 
done
3997
 
if test "${ac_cv_search_strerror+set}" = set; then :
3998
 
 
3999
 
else
4000
 
  ac_cv_search_strerror=no
4001
 
fi
4002
 
rm conftest.$ac_ext
4003
 
LIBS=$ac_func_search_save_LIBS
4004
 
fi
4005
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
4006
 
$as_echo "$ac_cv_search_strerror" >&6; }
4007
 
ac_res=$ac_cv_search_strerror
4008
 
if test "$ac_res" != no; then :
4009
 
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4010
 
 
4011
 
fi
4012
 
 
4013
 
ac_ext=c
4014
 
ac_cpp='$CPP $CPPFLAGS'
4015
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4016
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4017
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4018
 
if test -n "$ac_tool_prefix"; then
4019
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4020
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
4021
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4022
 
$as_echo_n "checking for $ac_word... " >&6; }
4023
 
if test "${ac_cv_prog_CC+set}" = set; then :
4024
 
  $as_echo_n "(cached) " >&6
4025
 
else
4026
 
  if test -n "$CC"; then
4027
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
4028
 
else
4029
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4030
 
for as_dir in $PATH
4031
 
do
4032
 
  IFS=$as_save_IFS
4033
 
  test -z "$as_dir" && as_dir=.
4034
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4035
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4036
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4037
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4038
 
    break 2
4039
 
  fi
4040
 
done
4041
 
  done
4042
 
IFS=$as_save_IFS
4043
 
 
4044
 
fi
4045
 
fi
4046
 
CC=$ac_cv_prog_CC
4047
 
if test -n "$CC"; then
4048
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4049
 
$as_echo "$CC" >&6; }
4050
 
else
4051
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4052
 
$as_echo "no" >&6; }
4053
 
fi
4054
 
 
4055
 
 
4056
 
fi
4057
 
if test -z "$ac_cv_prog_CC"; then
4058
 
  ac_ct_CC=$CC
4059
 
  # Extract the first word of "gcc", so it can be a program name with args.
4060
 
set dummy gcc; ac_word=$2
4061
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4062
 
$as_echo_n "checking for $ac_word... " >&6; }
4063
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4064
 
  $as_echo_n "(cached) " >&6
4065
 
else
4066
 
  if test -n "$ac_ct_CC"; then
4067
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4068
 
else
4069
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4070
 
for as_dir in $PATH
4071
 
do
4072
 
  IFS=$as_save_IFS
4073
 
  test -z "$as_dir" && as_dir=.
4074
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4075
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4076
 
    ac_cv_prog_ac_ct_CC="gcc"
4077
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4078
 
    break 2
4079
 
  fi
4080
 
done
4081
 
  done
4082
 
IFS=$as_save_IFS
4083
 
 
4084
 
fi
4085
 
fi
4086
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4087
 
if test -n "$ac_ct_CC"; then
4088
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4089
 
$as_echo "$ac_ct_CC" >&6; }
4090
 
else
4091
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4092
 
$as_echo "no" >&6; }
4093
 
fi
4094
 
 
4095
 
  if test "x$ac_ct_CC" = x; then
4096
 
    CC=""
4097
 
  else
4098
 
    case $cross_compiling:$ac_tool_warned in
4099
 
yes:)
4100
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4101
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4102
 
ac_tool_warned=yes ;;
4103
 
esac
4104
 
    CC=$ac_ct_CC
4105
 
  fi
4106
 
else
4107
 
  CC="$ac_cv_prog_CC"
4108
 
fi
4109
 
 
4110
 
if test -z "$CC"; then
4111
 
          if test -n "$ac_tool_prefix"; then
4112
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4113
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
4114
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4115
 
$as_echo_n "checking for $ac_word... " >&6; }
4116
 
if test "${ac_cv_prog_CC+set}" = set; then :
4117
 
  $as_echo_n "(cached) " >&6
4118
 
else
4119
 
  if test -n "$CC"; then
4120
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
4121
 
else
4122
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4123
 
for as_dir in $PATH
4124
 
do
4125
 
  IFS=$as_save_IFS
4126
 
  test -z "$as_dir" && as_dir=.
4127
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4128
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4129
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
4130
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4131
 
    break 2
4132
 
  fi
4133
 
done
4134
 
  done
4135
 
IFS=$as_save_IFS
4136
 
 
4137
 
fi
4138
 
fi
4139
 
CC=$ac_cv_prog_CC
4140
 
if test -n "$CC"; then
4141
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4142
 
$as_echo "$CC" >&6; }
4143
 
else
4144
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4145
 
$as_echo "no" >&6; }
4146
 
fi
4147
 
 
4148
 
 
4149
 
  fi
4150
 
fi
4151
 
if test -z "$CC"; then
4152
 
  # Extract the first word of "cc", so it can be a program name with args.
4153
 
set dummy cc; ac_word=$2
4154
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4155
 
$as_echo_n "checking for $ac_word... " >&6; }
4156
 
if test "${ac_cv_prog_CC+set}" = set; then :
4157
 
  $as_echo_n "(cached) " >&6
4158
 
else
4159
 
  if test -n "$CC"; then
4160
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
4161
 
else
4162
 
  ac_prog_rejected=no
4163
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4164
 
for as_dir in $PATH
4165
 
do
4166
 
  IFS=$as_save_IFS
4167
 
  test -z "$as_dir" && as_dir=.
4168
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4169
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4170
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4171
 
       ac_prog_rejected=yes
4172
 
       continue
4173
 
     fi
4174
 
    ac_cv_prog_CC="cc"
4175
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4176
 
    break 2
4177
 
  fi
4178
 
done
4179
 
  done
4180
 
IFS=$as_save_IFS
4181
 
 
4182
 
if test $ac_prog_rejected = yes; then
4183
 
  # We found a bogon in the path, so make sure we never use it.
4184
 
  set dummy $ac_cv_prog_CC
4185
 
  shift
4186
 
  if test $# != 0; then
4187
 
    # We chose a different compiler from the bogus one.
4188
 
    # However, it has the same basename, so the bogon will be chosen
4189
 
    # first if we set CC to just the basename; use the full file name.
4190
 
    shift
4191
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4192
 
  fi
4193
 
fi
4194
 
fi
4195
 
fi
4196
 
CC=$ac_cv_prog_CC
4197
 
if test -n "$CC"; then
4198
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4199
 
$as_echo "$CC" >&6; }
4200
 
else
4201
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4202
 
$as_echo "no" >&6; }
4203
 
fi
4204
 
 
4205
 
 
4206
 
fi
4207
 
if test -z "$CC"; then
4208
 
  if test -n "$ac_tool_prefix"; then
4209
 
  for ac_prog in cl.exe
4210
 
  do
4211
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4212
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4213
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4214
 
$as_echo_n "checking for $ac_word... " >&6; }
4215
 
if test "${ac_cv_prog_CC+set}" = set; then :
4216
 
  $as_echo_n "(cached) " >&6
4217
 
else
4218
 
  if test -n "$CC"; then
4219
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
4220
 
else
4221
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4222
 
for as_dir in $PATH
4223
 
do
4224
 
  IFS=$as_save_IFS
4225
 
  test -z "$as_dir" && as_dir=.
4226
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4227
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4228
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4229
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4230
 
    break 2
4231
 
  fi
4232
 
done
4233
 
  done
4234
 
IFS=$as_save_IFS
4235
 
 
4236
 
fi
4237
 
fi
4238
 
CC=$ac_cv_prog_CC
4239
 
if test -n "$CC"; then
4240
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4241
 
$as_echo "$CC" >&6; }
4242
 
else
4243
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4244
 
$as_echo "no" >&6; }
4245
 
fi
4246
 
 
4247
 
 
4248
 
    test -n "$CC" && break
4249
 
  done
4250
 
fi
4251
 
if test -z "$CC"; then
4252
 
  ac_ct_CC=$CC
4253
 
  for ac_prog in cl.exe
4254
 
do
4255
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4256
 
set dummy $ac_prog; ac_word=$2
4257
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4258
 
$as_echo_n "checking for $ac_word... " >&6; }
4259
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4260
 
  $as_echo_n "(cached) " >&6
4261
 
else
4262
 
  if test -n "$ac_ct_CC"; then
4263
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4264
 
else
4265
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4266
 
for as_dir in $PATH
4267
 
do
4268
 
  IFS=$as_save_IFS
4269
 
  test -z "$as_dir" && as_dir=.
4270
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4271
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4272
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
4273
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4274
 
    break 2
4275
 
  fi
4276
 
done
4277
 
  done
4278
 
IFS=$as_save_IFS
4279
 
 
4280
 
fi
4281
 
fi
4282
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4283
 
if test -n "$ac_ct_CC"; then
4284
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4285
 
$as_echo "$ac_ct_CC" >&6; }
4286
 
else
4287
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4288
 
$as_echo "no" >&6; }
4289
 
fi
4290
 
 
4291
 
 
4292
 
  test -n "$ac_ct_CC" && break
4293
 
done
4294
 
 
4295
 
  if test "x$ac_ct_CC" = x; then
4296
 
    CC=""
4297
 
  else
4298
 
    case $cross_compiling:$ac_tool_warned in
4299
 
yes:)
4300
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4301
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4302
 
ac_tool_warned=yes ;;
4303
 
esac
4304
 
    CC=$ac_ct_CC
4305
 
  fi
4306
 
fi
4307
 
 
4308
 
fi
4309
 
 
4310
 
 
4311
 
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4312
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4313
 
as_fn_error "no acceptable C compiler found in \$PATH
4314
 
See \`config.log' for more details." "$LINENO" 5; }
4315
 
 
4316
 
# Provide some information about the compiler.
4317
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4318
 
set X $ac_compile
4319
 
ac_compiler=$2
4320
 
for ac_option in --version -v -V -qversion; do
4321
 
  { { ac_try="$ac_compiler $ac_option >&5"
4322
 
case "(($ac_try" in
4323
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4324
 
  *) ac_try_echo=$ac_try;;
4325
 
esac
4326
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4327
 
$as_echo "$ac_try_echo"; } >&5
4328
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4329
 
  ac_status=$?
4330
 
  if test -s conftest.err; then
4331
 
    sed '10a\
4332
 
... rest of stderr output deleted ...
4333
 
         10q' conftest.err >conftest.er1
4334
 
    cat conftest.er1 >&5
4335
 
  fi
4336
 
  rm -f conftest.er1 conftest.err
4337
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4338
 
  test $ac_status = 0; }
4339
 
done
4340
 
 
4341
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4342
 
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4343
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4344
 
  $as_echo_n "(cached) " >&6
4345
 
else
4346
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4347
 
/* end confdefs.h.  */
4348
 
 
4349
 
int
4350
 
main ()
4351
 
{
4352
 
#ifndef __GNUC__
4353
 
       choke me
4354
 
#endif
4355
 
 
4356
 
  ;
4357
 
  return 0;
4358
 
}
4359
 
_ACEOF
4360
 
if ac_fn_c_try_compile "$LINENO"; then :
4361
 
  ac_compiler_gnu=yes
4362
 
else
4363
 
  ac_compiler_gnu=no
4364
 
fi
4365
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4366
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4367
 
 
4368
 
fi
4369
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4370
 
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4371
 
if test $ac_compiler_gnu = yes; then
4372
 
  GCC=yes
4373
 
else
4374
 
  GCC=
4375
 
fi
4376
 
ac_test_CFLAGS=${CFLAGS+set}
4377
 
ac_save_CFLAGS=$CFLAGS
4378
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4379
 
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4380
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
4381
 
  $as_echo_n "(cached) " >&6
4382
 
else
4383
 
  ac_save_c_werror_flag=$ac_c_werror_flag
4384
 
   ac_c_werror_flag=yes
4385
 
   ac_cv_prog_cc_g=no
4386
 
   CFLAGS="-g"
4387
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4388
 
/* end confdefs.h.  */
4389
 
 
4390
 
int
4391
 
main ()
4392
 
{
4393
 
 
4394
 
  ;
4395
 
  return 0;
4396
 
}
4397
 
_ACEOF
4398
 
if ac_fn_c_try_compile "$LINENO"; then :
4399
 
  ac_cv_prog_cc_g=yes
4400
 
else
4401
 
  CFLAGS=""
4402
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4403
 
/* end confdefs.h.  */
4404
 
 
4405
 
int
4406
 
main ()
4407
 
{
4408
 
 
4409
 
  ;
4410
 
  return 0;
4411
 
}
4412
 
_ACEOF
4413
 
if ac_fn_c_try_compile "$LINENO"; then :
4414
 
 
4415
 
else
4416
 
  ac_c_werror_flag=$ac_save_c_werror_flag
4417
 
         CFLAGS="-g"
4418
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4419
 
/* end confdefs.h.  */
4420
 
 
4421
 
int
4422
 
main ()
4423
 
{
4424
 
 
4425
 
  ;
4426
 
  return 0;
4427
 
}
4428
 
_ACEOF
4429
 
if ac_fn_c_try_compile "$LINENO"; then :
4430
 
  ac_cv_prog_cc_g=yes
4431
 
fi
4432
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4433
 
fi
4434
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4435
 
fi
4436
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4437
 
   ac_c_werror_flag=$ac_save_c_werror_flag
4438
 
fi
4439
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4440
 
$as_echo "$ac_cv_prog_cc_g" >&6; }
4441
 
if test "$ac_test_CFLAGS" = set; then
4442
 
  CFLAGS=$ac_save_CFLAGS
4443
 
elif test $ac_cv_prog_cc_g = yes; then
4444
 
  if test "$GCC" = yes; then
4445
 
    CFLAGS="-g -O2"
4446
 
  else
4447
 
    CFLAGS="-g"
4448
 
  fi
4449
 
else
4450
 
  if test "$GCC" = yes; then
4451
 
    CFLAGS="-O2"
4452
 
  else
4453
 
    CFLAGS=
4454
 
  fi
4455
 
fi
4456
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4457
 
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4458
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
4459
 
  $as_echo_n "(cached) " >&6
4460
 
else
4461
 
  ac_cv_prog_cc_c89=no
4462
 
ac_save_CC=$CC
4463
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4464
 
/* end confdefs.h.  */
4465
 
#include <stdarg.h>
4466
 
#include <stdio.h>
4467
 
#include <sys/types.h>
4468
 
#include <sys/stat.h>
4469
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4470
 
struct buf { int x; };
4471
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
4472
 
static char *e (p, i)
4473
 
     char **p;
4474
 
     int i;
4475
 
{
4476
 
  return p[i];
4477
 
}
4478
 
static char *f (char * (*g) (char **, int), char **p, ...)
4479
 
{
4480
 
  char *s;
4481
 
  va_list v;
4482
 
  va_start (v,p);
4483
 
  s = g (p, va_arg (v,int));
4484
 
  va_end (v);
4485
 
  return s;
4486
 
}
4487
 
 
4488
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4489
 
   function prototypes and stuff, but not '\xHH' hex character constants.
4490
 
   These don't provoke an error unfortunately, instead are silently treated
4491
 
   as 'x'.  The following induces an error, until -std is added to get
4492
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4493
 
   array size at least.  It's necessary to write '\x00'==0 to get something
4494
 
   that's true only with -std.  */
4495
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4496
 
 
4497
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4498
 
   inside strings and character constants.  */
4499
 
#define FOO(x) 'x'
4500
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4501
 
 
4502
 
int test (int i, double x);
4503
 
struct s1 {int (*f) (int a);};
4504
 
struct s2 {int (*f) (double a);};
4505
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4506
 
int argc;
4507
 
char **argv;
4508
 
int
4509
 
main ()
4510
 
{
4511
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4512
 
  ;
4513
 
  return 0;
4514
 
}
4515
 
_ACEOF
4516
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4517
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4518
 
do
4519
 
  CC="$ac_save_CC $ac_arg"
4520
 
  if ac_fn_c_try_compile "$LINENO"; then :
4521
 
  ac_cv_prog_cc_c89=$ac_arg
4522
 
fi
4523
 
rm -f core conftest.err conftest.$ac_objext
4524
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
4525
 
done
4526
 
rm -f conftest.$ac_ext
4527
 
CC=$ac_save_CC
4528
 
 
4529
 
fi
4530
 
# AC_CACHE_VAL
4531
 
case "x$ac_cv_prog_cc_c89" in
4532
 
  x)
4533
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4534
 
$as_echo "none needed" >&6; } ;;
4535
 
  xno)
4536
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4537
 
$as_echo "unsupported" >&6; } ;;
4538
 
  *)
4539
 
    CC="$CC $ac_cv_prog_cc_c89"
4540
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4541
 
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4542
 
esac
4543
 
if test "x$ac_cv_prog_cc_c89" != xno; then :
4544
 
 
4545
 
fi
4546
 
 
4547
 
ac_ext=c
4548
 
ac_cpp='$CPP $CPPFLAGS'
4549
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4550
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4551
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4552
 
 
4553
 
depcc="$CC"   am_compiler_list=
4554
 
 
4555
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4556
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
4557
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4558
 
  $as_echo_n "(cached) " >&6
4559
 
else
4560
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4561
 
  # We make a subdir and do the tests there.  Otherwise we can end up
4562
 
  # making bogus files that we don't know about and never remove.  For
4563
 
  # instance it was reported that on HP-UX the gcc test will end up
4564
 
  # making a dummy file named `D' -- because `-MD' means `put the output
4565
 
  # in D'.
4566
 
  mkdir conftest.dir
4567
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
4568
 
  # using a relative directory.
4569
 
  cp "$am_depcomp" conftest.dir
4570
 
  cd conftest.dir
4571
 
  # We will build objects and dependencies in a subdirectory because
4572
 
  # it helps to detect inapplicable dependency modes.  For instance
4573
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
4574
 
  # side effect of compilation, but ICC will put the dependencies in
4575
 
  # the current directory while Tru64 will put them in the object
4576
 
  # directory.
4577
 
  mkdir sub
4578
 
 
4579
 
  am_cv_CC_dependencies_compiler_type=none
4580
 
  if test "$am_compiler_list" = ""; then
4581
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4582
 
  fi
4583
 
  am__universal=false
4584
 
  case " $depcc " in #(
4585
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4586
 
     esac
4587
 
 
4588
 
  for depmode in $am_compiler_list; do
4589
 
    # Setup a source with many dependencies, because some compilers
4590
 
    # like to wrap large dependency lists on column 80 (with \), and
4591
 
    # we should not choose a depcomp mode which is confused by this.
4592
 
    #
4593
 
    # We need to recreate these files for each test, as the compiler may
4594
 
    # overwrite some of them when testing with obscure command lines.
4595
 
    # This happens at least with the AIX C compiler.
4596
 
    : > sub/conftest.c
4597
 
    for i in 1 2 3 4 5 6; do
4598
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4599
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4600
 
      # Solaris 8's {/usr,}/bin/sh.
4601
 
      touch sub/conftst$i.h
4602
 
    done
4603
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4604
 
 
4605
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4606
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
4607
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
4608
 
    # versions had trouble with output in subdirs
4609
 
    am__obj=sub/conftest.${OBJEXT-o}
4610
 
    am__minus_obj="-o $am__obj"
4611
 
    case $depmode in
4612
 
    gcc)
4613
 
      # This depmode causes a compiler race in universal mode.
4614
 
      test "$am__universal" = false || continue
4615
 
      ;;
4616
 
    nosideeffect)
4617
 
      # after this tag, mechanisms are not by side-effect, so they'll
4618
 
      # only be used when explicitly requested
4619
 
      if test "x$enable_dependency_tracking" = xyes; then
4620
 
        continue
4621
 
      else
4622
 
        break
4623
 
      fi
4624
 
      ;;
4625
 
    msvisualcpp | msvcmsys)
4626
 
      # This compiler won't grok `-c -o', but also, the minuso test has
4627
 
      # not run yet.  These depmodes are late enough in the game, and
4628
 
      # so weak that their functioning should not be impacted.
4629
 
      am__obj=conftest.${OBJEXT-o}
4630
 
      am__minus_obj=
4631
 
      ;;
4632
 
    none) break ;;
4633
 
    esac
4634
 
    if depmode=$depmode \
4635
 
       source=sub/conftest.c object=$am__obj \
4636
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4637
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4638
 
         >/dev/null 2>conftest.err &&
4639
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4640
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4641
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4642
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4643
 
      # icc doesn't choke on unknown options, it will just issue warnings
4644
 
      # or remarks (even with -Werror).  So we grep stderr for any message
4645
 
      # that says an option was ignored or not supported.
4646
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
4647
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
4648
 
      # The diagnosis changed in icc 8.0:
4649
 
      #   icc: Command line remark: option '-MP' not supported
4650
 
      if (grep 'ignoring option' conftest.err ||
4651
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4652
 
        am_cv_CC_dependencies_compiler_type=$depmode
4653
 
        break
4654
 
      fi
4655
 
    fi
4656
 
  done
4657
 
 
4658
 
  cd ..
4659
 
  rm -rf conftest.dir
4660
 
else
4661
 
  am_cv_CC_dependencies_compiler_type=none
4662
 
fi
4663
 
 
4664
 
fi
4665
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4666
 
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4667
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4668
 
 
4669
 
 if
4670
 
  test "x$enable_dependency_tracking" != xno \
4671
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4672
 
  am__fastdepCC_TRUE=
4673
 
  am__fastdepCC_FALSE='#'
4674
 
else
4675
 
  am__fastdepCC_TRUE='#'
4676
 
  am__fastdepCC_FALSE=
4677
 
fi
4678
 
 
4679
 
 
4680
 
ac_ext=c
4681
 
ac_cpp='$CPP $CPPFLAGS'
4682
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4683
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4684
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4685
 
if test -n "$ac_tool_prefix"; then
4686
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4687
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
4688
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4689
 
$as_echo_n "checking for $ac_word... " >&6; }
4690
 
if test "${ac_cv_prog_CC+set}" = set; then :
4691
 
  $as_echo_n "(cached) " >&6
4692
 
else
4693
 
  if test -n "$CC"; then
4694
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
4695
 
else
4696
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4697
 
for as_dir in $PATH
4698
 
do
4699
 
  IFS=$as_save_IFS
4700
 
  test -z "$as_dir" && as_dir=.
4701
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4702
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4703
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4704
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4705
 
    break 2
4706
 
  fi
4707
 
done
4708
 
  done
4709
 
IFS=$as_save_IFS
4710
 
 
4711
 
fi
4712
 
fi
4713
 
CC=$ac_cv_prog_CC
4714
 
if test -n "$CC"; then
4715
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4716
 
$as_echo "$CC" >&6; }
4717
 
else
4718
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4719
 
$as_echo "no" >&6; }
4720
 
fi
4721
 
 
4722
 
 
4723
 
fi
4724
 
if test -z "$ac_cv_prog_CC"; then
4725
 
  ac_ct_CC=$CC
4726
 
  # Extract the first word of "gcc", so it can be a program name with args.
4727
 
set dummy gcc; ac_word=$2
4728
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4729
 
$as_echo_n "checking for $ac_word... " >&6; }
4730
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4731
 
  $as_echo_n "(cached) " >&6
4732
 
else
4733
 
  if test -n "$ac_ct_CC"; then
4734
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4735
 
else
4736
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4737
 
for as_dir in $PATH
4738
 
do
4739
 
  IFS=$as_save_IFS
4740
 
  test -z "$as_dir" && as_dir=.
4741
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4742
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4743
 
    ac_cv_prog_ac_ct_CC="gcc"
4744
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4745
 
    break 2
4746
 
  fi
4747
 
done
4748
 
  done
4749
 
IFS=$as_save_IFS
4750
 
 
4751
 
fi
4752
 
fi
4753
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4754
 
if test -n "$ac_ct_CC"; then
4755
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4756
 
$as_echo "$ac_ct_CC" >&6; }
4757
 
else
4758
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4759
 
$as_echo "no" >&6; }
4760
 
fi
4761
 
 
4762
 
  if test "x$ac_ct_CC" = x; then
4763
 
    CC=""
4764
 
  else
4765
 
    case $cross_compiling:$ac_tool_warned in
4766
 
yes:)
4767
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4768
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4769
 
ac_tool_warned=yes ;;
4770
 
esac
4771
 
    CC=$ac_ct_CC
4772
 
  fi
4773
 
else
4774
 
  CC="$ac_cv_prog_CC"
4775
 
fi
4776
 
 
4777
 
if test -z "$CC"; then
4778
 
          if test -n "$ac_tool_prefix"; then
4779
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4780
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
4781
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4782
 
$as_echo_n "checking for $ac_word... " >&6; }
4783
 
if test "${ac_cv_prog_CC+set}" = set; then :
4784
 
  $as_echo_n "(cached) " >&6
4785
 
else
4786
 
  if test -n "$CC"; then
4787
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
4788
 
else
4789
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4790
 
for as_dir in $PATH
4791
 
do
4792
 
  IFS=$as_save_IFS
4793
 
  test -z "$as_dir" && as_dir=.
4794
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4795
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4796
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
4797
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4798
 
    break 2
4799
 
  fi
4800
 
done
4801
 
  done
4802
 
IFS=$as_save_IFS
4803
 
 
4804
 
fi
4805
 
fi
4806
 
CC=$ac_cv_prog_CC
4807
 
if test -n "$CC"; then
4808
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4809
 
$as_echo "$CC" >&6; }
4810
 
else
4811
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4812
 
$as_echo "no" >&6; }
4813
 
fi
4814
 
 
4815
 
 
4816
 
  fi
4817
 
fi
4818
 
if test -z "$CC"; then
4819
 
  # Extract the first word of "cc", so it can be a program name with args.
4820
 
set dummy cc; ac_word=$2
4821
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4822
 
$as_echo_n "checking for $ac_word... " >&6; }
4823
 
if test "${ac_cv_prog_CC+set}" = set; then :
4824
 
  $as_echo_n "(cached) " >&6
4825
 
else
4826
 
  if test -n "$CC"; then
4827
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
4828
 
else
4829
 
  ac_prog_rejected=no
4830
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4831
 
for as_dir in $PATH
4832
 
do
4833
 
  IFS=$as_save_IFS
4834
 
  test -z "$as_dir" && as_dir=.
4835
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4836
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4837
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4838
 
       ac_prog_rejected=yes
4839
 
       continue
4840
 
     fi
4841
 
    ac_cv_prog_CC="cc"
4842
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4843
 
    break 2
4844
 
  fi
4845
 
done
4846
 
  done
4847
 
IFS=$as_save_IFS
4848
 
 
4849
 
if test $ac_prog_rejected = yes; then
4850
 
  # We found a bogon in the path, so make sure we never use it.
4851
 
  set dummy $ac_cv_prog_CC
4852
 
  shift
4853
 
  if test $# != 0; then
4854
 
    # We chose a different compiler from the bogus one.
4855
 
    # However, it has the same basename, so the bogon will be chosen
4856
 
    # first if we set CC to just the basename; use the full file name.
4857
 
    shift
4858
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4859
 
  fi
4860
 
fi
4861
 
fi
4862
 
fi
4863
 
CC=$ac_cv_prog_CC
4864
 
if test -n "$CC"; then
4865
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4866
 
$as_echo "$CC" >&6; }
4867
 
else
4868
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4869
 
$as_echo "no" >&6; }
4870
 
fi
4871
 
 
4872
 
 
4873
 
fi
4874
 
if test -z "$CC"; then
4875
 
  if test -n "$ac_tool_prefix"; then
4876
 
  for ac_prog in cl.exe
4877
 
  do
4878
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4879
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4880
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4881
 
$as_echo_n "checking for $ac_word... " >&6; }
4882
 
if test "${ac_cv_prog_CC+set}" = set; then :
4883
 
  $as_echo_n "(cached) " >&6
4884
 
else
4885
 
  if test -n "$CC"; then
4886
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
4887
 
else
4888
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4889
 
for as_dir in $PATH
4890
 
do
4891
 
  IFS=$as_save_IFS
4892
 
  test -z "$as_dir" && as_dir=.
4893
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4894
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4895
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4896
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4897
 
    break 2
4898
 
  fi
4899
 
done
4900
 
  done
4901
 
IFS=$as_save_IFS
4902
 
 
4903
 
fi
4904
 
fi
4905
 
CC=$ac_cv_prog_CC
4906
 
if test -n "$CC"; then
4907
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4908
 
$as_echo "$CC" >&6; }
4909
 
else
4910
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4911
 
$as_echo "no" >&6; }
4912
 
fi
4913
 
 
4914
 
 
4915
 
    test -n "$CC" && break
4916
 
  done
4917
 
fi
4918
 
if test -z "$CC"; then
4919
 
  ac_ct_CC=$CC
4920
 
  for ac_prog in cl.exe
4921
 
do
4922
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4923
 
set dummy $ac_prog; ac_word=$2
4924
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4925
 
$as_echo_n "checking for $ac_word... " >&6; }
4926
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4927
 
  $as_echo_n "(cached) " >&6
4928
 
else
4929
 
  if test -n "$ac_ct_CC"; then
4930
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4931
 
else
4932
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4933
 
for as_dir in $PATH
4934
 
do
4935
 
  IFS=$as_save_IFS
4936
 
  test -z "$as_dir" && as_dir=.
4937
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4938
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4939
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
4940
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4941
 
    break 2
4942
 
  fi
4943
 
done
4944
 
  done
4945
 
IFS=$as_save_IFS
4946
 
 
4947
 
fi
4948
 
fi
4949
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4950
 
if test -n "$ac_ct_CC"; then
4951
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4952
 
$as_echo "$ac_ct_CC" >&6; }
4953
 
else
4954
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4955
 
$as_echo "no" >&6; }
4956
 
fi
4957
 
 
4958
 
 
4959
 
  test -n "$ac_ct_CC" && break
4960
 
done
4961
 
 
4962
 
  if test "x$ac_ct_CC" = x; then
4963
 
    CC=""
4964
 
  else
4965
 
    case $cross_compiling:$ac_tool_warned in
4966
 
yes:)
4967
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4968
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4969
 
ac_tool_warned=yes ;;
4970
 
esac
4971
 
    CC=$ac_ct_CC
4972
 
  fi
4973
 
fi
4974
 
 
4975
 
fi
4976
 
 
4977
 
 
4978
 
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4979
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4980
 
as_fn_error "no acceptable C compiler found in \$PATH
4981
 
See \`config.log' for more details." "$LINENO" 5; }
 
3862
DEPDIR="${am__leading_dot}deps"
 
3863
 
 
3864
ac_config_commands="$ac_config_commands depfiles"
 
3865
 
 
3866
 
 
3867
am_make=${MAKE-make}
 
3868
cat > confinc << 'END'
 
3869
am__doit:
 
3870
        @echo this is the am__doit target
 
3871
.PHONY: am__doit
 
3872
END
 
3873
# If we don't find an include directive, just comment out the code.
 
3874
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 
3875
$as_echo_n "checking for style of include used by $am_make... " >&6; }
 
3876
am__include="#"
 
3877
am__quote=
 
3878
_am_result=none
 
3879
# First try GNU make style include.
 
3880
echo "include confinc" > confmf
 
3881
# Ignore all kinds of additional output from `make'.
 
3882
case `$am_make -s -f confmf 2> /dev/null` in #(
 
3883
*the\ am__doit\ target*)
 
3884
  am__include=include
 
3885
  am__quote=
 
3886
  _am_result=GNU
 
3887
  ;;
 
3888
esac
 
3889
# Now try BSD make style include.
 
3890
if test "$am__include" = "#"; then
 
3891
   echo '.include "confinc"' > confmf
 
3892
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
3893
   *the\ am__doit\ target*)
 
3894
     am__include=.include
 
3895
     am__quote="\""
 
3896
     _am_result=BSD
 
3897
     ;;
 
3898
   esac
 
3899
fi
 
3900
 
 
3901
 
 
3902
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 
3903
$as_echo "$_am_result" >&6; }
 
3904
rm -f confinc confmf
 
3905
 
 
3906
# Check whether --enable-dependency-tracking was given.
 
3907
if test "${enable_dependency_tracking+set}" = set; then :
 
3908
  enableval=$enable_dependency_tracking;
 
3909
fi
 
3910
 
 
3911
if test "x$enable_dependency_tracking" != xno; then
 
3912
  am_depcomp="$ac_aux_dir/depcomp"
 
3913
  AMDEPBACKSLASH='\'
 
3914
fi
 
3915
 if test "x$enable_dependency_tracking" != xno; then
 
3916
  AMDEP_TRUE=
 
3917
  AMDEP_FALSE='#'
 
3918
else
 
3919
  AMDEP_TRUE='#'
 
3920
  AMDEP_FALSE=
 
3921
fi
 
3922
 
 
3923
 
 
3924
 
 
3925
depcc="$CC"   am_compiler_list=
 
3926
 
 
3927
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
3928
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
3929
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
3930
  $as_echo_n "(cached) " >&6
 
3931
else
 
3932
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
3933
  # We make a subdir and do the tests there.  Otherwise we can end up
 
3934
  # making bogus files that we don't know about and never remove.  For
 
3935
  # instance it was reported that on HP-UX the gcc test will end up
 
3936
  # making a dummy file named `D' -- because `-MD' means `put the output
 
3937
  # in D'.
 
3938
  mkdir conftest.dir
 
3939
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
3940
  # using a relative directory.
 
3941
  cp "$am_depcomp" conftest.dir
 
3942
  cd conftest.dir
 
3943
  # We will build objects and dependencies in a subdirectory because
 
3944
  # it helps to detect inapplicable dependency modes.  For instance
 
3945
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
3946
  # side effect of compilation, but ICC will put the dependencies in
 
3947
  # the current directory while Tru64 will put them in the object
 
3948
  # directory.
 
3949
  mkdir sub
 
3950
 
 
3951
  am_cv_CC_dependencies_compiler_type=none
 
3952
  if test "$am_compiler_list" = ""; then
 
3953
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
3954
  fi
 
3955
  am__universal=false
 
3956
  case " $depcc " in #(
 
3957
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
3958
     esac
 
3959
 
 
3960
  for depmode in $am_compiler_list; do
 
3961
    # Setup a source with many dependencies, because some compilers
 
3962
    # like to wrap large dependency lists on column 80 (with \), and
 
3963
    # we should not choose a depcomp mode which is confused by this.
 
3964
    #
 
3965
    # We need to recreate these files for each test, as the compiler may
 
3966
    # overwrite some of them when testing with obscure command lines.
 
3967
    # This happens at least with the AIX C compiler.
 
3968
    : > sub/conftest.c
 
3969
    for i in 1 2 3 4 5 6; do
 
3970
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
3971
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
3972
      # Solaris 8's {/usr,}/bin/sh.
 
3973
      touch sub/conftst$i.h
 
3974
    done
 
3975
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
3976
 
 
3977
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
3978
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
3979
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
3980
    # versions had trouble with output in subdirs
 
3981
    am__obj=sub/conftest.${OBJEXT-o}
 
3982
    am__minus_obj="-o $am__obj"
 
3983
    case $depmode in
 
3984
    gcc)
 
3985
      # This depmode causes a compiler race in universal mode.
 
3986
      test "$am__universal" = false || continue
 
3987
      ;;
 
3988
    nosideeffect)
 
3989
      # after this tag, mechanisms are not by side-effect, so they'll
 
3990
      # only be used when explicitly requested
 
3991
      if test "x$enable_dependency_tracking" = xyes; then
 
3992
        continue
 
3993
      else
 
3994
        break
 
3995
      fi
 
3996
      ;;
 
3997
    msvisualcpp | msvcmsys)
 
3998
      # This compiler won't grok `-c -o', but also, the minuso test has
 
3999
      # not run yet.  These depmodes are late enough in the game, and
 
4000
      # so weak that their functioning should not be impacted.
 
4001
      am__obj=conftest.${OBJEXT-o}
 
4002
      am__minus_obj=
 
4003
      ;;
 
4004
    none) break ;;
 
4005
    esac
 
4006
    if depmode=$depmode \
 
4007
       source=sub/conftest.c object=$am__obj \
 
4008
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
4009
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
4010
         >/dev/null 2>conftest.err &&
 
4011
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
4012
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
4013
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
4014
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
4015
      # icc doesn't choke on unknown options, it will just issue warnings
 
4016
      # or remarks (even with -Werror).  So we grep stderr for any message
 
4017
      # that says an option was ignored or not supported.
 
4018
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
4019
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
4020
      # The diagnosis changed in icc 8.0:
 
4021
      #   icc: Command line remark: option '-MP' not supported
 
4022
      if (grep 'ignoring option' conftest.err ||
 
4023
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
4024
        am_cv_CC_dependencies_compiler_type=$depmode
 
4025
        break
 
4026
      fi
 
4027
    fi
 
4028
  done
 
4029
 
 
4030
  cd ..
 
4031
  rm -rf conftest.dir
 
4032
else
 
4033
  am_cv_CC_dependencies_compiler_type=none
 
4034
fi
 
4035
 
 
4036
fi
 
4037
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
4038
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 
4039
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
4040
 
 
4041
 if
 
4042
  test "x$enable_dependency_tracking" != xno \
 
4043
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
4044
  am__fastdepCC_TRUE=
 
4045
  am__fastdepCC_FALSE='#'
 
4046
else
 
4047
  am__fastdepCC_TRUE='#'
 
4048
  am__fastdepCC_FALSE=
 
4049
fi
 
4050
 
 
4051
 
 
4052
ac_ext=c
 
4053
ac_cpp='$CPP $CPPFLAGS'
 
4054
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
4055
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
4056
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
4057
if test -n "$ac_tool_prefix"; then
 
4058
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
4059
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
4060
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4061
$as_echo_n "checking for $ac_word... " >&6; }
 
4062
if test "${ac_cv_prog_CC+set}" = set; then :
 
4063
  $as_echo_n "(cached) " >&6
 
4064
else
 
4065
  if test -n "$CC"; then
 
4066
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
4067
else
 
4068
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4069
for as_dir in $PATH
 
4070
do
 
4071
  IFS=$as_save_IFS
 
4072
  test -z "$as_dir" && as_dir=.
 
4073
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4074
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4075
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
4076
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4077
    break 2
 
4078
  fi
 
4079
done
 
4080
  done
 
4081
IFS=$as_save_IFS
 
4082
 
 
4083
fi
 
4084
fi
 
4085
CC=$ac_cv_prog_CC
 
4086
if test -n "$CC"; then
 
4087
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4088
$as_echo "$CC" >&6; }
 
4089
else
 
4090
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4091
$as_echo "no" >&6; }
 
4092
fi
 
4093
 
 
4094
 
 
4095
fi
 
4096
if test -z "$ac_cv_prog_CC"; then
 
4097
  ac_ct_CC=$CC
 
4098
  # Extract the first word of "gcc", so it can be a program name with args.
 
4099
set dummy gcc; ac_word=$2
 
4100
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4101
$as_echo_n "checking for $ac_word... " >&6; }
 
4102
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
4103
  $as_echo_n "(cached) " >&6
 
4104
else
 
4105
  if test -n "$ac_ct_CC"; then
 
4106
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
4107
else
 
4108
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4109
for as_dir in $PATH
 
4110
do
 
4111
  IFS=$as_save_IFS
 
4112
  test -z "$as_dir" && as_dir=.
 
4113
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4114
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4115
    ac_cv_prog_ac_ct_CC="gcc"
 
4116
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4117
    break 2
 
4118
  fi
 
4119
done
 
4120
  done
 
4121
IFS=$as_save_IFS
 
4122
 
 
4123
fi
 
4124
fi
 
4125
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
4126
if test -n "$ac_ct_CC"; then
 
4127
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
4128
$as_echo "$ac_ct_CC" >&6; }
 
4129
else
 
4130
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4131
$as_echo "no" >&6; }
 
4132
fi
 
4133
 
 
4134
  if test "x$ac_ct_CC" = x; then
 
4135
    CC=""
 
4136
  else
 
4137
    case $cross_compiling:$ac_tool_warned in
 
4138
yes:)
 
4139
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4140
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4141
ac_tool_warned=yes ;;
 
4142
esac
 
4143
    CC=$ac_ct_CC
 
4144
  fi
 
4145
else
 
4146
  CC="$ac_cv_prog_CC"
 
4147
fi
 
4148
 
 
4149
if test -z "$CC"; then
 
4150
          if test -n "$ac_tool_prefix"; then
 
4151
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
4152
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
4153
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4154
$as_echo_n "checking for $ac_word... " >&6; }
 
4155
if test "${ac_cv_prog_CC+set}" = set; then :
 
4156
  $as_echo_n "(cached) " >&6
 
4157
else
 
4158
  if test -n "$CC"; then
 
4159
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
4160
else
 
4161
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4162
for as_dir in $PATH
 
4163
do
 
4164
  IFS=$as_save_IFS
 
4165
  test -z "$as_dir" && as_dir=.
 
4166
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4167
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4168
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
4169
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4170
    break 2
 
4171
  fi
 
4172
done
 
4173
  done
 
4174
IFS=$as_save_IFS
 
4175
 
 
4176
fi
 
4177
fi
 
4178
CC=$ac_cv_prog_CC
 
4179
if test -n "$CC"; then
 
4180
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4181
$as_echo "$CC" >&6; }
 
4182
else
 
4183
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4184
$as_echo "no" >&6; }
 
4185
fi
 
4186
 
 
4187
 
 
4188
  fi
 
4189
fi
 
4190
if test -z "$CC"; then
 
4191
  # Extract the first word of "cc", so it can be a program name with args.
 
4192
set dummy cc; ac_word=$2
 
4193
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4194
$as_echo_n "checking for $ac_word... " >&6; }
 
4195
if test "${ac_cv_prog_CC+set}" = set; then :
 
4196
  $as_echo_n "(cached) " >&6
 
4197
else
 
4198
  if test -n "$CC"; then
 
4199
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
4200
else
 
4201
  ac_prog_rejected=no
 
4202
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4203
for as_dir in $PATH
 
4204
do
 
4205
  IFS=$as_save_IFS
 
4206
  test -z "$as_dir" && as_dir=.
 
4207
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4208
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4209
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
4210
       ac_prog_rejected=yes
 
4211
       continue
 
4212
     fi
 
4213
    ac_cv_prog_CC="cc"
 
4214
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4215
    break 2
 
4216
  fi
 
4217
done
 
4218
  done
 
4219
IFS=$as_save_IFS
 
4220
 
 
4221
if test $ac_prog_rejected = yes; then
 
4222
  # We found a bogon in the path, so make sure we never use it.
 
4223
  set dummy $ac_cv_prog_CC
 
4224
  shift
 
4225
  if test $# != 0; then
 
4226
    # We chose a different compiler from the bogus one.
 
4227
    # However, it has the same basename, so the bogon will be chosen
 
4228
    # first if we set CC to just the basename; use the full file name.
 
4229
    shift
 
4230
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
4231
  fi
 
4232
fi
 
4233
fi
 
4234
fi
 
4235
CC=$ac_cv_prog_CC
 
4236
if test -n "$CC"; then
 
4237
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4238
$as_echo "$CC" >&6; }
 
4239
else
 
4240
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4241
$as_echo "no" >&6; }
 
4242
fi
 
4243
 
 
4244
 
 
4245
fi
 
4246
if test -z "$CC"; then
 
4247
  if test -n "$ac_tool_prefix"; then
 
4248
  for ac_prog in cl.exe
 
4249
  do
 
4250
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
4251
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
4252
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4253
$as_echo_n "checking for $ac_word... " >&6; }
 
4254
if test "${ac_cv_prog_CC+set}" = set; then :
 
4255
  $as_echo_n "(cached) " >&6
 
4256
else
 
4257
  if test -n "$CC"; then
 
4258
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
4259
else
 
4260
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4261
for as_dir in $PATH
 
4262
do
 
4263
  IFS=$as_save_IFS
 
4264
  test -z "$as_dir" && as_dir=.
 
4265
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4266
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4267
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
4268
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4269
    break 2
 
4270
  fi
 
4271
done
 
4272
  done
 
4273
IFS=$as_save_IFS
 
4274
 
 
4275
fi
 
4276
fi
 
4277
CC=$ac_cv_prog_CC
 
4278
if test -n "$CC"; then
 
4279
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4280
$as_echo "$CC" >&6; }
 
4281
else
 
4282
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4283
$as_echo "no" >&6; }
 
4284
fi
 
4285
 
 
4286
 
 
4287
    test -n "$CC" && break
 
4288
  done
 
4289
fi
 
4290
if test -z "$CC"; then
 
4291
  ac_ct_CC=$CC
 
4292
  for ac_prog in cl.exe
 
4293
do
 
4294
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
4295
set dummy $ac_prog; ac_word=$2
 
4296
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4297
$as_echo_n "checking for $ac_word... " >&6; }
 
4298
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
4299
  $as_echo_n "(cached) " >&6
 
4300
else
 
4301
  if test -n "$ac_ct_CC"; then
 
4302
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
4303
else
 
4304
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4305
for as_dir in $PATH
 
4306
do
 
4307
  IFS=$as_save_IFS
 
4308
  test -z "$as_dir" && as_dir=.
 
4309
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4310
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4311
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
4312
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4313
    break 2
 
4314
  fi
 
4315
done
 
4316
  done
 
4317
IFS=$as_save_IFS
 
4318
 
 
4319
fi
 
4320
fi
 
4321
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
4322
if test -n "$ac_ct_CC"; then
 
4323
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
4324
$as_echo "$ac_ct_CC" >&6; }
 
4325
else
 
4326
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4327
$as_echo "no" >&6; }
 
4328
fi
 
4329
 
 
4330
 
 
4331
  test -n "$ac_ct_CC" && break
 
4332
done
 
4333
 
 
4334
  if test "x$ac_ct_CC" = x; then
 
4335
    CC=""
 
4336
  else
 
4337
    case $cross_compiling:$ac_tool_warned in
 
4338
yes:)
 
4339
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4340
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4341
ac_tool_warned=yes ;;
 
4342
esac
 
4343
    CC=$ac_ct_CC
 
4344
  fi
 
4345
fi
 
4346
 
 
4347
fi
 
4348
 
 
4349
 
 
4350
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4351
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4352
as_fn_error $? "no acceptable C compiler found in \$PATH
 
4353
See \`config.log' for more details" "$LINENO" 5 ; }
4982
4354
 
4983
4355
# Provide some information about the compiler.
4984
4356
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5347
4719
 
5348
4720
am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
5349
4721
 
 
4722
 
5350
4723
ac_ext=c
5351
4724
ac_cpp='$CPP $CPPFLAGS'
5352
4725
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5389
4762
  # Broken: fails on valid input.
5390
4763
continue
5391
4764
fi
5392
 
rm -f conftest.err conftest.$ac_ext
 
4765
rm -f conftest.err conftest.i conftest.$ac_ext
5393
4766
 
5394
4767
  # OK, works on sane cases.  Now check whether nonexistent headers
5395
4768
  # can be detected and how.
5405
4778
ac_preproc_ok=:
5406
4779
break
5407
4780
fi
5408
 
rm -f conftest.err conftest.$ac_ext
 
4781
rm -f conftest.err conftest.i conftest.$ac_ext
5409
4782
 
5410
4783
done
5411
4784
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5412
 
rm -f conftest.err conftest.$ac_ext
 
4785
rm -f conftest.i conftest.err conftest.$ac_ext
5413
4786
if $ac_preproc_ok; then :
5414
4787
  break
5415
4788
fi
5448
4821
  # Broken: fails on valid input.
5449
4822
continue
5450
4823
fi
5451
 
rm -f conftest.err conftest.$ac_ext
 
4824
rm -f conftest.err conftest.i conftest.$ac_ext
5452
4825
 
5453
4826
  # OK, works on sane cases.  Now check whether nonexistent headers
5454
4827
  # can be detected and how.
5464
4837
ac_preproc_ok=:
5465
4838
break
5466
4839
fi
5467
 
rm -f conftest.err conftest.$ac_ext
 
4840
rm -f conftest.err conftest.i conftest.$ac_ext
5468
4841
 
5469
4842
done
5470
4843
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5471
 
rm -f conftest.err conftest.$ac_ext
 
4844
rm -f conftest.i conftest.err conftest.$ac_ext
5472
4845
if $ac_preproc_ok; then :
5473
4846
 
5474
4847
else
5475
4848
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5476
4849
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5477
 
as_fn_error "C preprocessor \"$CPP\" fails sanity check
5478
 
See \`config.log' for more details." "$LINENO" 5; }
 
4850
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 
4851
See \`config.log' for more details" "$LINENO" 5 ; }
5479
4852
fi
5480
4853
 
5481
4854
ac_ext=c
5536
4909
  done
5537
4910
IFS=$as_save_IFS
5538
4911
  if test -z "$ac_cv_path_GREP"; then
5539
 
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4912
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5540
4913
  fi
5541
4914
else
5542
4915
  ac_cv_path_GREP=$GREP
5602
4975
  done
5603
4976
IFS=$as_save_IFS
5604
4977
  if test -z "$ac_cv_path_EGREP"; then
5605
 
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4978
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5606
4979
  fi
5607
4980
else
5608
4981
  ac_cv_path_EGREP=$EGREP
5727
5100
 
5728
5101
fi
5729
5102
 
 
5103
# Extract the first word of "valac", so it can be a program name with args.
 
5104
set dummy valac; ac_word=$2
 
5105
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5106
$as_echo_n "checking for $ac_word... " >&6; }
 
5107
if test "${ac_cv_path_VALAC+set}" = set; then :
 
5108
  $as_echo_n "(cached) " >&6
 
5109
else
 
5110
  case $VALAC in
 
5111
  [\\/]* | ?:[\\/]*)
 
5112
  ac_cv_path_VALAC="$VALAC" # Let the user override the test with a path.
 
5113
  ;;
 
5114
  *)
 
5115
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5116
for as_dir in $PATH
 
5117
do
 
5118
  IFS=$as_save_IFS
 
5119
  test -z "$as_dir" && as_dir=.
 
5120
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5121
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5122
    ac_cv_path_VALAC="$as_dir/$ac_word$ac_exec_ext"
 
5123
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5124
    break 2
 
5125
  fi
 
5126
done
 
5127
  done
 
5128
IFS=$as_save_IFS
 
5129
 
 
5130
  ;;
 
5131
esac
 
5132
fi
 
5133
VALAC=$ac_cv_path_VALAC
 
5134
if test -n "$VALAC"; then
 
5135
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALAC" >&5
 
5136
$as_echo "$VALAC" >&6; }
 
5137
else
 
5138
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5139
$as_echo "no" >&6; }
 
5140
fi
 
5141
 
 
5142
 
 
5143
 if test -z "$VALAC"; then :
 
5144
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No Vala compiler found.  You will not be able to compile .vala source files." >&5
 
5145
$as_echo "$as_me: WARNING: No Vala compiler found.  You will not be able to compile .vala source files." >&2;}
 
5146
else
 
5147
  if test -n "0.11.6"; then :
 
5148
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking $VALAC is at least version 0.11.6" >&5
 
5149
$as_echo_n "checking $VALAC is at least version 0.11.6... " >&6; }
 
5150
       am__vala_version=`$VALAC --version | sed 's/Vala  *//'`
 
5151
       as_arg_v1=0.11.6
 
5152
as_arg_v2="$am__vala_version"
 
5153
awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
 
5154
case $? in #(
 
5155
  1) :
 
5156
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
5157
$as_echo "yes" >&6; } ;; #(
 
5158
  0) :
 
5159
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
5160
$as_echo "yes" >&6; } ;; #(
 
5161
  2) :
 
5162
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5163
$as_echo "no" >&6; }
 
5164
          as_fn_error $? "Vala 0.11.6 not found." "$LINENO" 5  ;; #(
 
5165
  *) :
 
5166
     ;;
 
5167
esac
 
5168
fi
 
5169
fi
 
5170
 
 
5171
 
 
5172
# Initialize libtool
 
5173
 
5730
5174
case `pwd` in
5731
5175
  *\ * | *\     *)
5732
5176
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5754
5198
 
5755
5199
# Make sure we can run config.sub.
5756
5200
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5757
 
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 
5201
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5758
5202
 
5759
5203
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5760
5204
$as_echo_n "checking build system type... " >&6; }
5765
5209
test "x$ac_build_alias" = x &&
5766
5210
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5767
5211
test "x$ac_build_alias" = x &&
5768
 
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
 
5212
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5769
5213
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5770
 
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 
5214
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5771
5215
 
5772
5216
fi
5773
5217
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5774
5218
$as_echo "$ac_cv_build" >&6; }
5775
5219
case $ac_cv_build in
5776
5220
*-*-*) ;;
5777
 
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
 
5221
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
5778
5222
esac
5779
5223
build=$ac_cv_build
5780
5224
ac_save_IFS=$IFS; IFS='-'
5799
5243
  ac_cv_host=$ac_cv_build
5800
5244
else
5801
5245
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5802
 
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 
5246
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5803
5247
fi
5804
5248
 
5805
5249
fi
5807
5251
$as_echo "$ac_cv_host" >&6; }
5808
5252
case $ac_cv_host in
5809
5253
*-*-*) ;;
5810
 
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
 
5254
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
5811
5255
esac
5812
5256
host=$ac_cv_host
5813
5257
ac_save_IFS=$IFS; IFS='-'
5880
5324
  done
5881
5325
IFS=$as_save_IFS
5882
5326
  if test -z "$ac_cv_path_SED"; then
5883
 
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
5327
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5884
5328
  fi
5885
5329
else
5886
5330
  ac_cv_path_SED=$SED
5959
5403
  done
5960
5404
IFS=$as_save_IFS
5961
5405
  if test -z "$ac_cv_path_FGREP"; then
5962
 
    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
5406
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5963
5407
  fi
5964
5408
else
5965
5409
  ac_cv_path_FGREP=$FGREP
6075
5519
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6076
5520
$as_echo "no" >&6; }
6077
5521
fi
6078
 
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
5522
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6079
5523
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6080
5524
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6081
5525
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6277
5721
else
6278
5722
  lt_cv_nm_interface="BSD nm"
6279
5723
  echo "int some_variable = 0;" > conftest.$ac_ext
6280
 
  (eval echo "\"\$as_me:6280: $ac_compile\"" >&5)
 
5724
  (eval echo "\"\$as_me:5724: $ac_compile\"" >&5)
6281
5725
  (eval "$ac_compile" 2>conftest.err)
6282
5726
  cat conftest.err >&5
6283
 
  (eval echo "\"\$as_me:6283: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
5727
  (eval echo "\"\$as_me:5727: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6284
5728
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6285
5729
  cat conftest.err >&5
6286
 
  (eval echo "\"\$as_me:6286: output\"" >&5)
 
5730
  (eval echo "\"\$as_me:5730: output\"" >&5)
6287
5731
  cat conftest.out >&5
6288
5732
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6289
5733
    lt_cv_nm_interface="MS dumpbin"
6749
6193
  ;;
6750
6194
 
6751
6195
# This must be Linux ELF.
6752
 
linux* | k*bsd*-gnu)
 
6196
linux* | k*bsd*-gnu | kopensolaris*-gnu)
6753
6197
  lt_cv_deplibs_check_method=pass_all
6754
6198
  ;;
6755
6199
 
6756
 
netbsd*)
 
6200
netbsd* | netbsdelf*-gnu)
6757
6201
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6758
6202
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6759
6203
  else
7488
6932
  ;;
7489
6933
*-*-irix6*)
7490
6934
  # Find out which ABI we are using.
7491
 
  echo '#line 7491 "configure"' > conftest.$ac_ext
 
6935
  echo '#line 6935 "configure"' > conftest.$ac_ext
7492
6936
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7493
6937
  (eval $ac_compile) 2>&5
7494
6938
  ac_status=$?
8242
7686
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8243
7687
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8244
7688
"
8245
 
eval as_val=\$$as_ac_Header
8246
 
   if test "x$as_val" = x""yes; then :
 
7689
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8247
7690
  cat >>confdefs.h <<_ACEOF
8248
7691
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8249
7692
_ACEOF
8739
8182
$RM -r conftest*
8740
8183
 
8741
8184
 
 
8185
## CAVEAT EMPTOR:
 
8186
## There is no encapsulation within the following macros, do not change
 
8187
## the running order or otherwise move them around unless you know exactly
 
8188
## what you are doing...
8742
8189
if test -n "$compiler"; then
8743
8190
 
8744
8191
lt_prog_compiler_no_builtin_flag=
8764
8211
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8765
8212
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8766
8213
   -e 's:$: $lt_compiler_flag:'`
8767
 
   (eval echo "\"\$as_me:8767: $lt_compile\"" >&5)
 
8214
   (eval echo "\"\$as_me:8214: $lt_compile\"" >&5)
8768
8215
   (eval "$lt_compile" 2>conftest.err)
8769
8216
   ac_status=$?
8770
8217
   cat conftest.err >&5
8771
 
   echo "$as_me:8771: \$? = $ac_status" >&5
 
8218
   echo "$as_me:8218: \$? = $ac_status" >&5
8772
8219
   if (exit $ac_status) && test -s "$ac_outfile"; then
8773
8220
     # The compiler can only warn and ignore the option if not recognized
8774
8221
     # So say no if there are warnings other than the usual output.
8933
8380
      lt_prog_compiler_static='-non_shared'
8934
8381
      ;;
8935
8382
 
8936
 
    linux* | k*bsd*-gnu)
 
8383
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8937
8384
      case $cc_basename in
8938
8385
      # old Intel for x86_64 which still supported -KPIC.
8939
8386
      ecc*)
9103
8550
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9104
8551
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9105
8552
   -e 's:$: $lt_compiler_flag:'`
9106
 
   (eval echo "\"\$as_me:9106: $lt_compile\"" >&5)
 
8553
   (eval echo "\"\$as_me:8553: $lt_compile\"" >&5)
9107
8554
   (eval "$lt_compile" 2>conftest.err)
9108
8555
   ac_status=$?
9109
8556
   cat conftest.err >&5
9110
 
   echo "$as_me:9110: \$? = $ac_status" >&5
 
8557
   echo "$as_me:8557: \$? = $ac_status" >&5
9111
8558
   if (exit $ac_status) && test -s "$ac_outfile"; then
9112
8559
     # The compiler can only warn and ignore the option if not recognized
9113
8560
     # So say no if there are warnings other than the usual output.
9208
8655
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9209
8656
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9210
8657
   -e 's:$: $lt_compiler_flag:'`
9211
 
   (eval echo "\"\$as_me:9211: $lt_compile\"" >&5)
 
8658
   (eval echo "\"\$as_me:8658: $lt_compile\"" >&5)
9212
8659
   (eval "$lt_compile" 2>out/conftest.err)
9213
8660
   ac_status=$?
9214
8661
   cat out/conftest.err >&5
9215
 
   echo "$as_me:9215: \$? = $ac_status" >&5
 
8662
   echo "$as_me:8662: \$? = $ac_status" >&5
9216
8663
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9217
8664
   then
9218
8665
     # The compiler can only warn and ignore the option if not recognized
9263
8710
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9264
8711
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9265
8712
   -e 's:$: $lt_compiler_flag:'`
9266
 
   (eval echo "\"\$as_me:9266: $lt_compile\"" >&5)
 
8713
   (eval echo "\"\$as_me:8713: $lt_compile\"" >&5)
9267
8714
   (eval "$lt_compile" 2>out/conftest.err)
9268
8715
   ac_status=$?
9269
8716
   cat out/conftest.err >&5
9270
 
   echo "$as_me:9270: \$? = $ac_status" >&5
 
8717
   echo "$as_me:8717: \$? = $ac_status" >&5
9271
8718
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9272
8719
   then
9273
8720
     # The compiler can only warn and ignore the option if not recognized
9382
8829
  openbsd*)
9383
8830
    with_gnu_ld=no
9384
8831
    ;;
 
8832
  linux* | k*bsd*-gnu)
 
8833
    link_all_deplibs=no
 
8834
    ;;
9385
8835
  esac
9386
8836
 
9387
8837
  ld_shlibs=yes
9403
8853
    fi
9404
8854
    supports_anon_versioning=no
9405
8855
    case `$LD -v 2>&1` in
 
8856
      *GNU\ gold*) supports_anon_versioning=yes ;;
9406
8857
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9407
8858
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9408
8859
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9494
8945
      archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9495
8946
      ;;
9496
8947
 
9497
 
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
8948
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9498
8949
      tmp_diet=no
9499
8950
      if test "$host_os" = linux-dietlibc; then
9500
8951
        case $cc_basename in
9564
9015
      fi
9565
9016
      ;;
9566
9017
 
9567
 
    netbsd*)
 
9018
    netbsd* | netbsdelf*-gnu)
9568
9019
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9569
9020
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9570
9021
        wlarc=
9739
9190
        if test "$aix_use_runtimelinking" = yes; then
9740
9191
          shared_flag="$shared_flag "'${wl}-G'
9741
9192
        fi
 
9193
        link_all_deplibs=no
9742
9194
      else
9743
9195
        # not using gcc
9744
9196
        if test "$host_cpu" = ia64; then
10065
9517
      link_all_deplibs=yes
10066
9518
      ;;
10067
9519
 
10068
 
    netbsd*)
 
9520
    netbsd* | netbsdelf*-gnu)
10069
9521
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10070
9522
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10071
9523
      else
10955
10407
  ;;
10956
10408
 
10957
10409
# This must be Linux ELF.
10958
 
linux* | k*bsd*-gnu)
 
10410
linux* | k*bsd*-gnu | kopensolaris*-gnu)
10959
10411
  version_type=linux
10960
10412
  need_lib_prefix=no
10961
10413
  need_version=no
10995
10447
  # before this can be enabled.
10996
10448
  hardcode_into_libs=yes
10997
10449
 
10998
 
  # Add ABI-specific directories to the system library path.
10999
 
  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
11000
 
 
11001
10450
  # Append ld.so.conf contents to the search path
11002
10451
  if test -f /etc/ld.so.conf; then
11003
10452
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
11004
 
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
 
10453
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11005
10454
  fi
11006
10455
 
11007
10456
  # We used to test for /lib/ld.so.1 and disable shared libraries on
11013
10462
  dynamic_linker='GNU/Linux ld.so'
11014
10463
  ;;
11015
10464
 
 
10465
netbsdelf*-gnu)
 
10466
  version_type=linux
 
10467
  need_lib_prefix=no
 
10468
  need_version=no
 
10469
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
10470
  soname_spec='${libname}${release}${shared_ext}$major'
 
10471
  shlibpath_var=LD_LIBRARY_PATH
 
10472
  shlibpath_overrides_runpath=no
 
10473
  hardcode_into_libs=yes
 
10474
  dynamic_linker='NetBSD ld.elf_so'
 
10475
  ;;
 
10476
 
11016
10477
netbsd*)
11017
10478
  version_type=sunos
11018
10479
  need_lib_prefix=no
11633
11094
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11634
11095
  lt_status=$lt_dlunknown
11635
11096
  cat > conftest.$ac_ext <<_LT_EOF
11636
 
#line 11636 "configure"
 
11097
#line 11097 "configure"
11637
11098
#include "confdefs.h"
11638
11099
 
11639
11100
#if HAVE_DLFCN_H
11729
11190
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11730
11191
  lt_status=$lt_dlunknown
11731
11192
  cat > conftest.$ac_ext <<_LT_EOF
11732
 
#line 11732 "configure"
 
11193
#line 11193 "configure"
11733
11194
#include "confdefs.h"
11734
11195
 
11735
11196
#if HAVE_DLFCN_H
11979
11440
if test "${enable_compile_warnings+set}" = set; then :
11980
11441
  enableval=$enable_compile_warnings;
11981
11442
else
11982
 
  enable_compile_warnings="yes"
 
11443
  enable_compile_warnings="maximum"
11983
11444
fi
11984
11445
 
11985
11446
 
12041
11502
        fi
12042
11503
        ;;
12043
11504
    *)
12044
 
        as_fn_error "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5
 
11505
        as_fn_error $? "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5
12045
11506
        ;;
12046
11507
    esac
12047
11508
    CFLAGS="$realsave_CFLAGS"
12080
11541
 
12081
11542
 
12082
11543
 
12083
 
 
12084
 
 
12085
 
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12086
 
        if test -n "$ac_tool_prefix"; then
12087
 
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12088
 
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12089
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12090
 
$as_echo_n "checking for $ac_word... " >&6; }
12091
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
12092
 
  $as_echo_n "(cached) " >&6
12093
 
else
12094
 
  case $PKG_CONFIG in
12095
 
  [\\/]* | ?:[\\/]*)
12096
 
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12097
 
  ;;
12098
 
  *)
12099
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12100
 
for as_dir in $PATH
12101
 
do
12102
 
  IFS=$as_save_IFS
12103
 
  test -z "$as_dir" && as_dir=.
12104
 
    for ac_exec_ext in '' $ac_executable_extensions; do
12105
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12106
 
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12107
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12108
 
    break 2
12109
 
  fi
12110
 
done
12111
 
  done
12112
 
IFS=$as_save_IFS
12113
 
 
12114
 
  ;;
12115
 
esac
12116
 
fi
12117
 
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12118
 
if test -n "$PKG_CONFIG"; then
12119
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12120
 
$as_echo "$PKG_CONFIG" >&6; }
12121
 
else
12122
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12123
 
$as_echo "no" >&6; }
12124
 
fi
12125
 
 
12126
 
 
12127
 
fi
12128
 
if test -z "$ac_cv_path_PKG_CONFIG"; then
12129
 
  ac_pt_PKG_CONFIG=$PKG_CONFIG
12130
 
  # Extract the first word of "pkg-config", so it can be a program name with args.
12131
 
set dummy pkg-config; ac_word=$2
12132
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12133
 
$as_echo_n "checking for $ac_word... " >&6; }
12134
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
12135
 
  $as_echo_n "(cached) " >&6
12136
 
else
12137
 
  case $ac_pt_PKG_CONFIG in
12138
 
  [\\/]* | ?:[\\/]*)
12139
 
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12140
 
  ;;
12141
 
  *)
12142
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12143
 
for as_dir in $PATH
12144
 
do
12145
 
  IFS=$as_save_IFS
12146
 
  test -z "$as_dir" && as_dir=.
12147
 
    for ac_exec_ext in '' $ac_executable_extensions; do
12148
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12149
 
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12150
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12151
 
    break 2
12152
 
  fi
12153
 
done
12154
 
  done
12155
 
IFS=$as_save_IFS
12156
 
 
12157
 
  ;;
12158
 
esac
12159
 
fi
12160
 
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12161
 
if test -n "$ac_pt_PKG_CONFIG"; then
12162
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12163
 
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
12164
 
else
12165
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12166
 
$as_echo "no" >&6; }
12167
 
fi
12168
 
 
12169
 
  if test "x$ac_pt_PKG_CONFIG" = x; then
12170
 
    PKG_CONFIG=""
12171
 
  else
12172
 
    case $cross_compiling:$ac_tool_warned in
12173
 
yes:)
12174
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12175
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12176
 
ac_tool_warned=yes ;;
12177
 
esac
12178
 
    PKG_CONFIG=$ac_pt_PKG_CONFIG
12179
 
  fi
12180
 
else
12181
 
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12182
 
fi
12183
 
 
12184
 
fi
12185
 
if test -n "$PKG_CONFIG"; then
12186
 
        _pkg_min_version=0.9.0
12187
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12188
 
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12189
 
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12190
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12191
 
$as_echo "yes" >&6; }
12192
 
        else
12193
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12194
 
$as_echo "no" >&6; }
12195
 
                PKG_CONFIG=""
12196
 
        fi
12197
 
 
12198
 
fi
12199
 
 
12200
 
 
12201
 
    # Extract the first word of "gtkdoc-check", so it can be a program name with args.
12202
 
set dummy gtkdoc-check; ac_word=$2
12203
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12204
 
$as_echo_n "checking for $ac_word... " >&6; }
12205
 
if test "${ac_cv_path_GTKDOC_CHECK+set}" = set; then :
12206
 
  $as_echo_n "(cached) " >&6
12207
 
else
12208
 
  case $GTKDOC_CHECK in
12209
 
  [\\/]* | ?:[\\/]*)
12210
 
  ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
12211
 
  ;;
12212
 
  *)
12213
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12214
 
for as_dir in $PATH
12215
 
do
12216
 
  IFS=$as_save_IFS
12217
 
  test -z "$as_dir" && as_dir=.
12218
 
    for ac_exec_ext in '' $ac_executable_extensions; do
12219
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12220
 
    ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
12221
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12222
 
    break 2
12223
 
  fi
12224
 
done
12225
 
  done
12226
 
IFS=$as_save_IFS
12227
 
 
12228
 
  ;;
12229
 
esac
12230
 
fi
12231
 
GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
12232
 
if test -n "$GTKDOC_CHECK"; then
12233
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
12234
 
$as_echo "$GTKDOC_CHECK" >&6; }
12235
 
else
12236
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12237
 
$as_echo "no" >&6; }
12238
 
fi
12239
 
 
12240
 
 
12241
 
  for ac_prog in gtkdoc-rebase
12242
 
do
12243
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
12244
 
set dummy $ac_prog; ac_word=$2
12245
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12246
 
$as_echo_n "checking for $ac_word... " >&6; }
12247
 
if test "${ac_cv_path_GTKDOC_REBASE+set}" = set; then :
12248
 
  $as_echo_n "(cached) " >&6
12249
 
else
12250
 
  case $GTKDOC_REBASE in
12251
 
  [\\/]* | ?:[\\/]*)
12252
 
  ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
12253
 
  ;;
12254
 
  *)
12255
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12256
 
for as_dir in $PATH
12257
 
do
12258
 
  IFS=$as_save_IFS
12259
 
  test -z "$as_dir" && as_dir=.
12260
 
    for ac_exec_ext in '' $ac_executable_extensions; do
12261
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12262
 
    ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
12263
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12264
 
    break 2
12265
 
  fi
12266
 
done
12267
 
  done
12268
 
IFS=$as_save_IFS
12269
 
 
12270
 
  ;;
12271
 
esac
12272
 
fi
12273
 
GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
12274
 
if test -n "$GTKDOC_REBASE"; then
12275
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
12276
 
$as_echo "$GTKDOC_REBASE" >&6; }
12277
 
else
12278
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12279
 
$as_echo "no" >&6; }
12280
 
fi
12281
 
 
12282
 
 
12283
 
  test -n "$GTKDOC_REBASE" && break
12284
 
done
12285
 
test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
12286
 
 
12287
 
  # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
12288
 
set dummy gtkdoc-mkpdf; ac_word=$2
12289
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12290
 
$as_echo_n "checking for $ac_word... " >&6; }
12291
 
if test "${ac_cv_path_GTKDOC_MKPDF+set}" = set; then :
12292
 
  $as_echo_n "(cached) " >&6
12293
 
else
12294
 
  case $GTKDOC_MKPDF in
12295
 
  [\\/]* | ?:[\\/]*)
12296
 
  ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
12297
 
  ;;
12298
 
  *)
12299
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12300
 
for as_dir in $PATH
12301
 
do
12302
 
  IFS=$as_save_IFS
12303
 
  test -z "$as_dir" && as_dir=.
12304
 
    for ac_exec_ext in '' $ac_executable_extensions; do
12305
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12306
 
    ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
12307
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12308
 
    break 2
12309
 
  fi
12310
 
done
12311
 
  done
12312
 
IFS=$as_save_IFS
12313
 
 
12314
 
  ;;
12315
 
esac
12316
 
fi
12317
 
GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
12318
 
if test -n "$GTKDOC_MKPDF"; then
12319
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
12320
 
$as_echo "$GTKDOC_MKPDF" >&6; }
12321
 
else
12322
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12323
 
$as_echo "no" >&6; }
12324
 
fi
12325
 
 
12326
 
 
12327
 
 
12328
 
 
12329
 
# Check whether --with-html-dir was given.
12330
 
if test "${with_html_dir+set}" = set; then :
12331
 
  withval=$with_html_dir;
12332
 
else
12333
 
  with_html_dir='${datadir}/gtk-doc/html'
12334
 
fi
12335
 
 
12336
 
  HTML_DIR="$with_html_dir"
12337
 
 
12338
 
 
12339
 
    # Check whether --enable-gtk-doc was given.
12340
 
if test "${enable_gtk_doc+set}" = set; then :
12341
 
  enableval=$enable_gtk_doc;
12342
 
else
12343
 
  enable_gtk_doc=no
12344
 
fi
12345
 
 
12346
 
 
12347
 
  if test x$enable_gtk_doc = xyes; then
12348
 
    if test -n "$PKG_CONFIG" && \
12349
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.11\""; } >&5
12350
 
  ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.11") 2>&5
12351
 
  ac_status=$?
12352
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12353
 
  test $ac_status = 0; }; then
12354
 
  :
12355
 
else
12356
 
  as_fn_error "You need to have gtk-doc >= 1.11 installed to build $PACKAGE_NAME" "$LINENO" 5
12357
 
fi
12358
 
  fi
12359
 
 
12360
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
12361
 
$as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
12362
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
12363
 
$as_echo "$enable_gtk_doc" >&6; }
12364
 
 
12365
 
    # Check whether --enable-gtk-doc-html was given.
12366
 
if test "${enable_gtk_doc_html+set}" = set; then :
12367
 
  enableval=$enable_gtk_doc_html;
12368
 
else
12369
 
  enable_gtk_doc_html=yes
12370
 
fi
12371
 
 
12372
 
    # Check whether --enable-gtk-doc-pdf was given.
12373
 
if test "${enable_gtk_doc_pdf+set}" = set; then :
12374
 
  enableval=$enable_gtk_doc_pdf;
12375
 
else
12376
 
  enable_gtk_doc_pdf=no
12377
 
fi
12378
 
 
12379
 
 
12380
 
  if test -z "$GTKDOC_MKPDF"; then
12381
 
    enable_gtk_doc_pdf=no
12382
 
  fi
12383
 
 
12384
 
 
12385
 
   if test x$enable_gtk_doc = xyes; then
12386
 
  ENABLE_GTK_DOC_TRUE=
12387
 
  ENABLE_GTK_DOC_FALSE='#'
12388
 
else
12389
 
  ENABLE_GTK_DOC_TRUE='#'
12390
 
  ENABLE_GTK_DOC_FALSE=
12391
 
fi
12392
 
 
12393
 
   if test x$enable_gtk_doc_html = xyes; then
12394
 
  GTK_DOC_BUILD_HTML_TRUE=
12395
 
  GTK_DOC_BUILD_HTML_FALSE='#'
12396
 
else
12397
 
  GTK_DOC_BUILD_HTML_TRUE='#'
12398
 
  GTK_DOC_BUILD_HTML_FALSE=
12399
 
fi
12400
 
 
12401
 
   if test x$enable_gtk_doc_pdf = xyes; then
12402
 
  GTK_DOC_BUILD_PDF_TRUE=
12403
 
  GTK_DOC_BUILD_PDF_FALSE='#'
12404
 
else
12405
 
  GTK_DOC_BUILD_PDF_TRUE='#'
12406
 
  GTK_DOC_BUILD_PDF_FALSE=
12407
 
fi
12408
 
 
12409
 
   if test -n "$LIBTOOL"; then
12410
 
  GTK_DOC_USE_LIBTOOL_TRUE=
12411
 
  GTK_DOC_USE_LIBTOOL_FALSE='#'
12412
 
else
12413
 
  GTK_DOC_USE_LIBTOOL_TRUE='#'
12414
 
  GTK_DOC_USE_LIBTOOL_FALSE=
12415
 
fi
12416
 
 
12417
 
   if test -n "$GTKDOC_REBASE"; then
12418
 
  GTK_DOC_USE_REBASE_TRUE=
12419
 
  GTK_DOC_USE_REBASE_FALSE='#'
12420
 
else
12421
 
  GTK_DOC_USE_REBASE_TRUE='#'
12422
 
  GTK_DOC_USE_REBASE_FALSE=
12423
 
fi
12424
 
 
12425
 
 
12426
 
 
12427
11544
#*******************************************************************************
12428
 
# soname
 
11545
# Libraries
12429
11546
#*******************************************************************************
12430
11547
# Before making a release, the CHEESE_LT_VERSION string should be modified.
12431
11548
# The string is of the form C:R:A.
12434
11551
# - If binary compatibility has been broken (eg removed or changed interfaces)
12435
11552
#   change to C+1:0:0
12436
11553
# - If the interface is the same as the previous version, change to C:R+1:A
12437
 
CHEESE_LT_VERSION=18:0:0
 
11554
LIBCHEESE_LT_VERSION=0:2:0
 
11555
LIBCHEESE_GTK_LT_VERSION=19:2:0
 
11556
 
12438
11557
 
12439
11558
 
12440
11559
#*******************************************************************************
12460
11579
#*******************************************************************************
12461
11580
# Internationalization
12462
11581
#*******************************************************************************
12463
 
GETTEXT_PACKAGE=cheese
12464
 
 
12465
 
 
12466
 
cat >>confdefs.h <<_ACEOF
12467
 
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
12468
 
_ACEOF
12469
 
 
12470
 
 
12471
11582
 
12472
11583
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
12473
11584
$as_echo_n "checking whether NLS is requested... " >&6; }
12484
11595
 
12485
11596
 
12486
11597
 
 
11598
      GETTEXT_MACRO_VERSION=0.17
 
11599
 
 
11600
 
 
11601
 
 
11602
 
 
11603
# Prepare PATH_SEPARATOR.
 
11604
# The user is always right.
 
11605
if test "${PATH_SEPARATOR+set}" != set; then
 
11606
  echo "#! /bin/sh" >conf$$.sh
 
11607
  echo  "exit 0"   >>conf$$.sh
 
11608
  chmod +x conf$$.sh
 
11609
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
11610
    PATH_SEPARATOR=';'
 
11611
  else
 
11612
    PATH_SEPARATOR=:
 
11613
  fi
 
11614
  rm -f conf$$.sh
 
11615
fi
 
11616
 
 
11617
# Find out how to test for executable files. Don't use a zero-byte file,
 
11618
# as systems may use methods other than mode bits to determine executability.
 
11619
cat >conf$$.file <<_ASEOF
 
11620
#! /bin/sh
 
11621
exit 0
 
11622
_ASEOF
 
11623
chmod +x conf$$.file
 
11624
if test -x conf$$.file >/dev/null 2>&1; then
 
11625
  ac_executable_p="test -x"
 
11626
else
 
11627
  ac_executable_p="test -f"
 
11628
fi
 
11629
rm -f conf$$.file
 
11630
 
 
11631
# Extract the first word of "msgfmt", so it can be a program name with args.
 
11632
set dummy msgfmt; ac_word=$2
 
11633
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11634
$as_echo_n "checking for $ac_word... " >&6; }
 
11635
if test "${ac_cv_path_MSGFMT+set}" = set; then :
 
11636
  $as_echo_n "(cached) " >&6
 
11637
else
 
11638
  case "$MSGFMT" in
 
11639
  [\\/]* | ?:[\\/]*)
 
11640
    ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
 
11641
    ;;
 
11642
  *)
 
11643
    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
 
11644
    for ac_dir in $PATH; do
 
11645
      IFS="$ac_save_IFS"
 
11646
      test -z "$ac_dir" && ac_dir=.
 
11647
      for ac_exec_ext in '' $ac_executable_extensions; do
 
11648
        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
 
11649
          echo "$as_me: trying $ac_dir/$ac_word..." >&5
 
11650
          if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
 
11651
     (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
 
11652
            ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
 
11653
            break 2
 
11654
          fi
 
11655
        fi
 
11656
      done
 
11657
    done
 
11658
    IFS="$ac_save_IFS"
 
11659
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
 
11660
    ;;
 
11661
esac
 
11662
fi
 
11663
MSGFMT="$ac_cv_path_MSGFMT"
 
11664
if test "$MSGFMT" != ":"; then
 
11665
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
 
11666
$as_echo "$MSGFMT" >&6; }
 
11667
else
 
11668
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11669
$as_echo "no" >&6; }
 
11670
fi
 
11671
 
 
11672
  # Extract the first word of "gmsgfmt", so it can be a program name with args.
 
11673
set dummy gmsgfmt; ac_word=$2
 
11674
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11675
$as_echo_n "checking for $ac_word... " >&6; }
 
11676
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
 
11677
  $as_echo_n "(cached) " >&6
 
11678
else
 
11679
  case $GMSGFMT in
 
11680
  [\\/]* | ?:[\\/]*)
 
11681
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
 
11682
  ;;
 
11683
  *)
 
11684
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11685
for as_dir in $PATH
 
11686
do
 
11687
  IFS=$as_save_IFS
 
11688
  test -z "$as_dir" && as_dir=.
 
11689
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11690
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
11691
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
11692
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11693
    break 2
 
11694
  fi
 
11695
done
 
11696
  done
 
11697
IFS=$as_save_IFS
 
11698
 
 
11699
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
 
11700
  ;;
 
11701
esac
 
11702
fi
 
11703
GMSGFMT=$ac_cv_path_GMSGFMT
 
11704
if test -n "$GMSGFMT"; then
 
11705
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
 
11706
$as_echo "$GMSGFMT" >&6; }
 
11707
else
 
11708
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11709
$as_echo "no" >&6; }
 
11710
fi
 
11711
 
 
11712
 
 
11713
 
 
11714
    case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
 
11715
    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
 
11716
    *) MSGFMT_015=$MSGFMT ;;
 
11717
  esac
 
11718
 
 
11719
  case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
 
11720
    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
 
11721
    *) GMSGFMT_015=$GMSGFMT ;;
 
11722
  esac
 
11723
 
 
11724
 
 
11725
 
 
11726
# Prepare PATH_SEPARATOR.
 
11727
# The user is always right.
 
11728
if test "${PATH_SEPARATOR+set}" != set; then
 
11729
  echo "#! /bin/sh" >conf$$.sh
 
11730
  echo  "exit 0"   >>conf$$.sh
 
11731
  chmod +x conf$$.sh
 
11732
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
11733
    PATH_SEPARATOR=';'
 
11734
  else
 
11735
    PATH_SEPARATOR=:
 
11736
  fi
 
11737
  rm -f conf$$.sh
 
11738
fi
 
11739
 
 
11740
# Find out how to test for executable files. Don't use a zero-byte file,
 
11741
# as systems may use methods other than mode bits to determine executability.
 
11742
cat >conf$$.file <<_ASEOF
 
11743
#! /bin/sh
 
11744
exit 0
 
11745
_ASEOF
 
11746
chmod +x conf$$.file
 
11747
if test -x conf$$.file >/dev/null 2>&1; then
 
11748
  ac_executable_p="test -x"
 
11749
else
 
11750
  ac_executable_p="test -f"
 
11751
fi
 
11752
rm -f conf$$.file
 
11753
 
 
11754
# Extract the first word of "xgettext", so it can be a program name with args.
 
11755
set dummy xgettext; ac_word=$2
 
11756
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11757
$as_echo_n "checking for $ac_word... " >&6; }
 
11758
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
 
11759
  $as_echo_n "(cached) " >&6
 
11760
else
 
11761
  case "$XGETTEXT" in
 
11762
  [\\/]* | ?:[\\/]*)
 
11763
    ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
 
11764
    ;;
 
11765
  *)
 
11766
    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
 
11767
    for ac_dir in $PATH; do
 
11768
      IFS="$ac_save_IFS"
 
11769
      test -z "$ac_dir" && ac_dir=.
 
11770
      for ac_exec_ext in '' $ac_executable_extensions; do
 
11771
        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
 
11772
          echo "$as_me: trying $ac_dir/$ac_word..." >&5
 
11773
          if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
 
11774
     (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
 
11775
            ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
 
11776
            break 2
 
11777
          fi
 
11778
        fi
 
11779
      done
 
11780
    done
 
11781
    IFS="$ac_save_IFS"
 
11782
  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
 
11783
    ;;
 
11784
esac
 
11785
fi
 
11786
XGETTEXT="$ac_cv_path_XGETTEXT"
 
11787
if test "$XGETTEXT" != ":"; then
 
11788
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
 
11789
$as_echo "$XGETTEXT" >&6; }
 
11790
else
 
11791
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11792
$as_echo "no" >&6; }
 
11793
fi
 
11794
 
 
11795
    rm -f messages.po
 
11796
 
 
11797
    case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
 
11798
    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
 
11799
    *) XGETTEXT_015=$XGETTEXT ;;
 
11800
  esac
 
11801
 
 
11802
 
 
11803
 
 
11804
# Prepare PATH_SEPARATOR.
 
11805
# The user is always right.
 
11806
if test "${PATH_SEPARATOR+set}" != set; then
 
11807
  echo "#! /bin/sh" >conf$$.sh
 
11808
  echo  "exit 0"   >>conf$$.sh
 
11809
  chmod +x conf$$.sh
 
11810
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
11811
    PATH_SEPARATOR=';'
 
11812
  else
 
11813
    PATH_SEPARATOR=:
 
11814
  fi
 
11815
  rm -f conf$$.sh
 
11816
fi
 
11817
 
 
11818
# Find out how to test for executable files. Don't use a zero-byte file,
 
11819
# as systems may use methods other than mode bits to determine executability.
 
11820
cat >conf$$.file <<_ASEOF
 
11821
#! /bin/sh
 
11822
exit 0
 
11823
_ASEOF
 
11824
chmod +x conf$$.file
 
11825
if test -x conf$$.file >/dev/null 2>&1; then
 
11826
  ac_executable_p="test -x"
 
11827
else
 
11828
  ac_executable_p="test -f"
 
11829
fi
 
11830
rm -f conf$$.file
 
11831
 
 
11832
# Extract the first word of "msgmerge", so it can be a program name with args.
 
11833
set dummy msgmerge; ac_word=$2
 
11834
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11835
$as_echo_n "checking for $ac_word... " >&6; }
 
11836
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
 
11837
  $as_echo_n "(cached) " >&6
 
11838
else
 
11839
  case "$MSGMERGE" in
 
11840
  [\\/]* | ?:[\\/]*)
 
11841
    ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
 
11842
    ;;
 
11843
  *)
 
11844
    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
 
11845
    for ac_dir in $PATH; do
 
11846
      IFS="$ac_save_IFS"
 
11847
      test -z "$ac_dir" && ac_dir=.
 
11848
      for ac_exec_ext in '' $ac_executable_extensions; do
 
11849
        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
 
11850
          echo "$as_me: trying $ac_dir/$ac_word..." >&5
 
11851
          if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
 
11852
            ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
 
11853
            break 2
 
11854
          fi
 
11855
        fi
 
11856
      done
 
11857
    done
 
11858
    IFS="$ac_save_IFS"
 
11859
  test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
 
11860
    ;;
 
11861
esac
 
11862
fi
 
11863
MSGMERGE="$ac_cv_path_MSGMERGE"
 
11864
if test "$MSGMERGE" != ":"; then
 
11865
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
 
11866
$as_echo "$MSGMERGE" >&6; }
 
11867
else
 
11868
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11869
$as_echo "no" >&6; }
 
11870
fi
 
11871
 
 
11872
 
 
11873
        test -n "$localedir" || localedir='${datadir}/locale'
 
11874
 
 
11875
 
 
11876
    test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
 
11877
 
 
11878
 
 
11879
  ac_config_commands="$ac_config_commands po-directories"
 
11880
 
 
11881
 
 
11882
 
 
11883
      if test "X$prefix" = "XNONE"; then
 
11884
    acl_final_prefix="$ac_default_prefix"
 
11885
  else
 
11886
    acl_final_prefix="$prefix"
 
11887
  fi
 
11888
  if test "X$exec_prefix" = "XNONE"; then
 
11889
    acl_final_exec_prefix='${prefix}'
 
11890
  else
 
11891
    acl_final_exec_prefix="$exec_prefix"
 
11892
  fi
 
11893
  acl_save_prefix="$prefix"
 
11894
  prefix="$acl_final_prefix"
 
11895
  eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
 
11896
  prefix="$acl_save_prefix"
 
11897
 
 
11898
 
 
11899
# Check whether --with-gnu-ld was given.
 
11900
if test "${with_gnu_ld+set}" = set; then :
 
11901
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 
11902
else
 
11903
  with_gnu_ld=no
 
11904
fi
 
11905
 
 
11906
# Prepare PATH_SEPARATOR.
 
11907
# The user is always right.
 
11908
if test "${PATH_SEPARATOR+set}" != set; then
 
11909
  echo "#! /bin/sh" >conf$$.sh
 
11910
  echo  "exit 0"   >>conf$$.sh
 
11911
  chmod +x conf$$.sh
 
11912
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
11913
    PATH_SEPARATOR=';'
 
11914
  else
 
11915
    PATH_SEPARATOR=:
 
11916
  fi
 
11917
  rm -f conf$$.sh
 
11918
fi
 
11919
ac_prog=ld
 
11920
if test "$GCC" = yes; then
 
11921
  # Check if gcc -print-prog-name=ld gives a path.
 
11922
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
 
11923
$as_echo_n "checking for ld used by GCC... " >&6; }
 
11924
  case $host in
 
11925
  *-*-mingw*)
 
11926
    # gcc leaves a trailing carriage return which upsets mingw
 
11927
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
11928
  *)
 
11929
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
11930
  esac
 
11931
  case $ac_prog in
 
11932
    # Accept absolute paths.
 
11933
    [\\/]* | [A-Za-z]:[\\/]*)
 
11934
      re_direlt='/[^/][^/]*/\.\./'
 
11935
      # Canonicalize the path of ld
 
11936
      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
 
11937
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
 
11938
        ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
 
11939
      done
 
11940
      test -z "$LD" && LD="$ac_prog"
 
11941
      ;;
 
11942
  "")
 
11943
    # If it fails, then pretend we aren't using GCC.
 
11944
    ac_prog=ld
 
11945
    ;;
 
11946
  *)
 
11947
    # If it is relative, then search for the first ld in PATH.
 
11948
    with_gnu_ld=unknown
 
11949
    ;;
 
11950
  esac
 
11951
elif test "$with_gnu_ld" = yes; then
 
11952
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 
11953
$as_echo_n "checking for GNU ld... " >&6; }
 
11954
else
 
11955
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 
11956
$as_echo_n "checking for non-GNU ld... " >&6; }
 
11957
fi
 
11958
if test "${acl_cv_path_LD+set}" = set; then :
 
11959
  $as_echo_n "(cached) " >&6
 
11960
else
 
11961
  if test -z "$LD"; then
 
11962
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
 
11963
  for ac_dir in $PATH; do
 
11964
    test -z "$ac_dir" && ac_dir=.
 
11965
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
11966
      acl_cv_path_LD="$ac_dir/$ac_prog"
 
11967
      # Check to see if the program is GNU ld.  I'd rather use --version,
 
11968
      # but apparently some GNU ld's only accept -v.
 
11969
      # Break only if it was the GNU/non-GNU ld that we prefer.
 
11970
      case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
 
11971
      *GNU* | *'with BFD'*)
 
11972
        test "$with_gnu_ld" != no && break ;;
 
11973
      *)
 
11974
        test "$with_gnu_ld" != yes && break ;;
 
11975
      esac
 
11976
    fi
 
11977
  done
 
11978
  IFS="$ac_save_ifs"
 
11979
else
 
11980
  acl_cv_path_LD="$LD" # Let the user override the test with a path.
 
11981
fi
 
11982
fi
 
11983
 
 
11984
LD="$acl_cv_path_LD"
 
11985
if test -n "$LD"; then
 
11986
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
11987
$as_echo "$LD" >&6; }
 
11988
else
 
11989
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11990
$as_echo "no" >&6; }
 
11991
fi
 
11992
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 
11993
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 
11994
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
11995
if test "${acl_cv_prog_gnu_ld+set}" = set; then :
 
11996
  $as_echo_n "(cached) " >&6
 
11997
else
 
11998
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
 
11999
case `$LD -v 2>&1 </dev/null` in
 
12000
*GNU* | *'with BFD'*)
 
12001
  acl_cv_prog_gnu_ld=yes ;;
 
12002
*)
 
12003
  acl_cv_prog_gnu_ld=no ;;
 
12004
esac
 
12005
fi
 
12006
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
 
12007
$as_echo "$acl_cv_prog_gnu_ld" >&6; }
 
12008
with_gnu_ld=$acl_cv_prog_gnu_ld
 
12009
 
 
12010
 
 
12011
 
 
12012
 
 
12013
                                                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
 
12014
$as_echo_n "checking for shared library run path origin... " >&6; }
 
12015
if test "${acl_cv_rpath+set}" = set; then :
 
12016
  $as_echo_n "(cached) " >&6
 
12017
else
 
12018
 
 
12019
    CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
 
12020
    ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
 
12021
    . ./conftest.sh
 
12022
    rm -f ./conftest.sh
 
12023
    acl_cv_rpath=done
 
12024
 
 
12025
fi
 
12026
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
 
12027
$as_echo "$acl_cv_rpath" >&6; }
 
12028
  wl="$acl_cv_wl"
 
12029
  acl_libext="$acl_cv_libext"
 
12030
  acl_shlibext="$acl_cv_shlibext"
 
12031
  acl_libname_spec="$acl_cv_libname_spec"
 
12032
  acl_library_names_spec="$acl_cv_library_names_spec"
 
12033
  acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
 
12034
  acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
 
12035
  acl_hardcode_direct="$acl_cv_hardcode_direct"
 
12036
  acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
 
12037
    # Check whether --enable-rpath was given.
 
12038
if test "${enable_rpath+set}" = set; then :
 
12039
  enableval=$enable_rpath; :
 
12040
else
 
12041
  enable_rpath=yes
 
12042
fi
 
12043
 
 
12044
 
 
12045
 
 
12046
                  acl_libdirstem=lib
 
12047
  searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
 
12048
  if test -n "$searchpath"; then
 
12049
    acl_save_IFS="${IFS=        }"; IFS=":"
 
12050
    for searchdir in $searchpath; do
 
12051
      if test -d "$searchdir"; then
 
12052
        case "$searchdir" in
 
12053
          */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
 
12054
          *) searchdir=`cd "$searchdir" && pwd`
 
12055
             case "$searchdir" in
 
12056
               */lib64 ) acl_libdirstem=lib64 ;;
 
12057
             esac ;;
 
12058
        esac
 
12059
      fi
 
12060
    done
 
12061
    IFS="$acl_save_IFS"
 
12062
  fi
 
12063
 
 
12064
 
 
12065
 
 
12066
 
 
12067
 
 
12068
 
 
12069
 
 
12070
 
 
12071
 
 
12072
    use_additional=yes
 
12073
 
 
12074
  acl_save_prefix="$prefix"
 
12075
  prefix="$acl_final_prefix"
 
12076
  acl_save_exec_prefix="$exec_prefix"
 
12077
  exec_prefix="$acl_final_exec_prefix"
 
12078
 
 
12079
    eval additional_includedir=\"$includedir\"
 
12080
    eval additional_libdir=\"$libdir\"
 
12081
 
 
12082
  exec_prefix="$acl_save_exec_prefix"
 
12083
  prefix="$acl_save_prefix"
 
12084
 
 
12085
 
 
12086
# Check whether --with-libiconv-prefix was given.
 
12087
if test "${with_libiconv_prefix+set}" = set; then :
 
12088
  withval=$with_libiconv_prefix;
 
12089
    if test "X$withval" = "Xno"; then
 
12090
      use_additional=no
 
12091
    else
 
12092
      if test "X$withval" = "X"; then
 
12093
 
 
12094
  acl_save_prefix="$prefix"
 
12095
  prefix="$acl_final_prefix"
 
12096
  acl_save_exec_prefix="$exec_prefix"
 
12097
  exec_prefix="$acl_final_exec_prefix"
 
12098
 
 
12099
          eval additional_includedir=\"$includedir\"
 
12100
          eval additional_libdir=\"$libdir\"
 
12101
 
 
12102
  exec_prefix="$acl_save_exec_prefix"
 
12103
  prefix="$acl_save_prefix"
 
12104
 
 
12105
      else
 
12106
        additional_includedir="$withval/include"
 
12107
        additional_libdir="$withval/$acl_libdirstem"
 
12108
      fi
 
12109
    fi
 
12110
 
 
12111
fi
 
12112
 
 
12113
      LIBICONV=
 
12114
  LTLIBICONV=
 
12115
  INCICONV=
 
12116
  LIBICONV_PREFIX=
 
12117
  rpathdirs=
 
12118
  ltrpathdirs=
 
12119
  names_already_handled=
 
12120
  names_next_round='iconv '
 
12121
  while test -n "$names_next_round"; do
 
12122
    names_this_round="$names_next_round"
 
12123
    names_next_round=
 
12124
    for name in $names_this_round; do
 
12125
      already_handled=
 
12126
      for n in $names_already_handled; do
 
12127
        if test "$n" = "$name"; then
 
12128
          already_handled=yes
 
12129
          break
 
12130
        fi
 
12131
      done
 
12132
      if test -z "$already_handled"; then
 
12133
        names_already_handled="$names_already_handled $name"
 
12134
                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
 
12135
        eval value=\"\$HAVE_LIB$uppername\"
 
12136
        if test -n "$value"; then
 
12137
          if test "$value" = yes; then
 
12138
            eval value=\"\$LIB$uppername\"
 
12139
            test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
 
12140
            eval value=\"\$LTLIB$uppername\"
 
12141
            test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
 
12142
          else
 
12143
                                    :
 
12144
          fi
 
12145
        else
 
12146
                              found_dir=
 
12147
          found_la=
 
12148
          found_so=
 
12149
          found_a=
 
12150
          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
 
12151
          if test -n "$acl_shlibext"; then
 
12152
            shrext=".$acl_shlibext"             # typically: shrext=.so
 
12153
          else
 
12154
            shrext=
 
12155
          fi
 
12156
          if test $use_additional = yes; then
 
12157
            dir="$additional_libdir"
 
12158
                                    if test -n "$acl_shlibext"; then
 
12159
              if test -f "$dir/$libname$shrext"; then
 
12160
                found_dir="$dir"
 
12161
                found_so="$dir/$libname$shrext"
 
12162
              else
 
12163
                if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
 
12164
                  ver=`(cd "$dir" && \
 
12165
                        for f in "$libname$shrext".*; do echo "$f"; done \
 
12166
                        | sed -e "s,^$libname$shrext\\\\.,," \
 
12167
                        | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
 
12168
                        | sed 1q ) 2>/dev/null`
 
12169
                  if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
 
12170
                    found_dir="$dir"
 
12171
                    found_so="$dir/$libname$shrext.$ver"
 
12172
                  fi
 
12173
                else
 
12174
                  eval library_names=\"$acl_library_names_spec\"
 
12175
                  for f in $library_names; do
 
12176
                    if test -f "$dir/$f"; then
 
12177
                      found_dir="$dir"
 
12178
                      found_so="$dir/$f"
 
12179
                      break
 
12180
                    fi
 
12181
                  done
 
12182
                fi
 
12183
              fi
 
12184
            fi
 
12185
                        if test "X$found_dir" = "X"; then
 
12186
              if test -f "$dir/$libname.$acl_libext"; then
 
12187
                found_dir="$dir"
 
12188
                found_a="$dir/$libname.$acl_libext"
 
12189
              fi
 
12190
            fi
 
12191
            if test "X$found_dir" != "X"; then
 
12192
              if test -f "$dir/$libname.la"; then
 
12193
                found_la="$dir/$libname.la"
 
12194
              fi
 
12195
            fi
 
12196
          fi
 
12197
          if test "X$found_dir" = "X"; then
 
12198
            for x in $LDFLAGS $LTLIBICONV; do
 
12199
 
 
12200
  acl_save_prefix="$prefix"
 
12201
  prefix="$acl_final_prefix"
 
12202
  acl_save_exec_prefix="$exec_prefix"
 
12203
  exec_prefix="$acl_final_exec_prefix"
 
12204
  eval x=\"$x\"
 
12205
  exec_prefix="$acl_save_exec_prefix"
 
12206
  prefix="$acl_save_prefix"
 
12207
 
 
12208
              case "$x" in
 
12209
                -L*)
 
12210
                  dir=`echo "X$x" | sed -e 's/^X-L//'`
 
12211
                                    if test -n "$acl_shlibext"; then
 
12212
                    if test -f "$dir/$libname$shrext"; then
 
12213
                      found_dir="$dir"
 
12214
                      found_so="$dir/$libname$shrext"
 
12215
                    else
 
12216
                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
 
12217
                        ver=`(cd "$dir" && \
 
12218
                              for f in "$libname$shrext".*; do echo "$f"; done \
 
12219
                              | sed -e "s,^$libname$shrext\\\\.,," \
 
12220
                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
 
12221
                              | sed 1q ) 2>/dev/null`
 
12222
                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
 
12223
                          found_dir="$dir"
 
12224
                          found_so="$dir/$libname$shrext.$ver"
 
12225
                        fi
 
12226
                      else
 
12227
                        eval library_names=\"$acl_library_names_spec\"
 
12228
                        for f in $library_names; do
 
12229
                          if test -f "$dir/$f"; then
 
12230
                            found_dir="$dir"
 
12231
                            found_so="$dir/$f"
 
12232
                            break
 
12233
                          fi
 
12234
                        done
 
12235
                      fi
 
12236
                    fi
 
12237
                  fi
 
12238
                                    if test "X$found_dir" = "X"; then
 
12239
                    if test -f "$dir/$libname.$acl_libext"; then
 
12240
                      found_dir="$dir"
 
12241
                      found_a="$dir/$libname.$acl_libext"
 
12242
                    fi
 
12243
                  fi
 
12244
                  if test "X$found_dir" != "X"; then
 
12245
                    if test -f "$dir/$libname.la"; then
 
12246
                      found_la="$dir/$libname.la"
 
12247
                    fi
 
12248
                  fi
 
12249
                  ;;
 
12250
              esac
 
12251
              if test "X$found_dir" != "X"; then
 
12252
                break
 
12253
              fi
 
12254
            done
 
12255
          fi
 
12256
          if test "X$found_dir" != "X"; then
 
12257
                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
 
12258
            if test "X$found_so" != "X"; then
 
12259
                                                        if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
 
12260
                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
 
12261
              else
 
12262
                                                                                haveit=
 
12263
                for x in $ltrpathdirs; do
 
12264
                  if test "X$x" = "X$found_dir"; then
 
12265
                    haveit=yes
 
12266
                    break
 
12267
                  fi
 
12268
                done
 
12269
                if test -z "$haveit"; then
 
12270
                  ltrpathdirs="$ltrpathdirs $found_dir"
 
12271
                fi
 
12272
                                if test "$acl_hardcode_direct" = yes; then
 
12273
                                                      LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
 
12274
                else
 
12275
                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
 
12276
                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
 
12277
                                                            haveit=
 
12278
                    for x in $rpathdirs; do
 
12279
                      if test "X$x" = "X$found_dir"; then
 
12280
                        haveit=yes
 
12281
                        break
 
12282
                      fi
 
12283
                    done
 
12284
                    if test -z "$haveit"; then
 
12285
                      rpathdirs="$rpathdirs $found_dir"
 
12286
                    fi
 
12287
                  else
 
12288
                                                                                haveit=
 
12289
                    for x in $LDFLAGS $LIBICONV; do
 
12290
 
 
12291
  acl_save_prefix="$prefix"
 
12292
  prefix="$acl_final_prefix"
 
12293
  acl_save_exec_prefix="$exec_prefix"
 
12294
  exec_prefix="$acl_final_exec_prefix"
 
12295
  eval x=\"$x\"
 
12296
  exec_prefix="$acl_save_exec_prefix"
 
12297
  prefix="$acl_save_prefix"
 
12298
 
 
12299
                      if test "X$x" = "X-L$found_dir"; then
 
12300
                        haveit=yes
 
12301
                        break
 
12302
                      fi
 
12303
                    done
 
12304
                    if test -z "$haveit"; then
 
12305
                      LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
 
12306
                    fi
 
12307
                    if test "$acl_hardcode_minus_L" != no; then
 
12308
                                                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
 
12309
                    else
 
12310
                                                                                                                                                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
 
12311
                    fi
 
12312
                  fi
 
12313
                fi
 
12314
              fi
 
12315
            else
 
12316
              if test "X$found_a" != "X"; then
 
12317
                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
 
12318
              else
 
12319
                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
 
12320
              fi
 
12321
            fi
 
12322
                        additional_includedir=
 
12323
            case "$found_dir" in
 
12324
              */$acl_libdirstem | */$acl_libdirstem/)
 
12325
                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
 
12326
                LIBICONV_PREFIX="$basedir"
 
12327
                additional_includedir="$basedir/include"
 
12328
                ;;
 
12329
            esac
 
12330
            if test "X$additional_includedir" != "X"; then
 
12331
                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
 
12332
                haveit=
 
12333
                if test "X$additional_includedir" = "X/usr/local/include"; then
 
12334
                  if test -n "$GCC"; then
 
12335
                    case $host_os in
 
12336
                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
 
12337
                    esac
 
12338
                  fi
 
12339
                fi
 
12340
                if test -z "$haveit"; then
 
12341
                  for x in $CPPFLAGS $INCICONV; do
 
12342
 
 
12343
  acl_save_prefix="$prefix"
 
12344
  prefix="$acl_final_prefix"
 
12345
  acl_save_exec_prefix="$exec_prefix"
 
12346
  exec_prefix="$acl_final_exec_prefix"
 
12347
  eval x=\"$x\"
 
12348
  exec_prefix="$acl_save_exec_prefix"
 
12349
  prefix="$acl_save_prefix"
 
12350
 
 
12351
                    if test "X$x" = "X-I$additional_includedir"; then
 
12352
                      haveit=yes
 
12353
                      break
 
12354
                    fi
 
12355
                  done
 
12356
                  if test -z "$haveit"; then
 
12357
                    if test -d "$additional_includedir"; then
 
12358
                                            INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
 
12359
                    fi
 
12360
                  fi
 
12361
                fi
 
12362
              fi
 
12363
            fi
 
12364
                        if test -n "$found_la"; then
 
12365
                                                        save_libdir="$libdir"
 
12366
              case "$found_la" in
 
12367
                */* | *\\*) . "$found_la" ;;
 
12368
                *) . "./$found_la" ;;
 
12369
              esac
 
12370
              libdir="$save_libdir"
 
12371
                            for dep in $dependency_libs; do
 
12372
                case "$dep" in
 
12373
                  -L*)
 
12374
                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
 
12375
                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
 
12376
                      haveit=
 
12377
                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
 
12378
                        if test -n "$GCC"; then
 
12379
                          case $host_os in
 
12380
                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
 
12381
                          esac
 
12382
                        fi
 
12383
                      fi
 
12384
                      if test -z "$haveit"; then
 
12385
                        haveit=
 
12386
                        for x in $LDFLAGS $LIBICONV; do
 
12387
 
 
12388
  acl_save_prefix="$prefix"
 
12389
  prefix="$acl_final_prefix"
 
12390
  acl_save_exec_prefix="$exec_prefix"
 
12391
  exec_prefix="$acl_final_exec_prefix"
 
12392
  eval x=\"$x\"
 
12393
  exec_prefix="$acl_save_exec_prefix"
 
12394
  prefix="$acl_save_prefix"
 
12395
 
 
12396
                          if test "X$x" = "X-L$additional_libdir"; then
 
12397
                            haveit=yes
 
12398
                            break
 
12399
                          fi
 
12400
                        done
 
12401
                        if test -z "$haveit"; then
 
12402
                          if test -d "$additional_libdir"; then
 
12403
                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
 
12404
                          fi
 
12405
                        fi
 
12406
                        haveit=
 
12407
                        for x in $LDFLAGS $LTLIBICONV; do
 
12408
 
 
12409
  acl_save_prefix="$prefix"
 
12410
  prefix="$acl_final_prefix"
 
12411
  acl_save_exec_prefix="$exec_prefix"
 
12412
  exec_prefix="$acl_final_exec_prefix"
 
12413
  eval x=\"$x\"
 
12414
  exec_prefix="$acl_save_exec_prefix"
 
12415
  prefix="$acl_save_prefix"
 
12416
 
 
12417
                          if test "X$x" = "X-L$additional_libdir"; then
 
12418
                            haveit=yes
 
12419
                            break
 
12420
                          fi
 
12421
                        done
 
12422
                        if test -z "$haveit"; then
 
12423
                          if test -d "$additional_libdir"; then
 
12424
                                                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
 
12425
                          fi
 
12426
                        fi
 
12427
                      fi
 
12428
                    fi
 
12429
                    ;;
 
12430
                  -R*)
 
12431
                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
 
12432
                    if test "$enable_rpath" != no; then
 
12433
                                                                  haveit=
 
12434
                      for x in $rpathdirs; do
 
12435
                        if test "X$x" = "X$dir"; then
 
12436
                          haveit=yes
 
12437
                          break
 
12438
                        fi
 
12439
                      done
 
12440
                      if test -z "$haveit"; then
 
12441
                        rpathdirs="$rpathdirs $dir"
 
12442
                      fi
 
12443
                                                                  haveit=
 
12444
                      for x in $ltrpathdirs; do
 
12445
                        if test "X$x" = "X$dir"; then
 
12446
                          haveit=yes
 
12447
                          break
 
12448
                        fi
 
12449
                      done
 
12450
                      if test -z "$haveit"; then
 
12451
                        ltrpathdirs="$ltrpathdirs $dir"
 
12452
                      fi
 
12453
                    fi
 
12454
                    ;;
 
12455
                  -l*)
 
12456
                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
 
12457
                    ;;
 
12458
                  *.la)
 
12459
                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
 
12460
                    ;;
 
12461
                  *)
 
12462
                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
 
12463
                    LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
 
12464
                    ;;
 
12465
                esac
 
12466
              done
 
12467
            fi
 
12468
          else
 
12469
                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
 
12470
            LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
 
12471
          fi
 
12472
        fi
 
12473
      fi
 
12474
    done
 
12475
  done
 
12476
  if test "X$rpathdirs" != "X"; then
 
12477
    if test -n "$acl_hardcode_libdir_separator"; then
 
12478
                        alldirs=
 
12479
      for found_dir in $rpathdirs; do
 
12480
        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
 
12481
      done
 
12482
            acl_save_libdir="$libdir"
 
12483
      libdir="$alldirs"
 
12484
      eval flag=\"$acl_hardcode_libdir_flag_spec\"
 
12485
      libdir="$acl_save_libdir"
 
12486
      LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
 
12487
    else
 
12488
            for found_dir in $rpathdirs; do
 
12489
        acl_save_libdir="$libdir"
 
12490
        libdir="$found_dir"
 
12491
        eval flag=\"$acl_hardcode_libdir_flag_spec\"
 
12492
        libdir="$acl_save_libdir"
 
12493
        LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
 
12494
      done
 
12495
    fi
 
12496
  fi
 
12497
  if test "X$ltrpathdirs" != "X"; then
 
12498
            for found_dir in $ltrpathdirs; do
 
12499
      LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
 
12500
    done
 
12501
  fi
 
12502
 
 
12503
 
 
12504
 
 
12505
 
 
12506
 
 
12507
 
 
12508
 
 
12509
 
 
12510
 
 
12511
 
 
12512
 
 
12513
 
 
12514
 
 
12515
 
 
12516
 
 
12517
 
 
12518
 
 
12519
 
 
12520
 
 
12521
 
 
12522
 
 
12523
 
 
12524
 
 
12525
 
 
12526
 
 
12527
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
 
12528
$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
 
12529
if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then :
 
12530
  $as_echo_n "(cached) " >&6
 
12531
else
 
12532
  gt_save_LIBS="$LIBS"
 
12533
     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
 
12534
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12535
/* end confdefs.h.  */
 
12536
#include <CoreFoundation/CFPreferences.h>
 
12537
int
 
12538
main ()
 
12539
{
 
12540
CFPreferencesCopyAppValue(NULL, NULL)
 
12541
  ;
 
12542
  return 0;
 
12543
}
 
12544
_ACEOF
 
12545
if ac_fn_c_try_link "$LINENO"; then :
 
12546
  gt_cv_func_CFPreferencesCopyAppValue=yes
 
12547
else
 
12548
  gt_cv_func_CFPreferencesCopyAppValue=no
 
12549
fi
 
12550
rm -f core conftest.err conftest.$ac_objext \
 
12551
    conftest$ac_exeext conftest.$ac_ext
 
12552
     LIBS="$gt_save_LIBS"
 
12553
fi
 
12554
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
 
12555
$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
 
12556
  if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
 
12557
 
 
12558
$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
 
12559
 
 
12560
  fi
 
12561
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
 
12562
$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
 
12563
if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then :
 
12564
  $as_echo_n "(cached) " >&6
 
12565
else
 
12566
  gt_save_LIBS="$LIBS"
 
12567
     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
 
12568
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12569
/* end confdefs.h.  */
 
12570
#include <CoreFoundation/CFLocale.h>
 
12571
int
 
12572
main ()
 
12573
{
 
12574
CFLocaleCopyCurrent();
 
12575
  ;
 
12576
  return 0;
 
12577
}
 
12578
_ACEOF
 
12579
if ac_fn_c_try_link "$LINENO"; then :
 
12580
  gt_cv_func_CFLocaleCopyCurrent=yes
 
12581
else
 
12582
  gt_cv_func_CFLocaleCopyCurrent=no
 
12583
fi
 
12584
rm -f core conftest.err conftest.$ac_objext \
 
12585
    conftest$ac_exeext conftest.$ac_ext
 
12586
     LIBS="$gt_save_LIBS"
 
12587
fi
 
12588
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
 
12589
$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
 
12590
  if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
 
12591
 
 
12592
$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
 
12593
 
 
12594
  fi
 
12595
  INTL_MACOSX_LIBS=
 
12596
  if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
 
12597
    INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
 
12598
  fi
 
12599
 
 
12600
 
 
12601
 
 
12602
 
 
12603
 
 
12604
 
 
12605
  LIBINTL=
 
12606
  LTLIBINTL=
 
12607
  POSUB=
 
12608
 
 
12609
    case " $gt_needs " in
 
12610
    *" need-formatstring-macros "*) gt_api_version=3 ;;
 
12611
    *" need-ngettext "*) gt_api_version=2 ;;
 
12612
    *) gt_api_version=1 ;;
 
12613
  esac
 
12614
  gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
 
12615
  gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
 
12616
 
 
12617
    if test "$USE_NLS" = "yes"; then
 
12618
    gt_use_preinstalled_gnugettext=no
 
12619
 
 
12620
 
 
12621
        if test $gt_api_version -ge 3; then
 
12622
          gt_revision_test_code='
 
12623
#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
 
12624
#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
 
12625
#endif
 
12626
typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
 
12627
'
 
12628
        else
 
12629
          gt_revision_test_code=
 
12630
        fi
 
12631
        if test $gt_api_version -ge 2; then
 
12632
          gt_expression_test_code=' + * ngettext ("", "", 0)'
 
12633
        else
 
12634
          gt_expression_test_code=
 
12635
        fi
 
12636
 
 
12637
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
 
12638
$as_echo_n "checking for GNU gettext in libc... " >&6; }
 
12639
if eval "test \"\${$gt_func_gnugettext_libc+set}\"" = set; then :
 
12640
  $as_echo_n "(cached) " >&6
 
12641
else
 
12642
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12643
/* end confdefs.h.  */
 
12644
#include <libintl.h>
 
12645
$gt_revision_test_code
 
12646
extern int _nl_msg_cat_cntr;
 
12647
extern int *_nl_domain_bindings;
 
12648
int
 
12649
main ()
 
12650
{
 
12651
bindtextdomain ("", "");
 
12652
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
 
12653
  ;
 
12654
  return 0;
 
12655
}
 
12656
_ACEOF
 
12657
if ac_fn_c_try_link "$LINENO"; then :
 
12658
  eval "$gt_func_gnugettext_libc=yes"
 
12659
else
 
12660
  eval "$gt_func_gnugettext_libc=no"
 
12661
fi
 
12662
rm -f core conftest.err conftest.$ac_objext \
 
12663
    conftest$ac_exeext conftest.$ac_ext
 
12664
fi
 
12665
eval ac_res=\$$gt_func_gnugettext_libc
 
12666
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
12667
$as_echo "$ac_res" >&6; }
 
12668
 
 
12669
        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
 
12670
 
 
12671
 
 
12672
 
 
12673
 
 
12674
 
 
12675
          am_save_CPPFLAGS="$CPPFLAGS"
 
12676
 
 
12677
  for element in $INCICONV; do
 
12678
    haveit=
 
12679
    for x in $CPPFLAGS; do
 
12680
 
 
12681
  acl_save_prefix="$prefix"
 
12682
  prefix="$acl_final_prefix"
 
12683
  acl_save_exec_prefix="$exec_prefix"
 
12684
  exec_prefix="$acl_final_exec_prefix"
 
12685
  eval x=\"$x\"
 
12686
  exec_prefix="$acl_save_exec_prefix"
 
12687
  prefix="$acl_save_prefix"
 
12688
 
 
12689
      if test "X$x" = "X$element"; then
 
12690
        haveit=yes
 
12691
        break
 
12692
      fi
 
12693
    done
 
12694
    if test -z "$haveit"; then
 
12695
      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
 
12696
    fi
 
12697
  done
 
12698
 
 
12699
 
 
12700
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
 
12701
$as_echo_n "checking for iconv... " >&6; }
 
12702
if test "${am_cv_func_iconv+set}" = set; then :
 
12703
  $as_echo_n "(cached) " >&6
 
12704
else
 
12705
 
 
12706
    am_cv_func_iconv="no, consider installing GNU libiconv"
 
12707
    am_cv_lib_iconv=no
 
12708
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12709
/* end confdefs.h.  */
 
12710
#include <stdlib.h>
 
12711
#include <iconv.h>
 
12712
int
 
12713
main ()
 
12714
{
 
12715
iconv_t cd = iconv_open("","");
 
12716
       iconv(cd,NULL,NULL,NULL,NULL);
 
12717
       iconv_close(cd);
 
12718
  ;
 
12719
  return 0;
 
12720
}
 
12721
_ACEOF
 
12722
if ac_fn_c_try_link "$LINENO"; then :
 
12723
  am_cv_func_iconv=yes
 
12724
fi
 
12725
rm -f core conftest.err conftest.$ac_objext \
 
12726
    conftest$ac_exeext conftest.$ac_ext
 
12727
    if test "$am_cv_func_iconv" != yes; then
 
12728
      am_save_LIBS="$LIBS"
 
12729
      LIBS="$LIBS $LIBICONV"
 
12730
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12731
/* end confdefs.h.  */
 
12732
#include <stdlib.h>
 
12733
#include <iconv.h>
 
12734
int
 
12735
main ()
 
12736
{
 
12737
iconv_t cd = iconv_open("","");
 
12738
         iconv(cd,NULL,NULL,NULL,NULL);
 
12739
         iconv_close(cd);
 
12740
  ;
 
12741
  return 0;
 
12742
}
 
12743
_ACEOF
 
12744
if ac_fn_c_try_link "$LINENO"; then :
 
12745
  am_cv_lib_iconv=yes
 
12746
        am_cv_func_iconv=yes
 
12747
fi
 
12748
rm -f core conftest.err conftest.$ac_objext \
 
12749
    conftest$ac_exeext conftest.$ac_ext
 
12750
      LIBS="$am_save_LIBS"
 
12751
    fi
 
12752
 
 
12753
fi
 
12754
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
 
12755
$as_echo "$am_cv_func_iconv" >&6; }
 
12756
  if test "$am_cv_func_iconv" = yes; then
 
12757
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
 
12758
$as_echo_n "checking for working iconv... " >&6; }
 
12759
if test "${am_cv_func_iconv_works+set}" = set; then :
 
12760
  $as_echo_n "(cached) " >&6
 
12761
else
 
12762
 
 
12763
            am_save_LIBS="$LIBS"
 
12764
      if test $am_cv_lib_iconv = yes; then
 
12765
        LIBS="$LIBS $LIBICONV"
 
12766
      fi
 
12767
      if test "$cross_compiling" = yes; then :
 
12768
  case "$host_os" in
 
12769
           aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
 
12770
           *)            am_cv_func_iconv_works="guessing yes" ;;
 
12771
         esac
 
12772
else
 
12773
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12774
/* end confdefs.h.  */
 
12775
 
 
12776
#include <iconv.h>
 
12777
#include <string.h>
 
12778
int main ()
 
12779
{
 
12780
  /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
 
12781
     returns.  */
 
12782
  {
 
12783
    iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
 
12784
    if (cd_utf8_to_88591 != (iconv_t)(-1))
 
12785
      {
 
12786
        static const char input[] = "\342\202\254"; /* EURO SIGN */
 
12787
        char buf[10];
 
12788
        const char *inptr = input;
 
12789
        size_t inbytesleft = strlen (input);
 
12790
        char *outptr = buf;
 
12791
        size_t outbytesleft = sizeof (buf);
 
12792
        size_t res = iconv (cd_utf8_to_88591,
 
12793
                            (char **) &inptr, &inbytesleft,
 
12794
                            &outptr, &outbytesleft);
 
12795
        if (res == 0)
 
12796
          return 1;
 
12797
      }
 
12798
  }
 
12799
#if 0 /* This bug could be worked around by the caller.  */
 
12800
  /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
 
12801
  {
 
12802
    iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
 
12803
    if (cd_88591_to_utf8 != (iconv_t)(-1))
 
12804
      {
 
12805
        static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
 
12806
        char buf[50];
 
12807
        const char *inptr = input;
 
12808
        size_t inbytesleft = strlen (input);
 
12809
        char *outptr = buf;
 
12810
        size_t outbytesleft = sizeof (buf);
 
12811
        size_t res = iconv (cd_88591_to_utf8,
 
12812
                            (char **) &inptr, &inbytesleft,
 
12813
                            &outptr, &outbytesleft);
 
12814
        if ((int)res > 0)
 
12815
          return 1;
 
12816
      }
 
12817
  }
 
12818
#endif
 
12819
  /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
 
12820
     provided.  */
 
12821
  if (/* Try standardized names.  */
 
12822
      iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
 
12823
      /* Try IRIX, OSF/1 names.  */
 
12824
      && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
 
12825
      /* Try AIX names.  */
 
12826
      && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
 
12827
      /* Try HP-UX names.  */
 
12828
      && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
 
12829
    return 1;
 
12830
  return 0;
 
12831
}
 
12832
_ACEOF
 
12833
if ac_fn_c_try_run "$LINENO"; then :
 
12834
  am_cv_func_iconv_works=yes
 
12835
else
 
12836
  am_cv_func_iconv_works=no
 
12837
fi
 
12838
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
12839
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
12840
fi
 
12841
 
 
12842
      LIBS="$am_save_LIBS"
 
12843
 
 
12844
fi
 
12845
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
 
12846
$as_echo "$am_cv_func_iconv_works" >&6; }
 
12847
    case "$am_cv_func_iconv_works" in
 
12848
      *no) am_func_iconv=no am_cv_lib_iconv=no ;;
 
12849
      *)   am_func_iconv=yes ;;
 
12850
    esac
 
12851
  else
 
12852
    am_func_iconv=no am_cv_lib_iconv=no
 
12853
  fi
 
12854
  if test "$am_func_iconv" = yes; then
 
12855
 
 
12856
$as_echo "#define HAVE_ICONV 1" >>confdefs.h
 
12857
 
 
12858
  fi
 
12859
  if test "$am_cv_lib_iconv" = yes; then
 
12860
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
 
12861
$as_echo_n "checking how to link with libiconv... " >&6; }
 
12862
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
 
12863
$as_echo "$LIBICONV" >&6; }
 
12864
  else
 
12865
            CPPFLAGS="$am_save_CPPFLAGS"
 
12866
    LIBICONV=
 
12867
    LTLIBICONV=
 
12868
  fi
 
12869
 
 
12870
 
 
12871
 
 
12872
 
 
12873
 
 
12874
 
 
12875
 
 
12876
 
 
12877
    use_additional=yes
 
12878
 
 
12879
  acl_save_prefix="$prefix"
 
12880
  prefix="$acl_final_prefix"
 
12881
  acl_save_exec_prefix="$exec_prefix"
 
12882
  exec_prefix="$acl_final_exec_prefix"
 
12883
 
 
12884
    eval additional_includedir=\"$includedir\"
 
12885
    eval additional_libdir=\"$libdir\"
 
12886
 
 
12887
  exec_prefix="$acl_save_exec_prefix"
 
12888
  prefix="$acl_save_prefix"
 
12889
 
 
12890
 
 
12891
# Check whether --with-libintl-prefix was given.
 
12892
if test "${with_libintl_prefix+set}" = set; then :
 
12893
  withval=$with_libintl_prefix;
 
12894
    if test "X$withval" = "Xno"; then
 
12895
      use_additional=no
 
12896
    else
 
12897
      if test "X$withval" = "X"; then
 
12898
 
 
12899
  acl_save_prefix="$prefix"
 
12900
  prefix="$acl_final_prefix"
 
12901
  acl_save_exec_prefix="$exec_prefix"
 
12902
  exec_prefix="$acl_final_exec_prefix"
 
12903
 
 
12904
          eval additional_includedir=\"$includedir\"
 
12905
          eval additional_libdir=\"$libdir\"
 
12906
 
 
12907
  exec_prefix="$acl_save_exec_prefix"
 
12908
  prefix="$acl_save_prefix"
 
12909
 
 
12910
      else
 
12911
        additional_includedir="$withval/include"
 
12912
        additional_libdir="$withval/$acl_libdirstem"
 
12913
      fi
 
12914
    fi
 
12915
 
 
12916
fi
 
12917
 
 
12918
      LIBINTL=
 
12919
  LTLIBINTL=
 
12920
  INCINTL=
 
12921
  LIBINTL_PREFIX=
 
12922
  rpathdirs=
 
12923
  ltrpathdirs=
 
12924
  names_already_handled=
 
12925
  names_next_round='intl '
 
12926
  while test -n "$names_next_round"; do
 
12927
    names_this_round="$names_next_round"
 
12928
    names_next_round=
 
12929
    for name in $names_this_round; do
 
12930
      already_handled=
 
12931
      for n in $names_already_handled; do
 
12932
        if test "$n" = "$name"; then
 
12933
          already_handled=yes
 
12934
          break
 
12935
        fi
 
12936
      done
 
12937
      if test -z "$already_handled"; then
 
12938
        names_already_handled="$names_already_handled $name"
 
12939
                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
 
12940
        eval value=\"\$HAVE_LIB$uppername\"
 
12941
        if test -n "$value"; then
 
12942
          if test "$value" = yes; then
 
12943
            eval value=\"\$LIB$uppername\"
 
12944
            test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
 
12945
            eval value=\"\$LTLIB$uppername\"
 
12946
            test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
 
12947
          else
 
12948
                                    :
 
12949
          fi
 
12950
        else
 
12951
                              found_dir=
 
12952
          found_la=
 
12953
          found_so=
 
12954
          found_a=
 
12955
          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
 
12956
          if test -n "$acl_shlibext"; then
 
12957
            shrext=".$acl_shlibext"             # typically: shrext=.so
 
12958
          else
 
12959
            shrext=
 
12960
          fi
 
12961
          if test $use_additional = yes; then
 
12962
            dir="$additional_libdir"
 
12963
                                    if test -n "$acl_shlibext"; then
 
12964
              if test -f "$dir/$libname$shrext"; then
 
12965
                found_dir="$dir"
 
12966
                found_so="$dir/$libname$shrext"
 
12967
              else
 
12968
                if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
 
12969
                  ver=`(cd "$dir" && \
 
12970
                        for f in "$libname$shrext".*; do echo "$f"; done \
 
12971
                        | sed -e "s,^$libname$shrext\\\\.,," \
 
12972
                        | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
 
12973
                        | sed 1q ) 2>/dev/null`
 
12974
                  if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
 
12975
                    found_dir="$dir"
 
12976
                    found_so="$dir/$libname$shrext.$ver"
 
12977
                  fi
 
12978
                else
 
12979
                  eval library_names=\"$acl_library_names_spec\"
 
12980
                  for f in $library_names; do
 
12981
                    if test -f "$dir/$f"; then
 
12982
                      found_dir="$dir"
 
12983
                      found_so="$dir/$f"
 
12984
                      break
 
12985
                    fi
 
12986
                  done
 
12987
                fi
 
12988
              fi
 
12989
            fi
 
12990
                        if test "X$found_dir" = "X"; then
 
12991
              if test -f "$dir/$libname.$acl_libext"; then
 
12992
                found_dir="$dir"
 
12993
                found_a="$dir/$libname.$acl_libext"
 
12994
              fi
 
12995
            fi
 
12996
            if test "X$found_dir" != "X"; then
 
12997
              if test -f "$dir/$libname.la"; then
 
12998
                found_la="$dir/$libname.la"
 
12999
              fi
 
13000
            fi
 
13001
          fi
 
13002
          if test "X$found_dir" = "X"; then
 
13003
            for x in $LDFLAGS $LTLIBINTL; do
 
13004
 
 
13005
  acl_save_prefix="$prefix"
 
13006
  prefix="$acl_final_prefix"
 
13007
  acl_save_exec_prefix="$exec_prefix"
 
13008
  exec_prefix="$acl_final_exec_prefix"
 
13009
  eval x=\"$x\"
 
13010
  exec_prefix="$acl_save_exec_prefix"
 
13011
  prefix="$acl_save_prefix"
 
13012
 
 
13013
              case "$x" in
 
13014
                -L*)
 
13015
                  dir=`echo "X$x" | sed -e 's/^X-L//'`
 
13016
                                    if test -n "$acl_shlibext"; then
 
13017
                    if test -f "$dir/$libname$shrext"; then
 
13018
                      found_dir="$dir"
 
13019
                      found_so="$dir/$libname$shrext"
 
13020
                    else
 
13021
                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
 
13022
                        ver=`(cd "$dir" && \
 
13023
                              for f in "$libname$shrext".*; do echo "$f"; done \
 
13024
                              | sed -e "s,^$libname$shrext\\\\.,," \
 
13025
                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
 
13026
                              | sed 1q ) 2>/dev/null`
 
13027
                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
 
13028
                          found_dir="$dir"
 
13029
                          found_so="$dir/$libname$shrext.$ver"
 
13030
                        fi
 
13031
                      else
 
13032
                        eval library_names=\"$acl_library_names_spec\"
 
13033
                        for f in $library_names; do
 
13034
                          if test -f "$dir/$f"; then
 
13035
                            found_dir="$dir"
 
13036
                            found_so="$dir/$f"
 
13037
                            break
 
13038
                          fi
 
13039
                        done
 
13040
                      fi
 
13041
                    fi
 
13042
                  fi
 
13043
                                    if test "X$found_dir" = "X"; then
 
13044
                    if test -f "$dir/$libname.$acl_libext"; then
 
13045
                      found_dir="$dir"
 
13046
                      found_a="$dir/$libname.$acl_libext"
 
13047
                    fi
 
13048
                  fi
 
13049
                  if test "X$found_dir" != "X"; then
 
13050
                    if test -f "$dir/$libname.la"; then
 
13051
                      found_la="$dir/$libname.la"
 
13052
                    fi
 
13053
                  fi
 
13054
                  ;;
 
13055
              esac
 
13056
              if test "X$found_dir" != "X"; then
 
13057
                break
 
13058
              fi
 
13059
            done
 
13060
          fi
 
13061
          if test "X$found_dir" != "X"; then
 
13062
                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
 
13063
            if test "X$found_so" != "X"; then
 
13064
                                                        if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
 
13065
                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
 
13066
              else
 
13067
                                                                                haveit=
 
13068
                for x in $ltrpathdirs; do
 
13069
                  if test "X$x" = "X$found_dir"; then
 
13070
                    haveit=yes
 
13071
                    break
 
13072
                  fi
 
13073
                done
 
13074
                if test -z "$haveit"; then
 
13075
                  ltrpathdirs="$ltrpathdirs $found_dir"
 
13076
                fi
 
13077
                                if test "$acl_hardcode_direct" = yes; then
 
13078
                                                      LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
 
13079
                else
 
13080
                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
 
13081
                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
 
13082
                                                            haveit=
 
13083
                    for x in $rpathdirs; do
 
13084
                      if test "X$x" = "X$found_dir"; then
 
13085
                        haveit=yes
 
13086
                        break
 
13087
                      fi
 
13088
                    done
 
13089
                    if test -z "$haveit"; then
 
13090
                      rpathdirs="$rpathdirs $found_dir"
 
13091
                    fi
 
13092
                  else
 
13093
                                                                                haveit=
 
13094
                    for x in $LDFLAGS $LIBINTL; do
 
13095
 
 
13096
  acl_save_prefix="$prefix"
 
13097
  prefix="$acl_final_prefix"
 
13098
  acl_save_exec_prefix="$exec_prefix"
 
13099
  exec_prefix="$acl_final_exec_prefix"
 
13100
  eval x=\"$x\"
 
13101
  exec_prefix="$acl_save_exec_prefix"
 
13102
  prefix="$acl_save_prefix"
 
13103
 
 
13104
                      if test "X$x" = "X-L$found_dir"; then
 
13105
                        haveit=yes
 
13106
                        break
 
13107
                      fi
 
13108
                    done
 
13109
                    if test -z "$haveit"; then
 
13110
                      LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
 
13111
                    fi
 
13112
                    if test "$acl_hardcode_minus_L" != no; then
 
13113
                                                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
 
13114
                    else
 
13115
                                                                                                                                                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
 
13116
                    fi
 
13117
                  fi
 
13118
                fi
 
13119
              fi
 
13120
            else
 
13121
              if test "X$found_a" != "X"; then
 
13122
                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
 
13123
              else
 
13124
                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
 
13125
              fi
 
13126
            fi
 
13127
                        additional_includedir=
 
13128
            case "$found_dir" in
 
13129
              */$acl_libdirstem | */$acl_libdirstem/)
 
13130
                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
 
13131
                LIBINTL_PREFIX="$basedir"
 
13132
                additional_includedir="$basedir/include"
 
13133
                ;;
 
13134
            esac
 
13135
            if test "X$additional_includedir" != "X"; then
 
13136
                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
 
13137
                haveit=
 
13138
                if test "X$additional_includedir" = "X/usr/local/include"; then
 
13139
                  if test -n "$GCC"; then
 
13140
                    case $host_os in
 
13141
                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
 
13142
                    esac
 
13143
                  fi
 
13144
                fi
 
13145
                if test -z "$haveit"; then
 
13146
                  for x in $CPPFLAGS $INCINTL; do
 
13147
 
 
13148
  acl_save_prefix="$prefix"
 
13149
  prefix="$acl_final_prefix"
 
13150
  acl_save_exec_prefix="$exec_prefix"
 
13151
  exec_prefix="$acl_final_exec_prefix"
 
13152
  eval x=\"$x\"
 
13153
  exec_prefix="$acl_save_exec_prefix"
 
13154
  prefix="$acl_save_prefix"
 
13155
 
 
13156
                    if test "X$x" = "X-I$additional_includedir"; then
 
13157
                      haveit=yes
 
13158
                      break
 
13159
                    fi
 
13160
                  done
 
13161
                  if test -z "$haveit"; then
 
13162
                    if test -d "$additional_includedir"; then
 
13163
                                            INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
 
13164
                    fi
 
13165
                  fi
 
13166
                fi
 
13167
              fi
 
13168
            fi
 
13169
                        if test -n "$found_la"; then
 
13170
                                                        save_libdir="$libdir"
 
13171
              case "$found_la" in
 
13172
                */* | *\\*) . "$found_la" ;;
 
13173
                *) . "./$found_la" ;;
 
13174
              esac
 
13175
              libdir="$save_libdir"
 
13176
                            for dep in $dependency_libs; do
 
13177
                case "$dep" in
 
13178
                  -L*)
 
13179
                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
 
13180
                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
 
13181
                      haveit=
 
13182
                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
 
13183
                        if test -n "$GCC"; then
 
13184
                          case $host_os in
 
13185
                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
 
13186
                          esac
 
13187
                        fi
 
13188
                      fi
 
13189
                      if test -z "$haveit"; then
 
13190
                        haveit=
 
13191
                        for x in $LDFLAGS $LIBINTL; do
 
13192
 
 
13193
  acl_save_prefix="$prefix"
 
13194
  prefix="$acl_final_prefix"
 
13195
  acl_save_exec_prefix="$exec_prefix"
 
13196
  exec_prefix="$acl_final_exec_prefix"
 
13197
  eval x=\"$x\"
 
13198
  exec_prefix="$acl_save_exec_prefix"
 
13199
  prefix="$acl_save_prefix"
 
13200
 
 
13201
                          if test "X$x" = "X-L$additional_libdir"; then
 
13202
                            haveit=yes
 
13203
                            break
 
13204
                          fi
 
13205
                        done
 
13206
                        if test -z "$haveit"; then
 
13207
                          if test -d "$additional_libdir"; then
 
13208
                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
 
13209
                          fi
 
13210
                        fi
 
13211
                        haveit=
 
13212
                        for x in $LDFLAGS $LTLIBINTL; do
 
13213
 
 
13214
  acl_save_prefix="$prefix"
 
13215
  prefix="$acl_final_prefix"
 
13216
  acl_save_exec_prefix="$exec_prefix"
 
13217
  exec_prefix="$acl_final_exec_prefix"
 
13218
  eval x=\"$x\"
 
13219
  exec_prefix="$acl_save_exec_prefix"
 
13220
  prefix="$acl_save_prefix"
 
13221
 
 
13222
                          if test "X$x" = "X-L$additional_libdir"; then
 
13223
                            haveit=yes
 
13224
                            break
 
13225
                          fi
 
13226
                        done
 
13227
                        if test -z "$haveit"; then
 
13228
                          if test -d "$additional_libdir"; then
 
13229
                                                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
 
13230
                          fi
 
13231
                        fi
 
13232
                      fi
 
13233
                    fi
 
13234
                    ;;
 
13235
                  -R*)
 
13236
                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
 
13237
                    if test "$enable_rpath" != no; then
 
13238
                                                                  haveit=
 
13239
                      for x in $rpathdirs; do
 
13240
                        if test "X$x" = "X$dir"; then
 
13241
                          haveit=yes
 
13242
                          break
 
13243
                        fi
 
13244
                      done
 
13245
                      if test -z "$haveit"; then
 
13246
                        rpathdirs="$rpathdirs $dir"
 
13247
                      fi
 
13248
                                                                  haveit=
 
13249
                      for x in $ltrpathdirs; do
 
13250
                        if test "X$x" = "X$dir"; then
 
13251
                          haveit=yes
 
13252
                          break
 
13253
                        fi
 
13254
                      done
 
13255
                      if test -z "$haveit"; then
 
13256
                        ltrpathdirs="$ltrpathdirs $dir"
 
13257
                      fi
 
13258
                    fi
 
13259
                    ;;
 
13260
                  -l*)
 
13261
                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
 
13262
                    ;;
 
13263
                  *.la)
 
13264
                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
 
13265
                    ;;
 
13266
                  *)
 
13267
                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
 
13268
                    LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
 
13269
                    ;;
 
13270
                esac
 
13271
              done
 
13272
            fi
 
13273
          else
 
13274
                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
 
13275
            LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
 
13276
          fi
 
13277
        fi
 
13278
      fi
 
13279
    done
 
13280
  done
 
13281
  if test "X$rpathdirs" != "X"; then
 
13282
    if test -n "$acl_hardcode_libdir_separator"; then
 
13283
                        alldirs=
 
13284
      for found_dir in $rpathdirs; do
 
13285
        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
 
13286
      done
 
13287
            acl_save_libdir="$libdir"
 
13288
      libdir="$alldirs"
 
13289
      eval flag=\"$acl_hardcode_libdir_flag_spec\"
 
13290
      libdir="$acl_save_libdir"
 
13291
      LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
 
13292
    else
 
13293
            for found_dir in $rpathdirs; do
 
13294
        acl_save_libdir="$libdir"
 
13295
        libdir="$found_dir"
 
13296
        eval flag=\"$acl_hardcode_libdir_flag_spec\"
 
13297
        libdir="$acl_save_libdir"
 
13298
        LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
 
13299
      done
 
13300
    fi
 
13301
  fi
 
13302
  if test "X$ltrpathdirs" != "X"; then
 
13303
            for found_dir in $ltrpathdirs; do
 
13304
      LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
 
13305
    done
 
13306
  fi
 
13307
 
 
13308
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
 
13309
$as_echo_n "checking for GNU gettext in libintl... " >&6; }
 
13310
if eval "test \"\${$gt_func_gnugettext_libintl+set}\"" = set; then :
 
13311
  $as_echo_n "(cached) " >&6
 
13312
else
 
13313
  gt_save_CPPFLAGS="$CPPFLAGS"
 
13314
            CPPFLAGS="$CPPFLAGS $INCINTL"
 
13315
            gt_save_LIBS="$LIBS"
 
13316
            LIBS="$LIBS $LIBINTL"
 
13317
                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13318
/* end confdefs.h.  */
 
13319
#include <libintl.h>
 
13320
$gt_revision_test_code
 
13321
extern int _nl_msg_cat_cntr;
 
13322
extern
 
13323
#ifdef __cplusplus
 
13324
"C"
 
13325
#endif
 
13326
const char *_nl_expand_alias (const char *);
 
13327
int
 
13328
main ()
 
13329
{
 
13330
bindtextdomain ("", "");
 
13331
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
 
13332
  ;
 
13333
  return 0;
 
13334
}
 
13335
_ACEOF
 
13336
if ac_fn_c_try_link "$LINENO"; then :
 
13337
  eval "$gt_func_gnugettext_libintl=yes"
 
13338
else
 
13339
  eval "$gt_func_gnugettext_libintl=no"
 
13340
fi
 
13341
rm -f core conftest.err conftest.$ac_objext \
 
13342
    conftest$ac_exeext conftest.$ac_ext
 
13343
                        if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
 
13344
              LIBS="$LIBS $LIBICONV"
 
13345
              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13346
/* end confdefs.h.  */
 
13347
#include <libintl.h>
 
13348
$gt_revision_test_code
 
13349
extern int _nl_msg_cat_cntr;
 
13350
extern
 
13351
#ifdef __cplusplus
 
13352
"C"
 
13353
#endif
 
13354
const char *_nl_expand_alias (const char *);
 
13355
int
 
13356
main ()
 
13357
{
 
13358
bindtextdomain ("", "");
 
13359
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
 
13360
  ;
 
13361
  return 0;
 
13362
}
 
13363
_ACEOF
 
13364
if ac_fn_c_try_link "$LINENO"; then :
 
13365
  LIBINTL="$LIBINTL $LIBICONV"
 
13366
                LTLIBINTL="$LTLIBINTL $LTLIBICONV"
 
13367
                eval "$gt_func_gnugettext_libintl=yes"
 
13368
 
 
13369
fi
 
13370
rm -f core conftest.err conftest.$ac_objext \
 
13371
    conftest$ac_exeext conftest.$ac_ext
 
13372
            fi
 
13373
            CPPFLAGS="$gt_save_CPPFLAGS"
 
13374
            LIBS="$gt_save_LIBS"
 
13375
fi
 
13376
eval ac_res=\$$gt_func_gnugettext_libintl
 
13377
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
13378
$as_echo "$ac_res" >&6; }
 
13379
        fi
 
13380
 
 
13381
                                        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
 
13382
           || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
 
13383
                && test "$PACKAGE" != gettext-runtime \
 
13384
                && test "$PACKAGE" != gettext-tools; }; then
 
13385
          gt_use_preinstalled_gnugettext=yes
 
13386
        else
 
13387
                    LIBINTL=
 
13388
          LTLIBINTL=
 
13389
          INCINTL=
 
13390
        fi
 
13391
 
 
13392
 
 
13393
 
 
13394
    if test -n "$INTL_MACOSX_LIBS"; then
 
13395
      if test "$gt_use_preinstalled_gnugettext" = "yes" \
 
13396
         || test "$nls_cv_use_gnu_gettext" = "yes"; then
 
13397
                LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
 
13398
        LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
 
13399
      fi
 
13400
    fi
 
13401
 
 
13402
    if test "$gt_use_preinstalled_gnugettext" = "yes" \
 
13403
       || test "$nls_cv_use_gnu_gettext" = "yes"; then
 
13404
 
 
13405
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
 
13406
 
 
13407
    else
 
13408
      USE_NLS=no
 
13409
    fi
 
13410
  fi
 
13411
 
 
13412
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
 
13413
$as_echo_n "checking whether to use NLS... " >&6; }
 
13414
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
 
13415
$as_echo "$USE_NLS" >&6; }
 
13416
  if test "$USE_NLS" = "yes"; then
 
13417
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
 
13418
$as_echo_n "checking where the gettext function comes from... " >&6; }
 
13419
    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
 
13420
      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
 
13421
        gt_source="external libintl"
 
13422
      else
 
13423
        gt_source="libc"
 
13424
      fi
 
13425
    else
 
13426
      gt_source="included intl directory"
 
13427
    fi
 
13428
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
 
13429
$as_echo "$gt_source" >&6; }
 
13430
  fi
 
13431
 
 
13432
  if test "$USE_NLS" = "yes"; then
 
13433
 
 
13434
    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
 
13435
      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
 
13436
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
 
13437
$as_echo_n "checking how to link with libintl... " >&6; }
 
13438
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
 
13439
$as_echo "$LIBINTL" >&6; }
 
13440
 
 
13441
  for element in $INCINTL; do
 
13442
    haveit=
 
13443
    for x in $CPPFLAGS; do
 
13444
 
 
13445
  acl_save_prefix="$prefix"
 
13446
  prefix="$acl_final_prefix"
 
13447
  acl_save_exec_prefix="$exec_prefix"
 
13448
  exec_prefix="$acl_final_exec_prefix"
 
13449
  eval x=\"$x\"
 
13450
  exec_prefix="$acl_save_exec_prefix"
 
13451
  prefix="$acl_save_prefix"
 
13452
 
 
13453
      if test "X$x" = "X$element"; then
 
13454
        haveit=yes
 
13455
        break
 
13456
      fi
 
13457
    done
 
13458
    if test -z "$haveit"; then
 
13459
      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
 
13460
    fi
 
13461
  done
 
13462
 
 
13463
      fi
 
13464
 
 
13465
 
 
13466
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
 
13467
 
 
13468
 
 
13469
$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
 
13470
 
 
13471
    fi
 
13472
 
 
13473
        POSUB=po
 
13474
  fi
 
13475
 
 
13476
 
 
13477
 
 
13478
    INTLLIBS="$LIBINTL"
 
13479
 
 
13480
 
 
13481
 
 
13482
 
 
13483
 
 
13484
 
 
13485
 
 
13486
 
 
13487
GETTEXT_PACKAGE=cheese
 
13488
 
 
13489
 
 
13490
cat >>confdefs.h <<_ACEOF
 
13491
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
 
13492
_ACEOF
 
13493
 
 
13494
 
 
13495
 
 
13496
 
12487
13497
case "$am__api_version" in
12488
13498
    1.01234)
12489
 
        as_fn_error "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
 
13499
        as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
12490
13500
    ;;
12491
13501
    *)
12492
13502
    ;;
12503
13513
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
12504
13514
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
12505
13515
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
12506
 
        as_fn_error "Your intltool is too old.  You need intltool 0.40.0 or later." "$LINENO" 5
 
13516
        as_fn_error $? "Your intltool is too old.  You need intltool 0.40.0 or later." "$LINENO" 5
12507
13517
fi
12508
13518
 
12509
13519
# Extract the first word of "intltool-update", so it can be a program name with args.
12627
13637
 
12628
13638
 
12629
13639
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
12630
 
    as_fn_error "The intltool scripts were not found. Please install intltool." "$LINENO" 5
 
13640
    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
12631
13641
fi
12632
13642
 
12633
13643
  INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12909
13919
 
12910
13920
 
12911
13921
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
12912
 
    as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
 
13922
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
12913
13923
fi
12914
13924
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
12915
13925
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
12916
13926
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
12917
13927
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
12918
 
    as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
 
13928
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
12919
13929
fi
12920
13930
 
12921
13931
# Extract the first word of "perl", so it can be a program name with args.
12959
13969
 
12960
13970
 
12961
13971
if test -z "$INTLTOOL_PERL"; then
12962
 
   as_fn_error "perl not found" "$LINENO" 5
 
13972
   as_fn_error $? "perl not found" "$LINENO" 5
12963
13973
fi
12964
13974
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
12965
13975
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
12966
13976
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
12967
13977
if test $? -ne 0; then
12968
 
   as_fn_error "perl 5.8.1 is required for intltool" "$LINENO" 5
 
13978
   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
12969
13979
else
12970
13980
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
12971
13981
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
12978
13988
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
12979
13989
$as_echo "ok" >&6; }
12980
13990
   else
12981
 
       as_fn_error "XML::Parser perl module is required for intltool" "$LINENO" 5
 
13991
       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
12982
13992
   fi
12983
13993
fi
12984
13994
 
13027
14037
 
13028
14038
 
13029
14039
 
13030
 
   for ac_header in locale.h
13031
 
do :
13032
 
  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
13033
 
if test "x$ac_cv_header_locale_h" = x""yes; then :
13034
 
  cat >>confdefs.h <<_ACEOF
13035
 
#define HAVE_LOCALE_H 1
13036
 
_ACEOF
13037
 
 
13038
 
fi
13039
 
 
13040
 
done
13041
 
 
13042
 
    if test $ac_cv_header_locale_h = yes; then
13043
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
13044
 
$as_echo_n "checking for LC_MESSAGES... " >&6; }
13045
 
if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
13046
 
  $as_echo_n "(cached) " >&6
13047
 
else
13048
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13049
 
/* end confdefs.h.  */
13050
 
#include <locale.h>
13051
 
int
13052
 
main ()
13053
 
{
13054
 
return LC_MESSAGES
13055
 
  ;
13056
 
  return 0;
13057
 
}
13058
 
_ACEOF
13059
 
if ac_fn_c_try_link "$LINENO"; then :
13060
 
  am_cv_val_LC_MESSAGES=yes
13061
 
else
13062
 
  am_cv_val_LC_MESSAGES=no
13063
 
fi
13064
 
rm -f core conftest.err conftest.$ac_objext \
13065
 
    conftest$ac_exeext conftest.$ac_ext
13066
 
fi
13067
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
13068
 
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
13069
 
    if test $am_cv_val_LC_MESSAGES = yes; then
13070
 
 
13071
 
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
13072
 
 
13073
 
    fi
13074
 
  fi
13075
 
     USE_NLS=yes
13076
 
 
13077
 
 
13078
 
    gt_cv_have_gettext=no
13079
 
 
13080
 
    CATOBJEXT=NONE
13081
 
    XGETTEXT=:
13082
 
    INTLLIBS=
13083
 
 
13084
 
    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
13085
 
if test "x$ac_cv_header_libintl_h" = x""yes; then :
13086
 
  gt_cv_func_dgettext_libintl="no"
13087
 
      libintl_extra_libs=""
13088
 
 
13089
 
      #
13090
 
      # First check in libc
13091
 
      #
13092
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
13093
 
$as_echo_n "checking for ngettext in libc... " >&6; }
13094
 
if test "${gt_cv_func_ngettext_libc+set}" = set; then :
13095
 
  $as_echo_n "(cached) " >&6
13096
 
else
13097
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13098
 
/* end confdefs.h.  */
13099
 
 
13100
 
#include <libintl.h>
13101
 
 
13102
 
int
13103
 
main ()
13104
 
{
13105
 
return !ngettext ("","", 1)
13106
 
  ;
13107
 
  return 0;
13108
 
}
13109
 
_ACEOF
13110
 
if ac_fn_c_try_link "$LINENO"; then :
13111
 
  gt_cv_func_ngettext_libc=yes
13112
 
else
13113
 
  gt_cv_func_ngettext_libc=no
13114
 
fi
13115
 
rm -f core conftest.err conftest.$ac_objext \
13116
 
    conftest$ac_exeext conftest.$ac_ext
13117
 
 
13118
 
fi
13119
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
13120
 
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
13121
 
 
13122
 
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
13123
 
              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
13124
 
$as_echo_n "checking for dgettext in libc... " >&6; }
13125
 
if test "${gt_cv_func_dgettext_libc+set}" = set; then :
13126
 
  $as_echo_n "(cached) " >&6
13127
 
else
13128
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13129
 
/* end confdefs.h.  */
13130
 
 
13131
 
#include <libintl.h>
13132
 
 
13133
 
int
13134
 
main ()
13135
 
{
13136
 
return !dgettext ("","")
13137
 
  ;
13138
 
  return 0;
13139
 
}
13140
 
_ACEOF
13141
 
if ac_fn_c_try_link "$LINENO"; then :
13142
 
  gt_cv_func_dgettext_libc=yes
13143
 
else
13144
 
  gt_cv_func_dgettext_libc=no
13145
 
fi
13146
 
rm -f core conftest.err conftest.$ac_objext \
13147
 
    conftest$ac_exeext conftest.$ac_ext
13148
 
 
13149
 
fi
13150
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
13151
 
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
13152
 
      fi
13153
 
 
13154
 
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
13155
 
        for ac_func in bind_textdomain_codeset
13156
 
do :
13157
 
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13158
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
13159
 
  cat >>confdefs.h <<_ACEOF
13160
 
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
13161
 
_ACEOF
13162
 
 
13163
 
fi
13164
 
done
13165
 
 
13166
 
      fi
13167
 
 
13168
 
      #
13169
 
      # If we don't have everything we want, check in libintl
13170
 
      #
13171
 
      if test "$gt_cv_func_dgettext_libc" != "yes" \
13172
 
         || test "$gt_cv_func_ngettext_libc" != "yes" \
13173
 
         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
13174
 
 
13175
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
13176
 
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
13177
 
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
13178
 
  $as_echo_n "(cached) " >&6
13179
 
else
13180
 
  ac_check_lib_save_LIBS=$LIBS
13181
 
LIBS="-lintl  $LIBS"
13182
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13183
 
/* end confdefs.h.  */
13184
 
 
13185
 
/* Override any GCC internal prototype to avoid an error.
13186
 
   Use char because int might match the return type of a GCC
13187
 
   builtin and then its argument prototype would still apply.  */
13188
 
#ifdef __cplusplus
13189
 
extern "C"
13190
 
#endif
13191
 
char bindtextdomain ();
13192
 
int
13193
 
main ()
13194
 
{
13195
 
return bindtextdomain ();
13196
 
  ;
13197
 
  return 0;
13198
 
}
13199
 
_ACEOF
13200
 
if ac_fn_c_try_link "$LINENO"; then :
13201
 
  ac_cv_lib_intl_bindtextdomain=yes
13202
 
else
13203
 
  ac_cv_lib_intl_bindtextdomain=no
13204
 
fi
13205
 
rm -f core conftest.err conftest.$ac_objext \
13206
 
    conftest$ac_exeext conftest.$ac_ext
13207
 
LIBS=$ac_check_lib_save_LIBS
13208
 
fi
13209
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
13210
 
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
13211
 
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then :
13212
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
13213
 
$as_echo_n "checking for ngettext in -lintl... " >&6; }
13214
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
13215
 
  $as_echo_n "(cached) " >&6
13216
 
else
13217
 
  ac_check_lib_save_LIBS=$LIBS
13218
 
LIBS="-lintl  $LIBS"
13219
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13220
 
/* end confdefs.h.  */
13221
 
 
13222
 
/* Override any GCC internal prototype to avoid an error.
13223
 
   Use char because int might match the return type of a GCC
13224
 
   builtin and then its argument prototype would still apply.  */
13225
 
#ifdef __cplusplus
13226
 
extern "C"
13227
 
#endif
13228
 
char ngettext ();
13229
 
int
13230
 
main ()
13231
 
{
13232
 
return ngettext ();
13233
 
  ;
13234
 
  return 0;
13235
 
}
13236
 
_ACEOF
13237
 
if ac_fn_c_try_link "$LINENO"; then :
13238
 
  ac_cv_lib_intl_ngettext=yes
13239
 
else
13240
 
  ac_cv_lib_intl_ngettext=no
13241
 
fi
13242
 
rm -f core conftest.err conftest.$ac_objext \
13243
 
    conftest$ac_exeext conftest.$ac_ext
13244
 
LIBS=$ac_check_lib_save_LIBS
13245
 
fi
13246
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
13247
 
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
13248
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
13249
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
13250
 
$as_echo_n "checking for dgettext in -lintl... " >&6; }
13251
 
if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
13252
 
  $as_echo_n "(cached) " >&6
13253
 
else
13254
 
  ac_check_lib_save_LIBS=$LIBS
13255
 
LIBS="-lintl  $LIBS"
13256
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13257
 
/* end confdefs.h.  */
13258
 
 
13259
 
/* Override any GCC internal prototype to avoid an error.
13260
 
   Use char because int might match the return type of a GCC
13261
 
   builtin and then its argument prototype would still apply.  */
13262
 
#ifdef __cplusplus
13263
 
extern "C"
13264
 
#endif
13265
 
char dgettext ();
13266
 
int
13267
 
main ()
13268
 
{
13269
 
return dgettext ();
13270
 
  ;
13271
 
  return 0;
13272
 
}
13273
 
_ACEOF
13274
 
if ac_fn_c_try_link "$LINENO"; then :
13275
 
  ac_cv_lib_intl_dgettext=yes
13276
 
else
13277
 
  ac_cv_lib_intl_dgettext=no
13278
 
fi
13279
 
rm -f core conftest.err conftest.$ac_objext \
13280
 
    conftest$ac_exeext conftest.$ac_ext
13281
 
LIBS=$ac_check_lib_save_LIBS
13282
 
fi
13283
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
13284
 
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
13285
 
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then :
13286
 
  gt_cv_func_dgettext_libintl=yes
13287
 
fi
13288
 
 
13289
 
fi
13290
 
 
13291
 
fi
13292
 
 
13293
 
 
13294
 
        if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
13295
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
13296
 
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
13297
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
13298
 
$as_echo "" >&6; }
13299
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
13300
 
$as_echo_n "checking for ngettext in -lintl... " >&6; }
13301
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
13302
 
  $as_echo_n "(cached) " >&6
13303
 
else
13304
 
  ac_check_lib_save_LIBS=$LIBS
13305
 
LIBS="-lintl -liconv $LIBS"
13306
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13307
 
/* end confdefs.h.  */
13308
 
 
13309
 
/* Override any GCC internal prototype to avoid an error.
13310
 
   Use char because int might match the return type of a GCC
13311
 
   builtin and then its argument prototype would still apply.  */
13312
 
#ifdef __cplusplus
13313
 
extern "C"
13314
 
#endif
13315
 
char ngettext ();
13316
 
int
13317
 
main ()
13318
 
{
13319
 
return ngettext ();
13320
 
  ;
13321
 
  return 0;
13322
 
}
13323
 
_ACEOF
13324
 
if ac_fn_c_try_link "$LINENO"; then :
13325
 
  ac_cv_lib_intl_ngettext=yes
13326
 
else
13327
 
  ac_cv_lib_intl_ngettext=no
13328
 
fi
13329
 
rm -f core conftest.err conftest.$ac_objext \
13330
 
    conftest$ac_exeext conftest.$ac_ext
13331
 
LIBS=$ac_check_lib_save_LIBS
13332
 
fi
13333
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
13334
 
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
13335
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
13336
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
13337
 
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
13338
 
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
13339
 
  $as_echo_n "(cached) " >&6
13340
 
else
13341
 
  ac_check_lib_save_LIBS=$LIBS
13342
 
LIBS="-lintl -liconv $LIBS"
13343
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13344
 
/* end confdefs.h.  */
13345
 
 
13346
 
/* Override any GCC internal prototype to avoid an error.
13347
 
   Use char because int might match the return type of a GCC
13348
 
   builtin and then its argument prototype would still apply.  */
13349
 
#ifdef __cplusplus
13350
 
extern "C"
13351
 
#endif
13352
 
char dcgettext ();
13353
 
int
13354
 
main ()
13355
 
{
13356
 
return dcgettext ();
13357
 
  ;
13358
 
  return 0;
13359
 
}
13360
 
_ACEOF
13361
 
if ac_fn_c_try_link "$LINENO"; then :
13362
 
  ac_cv_lib_intl_dcgettext=yes
13363
 
else
13364
 
  ac_cv_lib_intl_dcgettext=no
13365
 
fi
13366
 
rm -f core conftest.err conftest.$ac_objext \
13367
 
    conftest$ac_exeext conftest.$ac_ext
13368
 
LIBS=$ac_check_lib_save_LIBS
13369
 
fi
13370
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
13371
 
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
13372
 
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then :
13373
 
  gt_cv_func_dgettext_libintl=yes
13374
 
                        libintl_extra_libs=-liconv
13375
 
else
13376
 
  :
13377
 
fi
13378
 
 
13379
 
else
13380
 
  :
13381
 
fi
13382
 
 
13383
 
        fi
13384
 
 
13385
 
        #
13386
 
        # If we found libintl, then check in it for bind_textdomain_codeset();
13387
 
        # we'll prefer libc if neither have bind_textdomain_codeset(),
13388
 
        # and both have dgettext and ngettext
13389
 
        #
13390
 
        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
13391
 
          glib_save_LIBS="$LIBS"
13392
 
          LIBS="$LIBS -lintl $libintl_extra_libs"
13393
 
          unset ac_cv_func_bind_textdomain_codeset
13394
 
          for ac_func in bind_textdomain_codeset
13395
 
do :
13396
 
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13397
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
13398
 
  cat >>confdefs.h <<_ACEOF
13399
 
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
13400
 
_ACEOF
13401
 
 
13402
 
fi
13403
 
done
13404
 
 
13405
 
          LIBS="$glib_save_LIBS"
13406
 
 
13407
 
          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
13408
 
            gt_cv_func_dgettext_libc=no
13409
 
          else
13410
 
            if test "$gt_cv_func_dgettext_libc" = "yes" \
13411
 
                && test "$gt_cv_func_ngettext_libc" = "yes"; then
13412
 
              gt_cv_func_dgettext_libintl=no
13413
 
            fi
13414
 
          fi
13415
 
        fi
13416
 
      fi
13417
 
 
13418
 
      if test "$gt_cv_func_dgettext_libc" = "yes" \
13419
 
        || test "$gt_cv_func_dgettext_libintl" = "yes"; then
13420
 
        gt_cv_have_gettext=yes
13421
 
      fi
13422
 
 
13423
 
      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
13424
 
        INTLLIBS="-lintl $libintl_extra_libs"
13425
 
      fi
13426
 
 
13427
 
      if test "$gt_cv_have_gettext" = "yes"; then
13428
 
 
13429
 
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
13430
 
 
13431
 
        # Extract the first word of "msgfmt", so it can be a program name with args.
13432
 
set dummy msgfmt; ac_word=$2
13433
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13434
 
$as_echo_n "checking for $ac_word... " >&6; }
13435
 
if test "${ac_cv_path_MSGFMT+set}" = set; then :
13436
 
  $as_echo_n "(cached) " >&6
13437
 
else
13438
 
  case "$MSGFMT" in
13439
 
  /*)
13440
 
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13441
 
  ;;
13442
 
  *)
13443
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
13444
 
  for ac_dir in $PATH; do
13445
 
    test -z "$ac_dir" && ac_dir=.
13446
 
    if test -f $ac_dir/$ac_word; then
13447
 
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
13448
 
        ac_cv_path_MSGFMT="$ac_dir/$ac_word"
13449
 
        break
13450
 
      fi
13451
 
    fi
13452
 
  done
13453
 
  IFS="$ac_save_ifs"
13454
 
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
13455
 
  ;;
13456
 
esac
13457
 
fi
13458
 
MSGFMT="$ac_cv_path_MSGFMT"
13459
 
if test "$MSGFMT" != "no"; then
13460
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13461
 
$as_echo "$MSGFMT" >&6; }
13462
 
else
13463
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13464
 
$as_echo "no" >&6; }
13465
 
fi
13466
 
        if test "$MSGFMT" != "no"; then
13467
 
          glib_save_LIBS="$LIBS"
13468
 
          LIBS="$LIBS $INTLLIBS"
13469
 
          for ac_func in dcgettext
13470
 
do :
13471
 
  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
13472
 
if test "x$ac_cv_func_dcgettext" = x""yes; then :
13473
 
  cat >>confdefs.h <<_ACEOF
13474
 
#define HAVE_DCGETTEXT 1
13475
 
_ACEOF
13476
 
 
13477
 
fi
13478
 
done
13479
 
 
13480
 
          MSGFMT_OPTS=
13481
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
13482
 
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
13483
 
          cat >conftest.foo <<_ACEOF
13484
 
 
13485
 
msgid ""
13486
 
msgstr ""
13487
 
"Content-Type: text/plain; charset=UTF-8\n"
13488
 
"Project-Id-Version: test 1.0\n"
13489
 
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
13490
 
"Last-Translator: test <foo@bar.xx>\n"
13491
 
"Language-Team: C <LL@li.org>\n"
13492
 
"MIME-Version: 1.0\n"
13493
 
"Content-Transfer-Encoding: 8bit\n"
13494
 
 
13495
 
_ACEOF
13496
 
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
13497
 
  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
13498
 
  ac_status=$?
13499
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13500
 
  test $ac_status = 0; }; then
13501
 
  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13502
 
$as_echo "yes" >&6; }
13503
 
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13504
 
$as_echo "no" >&6; }
13505
 
echo "$as_me: failed input was:" >&5
13506
 
sed 's/^/| /' conftest.foo >&5
13507
 
fi
13508
 
 
13509
 
          # Extract the first word of "gmsgfmt", so it can be a program name with args.
13510
 
set dummy gmsgfmt; ac_word=$2
13511
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13512
 
$as_echo_n "checking for $ac_word... " >&6; }
13513
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
13514
 
  $as_echo_n "(cached) " >&6
13515
 
else
13516
 
  case $GMSGFMT in
13517
 
  [\\/]* | ?:[\\/]*)
13518
 
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
13519
 
  ;;
13520
 
  *)
13521
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13522
 
for as_dir in $PATH
13523
 
do
13524
 
  IFS=$as_save_IFS
13525
 
  test -z "$as_dir" && as_dir=.
13526
 
    for ac_exec_ext in '' $ac_executable_extensions; do
13527
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13528
 
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13529
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13530
 
    break 2
13531
 
  fi
13532
 
done
13533
 
  done
13534
 
IFS=$as_save_IFS
13535
 
 
13536
 
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13537
 
  ;;
13538
 
esac
13539
 
fi
13540
 
GMSGFMT=$ac_cv_path_GMSGFMT
13541
 
if test -n "$GMSGFMT"; then
13542
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13543
 
$as_echo "$GMSGFMT" >&6; }
13544
 
else
13545
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13546
 
$as_echo "no" >&6; }
13547
 
fi
13548
 
 
13549
 
 
13550
 
          # Extract the first word of "xgettext", so it can be a program name with args.
13551
 
set dummy xgettext; ac_word=$2
13552
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13553
 
$as_echo_n "checking for $ac_word... " >&6; }
13554
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
13555
 
  $as_echo_n "(cached) " >&6
13556
 
else
13557
 
  case "$XGETTEXT" in
13558
 
  /*)
13559
 
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13560
 
  ;;
13561
 
  *)
13562
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
13563
 
  for ac_dir in $PATH; do
13564
 
    test -z "$ac_dir" && ac_dir=.
13565
 
    if test -f $ac_dir/$ac_word; then
13566
 
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
13567
 
        ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
13568
 
        break
13569
 
      fi
13570
 
    fi
13571
 
  done
13572
 
  IFS="$ac_save_ifs"
13573
 
  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
13574
 
  ;;
13575
 
esac
13576
 
fi
13577
 
XGETTEXT="$ac_cv_path_XGETTEXT"
13578
 
if test "$XGETTEXT" != ":"; then
13579
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13580
 
$as_echo "$XGETTEXT" >&6; }
13581
 
else
13582
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13583
 
$as_echo "no" >&6; }
13584
 
fi
13585
 
 
13586
 
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13587
 
/* end confdefs.h.  */
13588
 
 
13589
 
int
13590
 
main ()
13591
 
{
13592
 
extern int _nl_msg_cat_cntr;
13593
 
                         return _nl_msg_cat_cntr
13594
 
  ;
13595
 
  return 0;
13596
 
}
13597
 
_ACEOF
13598
 
if ac_fn_c_try_link "$LINENO"; then :
13599
 
  CATOBJEXT=.gmo
13600
 
             DATADIRNAME=share
13601
 
else
13602
 
  case $host in
13603
 
            *-*-solaris*)
13604
 
                                                                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13605
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
13606
 
  CATOBJEXT=.gmo
13607
 
               DATADIRNAME=share
13608
 
else
13609
 
  CATOBJEXT=.mo
13610
 
               DATADIRNAME=lib
13611
 
fi
13612
 
 
13613
 
            ;;
13614
 
            *)
13615
 
            CATOBJEXT=.mo
13616
 
            DATADIRNAME=lib
13617
 
            ;;
13618
 
            esac
13619
 
fi
13620
 
rm -f core conftest.err conftest.$ac_objext \
13621
 
    conftest$ac_exeext conftest.$ac_ext
13622
 
          LIBS="$glib_save_LIBS"
13623
 
          INSTOBJEXT=.mo
13624
 
        else
13625
 
          gt_cv_have_gettext=no
13626
 
        fi
13627
 
      fi
13628
 
 
13629
 
fi
13630
 
 
13631
 
 
13632
 
 
13633
 
    if test "$gt_cv_have_gettext" = "yes" ; then
13634
 
 
13635
 
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
13636
 
 
13637
 
    fi
13638
 
 
13639
 
        if test "$XGETTEXT" != ":"; then
13640
 
                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
13641
 
        : ;
13642
 
      else
13643
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
13644
 
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
13645
 
        XGETTEXT=":"
13646
 
      fi
13647
 
    fi
13648
 
 
13649
 
    # We need to process the po/ directory.
13650
 
    POSUB=po
13651
 
 
13652
 
    ac_config_commands="$ac_config_commands default-1"
13653
 
 
13654
 
 
13655
 
                for lang in $ALL_LINGUAS; do
13656
 
      GMOFILES="$GMOFILES $lang.gmo"
13657
 
      POFILES="$POFILES $lang.po"
13658
 
    done
13659
 
 
13660
 
 
13661
 
 
13662
 
 
13663
 
 
13664
 
 
13665
 
 
13666
 
 
13667
 
 
13668
 
 
13669
 
 
13670
 
 
13671
 
 
13672
 
   if test "$gt_cv_have_gettext" = "yes"; then
13673
 
     if test "x$ALL_LINGUAS" = "x"; then
13674
 
       LINGUAS=
13675
 
     else
13676
 
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
13677
 
$as_echo_n "checking for catalogs to be installed... " >&6; }
13678
 
       NEW_LINGUAS=
13679
 
       for presentlang in $ALL_LINGUAS; do
13680
 
         useit=no
13681
 
         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
13682
 
           desiredlanguages="$LINGUAS"
13683
 
         else
13684
 
           desiredlanguages="$ALL_LINGUAS"
13685
 
         fi
13686
 
         for desiredlang in $desiredlanguages; do
13687
 
           # Use the presentlang catalog if desiredlang is
13688
 
           #   a. equal to presentlang, or
13689
 
           #   b. a variant of presentlang (because in this case,
13690
 
           #      presentlang can be used as a fallback for messages
13691
 
           #      which are not translated in the desiredlang catalog).
13692
 
           case "$desiredlang" in
13693
 
             "$presentlang"*) useit=yes;;
13694
 
           esac
13695
 
         done
13696
 
         if test $useit = yes; then
13697
 
           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
13698
 
         fi
13699
 
       done
13700
 
       LINGUAS=$NEW_LINGUAS
13701
 
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
13702
 
$as_echo "$LINGUAS" >&6; }
13703
 
     fi
13704
 
 
13705
 
          if test -n "$LINGUAS"; then
13706
 
       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
13707
 
     fi
13708
 
   fi
13709
 
 
13710
 
            MKINSTALLDIRS=
13711
 
   if test -n "$ac_aux_dir"; then
13712
 
     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
13713
 
   fi
13714
 
   if test -z "$MKINSTALLDIRS"; then
13715
 
     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
13716
 
   fi
13717
 
 
13718
 
 
13719
 
         test -d po || mkdir po
13720
 
   if test "x$srcdir" != "x."; then
13721
 
     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
13722
 
       posrcprefix="$srcdir/"
13723
 
     else
13724
 
       posrcprefix="../$srcdir/"
13725
 
     fi
13726
 
   else
13727
 
     posrcprefix="../"
13728
 
   fi
13729
 
   rm -f po/POTFILES
13730
 
   sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
13731
 
        < $srcdir/po/POTFILES.in > po/POTFILES
13732
 
 
13733
 
 
13734
 
 
13735
 
gdu_cv_version_required=0.3.2
13736
 
 
13737
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking gnome-doc-utils >= $gdu_cv_version_required" >&5
13738
 
$as_echo_n "checking gnome-doc-utils >= $gdu_cv_version_required... " >&6; }
13739
 
if test -n "$PKG_CONFIG" && \
13740
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-doc-utils >= \$gdu_cv_version_required\""; } >&5
13741
 
  ($PKG_CONFIG --exists --print-errors "gnome-doc-utils >= $gdu_cv_version_required") 2>&5
13742
 
  ac_status=$?
13743
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13744
 
  test $ac_status = 0; }; then
13745
 
  gdu_cv_have_gdu=yes
13746
 
else
13747
 
  gdu_cv_have_gdu=no
13748
 
fi
13749
 
 
13750
 
if test "$gdu_cv_have_gdu" = "yes"; then
13751
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13752
 
$as_echo "yes" >&6; }
13753
 
        :
13754
 
else
13755
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13756
 
$as_echo "no" >&6; }
13757
 
        as_fn_error "gnome-doc-utils >= $gdu_cv_version_required not found" "$LINENO" 5
13758
 
fi
13759
 
 
13760
 
 
13761
 
 
13762
 
# Check whether --with-help-dir was given.
13763
 
if test "${with_help_dir+set}" = set; then :
13764
 
  withval=$with_help_dir;
13765
 
else
13766
 
  with_help_dir='${datadir}/gnome/help'
13767
 
fi
13768
 
 
13769
 
HELP_DIR="$with_help_dir"
13770
 
 
13771
 
 
13772
 
 
13773
 
# Check whether --with-omf-dir was given.
13774
 
if test "${with_omf_dir+set}" = set; then :
13775
 
  withval=$with_omf_dir;
13776
 
else
13777
 
  with_omf_dir='${datadir}/omf'
13778
 
fi
13779
 
 
13780
 
OMF_DIR="$with_omf_dir"
13781
 
 
13782
 
 
13783
 
 
13784
 
# Check whether --with-help-formats was given.
13785
 
if test "${with_help_formats+set}" = set; then :
13786
 
  withval=$with_help_formats;
13787
 
else
13788
 
  with_help_formats=''
13789
 
fi
13790
 
 
13791
 
DOC_USER_FORMATS="$with_help_formats"
13792
 
 
13793
 
 
13794
 
# Check whether --enable-scrollkeeper was given.
13795
 
if test "${enable_scrollkeeper+set}" = set; then :
13796
 
  enableval=$enable_scrollkeeper;
13797
 
else
13798
 
  enable_scrollkeeper=yes
13799
 
fi
13800
 
 
13801
 
 if test "$gdu_cv_have_gdu" = "yes" -a "$enable_scrollkeeper" = "yes"; then
13802
 
  ENABLE_SK_TRUE=
13803
 
  ENABLE_SK_FALSE='#'
13804
 
else
13805
 
  ENABLE_SK_TRUE='#'
13806
 
  ENABLE_SK_FALSE=
13807
 
fi
13808
 
 
13809
 
 
13810
 
DISTCHECK_CONFIGURE_FLAGS="--disable-scrollkeeper $DISTCHECK_CONFIGURE_FLAGS"
13811
 
 
13812
 
 
13813
 
 if test "$gdu_cv_have_gdu" = "yes"; then
13814
 
  HAVE_GNOME_DOC_UTILS_TRUE=
13815
 
  HAVE_GNOME_DOC_UTILS_FALSE='#'
13816
 
else
13817
 
  HAVE_GNOME_DOC_UTILS_TRUE='#'
13818
 
  HAVE_GNOME_DOC_UTILS_FALSE=
13819
 
fi
13820
 
 
13821
 
 
13822
 
 
13823
 
 
13824
14040
#*******************************************************************************
13825
14041
# Check required libraries
13826
14042
#*******************************************************************************
13827
14043
 
13828
 
GLIB_REQUIRED=2.16.0
13829
 
GOBJECT_REQUIRED=2.12.0
13830
 
GIO_REQUIRED=2.16.0
13831
 
GTK_REQUIRED=2.19.1
13832
 
GDK_REQUIRED=2.14.0
13833
 
LIBGNOMEDESKTOP_REQUIRED=2.26.0
13834
 
GCONF_REQUIRED=2.16.0
13835
 
GSTREAMER_REQUIRED=0.10.23
13836
 
CAIRO_REQUIRED=1.4.0
13837
 
DBUS_REQUIRED=1.0
13838
 
DBUS_GLIB_REQUIRED=0.7
13839
 
PANGOCAIRO_REQUIRED=1.18.0
13840
 
LIBRSVG_REQUIRED=2.18.0
 
14044
 
 
14045
GLIB_REQUIRED=2.28.0
 
14046
GOBJECT_REQUIRED=2.28.0
 
14047
GIO_REQUIRED=2.28.0
 
14048
GTK_REQUIRED=2.99.4
 
14049
GDK_REQUIRED=2.99.4
 
14050
LIBGNOMEDESKTOP_REQUIRED=2.91.6
 
14051
GSTREAMER_REQUIRED=0.10.32
 
14052
CAIRO_REQUIRED=1.10.0
 
14053
PANGOCAIRO_REQUIRED=1.28.0
 
14054
LIBRSVG_REQUIRED=2.32.0
 
14055
CLUTTER_REQUIRED=1.6.1
 
14056
CLUTTERGTK_REQUIRED=0.91.8
 
14057
CLUTTERGST_REQUIRED=1.0.0
 
14058
GEE_REQUIRED=0.6.0
 
14059
LIBCANBERRA_REQUIRED=0.26
13841
14060
 
13842
14061
#*******************************************************************************
13843
14062
# Check for udev
13845
14064
 
13846
14065
UDEV_PKG=
13847
14066
 
 
14067
 
 
14068
 
 
14069
 
 
14070
 
 
14071
 
 
14072
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 
14073
        if test -n "$ac_tool_prefix"; then
 
14074
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
 
14075
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
 
14076
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
14077
$as_echo_n "checking for $ac_word... " >&6; }
 
14078
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
 
14079
  $as_echo_n "(cached) " >&6
 
14080
else
 
14081
  case $PKG_CONFIG in
 
14082
  [\\/]* | ?:[\\/]*)
 
14083
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 
14084
  ;;
 
14085
  *)
 
14086
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14087
for as_dir in $PATH
 
14088
do
 
14089
  IFS=$as_save_IFS
 
14090
  test -z "$as_dir" && as_dir=.
 
14091
    for ac_exec_ext in '' $ac_executable_extensions; do
 
14092
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14093
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
14094
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14095
    break 2
 
14096
  fi
 
14097
done
 
14098
  done
 
14099
IFS=$as_save_IFS
 
14100
 
 
14101
  ;;
 
14102
esac
 
14103
fi
 
14104
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
14105
if test -n "$PKG_CONFIG"; then
 
14106
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
 
14107
$as_echo "$PKG_CONFIG" >&6; }
 
14108
else
 
14109
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14110
$as_echo "no" >&6; }
 
14111
fi
 
14112
 
 
14113
 
 
14114
fi
 
14115
if test -z "$ac_cv_path_PKG_CONFIG"; then
 
14116
  ac_pt_PKG_CONFIG=$PKG_CONFIG
 
14117
  # Extract the first word of "pkg-config", so it can be a program name with args.
 
14118
set dummy pkg-config; ac_word=$2
 
14119
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
14120
$as_echo_n "checking for $ac_word... " >&6; }
 
14121
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
 
14122
  $as_echo_n "(cached) " >&6
 
14123
else
 
14124
  case $ac_pt_PKG_CONFIG in
 
14125
  [\\/]* | ?:[\\/]*)
 
14126
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
 
14127
  ;;
 
14128
  *)
 
14129
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14130
for as_dir in $PATH
 
14131
do
 
14132
  IFS=$as_save_IFS
 
14133
  test -z "$as_dir" && as_dir=.
 
14134
    for ac_exec_ext in '' $ac_executable_extensions; do
 
14135
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14136
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
14137
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14138
    break 2
 
14139
  fi
 
14140
done
 
14141
  done
 
14142
IFS=$as_save_IFS
 
14143
 
 
14144
  ;;
 
14145
esac
 
14146
fi
 
14147
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
 
14148
if test -n "$ac_pt_PKG_CONFIG"; then
 
14149
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
 
14150
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
 
14151
else
 
14152
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14153
$as_echo "no" >&6; }
 
14154
fi
 
14155
 
 
14156
  if test "x$ac_pt_PKG_CONFIG" = x; then
 
14157
    PKG_CONFIG=""
 
14158
  else
 
14159
    case $cross_compiling:$ac_tool_warned in
 
14160
yes:)
 
14161
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
14162
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
14163
ac_tool_warned=yes ;;
 
14164
esac
 
14165
    PKG_CONFIG=$ac_pt_PKG_CONFIG
 
14166
  fi
 
14167
else
 
14168
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
 
14169
fi
 
14170
 
 
14171
fi
 
14172
if test -n "$PKG_CONFIG"; then
 
14173
        _pkg_min_version=0.9.0
 
14174
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
 
14175
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
 
14176
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
 
14177
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
14178
$as_echo "yes" >&6; }
 
14179
        else
 
14180
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14181
$as_echo "no" >&6; }
 
14182
                PKG_CONFIG=""
 
14183
        fi
 
14184
fi
 
14185
 
13848
14186
pkg_failed=no
13849
14187
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for UDEV" >&5
13850
14188
$as_echo_n "checking for UDEV... " >&6; }
13885
14223
 
13886
14224
 
13887
14225
if test $pkg_failed = yes; then
 
14226
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14227
$as_echo "no" >&6; }
13888
14228
 
13889
14229
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13890
14230
        _pkg_short_errors_supported=yes
13899
14239
        # Put the nasty error message in config.log where it belongs
13900
14240
        echo "$UDEV_PKG_ERRORS" >&5
13901
14241
 
13902
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14242
        UDEV_PKG=
 
14243
elif test $pkg_failed = untried; then
 
14244
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13903
14245
$as_echo "no" >&6; }
13904
 
                UDEV_PKG=
13905
 
elif test $pkg_failed = untried; then
13906
14246
        UDEV_PKG=
13907
14247
else
13908
14248
        UDEV_CFLAGS=$pkg_cv_UDEV_CFLAGS
13912
14252
 
13913
14253
$as_echo "#define HAVE_UDEV 1" >>confdefs.h
13914
14254
 
13915
 
                  UDEV_PKG=gudev-1.0
 
14255
                  UDEV_PKG=gudev-1.0
13916
14256
fi
13917
14257
 
13918
14258
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking operating system" >&5
13919
14259
$as_echo_n "checking operating system... " >&6; }
13920
14260
case $host in
13921
 
        *-linux*)
 
14261
  *-linux*)
13922
14262
 
13923
14263
$as_echo "#define OS_LINUX /**/" >>confdefs.h
13924
14264
 
13925
14265
 
13926
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Linux" >&5
 
14266
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: Linux" >&5
13927
14267
$as_echo "Linux" >&6; }
13928
 
                if test x$UDEV_PKG = "x" ; then
13929
 
                        as_fn_error "libgudev is required under Linux and not installed" "$LINENO" 5
13930
 
                fi
13931
 
                ;;
13932
 
        *)
13933
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported operating system" >&5
 
14268
    if test x$UDEV_PKG = "x" ; then
 
14269
            as_fn_error $? "libgudev is required under Linux and not installed" "$LINENO" 5
 
14270
    fi
 
14271
    ;;
 
14272
  *)
 
14273
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported operating system" >&5
13934
14274
$as_echo "unsupported operating system" >&6; }
13935
14275
esac
13936
14276
 
13952
14292
ac_fn_c_check_header_mongrel "$LINENO" "X11/extensions/XTest.h" "ac_cv_header_X11_extensions_XTest_h" "$ac_includes_default"
13953
14293
if test "x$ac_cv_header_X11_extensions_XTest_h" = x""yes; then :
13954
14294
 
13955
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XTestFakeKeyEvent in -lXtst" >&5
 
14295
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XTestFakeKeyEvent in -lXtst" >&5
13956
14296
$as_echo_n "checking for XTestFakeKeyEvent in -lXtst... " >&6; }
13957
14297
if test "${ac_cv_lib_Xtst_XTestFakeKeyEvent+set}" = set; then :
13958
14298
  $as_echo_n "(cached) " >&6
13993
14333
 
13994
14334
$as_echo "#define HAVE_XTEST 1" >>confdefs.h
13995
14335
 
13996
 
      XTEST_LIBS="-lX11 -lXtst"
 
14336
    XTEST_LIBS="-lX11 -lXtst"
13997
14337
fi
13998
14338
 
13999
14339
 
14022
14362
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
14023
14363
  glib-2.0 >= \$GLIB_REQUIRED \\
14024
14364
  gobject-2.0 >= \$GOBJECT_REQUIRED \\
14025
 
  gio-2.0 >= \$GIO_REQUIRED \\
14026
 
  gtk+-2.0 >= \$GTK_REQUIRED \\
14027
 
  gdk-2.0 >= \$GDK_REQUIRED \\
14028
 
  gnome-desktop-2.0 >= \$LIBGNOMEDESKTOP_REQUIRED \\
14029
 
  gconf-2.0 >= \$GCONF_REQUIRED \\
 
14365
  gdk-pixbuf-2.0 \\
14030
14366
  gstreamer-0.10 >= \$GSTREAMER_REQUIRED \\
14031
14367
  gstreamer-plugins-base-0.10 >= \$GSTREAMER_REQUIRED \\
14032
14368
  cairo >= \$CAIRO_REQUIRED \\
14033
 
  dbus-1 >= \$DBUS_REQUIRED \\
14034
 
  dbus-glib-1 >= \$DBUS_GLIB_REQUIRED \\
14035
14369
  pangocairo >= \$PANGOCAIRO_REQUIRED \\
14036
 
  librsvg-2.0 >= \$LIBRSVG_REQUIRED
14037
 
  libcanberra-gtk \$UDEV_PKG\""; } >&5
 
14370
  clutter-1.0 >= \$CLUTTER_REQUIRED \\
 
14371
  clutter-gst-1.0 >= \$CLUTTERGST_REQUIRED \\
 
14372
  mx-1.0 \\
 
14373
  \$UDEV_PKG
 
14374
  \""; } >&5
14038
14375
  ($PKG_CONFIG --exists --print-errors "\
14039
14376
  glib-2.0 >= $GLIB_REQUIRED \
14040
14377
  gobject-2.0 >= $GOBJECT_REQUIRED \
14041
 
  gio-2.0 >= $GIO_REQUIRED \
14042
 
  gtk+-2.0 >= $GTK_REQUIRED \
14043
 
  gdk-2.0 >= $GDK_REQUIRED \
14044
 
  gnome-desktop-2.0 >= $LIBGNOMEDESKTOP_REQUIRED \
14045
 
  gconf-2.0 >= $GCONF_REQUIRED \
 
14378
  gdk-pixbuf-2.0 \
14046
14379
  gstreamer-0.10 >= $GSTREAMER_REQUIRED \
14047
14380
  gstreamer-plugins-base-0.10 >= $GSTREAMER_REQUIRED \
14048
14381
  cairo >= $CAIRO_REQUIRED \
14049
 
  dbus-1 >= $DBUS_REQUIRED \
14050
 
  dbus-glib-1 >= $DBUS_GLIB_REQUIRED \
14051
14382
  pangocairo >= $PANGOCAIRO_REQUIRED \
14052
 
  librsvg-2.0 >= $LIBRSVG_REQUIRED
14053
 
  libcanberra-gtk $UDEV_PKG") 2>&5
 
14383
  clutter-1.0 >= $CLUTTER_REQUIRED \
 
14384
  clutter-gst-1.0 >= $CLUTTERGST_REQUIRED \
 
14385
  mx-1.0 \
 
14386
  $UDEV_PKG
 
14387
  ") 2>&5
14054
14388
  ac_status=$?
14055
14389
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14056
14390
  test $ac_status = 0; }; then
14057
14391
  pkg_cv_CHEESE_CFLAGS=`$PKG_CONFIG --cflags "\
14058
14392
  glib-2.0 >= $GLIB_REQUIRED \
14059
14393
  gobject-2.0 >= $GOBJECT_REQUIRED \
14060
 
  gio-2.0 >= $GIO_REQUIRED \
14061
 
  gtk+-2.0 >= $GTK_REQUIRED \
14062
 
  gdk-2.0 >= $GDK_REQUIRED \
14063
 
  gnome-desktop-2.0 >= $LIBGNOMEDESKTOP_REQUIRED \
14064
 
  gconf-2.0 >= $GCONF_REQUIRED \
 
14394
  gdk-pixbuf-2.0 \
14065
14395
  gstreamer-0.10 >= $GSTREAMER_REQUIRED \
14066
14396
  gstreamer-plugins-base-0.10 >= $GSTREAMER_REQUIRED \
14067
14397
  cairo >= $CAIRO_REQUIRED \
14068
 
  dbus-1 >= $DBUS_REQUIRED \
14069
 
  dbus-glib-1 >= $DBUS_GLIB_REQUIRED \
14070
14398
  pangocairo >= $PANGOCAIRO_REQUIRED \
14071
 
  librsvg-2.0 >= $LIBRSVG_REQUIRED
14072
 
  libcanberra-gtk $UDEV_PKG" 2>/dev/null`
 
14399
  clutter-1.0 >= $CLUTTER_REQUIRED \
 
14400
  clutter-gst-1.0 >= $CLUTTERGST_REQUIRED \
 
14401
  mx-1.0 \
 
14402
  $UDEV_PKG
 
14403
  " 2>/dev/null`
14073
14404
else
14074
14405
  pkg_failed=yes
14075
14406
fi
14083
14414
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
14084
14415
  glib-2.0 >= \$GLIB_REQUIRED \\
14085
14416
  gobject-2.0 >= \$GOBJECT_REQUIRED \\
14086
 
  gio-2.0 >= \$GIO_REQUIRED \\
14087
 
  gtk+-2.0 >= \$GTK_REQUIRED \\
14088
 
  gdk-2.0 >= \$GDK_REQUIRED \\
14089
 
  gnome-desktop-2.0 >= \$LIBGNOMEDESKTOP_REQUIRED \\
14090
 
  gconf-2.0 >= \$GCONF_REQUIRED \\
 
14417
  gdk-pixbuf-2.0 \\
14091
14418
  gstreamer-0.10 >= \$GSTREAMER_REQUIRED \\
14092
14419
  gstreamer-plugins-base-0.10 >= \$GSTREAMER_REQUIRED \\
14093
14420
  cairo >= \$CAIRO_REQUIRED \\
14094
 
  dbus-1 >= \$DBUS_REQUIRED \\
14095
 
  dbus-glib-1 >= \$DBUS_GLIB_REQUIRED \\
14096
14421
  pangocairo >= \$PANGOCAIRO_REQUIRED \\
14097
 
  librsvg-2.0 >= \$LIBRSVG_REQUIRED
14098
 
  libcanberra-gtk \$UDEV_PKG\""; } >&5
 
14422
  clutter-1.0 >= \$CLUTTER_REQUIRED \\
 
14423
  clutter-gst-1.0 >= \$CLUTTERGST_REQUIRED \\
 
14424
  mx-1.0 \\
 
14425
  \$UDEV_PKG
 
14426
  \""; } >&5
14099
14427
  ($PKG_CONFIG --exists --print-errors "\
14100
14428
  glib-2.0 >= $GLIB_REQUIRED \
14101
14429
  gobject-2.0 >= $GOBJECT_REQUIRED \
14102
 
  gio-2.0 >= $GIO_REQUIRED \
14103
 
  gtk+-2.0 >= $GTK_REQUIRED \
14104
 
  gdk-2.0 >= $GDK_REQUIRED \
14105
 
  gnome-desktop-2.0 >= $LIBGNOMEDESKTOP_REQUIRED \
14106
 
  gconf-2.0 >= $GCONF_REQUIRED \
 
14430
  gdk-pixbuf-2.0 \
14107
14431
  gstreamer-0.10 >= $GSTREAMER_REQUIRED \
14108
14432
  gstreamer-plugins-base-0.10 >= $GSTREAMER_REQUIRED \
14109
14433
  cairo >= $CAIRO_REQUIRED \
14110
 
  dbus-1 >= $DBUS_REQUIRED \
14111
 
  dbus-glib-1 >= $DBUS_GLIB_REQUIRED \
14112
14434
  pangocairo >= $PANGOCAIRO_REQUIRED \
14113
 
  librsvg-2.0 >= $LIBRSVG_REQUIRED
14114
 
  libcanberra-gtk $UDEV_PKG") 2>&5
 
14435
  clutter-1.0 >= $CLUTTER_REQUIRED \
 
14436
  clutter-gst-1.0 >= $CLUTTERGST_REQUIRED \
 
14437
  mx-1.0 \
 
14438
  $UDEV_PKG
 
14439
  ") 2>&5
14115
14440
  ac_status=$?
14116
14441
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14117
14442
  test $ac_status = 0; }; then
14118
14443
  pkg_cv_CHEESE_LIBS=`$PKG_CONFIG --libs "\
14119
14444
  glib-2.0 >= $GLIB_REQUIRED \
14120
14445
  gobject-2.0 >= $GOBJECT_REQUIRED \
14121
 
  gio-2.0 >= $GIO_REQUIRED \
14122
 
  gtk+-2.0 >= $GTK_REQUIRED \
14123
 
  gdk-2.0 >= $GDK_REQUIRED \
14124
 
  gnome-desktop-2.0 >= $LIBGNOMEDESKTOP_REQUIRED \
14125
 
  gconf-2.0 >= $GCONF_REQUIRED \
 
14446
  gdk-pixbuf-2.0 \
14126
14447
  gstreamer-0.10 >= $GSTREAMER_REQUIRED \
14127
14448
  gstreamer-plugins-base-0.10 >= $GSTREAMER_REQUIRED \
14128
14449
  cairo >= $CAIRO_REQUIRED \
14129
 
  dbus-1 >= $DBUS_REQUIRED \
14130
 
  dbus-glib-1 >= $DBUS_GLIB_REQUIRED \
14131
14450
  pangocairo >= $PANGOCAIRO_REQUIRED \
14132
 
  librsvg-2.0 >= $LIBRSVG_REQUIRED
14133
 
  libcanberra-gtk $UDEV_PKG" 2>/dev/null`
 
14451
  clutter-1.0 >= $CLUTTER_REQUIRED \
 
14452
  clutter-gst-1.0 >= $CLUTTERGST_REQUIRED \
 
14453
  mx-1.0 \
 
14454
  $UDEV_PKG
 
14455
  " 2>/dev/null`
14134
14456
else
14135
14457
  pkg_failed=yes
14136
14458
fi
14141
14463
 
14142
14464
 
14143
14465
if test $pkg_failed = yes; then
 
14466
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14467
$as_echo "no" >&6; }
14144
14468
 
14145
14469
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14146
14470
        _pkg_short_errors_supported=yes
14151
14475
                CHEESE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "\
14152
14476
  glib-2.0 >= $GLIB_REQUIRED \
14153
14477
  gobject-2.0 >= $GOBJECT_REQUIRED \
14154
 
  gio-2.0 >= $GIO_REQUIRED \
14155
 
  gtk+-2.0 >= $GTK_REQUIRED \
14156
 
  gdk-2.0 >= $GDK_REQUIRED \
14157
 
  gnome-desktop-2.0 >= $LIBGNOMEDESKTOP_REQUIRED \
14158
 
  gconf-2.0 >= $GCONF_REQUIRED \
 
14478
  gdk-pixbuf-2.0 \
14159
14479
  gstreamer-0.10 >= $GSTREAMER_REQUIRED \
14160
14480
  gstreamer-plugins-base-0.10 >= $GSTREAMER_REQUIRED \
14161
14481
  cairo >= $CAIRO_REQUIRED \
14162
 
  dbus-1 >= $DBUS_REQUIRED \
14163
 
  dbus-glib-1 >= $DBUS_GLIB_REQUIRED \
14164
14482
  pangocairo >= $PANGOCAIRO_REQUIRED \
14165
 
  librsvg-2.0 >= $LIBRSVG_REQUIRED
14166
 
  libcanberra-gtk $UDEV_PKG" 2>&1`
 
14483
  clutter-1.0 >= $CLUTTER_REQUIRED \
 
14484
  clutter-gst-1.0 >= $CLUTTERGST_REQUIRED \
 
14485
  mx-1.0 \
 
14486
  $UDEV_PKG
 
14487
  " 2>&1`
14167
14488
        else
14168
14489
                CHEESE_PKG_ERRORS=`$PKG_CONFIG --print-errors "\
14169
14490
  glib-2.0 >= $GLIB_REQUIRED \
14170
14491
  gobject-2.0 >= $GOBJECT_REQUIRED \
14171
 
  gio-2.0 >= $GIO_REQUIRED \
14172
 
  gtk+-2.0 >= $GTK_REQUIRED \
14173
 
  gdk-2.0 >= $GDK_REQUIRED \
14174
 
  gnome-desktop-2.0 >= $LIBGNOMEDESKTOP_REQUIRED \
14175
 
  gconf-2.0 >= $GCONF_REQUIRED \
 
14492
  gdk-pixbuf-2.0 \
14176
14493
  gstreamer-0.10 >= $GSTREAMER_REQUIRED \
14177
14494
  gstreamer-plugins-base-0.10 >= $GSTREAMER_REQUIRED \
14178
14495
  cairo >= $CAIRO_REQUIRED \
14179
 
  dbus-1 >= $DBUS_REQUIRED \
14180
 
  dbus-glib-1 >= $DBUS_GLIB_REQUIRED \
14181
14496
  pangocairo >= $PANGOCAIRO_REQUIRED \
14182
 
  librsvg-2.0 >= $LIBRSVG_REQUIRED
14183
 
  libcanberra-gtk $UDEV_PKG" 2>&1`
 
14497
  clutter-1.0 >= $CLUTTER_REQUIRED \
 
14498
  clutter-gst-1.0 >= $CLUTTERGST_REQUIRED \
 
14499
  mx-1.0 \
 
14500
  $UDEV_PKG
 
14501
  " 2>&1`
14184
14502
        fi
14185
14503
        # Put the nasty error message in config.log where it belongs
14186
14504
        echo "$CHEESE_PKG_ERRORS" >&5
14187
14505
 
14188
 
        as_fn_error "Package requirements (\
 
14506
        as_fn_error $? "Package requirements (\
14189
14507
  glib-2.0 >= $GLIB_REQUIRED \
14190
14508
  gobject-2.0 >= $GOBJECT_REQUIRED \
14191
 
  gio-2.0 >= $GIO_REQUIRED \
14192
 
  gtk+-2.0 >= $GTK_REQUIRED \
14193
 
  gdk-2.0 >= $GDK_REQUIRED \
14194
 
  gnome-desktop-2.0 >= $LIBGNOMEDESKTOP_REQUIRED \
14195
 
  gconf-2.0 >= $GCONF_REQUIRED \
 
14509
  gdk-pixbuf-2.0 \
14196
14510
  gstreamer-0.10 >= $GSTREAMER_REQUIRED \
14197
14511
  gstreamer-plugins-base-0.10 >= $GSTREAMER_REQUIRED \
14198
14512
  cairo >= $CAIRO_REQUIRED \
14199
 
  dbus-1 >= $DBUS_REQUIRED \
14200
 
  dbus-glib-1 >= $DBUS_GLIB_REQUIRED \
14201
14513
  pangocairo >= $PANGOCAIRO_REQUIRED \
14202
 
  librsvg-2.0 >= $LIBRSVG_REQUIRED
14203
 
  libcanberra-gtk $UDEV_PKG) were not met:
 
14514
  clutter-1.0 >= $CLUTTER_REQUIRED \
 
14515
  clutter-gst-1.0 >= $CLUTTERGST_REQUIRED \
 
14516
  mx-1.0 \
 
14517
  $UDEV_PKG
 
14518
  ) were not met:
14204
14519
 
14205
14520
$CHEESE_PKG_ERRORS
14206
14521
 
14209
14524
 
14210
14525
Alternatively, you may set the environment variables CHEESE_CFLAGS
14211
14526
and CHEESE_LIBS to avoid the need to call pkg-config.
14212
 
See the pkg-config man page for more details.
14213
 
" "$LINENO" 5
 
14527
See the pkg-config man page for more details." "$LINENO" 5
14214
14528
elif test $pkg_failed = untried; then
 
14529
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14530
$as_echo "no" >&6; }
14215
14531
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14216
14532
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14217
 
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
14533
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14218
14534
is in your PATH or set the PKG_CONFIG environment variable to the full
14219
14535
path to pkg-config.
14220
14536
 
14223
14539
See the pkg-config man page for more details.
14224
14540
 
14225
14541
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14226
 
See \`config.log' for more details." "$LINENO" 5; }
 
14542
See \`config.log' for more details" "$LINENO" 5 ; }
14227
14543
else
14228
14544
        CHEESE_CFLAGS=$pkg_cv_CHEESE_CFLAGS
14229
14545
        CHEESE_LIBS=$pkg_cv_CHEESE_LIBS
14230
14546
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14231
14547
$as_echo "yes" >&6; }
14232
 
        :
 
14548
 
14233
14549
fi
14234
14550
 
14235
14551
 
14236
14552
CHEESE_LIBS="$CHEESE_LIBS -lgstinterfaces-0.10"
14237
14553
 
14238
14554
 
 
14555
pkg_failed=no
 
14556
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHEESE_GTK" >&5
 
14557
$as_echo_n "checking for CHEESE_GTK... " >&6; }
 
14558
 
 
14559
if test -n "$CHEESE_GTK_CFLAGS"; then
 
14560
    pkg_cv_CHEESE_GTK_CFLAGS="$CHEESE_GTK_CFLAGS"
 
14561
 elif test -n "$PKG_CONFIG"; then
 
14562
    if test -n "$PKG_CONFIG" && \
 
14563
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
 
14564
  gio-2.0 >= \$GIO_REQUIRED \\
 
14565
  gtk+-3.0 >= \$GTK_REQUIRED \\
 
14566
  gdk-3.0 >= \$GDK_REQUIRED \\
 
14567
  gnome-desktop-3.0 >= \$LIBGNOMEDESKTOP_REQUIRED \\
 
14568
  librsvg-2.0 >= \$LIBRSVG_REQUIRED \\
 
14569
  clutter-gtk-1.0 >= \$CLUTTERGTK_REQUIRED \\
 
14570
  gee-1.0 >= \$GEE_REQUIRED \\
 
14571
  libcanberra-gtk3 >= \$LIBCANBERRA_REQUIRED \\
 
14572
  \$UDEV_PKG \\
 
14573
  gnome-video-effects
 
14574
  \""; } >&5
 
14575
  ($PKG_CONFIG --exists --print-errors "\
 
14576
  gio-2.0 >= $GIO_REQUIRED \
 
14577
  gtk+-3.0 >= $GTK_REQUIRED \
 
14578
  gdk-3.0 >= $GDK_REQUIRED \
 
14579
  gnome-desktop-3.0 >= $LIBGNOMEDESKTOP_REQUIRED \
 
14580
  librsvg-2.0 >= $LIBRSVG_REQUIRED \
 
14581
  clutter-gtk-1.0 >= $CLUTTERGTK_REQUIRED \
 
14582
  gee-1.0 >= $GEE_REQUIRED \
 
14583
  libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
 
14584
  $UDEV_PKG \
 
14585
  gnome-video-effects
 
14586
  ") 2>&5
 
14587
  ac_status=$?
 
14588
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14589
  test $ac_status = 0; }; then
 
14590
  pkg_cv_CHEESE_GTK_CFLAGS=`$PKG_CONFIG --cflags "\
 
14591
  gio-2.0 >= $GIO_REQUIRED \
 
14592
  gtk+-3.0 >= $GTK_REQUIRED \
 
14593
  gdk-3.0 >= $GDK_REQUIRED \
 
14594
  gnome-desktop-3.0 >= $LIBGNOMEDESKTOP_REQUIRED \
 
14595
  librsvg-2.0 >= $LIBRSVG_REQUIRED \
 
14596
  clutter-gtk-1.0 >= $CLUTTERGTK_REQUIRED \
 
14597
  gee-1.0 >= $GEE_REQUIRED \
 
14598
  libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
 
14599
  $UDEV_PKG \
 
14600
  gnome-video-effects
 
14601
  " 2>/dev/null`
 
14602
else
 
14603
  pkg_failed=yes
 
14604
fi
 
14605
 else
 
14606
    pkg_failed=untried
 
14607
fi
 
14608
if test -n "$CHEESE_GTK_LIBS"; then
 
14609
    pkg_cv_CHEESE_GTK_LIBS="$CHEESE_GTK_LIBS"
 
14610
 elif test -n "$PKG_CONFIG"; then
 
14611
    if test -n "$PKG_CONFIG" && \
 
14612
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
 
14613
  gio-2.0 >= \$GIO_REQUIRED \\
 
14614
  gtk+-3.0 >= \$GTK_REQUIRED \\
 
14615
  gdk-3.0 >= \$GDK_REQUIRED \\
 
14616
  gnome-desktop-3.0 >= \$LIBGNOMEDESKTOP_REQUIRED \\
 
14617
  librsvg-2.0 >= \$LIBRSVG_REQUIRED \\
 
14618
  clutter-gtk-1.0 >= \$CLUTTERGTK_REQUIRED \\
 
14619
  gee-1.0 >= \$GEE_REQUIRED \\
 
14620
  libcanberra-gtk3 >= \$LIBCANBERRA_REQUIRED \\
 
14621
  \$UDEV_PKG \\
 
14622
  gnome-video-effects
 
14623
  \""; } >&5
 
14624
  ($PKG_CONFIG --exists --print-errors "\
 
14625
  gio-2.0 >= $GIO_REQUIRED \
 
14626
  gtk+-3.0 >= $GTK_REQUIRED \
 
14627
  gdk-3.0 >= $GDK_REQUIRED \
 
14628
  gnome-desktop-3.0 >= $LIBGNOMEDESKTOP_REQUIRED \
 
14629
  librsvg-2.0 >= $LIBRSVG_REQUIRED \
 
14630
  clutter-gtk-1.0 >= $CLUTTERGTK_REQUIRED \
 
14631
  gee-1.0 >= $GEE_REQUIRED \
 
14632
  libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
 
14633
  $UDEV_PKG \
 
14634
  gnome-video-effects
 
14635
  ") 2>&5
 
14636
  ac_status=$?
 
14637
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14638
  test $ac_status = 0; }; then
 
14639
  pkg_cv_CHEESE_GTK_LIBS=`$PKG_CONFIG --libs "\
 
14640
  gio-2.0 >= $GIO_REQUIRED \
 
14641
  gtk+-3.0 >= $GTK_REQUIRED \
 
14642
  gdk-3.0 >= $GDK_REQUIRED \
 
14643
  gnome-desktop-3.0 >= $LIBGNOMEDESKTOP_REQUIRED \
 
14644
  librsvg-2.0 >= $LIBRSVG_REQUIRED \
 
14645
  clutter-gtk-1.0 >= $CLUTTERGTK_REQUIRED \
 
14646
  gee-1.0 >= $GEE_REQUIRED \
 
14647
  libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
 
14648
  $UDEV_PKG \
 
14649
  gnome-video-effects
 
14650
  " 2>/dev/null`
 
14651
else
 
14652
  pkg_failed=yes
 
14653
fi
 
14654
 else
 
14655
    pkg_failed=untried
 
14656
fi
 
14657
 
 
14658
 
 
14659
 
 
14660
if test $pkg_failed = yes; then
 
14661
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14662
$as_echo "no" >&6; }
 
14663
 
 
14664
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
14665
        _pkg_short_errors_supported=yes
 
14666
else
 
14667
        _pkg_short_errors_supported=no
 
14668
fi
 
14669
        if test $_pkg_short_errors_supported = yes; then
 
14670
                CHEESE_GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "\
 
14671
  gio-2.0 >= $GIO_REQUIRED \
 
14672
  gtk+-3.0 >= $GTK_REQUIRED \
 
14673
  gdk-3.0 >= $GDK_REQUIRED \
 
14674
  gnome-desktop-3.0 >= $LIBGNOMEDESKTOP_REQUIRED \
 
14675
  librsvg-2.0 >= $LIBRSVG_REQUIRED \
 
14676
  clutter-gtk-1.0 >= $CLUTTERGTK_REQUIRED \
 
14677
  gee-1.0 >= $GEE_REQUIRED \
 
14678
  libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
 
14679
  $UDEV_PKG \
 
14680
  gnome-video-effects
 
14681
  " 2>&1`
 
14682
        else
 
14683
                CHEESE_GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "\
 
14684
  gio-2.0 >= $GIO_REQUIRED \
 
14685
  gtk+-3.0 >= $GTK_REQUIRED \
 
14686
  gdk-3.0 >= $GDK_REQUIRED \
 
14687
  gnome-desktop-3.0 >= $LIBGNOMEDESKTOP_REQUIRED \
 
14688
  librsvg-2.0 >= $LIBRSVG_REQUIRED \
 
14689
  clutter-gtk-1.0 >= $CLUTTERGTK_REQUIRED \
 
14690
  gee-1.0 >= $GEE_REQUIRED \
 
14691
  libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
 
14692
  $UDEV_PKG \
 
14693
  gnome-video-effects
 
14694
  " 2>&1`
 
14695
        fi
 
14696
        # Put the nasty error message in config.log where it belongs
 
14697
        echo "$CHEESE_GTK_PKG_ERRORS" >&5
 
14698
 
 
14699
        as_fn_error $? "Package requirements (\
 
14700
  gio-2.0 >= $GIO_REQUIRED \
 
14701
  gtk+-3.0 >= $GTK_REQUIRED \
 
14702
  gdk-3.0 >= $GDK_REQUIRED \
 
14703
  gnome-desktop-3.0 >= $LIBGNOMEDESKTOP_REQUIRED \
 
14704
  librsvg-2.0 >= $LIBRSVG_REQUIRED \
 
14705
  clutter-gtk-1.0 >= $CLUTTERGTK_REQUIRED \
 
14706
  gee-1.0 >= $GEE_REQUIRED \
 
14707
  libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
 
14708
  $UDEV_PKG \
 
14709
  gnome-video-effects
 
14710
  ) were not met:
 
14711
 
 
14712
$CHEESE_GTK_PKG_ERRORS
 
14713
 
 
14714
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
14715
installed software in a non-standard prefix.
 
14716
 
 
14717
Alternatively, you may set the environment variables CHEESE_GTK_CFLAGS
 
14718
and CHEESE_GTK_LIBS to avoid the need to call pkg-config.
 
14719
See the pkg-config man page for more details." "$LINENO" 5
 
14720
elif test $pkg_failed = untried; then
 
14721
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14722
$as_echo "no" >&6; }
 
14723
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
14724
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
14725
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
14726
is in your PATH or set the PKG_CONFIG environment variable to the full
 
14727
path to pkg-config.
 
14728
 
 
14729
Alternatively, you may set the environment variables CHEESE_GTK_CFLAGS
 
14730
and CHEESE_GTK_LIBS to avoid the need to call pkg-config.
 
14731
See the pkg-config man page for more details.
 
14732
 
 
14733
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
14734
See \`config.log' for more details" "$LINENO" 5 ; }
 
14735
else
 
14736
        CHEESE_GTK_CFLAGS=$pkg_cv_CHEESE_GTK_CFLAGS
 
14737
        CHEESE_GTK_LIBS=$pkg_cv_CHEESE_GTK_LIBS
 
14738
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
14739
$as_echo "yes" >&6; }
 
14740
 
 
14741
fi
 
14742
 
 
14743
 
14239
14744
 
14240
14745
GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
14241
14746
GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
14242
14747
 
14243
14748
 
14244
14749
 
14245
 
# Extract the first word of "gconftool-2", so it can be a program name with args.
14246
 
set dummy gconftool-2; ac_word=$2
14247
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14248
 
$as_echo_n "checking for $ac_word... " >&6; }
14249
 
if test "${ac_cv_path_GCONFTOOL+set}" = set; then :
14250
 
  $as_echo_n "(cached) " >&6
14251
 
else
14252
 
  case $GCONFTOOL in
14253
 
  [\\/]* | ?:[\\/]*)
14254
 
  ac_cv_path_GCONFTOOL="$GCONFTOOL" # Let the user override the test with a path.
14255
 
  ;;
14256
 
  *)
14257
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14258
 
for as_dir in $PATH
14259
 
do
14260
 
  IFS=$as_save_IFS
14261
 
  test -z "$as_dir" && as_dir=.
14262
 
    for ac_exec_ext in '' $ac_executable_extensions; do
14263
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14264
 
    ac_cv_path_GCONFTOOL="$as_dir/$ac_word$ac_exec_ext"
14265
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14266
 
    break 2
14267
 
  fi
14268
 
done
14269
 
  done
14270
 
IFS=$as_save_IFS
14271
 
 
14272
 
  ;;
14273
 
esac
14274
 
fi
14275
 
GCONFTOOL=$ac_cv_path_GCONFTOOL
14276
 
if test -n "$GCONFTOOL"; then
14277
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONFTOOL" >&5
14278
 
$as_echo "$GCONFTOOL" >&6; }
14279
 
else
14280
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14281
 
$as_echo "no" >&6; }
14282
 
fi
14283
 
 
14284
 
 
14285
 
 
14286
 
  if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
14287
 
    GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source`
14288
 
  else
14289
 
    GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE
14290
 
  fi
14291
 
 
14292
 
 
14293
 
# Check whether --with-gconf-source was given.
14294
 
if test "${with_gconf_source+set}" = set; then :
14295
 
  withval=$with_gconf_source; GCONF_SCHEMA_CONFIG_SOURCE="$withval"
14296
 
fi
14297
 
 
14298
 
 
14299
 
 
14300
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5
14301
 
$as_echo "Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6; }
14302
 
 
14303
 
  if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
14304
 
    GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas'
14305
 
  fi
14306
 
 
14307
 
 
14308
 
# Check whether --with-gconf-schema-file-dir was given.
14309
 
if test "${with_gconf_schema_file_dir+set}" = set; then :
14310
 
  withval=$with_gconf_schema_file_dir; GCONF_SCHEMA_FILE_DIR="$withval"
14311
 
fi
14312
 
 
14313
 
 
14314
 
 
14315
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5
14316
 
$as_echo "Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6; }
14317
 
 
14318
 
  # Check whether --enable-schemas-install was given.
14319
 
if test "${enable_schemas_install+set}" = set; then :
14320
 
  enableval=$enable_schemas_install; case ${enableval} in
14321
 
       yes|no) ;;
14322
 
       *) as_fn_error "bad value ${enableval} for --enable-schemas-install" "$LINENO" 5 ;;
14323
 
      esac
14324
 
fi
14325
 
 
14326
 
   if test "$enable_schemas_install" != no; then
14327
 
  GCONF_SCHEMAS_INSTALL_TRUE=
14328
 
  GCONF_SCHEMAS_INSTALL_FALSE='#'
14329
 
else
14330
 
  GCONF_SCHEMAS_INSTALL_TRUE='#'
14331
 
  GCONF_SCHEMAS_INSTALL_FALSE=
14332
 
fi
 
14750
 
 
14751
 
 
14752
 
 
14753
                # Check whether --enable-introspection was given.
 
14754
if test "${enable_introspection+set}" = set; then :
 
14755
  enableval=$enable_introspection;
 
14756
else
 
14757
  enable_introspection=auto
 
14758
fi
 
14759
 
 
14760
 
 
14761
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
 
14762
$as_echo_n "checking for gobject-introspection... " >&6; }
 
14763
 
 
14764
        case $enable_introspection in #(
 
14765
  no) :
 
14766
            found_introspection="no (disabled, use --enable-introspection to enable)"
 
14767
     ;; #(
 
14768
      yes) :
 
14769
            if test -n "$PKG_CONFIG" && \
 
14770
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
 
14771
  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
 
14772
  ac_status=$?
 
14773
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14774
  test $ac_status = 0; }; then
 
14775
  :
 
14776
else
 
14777
  as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
 
14778
fi
 
14779
        if test -n "$PKG_CONFIG" && \
 
14780
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.7\""; } >&5
 
14781
  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.7") 2>&5
 
14782
  ac_status=$?
 
14783
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14784
  test $ac_status = 0; }; then
 
14785
  found_introspection=yes
 
14786
else
 
14787
  as_fn_error $? "You need to have gobject-introspection >= 0.6.7 installed to build cheese" "$LINENO" 5
 
14788
fi
 
14789
     ;; #(
 
14790
      auto) :
 
14791
            if test -n "$PKG_CONFIG" && \
 
14792
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.7\""; } >&5
 
14793
  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.7") 2>&5
 
14794
  ac_status=$?
 
14795
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14796
  test $ac_status = 0; }; then
 
14797
  found_introspection=yes
 
14798
else
 
14799
  found_introspection=no
 
14800
fi
 
14801
     ;; #(
 
14802
  *) :
 
14803
                as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
 
14804
     ;;
 
14805
esac
 
14806
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
 
14807
$as_echo "$found_introspection" >&6; }
 
14808
 
 
14809
    INTROSPECTION_SCANNER=
 
14810
    INTROSPECTION_COMPILER=
 
14811
    INTROSPECTION_GENERATE=
 
14812
    INTROSPECTION_GIRDIR=
 
14813
    INTROSPECTION_TYPELIBDIR=
 
14814
    if test "x$found_introspection" = "xyes"; then
 
14815
       INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
 
14816
       INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
 
14817
       INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
 
14818
       INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
 
14819
       INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
 
14820
       INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
 
14821
       INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
 
14822
       INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
 
14823
    fi
 
14824
 
 
14825
 
 
14826
 
 
14827
 
 
14828
 
 
14829
 
 
14830
 
 
14831
 
 
14832
 
 
14833
     if test "x$found_introspection" = "xyes"; then
 
14834
  HAVE_INTROSPECTION_TRUE=
 
14835
  HAVE_INTROSPECTION_FALSE='#'
 
14836
else
 
14837
  HAVE_INTROSPECTION_TRUE='#'
 
14838
  HAVE_INTROSPECTION_FALSE=
 
14839
fi
 
14840
 
 
14841
 
 
14842
 
 
14843
 
 
14844
# API documentation
 
14845
 
 
14846
 
 
14847
    # Extract the first word of "gtkdoc-check", so it can be a program name with args.
 
14848
set dummy gtkdoc-check; ac_word=$2
 
14849
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
14850
$as_echo_n "checking for $ac_word... " >&6; }
 
14851
if test "${ac_cv_path_GTKDOC_CHECK+set}" = set; then :
 
14852
  $as_echo_n "(cached) " >&6
 
14853
else
 
14854
  case $GTKDOC_CHECK in
 
14855
  [\\/]* | ?:[\\/]*)
 
14856
  ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
 
14857
  ;;
 
14858
  *)
 
14859
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14860
for as_dir in $PATH
 
14861
do
 
14862
  IFS=$as_save_IFS
 
14863
  test -z "$as_dir" && as_dir=.
 
14864
    for ac_exec_ext in '' $ac_executable_extensions; do
 
14865
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14866
    ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
 
14867
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14868
    break 2
 
14869
  fi
 
14870
done
 
14871
  done
 
14872
IFS=$as_save_IFS
 
14873
 
 
14874
  ;;
 
14875
esac
 
14876
fi
 
14877
GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
 
14878
if test -n "$GTKDOC_CHECK"; then
 
14879
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
 
14880
$as_echo "$GTKDOC_CHECK" >&6; }
 
14881
else
 
14882
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14883
$as_echo "no" >&6; }
 
14884
fi
 
14885
 
 
14886
 
 
14887
  for ac_prog in gtkdoc-rebase
 
14888
do
 
14889
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
14890
set dummy $ac_prog; ac_word=$2
 
14891
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
14892
$as_echo_n "checking for $ac_word... " >&6; }
 
14893
if test "${ac_cv_path_GTKDOC_REBASE+set}" = set; then :
 
14894
  $as_echo_n "(cached) " >&6
 
14895
else
 
14896
  case $GTKDOC_REBASE in
 
14897
  [\\/]* | ?:[\\/]*)
 
14898
  ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
 
14899
  ;;
 
14900
  *)
 
14901
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14902
for as_dir in $PATH
 
14903
do
 
14904
  IFS=$as_save_IFS
 
14905
  test -z "$as_dir" && as_dir=.
 
14906
    for ac_exec_ext in '' $ac_executable_extensions; do
 
14907
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14908
    ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
 
14909
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14910
    break 2
 
14911
  fi
 
14912
done
 
14913
  done
 
14914
IFS=$as_save_IFS
 
14915
 
 
14916
  ;;
 
14917
esac
 
14918
fi
 
14919
GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
 
14920
if test -n "$GTKDOC_REBASE"; then
 
14921
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
 
14922
$as_echo "$GTKDOC_REBASE" >&6; }
 
14923
else
 
14924
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14925
$as_echo "no" >&6; }
 
14926
fi
 
14927
 
 
14928
 
 
14929
  test -n "$GTKDOC_REBASE" && break
 
14930
done
 
14931
test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
 
14932
 
 
14933
  # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
 
14934
set dummy gtkdoc-mkpdf; ac_word=$2
 
14935
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
14936
$as_echo_n "checking for $ac_word... " >&6; }
 
14937
if test "${ac_cv_path_GTKDOC_MKPDF+set}" = set; then :
 
14938
  $as_echo_n "(cached) " >&6
 
14939
else
 
14940
  case $GTKDOC_MKPDF in
 
14941
  [\\/]* | ?:[\\/]*)
 
14942
  ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
 
14943
  ;;
 
14944
  *)
 
14945
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14946
for as_dir in $PATH
 
14947
do
 
14948
  IFS=$as_save_IFS
 
14949
  test -z "$as_dir" && as_dir=.
 
14950
    for ac_exec_ext in '' $ac_executable_extensions; do
 
14951
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14952
    ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
 
14953
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14954
    break 2
 
14955
  fi
 
14956
done
 
14957
  done
 
14958
IFS=$as_save_IFS
 
14959
 
 
14960
  ;;
 
14961
esac
 
14962
fi
 
14963
GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
 
14964
if test -n "$GTKDOC_MKPDF"; then
 
14965
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
 
14966
$as_echo "$GTKDOC_MKPDF" >&6; }
 
14967
else
 
14968
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14969
$as_echo "no" >&6; }
 
14970
fi
 
14971
 
 
14972
 
 
14973
 
 
14974
 
 
14975
# Check whether --with-html-dir was given.
 
14976
if test "${with_html_dir+set}" = set; then :
 
14977
  withval=$with_html_dir;
 
14978
else
 
14979
  with_html_dir='${datadir}/gtk-doc/html'
 
14980
fi
 
14981
 
 
14982
  HTML_DIR="$with_html_dir"
 
14983
 
 
14984
 
 
14985
    # Check whether --enable-gtk-doc was given.
 
14986
if test "${enable_gtk_doc+set}" = set; then :
 
14987
  enableval=$enable_gtk_doc;
 
14988
else
 
14989
  enable_gtk_doc=no
 
14990
fi
 
14991
 
 
14992
 
 
14993
  if test x$enable_gtk_doc = xyes; then
 
14994
    if test -n "$PKG_CONFIG" && \
 
14995
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.14\""; } >&5
 
14996
  ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.14") 2>&5
 
14997
  ac_status=$?
 
14998
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14999
  test $ac_status = 0; }; then
 
15000
  :
 
15001
else
 
15002
  as_fn_error $? "You need to have gtk-doc >= 1.14 installed to build $PACKAGE_NAME" "$LINENO" 5
 
15003
fi
 
15004
  fi
 
15005
 
 
15006
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
 
15007
$as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
 
15008
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
 
15009
$as_echo "$enable_gtk_doc" >&6; }
 
15010
 
 
15011
    # Check whether --enable-gtk-doc-html was given.
 
15012
if test "${enable_gtk_doc_html+set}" = set; then :
 
15013
  enableval=$enable_gtk_doc_html;
 
15014
else
 
15015
  enable_gtk_doc_html=yes
 
15016
fi
 
15017
 
 
15018
    # Check whether --enable-gtk-doc-pdf was given.
 
15019
if test "${enable_gtk_doc_pdf+set}" = set; then :
 
15020
  enableval=$enable_gtk_doc_pdf;
 
15021
else
 
15022
  enable_gtk_doc_pdf=no
 
15023
fi
 
15024
 
 
15025
 
 
15026
  if test -z "$GTKDOC_MKPDF"; then
 
15027
    enable_gtk_doc_pdf=no
 
15028
  fi
 
15029
 
 
15030
 
 
15031
   if test x$enable_gtk_doc = xyes; then
 
15032
  ENABLE_GTK_DOC_TRUE=
 
15033
  ENABLE_GTK_DOC_FALSE='#'
 
15034
else
 
15035
  ENABLE_GTK_DOC_TRUE='#'
 
15036
  ENABLE_GTK_DOC_FALSE=
 
15037
fi
 
15038
 
 
15039
   if test x$enable_gtk_doc_html = xyes; then
 
15040
  GTK_DOC_BUILD_HTML_TRUE=
 
15041
  GTK_DOC_BUILD_HTML_FALSE='#'
 
15042
else
 
15043
  GTK_DOC_BUILD_HTML_TRUE='#'
 
15044
  GTK_DOC_BUILD_HTML_FALSE=
 
15045
fi
 
15046
 
 
15047
   if test x$enable_gtk_doc_pdf = xyes; then
 
15048
  GTK_DOC_BUILD_PDF_TRUE=
 
15049
  GTK_DOC_BUILD_PDF_FALSE='#'
 
15050
else
 
15051
  GTK_DOC_BUILD_PDF_TRUE='#'
 
15052
  GTK_DOC_BUILD_PDF_FALSE=
 
15053
fi
 
15054
 
 
15055
   if test -n "$LIBTOOL"; then
 
15056
  GTK_DOC_USE_LIBTOOL_TRUE=
 
15057
  GTK_DOC_USE_LIBTOOL_FALSE='#'
 
15058
else
 
15059
  GTK_DOC_USE_LIBTOOL_TRUE='#'
 
15060
  GTK_DOC_USE_LIBTOOL_FALSE=
 
15061
fi
 
15062
 
 
15063
   if test -n "$GTKDOC_REBASE"; then
 
15064
  GTK_DOC_USE_REBASE_TRUE=
 
15065
  GTK_DOC_USE_REBASE_FALSE='#'
 
15066
else
 
15067
  GTK_DOC_USE_REBASE_TRUE='#'
 
15068
  GTK_DOC_USE_REBASE_FALSE=
 
15069
fi
 
15070
 
 
15071
 
 
15072
 
 
15073
# User manual
 
15074
 
 
15075
gdu_cv_version_required=0.20
 
15076
 
 
15077
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking gnome-doc-utils >= $gdu_cv_version_required" >&5
 
15078
$as_echo_n "checking gnome-doc-utils >= $gdu_cv_version_required... " >&6; }
 
15079
if test -n "$PKG_CONFIG" && \
 
15080
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-doc-utils >= \$gdu_cv_version_required\""; } >&5
 
15081
  ($PKG_CONFIG --exists --print-errors "gnome-doc-utils >= $gdu_cv_version_required") 2>&5
 
15082
  ac_status=$?
 
15083
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15084
  test $ac_status = 0; }; then
 
15085
  gdu_cv_have_gdu=yes
 
15086
else
 
15087
  gdu_cv_have_gdu=no
 
15088
fi
 
15089
 
 
15090
if test "$gdu_cv_have_gdu" = "yes"; then
 
15091
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
15092
$as_echo "yes" >&6; }
 
15093
        :
 
15094
else
 
15095
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15096
$as_echo "no" >&6; }
 
15097
        as_fn_error $? "gnome-doc-utils >= $gdu_cv_version_required not found" "$LINENO" 5
 
15098
fi
 
15099
 
 
15100
 
 
15101
 
 
15102
# Check whether --with-help-dir was given.
 
15103
if test "${with_help_dir+set}" = set; then :
 
15104
  withval=$with_help_dir;
 
15105
else
 
15106
  with_help_dir='${datadir}/gnome/help'
 
15107
fi
 
15108
 
 
15109
HELP_DIR="$with_help_dir"
 
15110
 
 
15111
 
 
15112
 
 
15113
# Check whether --with-omf-dir was given.
 
15114
if test "${with_omf_dir+set}" = set; then :
 
15115
  withval=$with_omf_dir;
 
15116
else
 
15117
  with_omf_dir='${datadir}/omf'
 
15118
fi
 
15119
 
 
15120
OMF_DIR="$with_omf_dir"
 
15121
 
 
15122
 
 
15123
 
 
15124
# Check whether --with-help-formats was given.
 
15125
if test "${with_help_formats+set}" = set; then :
 
15126
  withval=$with_help_formats;
 
15127
else
 
15128
  with_help_formats=''
 
15129
fi
 
15130
 
 
15131
DOC_USER_FORMATS="$with_help_formats"
 
15132
 
 
15133
 
 
15134
# Check whether --enable-scrollkeeper was given.
 
15135
if test "${enable_scrollkeeper+set}" = set; then :
 
15136
  enableval=$enable_scrollkeeper;
 
15137
else
 
15138
  enable_scrollkeeper=yes
 
15139
fi
 
15140
 
 
15141
 if test "$gdu_cv_have_gdu" = "yes" -a "$enable_scrollkeeper" = "yes"; then
 
15142
  ENABLE_SK_TRUE=
 
15143
  ENABLE_SK_FALSE='#'
 
15144
else
 
15145
  ENABLE_SK_TRUE='#'
 
15146
  ENABLE_SK_FALSE=
 
15147
fi
 
15148
 
 
15149
 
 
15150
DISTCHECK_CONFIGURE_FLAGS="--disable-scrollkeeper $DISTCHECK_CONFIGURE_FLAGS"
 
15151
 
 
15152
 
 
15153
 if test "$gdu_cv_have_gdu" = "yes"; then
 
15154
  HAVE_GNOME_DOC_UTILS_TRUE=
 
15155
  HAVE_GNOME_DOC_UTILS_FALSE='#'
 
15156
else
 
15157
  HAVE_GNOME_DOC_UTILS_TRUE='#'
 
15158
  HAVE_GNOME_DOC_UTILS_FALSE=
 
15159
fi
 
15160
 
 
15161
 
 
15162
 
 
15163
 
 
15164
 
 
15165
 
 
15166
  # Check whether --enable-schemas-compile was given.
 
15167
if test "${enable_schemas_compile+set}" = set; then :
 
15168
  enableval=$enable_schemas_compile; case ${enableval} in
 
15169
                  yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE=""  ;;
 
15170
                  no)  GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
 
15171
                  *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5  ;;
 
15172
                 esac
 
15173
fi
 
15174
 
 
15175
 
 
15176
 
 
15177
 
 
15178
 
 
15179
 
 
15180
 
 
15181
 
 
15182
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 
15183
        if test -n "$ac_tool_prefix"; then
 
15184
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
 
15185
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
 
15186
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
15187
$as_echo_n "checking for $ac_word... " >&6; }
 
15188
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
 
15189
  $as_echo_n "(cached) " >&6
 
15190
else
 
15191
  case $PKG_CONFIG in
 
15192
  [\\/]* | ?:[\\/]*)
 
15193
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 
15194
  ;;
 
15195
  *)
 
15196
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15197
for as_dir in $PATH
 
15198
do
 
15199
  IFS=$as_save_IFS
 
15200
  test -z "$as_dir" && as_dir=.
 
15201
    for ac_exec_ext in '' $ac_executable_extensions; do
 
15202
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
15203
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
15204
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15205
    break 2
 
15206
  fi
 
15207
done
 
15208
  done
 
15209
IFS=$as_save_IFS
 
15210
 
 
15211
  ;;
 
15212
esac
 
15213
fi
 
15214
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
15215
if test -n "$PKG_CONFIG"; then
 
15216
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
 
15217
$as_echo "$PKG_CONFIG" >&6; }
 
15218
else
 
15219
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15220
$as_echo "no" >&6; }
 
15221
fi
 
15222
 
 
15223
 
 
15224
fi
 
15225
if test -z "$ac_cv_path_PKG_CONFIG"; then
 
15226
  ac_pt_PKG_CONFIG=$PKG_CONFIG
 
15227
  # Extract the first word of "pkg-config", so it can be a program name with args.
 
15228
set dummy pkg-config; ac_word=$2
 
15229
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
15230
$as_echo_n "checking for $ac_word... " >&6; }
 
15231
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
 
15232
  $as_echo_n "(cached) " >&6
 
15233
else
 
15234
  case $ac_pt_PKG_CONFIG in
 
15235
  [\\/]* | ?:[\\/]*)
 
15236
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
 
15237
  ;;
 
15238
  *)
 
15239
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15240
for as_dir in $PATH
 
15241
do
 
15242
  IFS=$as_save_IFS
 
15243
  test -z "$as_dir" && as_dir=.
 
15244
    for ac_exec_ext in '' $ac_executable_extensions; do
 
15245
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
15246
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
15247
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15248
    break 2
 
15249
  fi
 
15250
done
 
15251
  done
 
15252
IFS=$as_save_IFS
 
15253
 
 
15254
  ;;
 
15255
esac
 
15256
fi
 
15257
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
 
15258
if test -n "$ac_pt_PKG_CONFIG"; then
 
15259
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
 
15260
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
 
15261
else
 
15262
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15263
$as_echo "no" >&6; }
 
15264
fi
 
15265
 
 
15266
  if test "x$ac_pt_PKG_CONFIG" = x; then
 
15267
    PKG_CONFIG=""
 
15268
  else
 
15269
    case $cross_compiling:$ac_tool_warned in
 
15270
yes:)
 
15271
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
15272
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
15273
ac_tool_warned=yes ;;
 
15274
esac
 
15275
    PKG_CONFIG=$ac_pt_PKG_CONFIG
 
15276
  fi
 
15277
else
 
15278
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
 
15279
fi
 
15280
 
 
15281
fi
 
15282
if test -n "$PKG_CONFIG"; then
 
15283
        _pkg_min_version=0.16
 
15284
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
 
15285
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
 
15286
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
 
15287
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
15288
$as_echo "yes" >&6; }
 
15289
        else
 
15290
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15291
$as_echo "no" >&6; }
 
15292
                PKG_CONFIG=""
 
15293
        fi
 
15294
fi
 
15295
  gsettingsschemadir=${datadir}/glib-2.0/schemas
 
15296
 
 
15297
  if test x$cross_compiling != xyes; then
 
15298
    GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
 
15299
  else
 
15300
    # Extract the first word of "glib-compile-schemas", so it can be a program name with args.
 
15301
set dummy glib-compile-schemas; ac_word=$2
 
15302
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
15303
$as_echo_n "checking for $ac_word... " >&6; }
 
15304
if test "${ac_cv_path_GLIB_COMPILE_SCHEMAS+set}" = set; then :
 
15305
  $as_echo_n "(cached) " >&6
 
15306
else
 
15307
  case $GLIB_COMPILE_SCHEMAS in
 
15308
  [\\/]* | ?:[\\/]*)
 
15309
  ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
 
15310
  ;;
 
15311
  *)
 
15312
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15313
for as_dir in $PATH
 
15314
do
 
15315
  IFS=$as_save_IFS
 
15316
  test -z "$as_dir" && as_dir=.
 
15317
    for ac_exec_ext in '' $ac_executable_extensions; do
 
15318
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
15319
    ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
 
15320
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15321
    break 2
 
15322
  fi
 
15323
done
 
15324
  done
 
15325
IFS=$as_save_IFS
 
15326
 
 
15327
  ;;
 
15328
esac
 
15329
fi
 
15330
GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
 
15331
if test -n "$GLIB_COMPILE_SCHEMAS"; then
 
15332
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
 
15333
$as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
 
15334
else
 
15335
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15336
$as_echo "no" >&6; }
 
15337
fi
 
15338
 
 
15339
 
 
15340
  fi
 
15341
 
 
15342
  if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
 
15343
    as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
 
15344
  else
 
15345
    :
 
15346
  fi
 
15347
 
 
15348
  GSETTINGS_RULES='
 
15349
.PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
 
15350
 
 
15351
mostlyclean-am: clean-gsettings-schemas
 
15352
 
 
15353
gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
 
15354
 
 
15355
%.gschema.valid: %.gschema.xml $(gsettings__enum_file)
 
15356
        $(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$${d}$< && touch $@
 
15357
 
 
15358
all-am: $(gsettings_SCHEMAS:.xml=.valid)
 
15359
uninstall-am: uninstall-gsettings-schemas
 
15360
install-data-am: install-gsettings-schemas
 
15361
 
 
15362
.SECONDARY: $(gsettings_SCHEMAS)
 
15363
 
 
15364
install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
 
15365
        @$(NORMAL_INSTALL)
 
15366
        if test -n "$^"; then \
 
15367
                test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
 
15368
                $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
 
15369
                test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
 
15370
        fi
 
15371
 
 
15372
uninstall-gsettings-schemas:
 
15373
        @$(NORMAL_UNINSTALL)
 
15374
        @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
 
15375
        files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
 
15376
        test -n "$$files" || exit 0; \
 
15377
        echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
 
15378
        cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
 
15379
        test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
 
15380
 
 
15381
clean-gsettings-schemas:
 
15382
        rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
 
15383
 
 
15384
ifdef gsettings_ENUM_NAMESPACE
 
15385
$(gsettings__enum_file): $(gsettings_ENUM_FILES)
 
15386
        $(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead "  <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod "    <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail "  </@type@>" --ftail "</schemalist>" $^ > $@.tmp && mv $@.tmp $@
 
15387
endif
 
15388
'
 
15389
 
 
15390
 
 
15391
 
14333
15392
 
14334
15393
 
14335
15394
 
14336
15395
#*******************************************************************************
14337
15396
 
14338
 
ac_config_files="$ac_config_files Makefile cheese-gtk.pc docs/Makefile docs/reference/Makefile docs/reference/version.xml data/Makefile data/cheese.desktop.in data/effects/Makefile data/icons/Makefile data/icons/16x16/Makefile data/icons/22x22/Makefile data/icons/24x24/Makefile data/icons/32x32/Makefile data/icons/48x48/Makefile data/icons/256x256/Makefile data/icons/scalable/Makefile data/icons/16x16/actions/Makefile data/icons/22x22/actions/Makefile data/icons/24x24/actions/Makefile data/icons/32x32/actions/Makefile data/icons/48x48/actions/Makefile data/icons/scalable/actions/Makefile data/pixmaps/Makefile help/Makefile libcheese/Makefile src/Makefile tests/Makefile po/Makefile.in"
 
15397
ac_config_files="$ac_config_files Makefile docs/Makefile docs/reference/Makefile docs/reference/version.xml data/Makefile data/cheese.pc data/cheese-gtk.pc data/cheese.desktop.in data/icons/Makefile data/icons/16x16/Makefile data/icons/22x22/Makefile data/icons/24x24/Makefile data/icons/32x32/Makefile data/icons/48x48/Makefile data/icons/256x256/Makefile data/icons/scalable/Makefile data/icons/16x16/actions/Makefile data/icons/22x22/actions/Makefile data/icons/24x24/actions/Makefile data/icons/32x32/actions/Makefile data/icons/48x48/actions/Makefile data/icons/scalable/actions/Makefile data/pixmaps/Makefile help/Makefile libcheese/Makefile src/Makefile tests/Makefile po/Makefile.in"
14339
15398
 
14340
15399
cat >confcache <<\_ACEOF
14341
15400
# This file is a shell script that caches the results of configure
14420
15479
 
14421
15480
ac_libobjs=
14422
15481
ac_ltlibobjs=
 
15482
U=
14423
15483
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14424
15484
  # 1. Remove the extension, and $U if already installed.
14425
15485
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14443
15503
fi
14444
15504
 
14445
15505
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14446
 
  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
 
15506
  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
14447
15507
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14448
15508
fi
14449
15509
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14450
 
  as_fn_error "conditional \"AMDEP\" was never defined.
14451
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14452
 
fi
14453
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14454
 
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
14455
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14456
 
fi
14457
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14458
 
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
14459
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14460
 
fi
14461
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14462
 
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
15510
  as_fn_error $? "conditional \"AMDEP\" was never defined.
 
15511
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15512
fi
 
15513
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
15514
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
15515
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15516
fi
 
15517
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
15518
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
15519
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15520
fi
 
15521
 
 
15522
  ac_config_commands="$ac_config_commands po/stamp-it"
 
15523
 
 
15524
 
 
15525
if test -z "${HAVE_XTEST_TRUE}" && test -z "${HAVE_XTEST_FALSE}"; then
 
15526
  as_fn_error $? "conditional \"HAVE_XTEST\" was never defined.
 
15527
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15528
fi
 
15529
if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
 
15530
  as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
14463
15531
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14464
15532
fi
14465
15533
if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
14466
 
  as_fn_error "conditional \"ENABLE_GTK_DOC\" was never defined.
 
15534
  as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
14467
15535
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14468
15536
fi
14469
15537
if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
14470
 
  as_fn_error "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
 
15538
  as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
14471
15539
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14472
15540
fi
14473
15541
if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
14474
 
  as_fn_error "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
 
15542
  as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
14475
15543
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14476
15544
fi
14477
15545
if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
14478
 
  as_fn_error "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
 
15546
  as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
14479
15547
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14480
15548
fi
14481
15549
if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
14482
 
  as_fn_error "conditional \"GTK_DOC_USE_REBASE\" was never defined.
 
15550
  as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
14483
15551
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14484
15552
fi
14485
 
 
14486
 
  ac_config_commands="$ac_config_commands po/stamp-it"
14487
 
 
14488
 
 
14489
15553
if test -z "${ENABLE_SK_TRUE}" && test -z "${ENABLE_SK_FALSE}"; then
14490
 
  as_fn_error "conditional \"ENABLE_SK\" was never defined.
 
15554
  as_fn_error $? "conditional \"ENABLE_SK\" was never defined.
14491
15555
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14492
15556
fi
14493
15557
if test -z "${HAVE_GNOME_DOC_UTILS_TRUE}" && test -z "${HAVE_GNOME_DOC_UTILS_FALSE}"; then
14494
 
  as_fn_error "conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
14495
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14496
 
fi
14497
 
if test -z "${HAVE_XTEST_TRUE}" && test -z "${HAVE_XTEST_FALSE}"; then
14498
 
  as_fn_error "conditional \"HAVE_XTEST\" was never defined.
14499
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14500
 
fi
14501
 
if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
14502
 
  as_fn_error "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
 
15558
  as_fn_error $? "conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
14503
15559
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14504
15560
fi
14505
15561
 
14649
15705
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14650
15706
 
14651
15707
 
14652
 
# as_fn_error ERROR [LINENO LOG_FD]
14653
 
# ---------------------------------
 
15708
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
15709
# ----------------------------------------
14654
15710
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14655
15711
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14656
 
# script with status $?, using 1 if that was 0.
 
15712
# script with STATUS, using 1 if that was 0.
14657
15713
as_fn_error ()
14658
15714
{
14659
 
  as_status=$?; test $as_status -eq 0 && as_status=1
14660
 
  if test "$3"; then
14661
 
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14662
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
15715
  as_status=$1; test $as_status -eq 0 && as_status=1
 
15716
  if test "$4"; then
 
15717
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
15718
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14663
15719
  fi
14664
 
  $as_echo "$as_me: error: $1" >&2
 
15720
  $as_echo "$as_me: error: $2" >&2
14665
15721
  as_fn_exit $as_status
14666
15722
} # as_fn_error
14667
15723
 
14857
15913
      test -d "$as_dir" && break
14858
15914
    done
14859
15915
    test -z "$as_dirs" || eval "mkdir $as_dirs"
14860
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
15916
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14861
15917
 
14862
15918
 
14863
15919
} # as_fn_mkdir_p
14910
15966
# report actual input values of CONFIG_FILES etc. instead of their
14911
15967
# values after options handling.
14912
15968
ac_log="
14913
 
This file was extended by cheese $as_me 2.32.0, which was
14914
 
generated by GNU Autoconf 2.65.  Invocation command line was
 
15969
This file was extended by cheese $as_me 3.0.0, which was
 
15970
generated by GNU Autoconf 2.67.  Invocation command line was
14915
15971
 
14916
15972
  CONFIG_FILES    = $CONFIG_FILES
14917
15973
  CONFIG_HEADERS  = $CONFIG_HEADERS
14970
16026
Configuration commands:
14971
16027
$config_commands
14972
16028
 
14973
 
Report bugs to the package provider."
 
16029
Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=cheese>.
 
16030
cheese home page: <http://projects.gnome.org/cheese/>."
14974
16031
 
14975
16032
_ACEOF
14976
16033
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14977
16034
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14978
16035
ac_cs_version="\\
14979
 
cheese config.status 2.32.0
14980
 
configured by $0, generated by GNU Autoconf 2.65,
 
16036
cheese config.status 3.0.0
 
16037
configured by $0, generated by GNU Autoconf 2.67,
14981
16038
  with options \\"\$ac_cs_config\\"
14982
16039
 
14983
 
Copyright (C) 2009 Free Software Foundation, Inc.
 
16040
Copyright (C) 2010 Free Software Foundation, Inc.
14984
16041
This config.status script is free software; the Free Software Foundation
14985
16042
gives unlimited permission to copy, distribute and modify it."
14986
16043
 
14998
16055
while test $# != 0
14999
16056
do
15000
16057
  case $1 in
15001
 
  --*=*)
 
16058
  --*=?*)
15002
16059
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15003
16060
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15004
16061
    ac_shift=:
15005
16062
    ;;
 
16063
  --*=)
 
16064
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
16065
    ac_optarg=
 
16066
    ac_shift=:
 
16067
    ;;
15006
16068
  *)
15007
16069
    ac_option=$1
15008
16070
    ac_optarg=$2
15024
16086
    $ac_shift
15025
16087
    case $ac_optarg in
15026
16088
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
16089
    '') as_fn_error $? "missing file argument" ;;
15027
16090
    esac
15028
16091
    as_fn_append CONFIG_FILES " '$ac_optarg'"
15029
16092
    ac_need_defaults=false;;
15036
16099
    ac_need_defaults=false;;
15037
16100
  --he | --h)
15038
16101
    # Conflict between --help and --header
15039
 
    as_fn_error "ambiguous option: \`$1'
 
16102
    as_fn_error $? "ambiguous option: \`$1'
15040
16103
Try \`$0 --help' for more information.";;
15041
16104
  --help | --hel | -h )
15042
16105
    $as_echo "$ac_cs_usage"; exit ;;
15045
16108
    ac_cs_silent=: ;;
15046
16109
 
15047
16110
  # This is an error.
15048
 
  -*) as_fn_error "unrecognized option: \`$1'
 
16111
  -*) as_fn_error $? "unrecognized option: \`$1'
15049
16112
Try \`$0 --help' for more information." ;;
15050
16113
 
15051
16114
  *) as_fn_append ac_config_targets " $1"
15345
16408
 
15346
16409
 
15347
16410
 
 
16411
# Capture the value of obsolete ALL_LINGUAS because we need it to compute
 
16412
    # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
 
16413
    # from automake < 1.5.
 
16414
    eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
 
16415
    # Capture the value of LINGUAS because we need it to compute CATALOGS.
 
16416
    LINGUAS="${LINGUAS-%UNSET%}"
15348
16417
 
15349
16418
 
15350
16419
_ACEOF
15358
16427
    "cheese-config.h") CONFIG_HEADERS="$CONFIG_HEADERS cheese-config.h" ;;
15359
16428
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15360
16429
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15361
 
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
 
16430
    "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
15362
16431
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15363
 
    "cheese-gtk.pc") CONFIG_FILES="$CONFIG_FILES cheese-gtk.pc" ;;
15364
16432
    "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
15365
16433
    "docs/reference/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/Makefile" ;;
15366
16434
    "docs/reference/version.xml") CONFIG_FILES="$CONFIG_FILES docs/reference/version.xml" ;;
15367
16435
    "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
 
16436
    "data/cheese.pc") CONFIG_FILES="$CONFIG_FILES data/cheese.pc" ;;
 
16437
    "data/cheese-gtk.pc") CONFIG_FILES="$CONFIG_FILES data/cheese-gtk.pc" ;;
15368
16438
    "data/cheese.desktop.in") CONFIG_FILES="$CONFIG_FILES data/cheese.desktop.in" ;;
15369
 
    "data/effects/Makefile") CONFIG_FILES="$CONFIG_FILES data/effects/Makefile" ;;
15370
16439
    "data/icons/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/Makefile" ;;
15371
16440
    "data/icons/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/16x16/Makefile" ;;
15372
16441
    "data/icons/22x22/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/22x22/Makefile" ;;
15389
16458
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
15390
16459
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
15391
16460
 
15392
 
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 
16461
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
15393
16462
  esac
15394
16463
done
15395
16464
 
15427
16496
{
15428
16497
  tmp=./conf$$-$RANDOM
15429
16498
  (umask 077 && mkdir "$tmp")
15430
 
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
 
16499
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15431
16500
 
15432
16501
# Set up the scripts for CONFIG_FILES section.
15433
16502
# No need to generate them if there are no CONFIG_FILES.
15444
16513
fi
15445
16514
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15446
16515
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15447
 
  ac_cs_awk_cr='\r'
 
16516
  ac_cs_awk_cr='\\r'
15448
16517
else
15449
16518
  ac_cs_awk_cr=$ac_cr
15450
16519
fi
15458
16527
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15459
16528
  echo "_ACEOF"
15460
16529
} >conf$$subs.sh ||
15461
 
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15462
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
16530
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
16531
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15463
16532
ac_delim='%!_!# '
15464
16533
for ac_last_try in false false false false false :; do
15465
16534
  . ./conf$$subs.sh ||
15466
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
16535
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15467
16536
 
15468
16537
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15469
16538
  if test $ac_delim_n = $ac_delim_num; then
15470
16539
    break
15471
16540
  elif $ac_last_try; then
15472
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
16541
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15473
16542
  else
15474
16543
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15475
16544
  fi
15558
16627
else
15559
16628
  cat
15560
16629
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
15561
 
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
 
16630
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15562
16631
_ACEOF
15563
16632
 
15564
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
15565
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
16633
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
16634
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15566
16635
# trailing colons and then remove the whole line if VPATH becomes empty
15567
16636
# (actually we leave an empty line to preserve line numbers).
15568
16637
if test "x$srcdir" = x.; then
15569
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
15570
 
s/:*\$(srcdir):*/:/
15571
 
s/:*\${srcdir}:*/:/
15572
 
s/:*@srcdir@:*/:/
15573
 
s/^\([^=]*=[     ]*\):*/\1/
 
16638
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
16639
h
 
16640
s///
 
16641
s/^/:/
 
16642
s/[      ]*$/:/
 
16643
s/:\$(srcdir):/:/g
 
16644
s/:\${srcdir}:/:/g
 
16645
s/:@srcdir@:/:/g
 
16646
s/^:*//
15574
16647
s/:*$//
 
16648
x
 
16649
s/\(=[   ]*\).*/\1/
 
16650
G
 
16651
s/\n//
15575
16652
s/^[^=]*=[       ]*$//
15576
16653
}'
15577
16654
fi
15599
16676
  if test -z "$ac_t"; then
15600
16677
    break
15601
16678
  elif $ac_last_try; then
15602
 
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
 
16679
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15603
16680
  else
15604
16681
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15605
16682
  fi
15684
16761
_ACAWK
15685
16762
_ACEOF
15686
16763
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15687
 
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
 
16764
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15688
16765
fi # test -n "$CONFIG_HEADERS"
15689
16766
 
15690
16767
 
15697
16774
  esac
15698
16775
  case $ac_mode$ac_tag in
15699
16776
  :[FHL]*:*);;
15700
 
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
 
16777
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
15701
16778
  :[FH]-) ac_tag=-:-;;
15702
16779
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15703
16780
  esac
15725
16802
           [\\/$]*) false;;
15726
16803
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15727
16804
           esac ||
15728
 
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 
16805
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
15729
16806
      esac
15730
16807
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15731
16808
      as_fn_append ac_file_inputs " '$ac_f'"
15752
16829
 
15753
16830
    case $ac_tag in
15754
16831
    *:-:* | *:-) cat >"$tmp/stdin" \
15755
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
 
16832
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
15756
16833
    esac
15757
16834
    ;;
15758
16835
  esac
15889
16966
$ac_datarootdir_hack
15890
16967
"
15891
16968
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
15892
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
16969
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15893
16970
 
15894
16971
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15895
16972
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
15896
16973
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
15897
16974
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15898
 
which seems to be undefined.  Please make sure it is defined." >&5
 
16975
which seems to be undefined.  Please make sure it is defined" >&5
15899
16976
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15900
 
which seems to be undefined.  Please make sure it is defined." >&2;}
 
16977
which seems to be undefined.  Please make sure it is defined" >&2;}
15901
16978
 
15902
16979
  rm -f "$tmp/stdin"
15903
16980
  case $ac_file in
15904
16981
  -) cat "$tmp/out" && rm -f "$tmp/out";;
15905
16982
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15906
16983
  esac \
15907
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
16984
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15908
16985
 ;;
15909
16986
  :H)
15910
16987
  #
15915
16992
      $as_echo "/* $configure_input  */" \
15916
16993
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
15917
16994
    } >"$tmp/config.h" \
15918
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5
 
16995
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15919
16996
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
15920
16997
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15921
16998
$as_echo "$as_me: $ac_file is unchanged" >&6;}
15922
16999
    else
15923
17000
      rm -f "$ac_file"
15924
17001
      mv "$tmp/config.h" "$ac_file" \
15925
 
        || as_fn_error "could not create $ac_file" "$LINENO" 5
 
17002
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15926
17003
    fi
15927
17004
  else
15928
17005
    $as_echo "/* $configure_input  */" \
15929
17006
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
15930
 
      || as_fn_error "could not create -" "$LINENO" 5
 
17007
      || as_fn_error $? "could not create -" "$LINENO" 5
15931
17008
  fi
15932
17009
# Compute "$ac_file"'s index in $config_headers.
15933
17010
_am_arg="$ac_file"
16702
17779
  chmod +x "$ofile"
16703
17780
 
16704
17781
 ;;
16705
 
    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
16706
 
        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
16707
 
      esac ;;
 
17782
    "po-directories":C)
 
17783
    for ac_file in $CONFIG_FILES; do
 
17784
      # Support "outfile[:infile[:infile...]]"
 
17785
      case "$ac_file" in
 
17786
        *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
 
17787
      esac
 
17788
      # PO directories have a Makefile.in generated from Makefile.in.in.
 
17789
      case "$ac_file" in */Makefile.in)
 
17790
        # Adjust a relative srcdir.
 
17791
        ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
 
17792
        ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
 
17793
        ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
 
17794
        # In autoconf-2.13 it is called $ac_given_srcdir.
 
17795
        # In autoconf-2.50 it is called $srcdir.
 
17796
        test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
 
17797
        case "$ac_given_srcdir" in
 
17798
          .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
 
17799
          /*) top_srcdir="$ac_given_srcdir" ;;
 
17800
          *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
 
17801
        esac
 
17802
        # Treat a directory as a PO directory if and only if it has a
 
17803
        # POTFILES.in file. This allows packages to have multiple PO
 
17804
        # directories under different names or in different locations.
 
17805
        if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
 
17806
          rm -f "$ac_dir/POTFILES"
 
17807
          test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
 
17808
          cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[   ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
 
17809
          POMAKEFILEDEPS="POTFILES.in"
 
17810
          # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
 
17811
          # on $ac_dir but don't depend on user-specified configuration
 
17812
          # parameters.
 
17813
          if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
 
17814
            # The LINGUAS file contains the set of available languages.
 
17815
            if test -n "$OBSOLETE_ALL_LINGUAS"; then
 
17816
              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
 
17817
            fi
 
17818
            ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
 
17819
            # Hide the ALL_LINGUAS assigment from automake < 1.5.
 
17820
            eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
 
17821
            POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
 
17822
          else
 
17823
            # The set of available languages was given in configure.in.
 
17824
            # Hide the ALL_LINGUAS assigment from automake < 1.5.
 
17825
            eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
 
17826
          fi
 
17827
          # Compute POFILES
 
17828
          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
 
17829
          # Compute UPDATEPOFILES
 
17830
          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
 
17831
          # Compute DUMMYPOFILES
 
17832
          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
 
17833
          # Compute GMOFILES
 
17834
          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
 
17835
          case "$ac_given_srcdir" in
 
17836
            .) srcdirpre= ;;
 
17837
            *) srcdirpre='$(srcdir)/' ;;
 
17838
          esac
 
17839
          POFILES=
 
17840
          UPDATEPOFILES=
 
17841
          DUMMYPOFILES=
 
17842
          GMOFILES=
 
17843
          for lang in $ALL_LINGUAS; do
 
17844
            POFILES="$POFILES $srcdirpre$lang.po"
 
17845
            UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
 
17846
            DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
 
17847
            GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
 
17848
          done
 
17849
          # CATALOGS depends on both $ac_dir and the user's LINGUAS
 
17850
          # environment variable.
 
17851
          INST_LINGUAS=
 
17852
          if test -n "$ALL_LINGUAS"; then
 
17853
            for presentlang in $ALL_LINGUAS; do
 
17854
              useit=no
 
17855
              if test "%UNSET%" != "$LINGUAS"; then
 
17856
                desiredlanguages="$LINGUAS"
 
17857
              else
 
17858
                desiredlanguages="$ALL_LINGUAS"
 
17859
              fi
 
17860
              for desiredlang in $desiredlanguages; do
 
17861
                # Use the presentlang catalog if desiredlang is
 
17862
                #   a. equal to presentlang, or
 
17863
                #   b. a variant of presentlang (because in this case,
 
17864
                #      presentlang can be used as a fallback for messages
 
17865
                #      which are not translated in the desiredlang catalog).
 
17866
                case "$desiredlang" in
 
17867
                  "$presentlang"*) useit=yes;;
 
17868
                esac
 
17869
              done
 
17870
              if test $useit = yes; then
 
17871
                INST_LINGUAS="$INST_LINGUAS $presentlang"
 
17872
              fi
 
17873
            done
 
17874
          fi
 
17875
          CATALOGS=
 
17876
          if test -n "$INST_LINGUAS"; then
 
17877
            for lang in $INST_LINGUAS; do
 
17878
              CATALOGS="$CATALOGS $lang.gmo"
 
17879
            done
 
17880
          fi
 
17881
          test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
 
17882
          sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
 
17883
          for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
 
17884
            if test -f "$f"; then
 
17885
              case "$f" in
 
17886
                *.orig | *.bak | *~) ;;
 
17887
                *) cat "$f" >> "$ac_dir/Makefile" ;;
 
17888
              esac
 
17889
            fi
 
17890
          done
 
17891
        fi
 
17892
        ;;
 
17893
      esac
 
17894
    done ;;
16708
17895
    "po/stamp-it":C)
16709
17896
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
16710
 
       as_fn_error "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
 
17897
       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
16711
17898
    fi
16712
17899
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
16713
17900
    >"po/stamp-it.tmp"
16735
17922
ac_clean_files=$ac_clean_files_save
16736
17923
 
16737
17924
test $ac_write_fail = 0 ||
16738
 
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
17925
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16739
17926
 
16740
17927
 
16741
17928
# configure is writing to config.log, and then calls config.status.
16756
17943
  exec 5>>config.log
16757
17944
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16758
17945
  # would make configure fail if this is the last instruction.
16759
 
  $ac_cs_success || as_fn_exit $?
 
17946
  $ac_cs_success || as_fn_exit 1
16760
17947
fi
16761
17948
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16762
17949
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5