~ubuntu-branches/debian/sid/cheese/sid

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Laurent Bigonville
  • Date: 2011-07-17 21:04:16 UTC
  • mfrom: (15.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20110717210416-nt5qi659qei7a2yy
Tags: 3.0.1-2
* debian/control.in:
  - Change gir1.2-cheese-3.0 Section to libs
  - Make library packages depend against cheese-common package
  - Make cheese package recommends against hicolor-icon-theme
  - Move gst Dependency to libcheese package
* debian/patches/0002-fix-linking.patch: Add missing library to fix linking
* debian/watch:
  - Switch to .bz2 tarballs.
  - Bump version to 3

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.30.1.
 
3
# Generated by GNU Autoconf 2.67 for cheese 3.0.1.
 
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
171
173
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172
174
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173
175
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174
 
test \$(( 1 + 1 )) = 2 || exit 1"
 
176
test \$(( 1 + 1 )) = 2 || exit 1
 
177
 
 
178
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
 
179
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
180
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
181
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
182
    PATH=/empty FPATH=/empty; export PATH FPATH
 
183
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
 
184
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
175
185
  if (eval "$as_required") 2>/dev/null; then :
176
186
  as_have_required=yes
177
187
else
228
238
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229
239
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
230
240
  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."
 
241
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
 
242
$0: http://bugzilla.gnome.org/enter_bug.cgi?product=cheese
 
243
$0: about your system, including any error possibly output
 
244
$0: before this message. Then install a modern shell, or
 
245
$0: manually run the script under such a shell if you do
 
246
$0: have one."
235
247
  fi
236
248
  exit 1
237
249
fi
316
328
      test -d "$as_dir" && break
317
329
    done
318
330
    test -z "$as_dirs" || eval "mkdir $as_dirs"
319
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
331
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
320
332
 
321
333
 
322
334
} # as_fn_mkdir_p
356
368
fi # as_fn_arith
357
369
 
358
370
 
359
 
# as_fn_error ERROR [LINENO LOG_FD]
360
 
# ---------------------------------
 
371
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
372
# ----------------------------------------
361
373
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362
374
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363
 
# script with status $?, using 1 if that was 0.
 
375
# script with STATUS, using 1 if that was 0.
364
376
as_fn_error ()
365
377
{
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
 
378
  as_status=$1; test $as_status -eq 0 && as_status=1
 
379
  if test "$4"; then
 
380
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
381
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
370
382
  fi
371
 
  $as_echo "$as_me: error: $1" >&2
 
383
  $as_echo "$as_me: error: $2" >&2
372
384
  as_fn_exit $as_status
373
385
} # as_fn_error
374
386
 
525
537
# Sed expression to map a string onto a valid variable name.
526
538
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527
539
 
528
 
 
529
 
 
530
 
# Check that we are running under the correct shell.
 
540
as_awk_strverscmp='
 
541
  # Use only awk features that work with 7th edition Unix awk (1978).
 
542
  # My, what an old awk you have, Mr. Solaris!
 
543
  END {
 
544
    while (length(v1) && length(v2)) {
 
545
      # Set d1 to be the next thing to compare from v1, and likewise for d2.
 
546
      # Normally this is a single character, but if v1 and v2 contain digits,
 
547
      # compare them as integers and fractions as strverscmp does.
 
548
      if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
 
549
        # Split v1 and v2 into their leading digit string components d1 and d2,
 
550
        # and advance v1 and v2 past the leading digit strings.
 
551
        for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
 
552
        for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
 
553
        d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
 
554
        d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
 
555
        if (d1 ~ /^0/) {
 
556
          if (d2 ~ /^0/) {
 
557
            # Compare two fractions.
 
558
            while (d1 ~ /^0/ && d2 ~ /^0/) {
 
559
              d1 = substr(d1, 2); len1--
 
560
              d2 = substr(d2, 2); len2--
 
561
            }
 
562
            if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
 
563
              # The two components differ in length, and the common prefix
 
564
              # contains only leading zeros.  Consider the longer to be less.
 
565
              d1 = -len1
 
566
              d2 = -len2
 
567
            } else {
 
568
              # Otherwise, compare as strings.
 
569
              d1 = "x" d1
 
570
              d2 = "x" d2
 
571
            }
 
572
          } else {
 
573
            # A fraction is less than an integer.
 
574
            exit 1
 
575
          }
 
576
        } else {
 
577
          if (d2 ~ /^0/) {
 
578
            # An integer is greater than a fraction.
 
579
            exit 2
 
580
          } else {
 
581
            # Compare two integers.
 
582
            d1 += 0
 
583
            d2 += 0
 
584
          }
 
585
        }
 
586
      } else {
 
587
        # The normal case, without worrying about digits.
 
588
        d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
 
589
        d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
 
590
      }
 
591
      if (d1 < d2) exit 1
 
592
      if (d1 > d2) exit 2
 
593
    }
 
594
    # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
 
595
    # which mishandles some comparisons of empty strings to integers.
 
596
    if (length(v2)) exit 1
 
597
    if (length(v1)) exit 2
 
598
  }
 
599
'
531
600
SHELL=${CONFIG_SHELL-/bin/sh}
532
601
 
533
 
case X$lt_ECHO in
534
 
X*--fallback-echo)
535
 
  # Remove one level of quotation (which was required for Make).
536
 
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
537
 
  ;;
538
 
esac
539
 
 
540
 
ECHO=${lt_ECHO-echo}
541
 
if test "X$1" = X--no-reexec; then
542
 
  # Discard the --no-reexec flag, and continue.
543
 
  shift
544
 
elif test "X$1" = X--fallback-echo; then
545
 
  # Avoid inline document here, it may be left over
546
 
  :
547
 
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
548
 
  # Yippee, $ECHO works!
549
 
  :
550
 
else
551
 
  # Restart under the correct shell.
552
 
  exec $SHELL "$0" --no-reexec ${1+"$@"}
553
 
fi
554
 
 
555
 
if test "X$1" = X--fallback-echo; then
556
 
  # used as fallback echo
557
 
  shift
558
 
  cat <<_LT_EOF
559
 
$*
560
 
_LT_EOF
561
 
  exit 0
562
 
fi
563
 
 
564
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
565
 
# if CDPATH is set.
566
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
567
 
 
568
 
if test -z "$lt_ECHO"; then
569
 
  if test "X${echo_test_string+set}" != Xset; then
570
 
    # find a string as large as possible, as long as the shell can cope with it
571
 
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
572
 
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
573
 
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
574
 
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
575
 
      then
576
 
        break
577
 
      fi
578
 
    done
579
 
  fi
580
 
 
581
 
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
582
 
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
583
 
     test "X$echo_testing_string" = "X$echo_test_string"; then
584
 
    :
585
 
  else
586
 
    # The Solaris, AIX, and Digital Unix default echo programs unquote
587
 
    # backslashes.  This makes it impossible to quote backslashes using
588
 
    #   echo "$something" | sed 's/\\/\\\\/g'
589
 
    #
590
 
    # So, first we look for a working echo in the user's PATH.
591
 
 
592
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
593
 
    for dir in $PATH /usr/ucb; do
594
 
      IFS="$lt_save_ifs"
595
 
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
596
 
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
597
 
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
598
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
599
 
        ECHO="$dir/echo"
600
 
        break
601
 
      fi
602
 
    done
603
 
    IFS="$lt_save_ifs"
604
 
 
605
 
    if test "X$ECHO" = Xecho; then
606
 
      # We didn't find a better echo, so look for alternatives.
607
 
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
608
 
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
609
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
610
 
        # This shell has a builtin print -r that does the trick.
611
 
        ECHO='print -r'
612
 
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
613
 
           test "X$CONFIG_SHELL" != X/bin/ksh; then
614
 
        # If we have ksh, try running configure again with it.
615
 
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
616
 
        export ORIGINAL_CONFIG_SHELL
617
 
        CONFIG_SHELL=/bin/ksh
618
 
        export CONFIG_SHELL
619
 
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
620
 
      else
621
 
        # Try using printf.
622
 
        ECHO='printf %s\n'
623
 
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
624
 
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
625
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
626
 
          # Cool, printf works
627
 
          :
628
 
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
629
 
             test "X$echo_testing_string" = 'X\t' &&
630
 
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
631
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
632
 
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
633
 
          export CONFIG_SHELL
634
 
          SHELL="$CONFIG_SHELL"
635
 
          export SHELL
636
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
637
 
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
638
 
             test "X$echo_testing_string" = 'X\t' &&
639
 
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
640
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
641
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
642
 
        else
643
 
          # maybe with a smaller string...
644
 
          prev=:
645
 
 
646
 
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
647
 
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
648
 
            then
649
 
              break
650
 
            fi
651
 
            prev="$cmd"
652
 
          done
653
 
 
654
 
          if test "$prev" != 'sed 50q "$0"'; then
655
 
            echo_test_string=`eval $prev`
656
 
            export echo_test_string
657
 
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
658
 
          else
659
 
            # Oops.  We lost completely, so just stick with echo.
660
 
            ECHO=echo
661
 
          fi
662
 
        fi
663
 
      fi
664
 
    fi
665
 
  fi
666
 
fi
667
 
 
668
 
# Copy echo and quote the copy suitably for passing to libtool from
669
 
# the Makefile, instead of quoting the original, which is used later.
670
 
lt_ECHO=$ECHO
671
 
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
672
 
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
673
 
fi
674
 
 
675
 
 
676
 
 
677
602
 
678
603
test -n "$DJDIR" || exec 7<&0 </dev/null
679
604
exec 6>&1
680
605
 
681
606
# Name of the host.
682
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
607
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
683
608
# so uname gets run too.
684
609
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
685
610
 
698
623
# Identity of this package.
699
624
PACKAGE_NAME='cheese'
700
625
PACKAGE_TARNAME='cheese'
701
 
PACKAGE_VERSION='2.30.1'
702
 
PACKAGE_STRING='cheese 2.30.1'
703
 
PACKAGE_BUGREPORT=''
704
 
PACKAGE_URL=''
 
626
PACKAGE_VERSION='3.0.1'
 
627
PACKAGE_STRING='cheese 3.0.1'
 
628
PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=cheese'
 
629
PACKAGE_URL='http://projects.gnome.org/cheese/'
705
630
 
 
631
ac_unique_file="configure.ac"
706
632
# Factoring default headers for most tests.
707
633
ac_includes_default="\
708
634
#include <stdio.h>
739
665
# include <unistd.h>
740
666
#endif"
741
667
 
 
668
gt_needs=
742
669
ac_subst_vars='am__EXEEXT_FALSE
743
670
am__EXEEXT_TRUE
744
671
LTLIBOBJS
745
672
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
 
673
GSETTINGS_RULES
 
674
GLIB_COMPILE_SCHEMAS
 
675
gsettingsschemadir
 
676
GSETTINGS_DISABLE_SCHEMAS_COMPILE
761
677
HAVE_GNOME_DOC_UTILS_FALSE
762
678
HAVE_GNOME_DOC_UTILS_TRUE
763
679
DISTCHECK_CONFIGURE_FLAGS
766
682
DOC_USER_FORMATS
767
683
OMF_DIR
768
684
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
 
685
GTK_DOC_USE_REBASE_FALSE
 
686
GTK_DOC_USE_REBASE_TRUE
 
687
GTK_DOC_USE_LIBTOOL_FALSE
 
688
GTK_DOC_USE_LIBTOOL_TRUE
 
689
GTK_DOC_BUILD_PDF_FALSE
 
690
GTK_DOC_BUILD_PDF_TRUE
 
691
GTK_DOC_BUILD_HTML_FALSE
 
692
GTK_DOC_BUILD_HTML_TRUE
 
693
ENABLE_GTK_DOC_FALSE
 
694
ENABLE_GTK_DOC_TRUE
 
695
HTML_DIR
 
696
GTKDOC_MKPDF
 
697
GTKDOC_REBASE
 
698
GTKDOC_CHECK
 
699
HAVE_INTROSPECTION_FALSE
 
700
HAVE_INTROSPECTION_TRUE
 
701
INTROSPECTION_MAKEFILE
 
702
INTROSPECTION_LIBS
 
703
INTROSPECTION_CFLAGS
 
704
INTROSPECTION_TYPELIBDIR
 
705
INTROSPECTION_GIRDIR
 
706
INTROSPECTION_GENERATE
 
707
INTROSPECTION_COMPILER
 
708
INTROSPECTION_SCANNER
 
709
GLIB_MKENUMS
 
710
GLIB_GENMARSHAL
 
711
CHEESE_GTK_LIBS
 
712
CHEESE_GTK_CFLAGS
 
713
CHEESE_LIBS
 
714
CHEESE_CFLAGS
 
715
HAVE_XTEST_FALSE
 
716
HAVE_XTEST_TRUE
 
717
XTEST_LIBS
 
718
OS_LINUX
 
719
UDEV_LIBS
 
720
UDEV_CFLAGS
 
721
PKG_CONFIG_LIBDIR
 
722
PKG_CONFIG_PATH
 
723
PKG_CONFIG
780
724
DATADIRNAME
781
725
ALL_LINGUAS
782
726
INTLTOOL_PERL
783
 
GMSGFMT
784
 
MSGFMT
785
 
MSGMERGE
786
 
XGETTEXT
787
727
INTLTOOL_POLICY_RULE
788
728
INTLTOOL_SERVICE_RULE
789
729
INTLTOOL_THEME_RULE
806
746
INTLTOOL_EXTRACT
807
747
INTLTOOL_MERGE
808
748
INTLTOOL_UPDATE
 
749
GETTEXT_PACKAGE
 
750
POSUB
 
751
LTLIBINTL
 
752
LIBINTL
 
753
INTLLIBS
 
754
LTLIBICONV
 
755
LIBICONV
 
756
INTL_MACOSX_LIBS
 
757
XGETTEXT_EXTRA_OPTIONS
 
758
MSGMERGE
 
759
XGETTEXT_015
 
760
XGETTEXT
 
761
GMSGFMT_015
 
762
MSGFMT_015
 
763
GMSGFMT
 
764
MSGFMT
 
765
GETTEXT_MACRO_VERSION
809
766
USE_NLS
810
 
GETTEXT_PACKAGE
811
767
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
 
768
LIBCHEESE_GTK_LT_VERSION
 
769
LIBCHEESE_LT_VERSION
828
770
WARN_CFLAGS
829
771
DISABLE_DEPRECATED
830
772
OTOOL64
832
774
LIPO
833
775
NMEDIT
834
776
DSYMUTIL
835
 
lt_ECHO
 
777
MANIFEST_TOOL
836
778
RANLIB
 
779
ac_ct_AR
837
780
AR
 
781
DLLTOOL
838
782
OBJDUMP
839
783
LN_S
840
784
NM
852
796
build_cpu
853
797
build
854
798
LIBTOOL
 
799
VALAC
855
800
EGREP
856
801
GREP
857
802
CPP
871
816
LDFLAGS
872
817
CFLAGS
873
818
CC
874
 
ACLOCAL_AMFLAGS
875
819
MAINT
876
820
MAINTAINER_MODE_FALSE
877
821
MAINTAINER_MODE_TRUE
878
 
AM_BACKSLASH
879
 
AM_DEFAULT_VERBOSITY
880
822
am__untar
881
823
am__tar
882
824
AMTAR
941
883
ac_subst_files=''
942
884
ac_user_opts='
943
885
enable_option_checking
944
 
enable_silent_rules
945
886
enable_maintainer_mode
946
887
enable_dependency_tracking
947
888
enable_shared
949
890
with_pic
950
891
enable_fast_install
951
892
with_gnu_ld
 
893
with_sysroot
952
894
enable_libtool_lock
953
895
enable_compile_warnings
954
896
enable_iso_c
 
897
enable_nls
 
898
enable_rpath
 
899
with_libiconv_prefix
 
900
with_libintl_prefix
 
901
enable_introspection
955
902
with_html_dir
956
903
enable_gtk_doc
957
904
enable_gtk_doc_html
958
905
enable_gtk_doc_pdf
959
 
enable_nls
960
906
with_help_dir
961
907
with_omf_dir
962
908
with_help_formats
963
909
enable_scrollkeeper
964
 
with_gconf_source
965
 
with_gconf_schema_file_dir
966
 
enable_schemas_install
 
910
enable_schemas_compile
967
911
'
968
912
      ac_precious_vars='build_alias
969
913
host_alias
975
919
CPPFLAGS
976
920
CPP
977
921
PKG_CONFIG
 
922
PKG_CONFIG_PATH
 
923
PKG_CONFIG_LIBDIR
978
924
UDEV_CFLAGS
979
925
UDEV_LIBS
980
926
CHEESE_CFLAGS
981
 
CHEESE_LIBS'
 
927
CHEESE_LIBS
 
928
CHEESE_GTK_CFLAGS
 
929
CHEESE_GTK_LIBS'
982
930
 
983
931
 
984
932
# Initialize some variables set by options.
1041
989
  fi
1042
990
 
1043
991
  case $ac_option in
1044
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1045
 
  *)    ac_optarg=yes ;;
 
992
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
993
  *=)   ac_optarg= ;;
 
994
  *)    ac_optarg=yes ;;
1046
995
  esac
1047
996
 
1048
997
  # Accept the important Cygnus configure options, so we can diagnose typos.
1087
1036
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1088
1037
    # Reject names that are not valid shell variable names.
1089
1038
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1090
 
      as_fn_error "invalid feature name: $ac_useropt"
 
1039
      as_fn_error $? "invalid feature name: $ac_useropt"
1091
1040
    ac_useropt_orig=$ac_useropt
1092
1041
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1093
1042
    case $ac_user_opts in
1113
1062
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1114
1063
    # Reject names that are not valid shell variable names.
1115
1064
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1116
 
      as_fn_error "invalid feature name: $ac_useropt"
 
1065
      as_fn_error $? "invalid feature name: $ac_useropt"
1117
1066
    ac_useropt_orig=$ac_useropt
1118
1067
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1119
1068
    case $ac_user_opts in
1317
1266
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1318
1267
    # Reject names that are not valid shell variable names.
1319
1268
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1320
 
      as_fn_error "invalid package name: $ac_useropt"
 
1269
      as_fn_error $? "invalid package name: $ac_useropt"
1321
1270
    ac_useropt_orig=$ac_useropt
1322
1271
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1323
1272
    case $ac_user_opts in
1333
1282
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1334
1283
    # Reject names that are not valid shell variable names.
1335
1284
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1336
 
      as_fn_error "invalid package name: $ac_useropt"
 
1285
      as_fn_error $? "invalid package name: $ac_useropt"
1337
1286
    ac_useropt_orig=$ac_useropt
1338
1287
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1339
1288
    case $ac_user_opts in
1363
1312
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1364
1313
    x_libraries=$ac_optarg ;;
1365
1314
 
1366
 
  -*) as_fn_error "unrecognized option: \`$ac_option'
1367
 
Try \`$0 --help' for more information."
 
1315
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1316
Try \`$0 --help' for more information"
1368
1317
    ;;
1369
1318
 
1370
1319
  *=*)
1372
1321
    # Reject names that are not valid shell variable names.
1373
1322
    case $ac_envvar in #(
1374
1323
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1375
 
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1324
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1376
1325
    esac
1377
1326
    eval $ac_envvar=\$ac_optarg
1378
1327
    export $ac_envvar ;;
1390
1339
 
1391
1340
if test -n "$ac_prev"; then
1392
1341
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1393
 
  as_fn_error "missing argument to $ac_option"
 
1342
  as_fn_error $? "missing argument to $ac_option"
1394
1343
fi
1395
1344
 
1396
1345
if test -n "$ac_unrecognized_opts"; then
1397
1346
  case $enable_option_checking in
1398
1347
    no) ;;
1399
 
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
 
1348
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1400
1349
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1401
1350
  esac
1402
1351
fi
1419
1368
    [\\/$]* | ?:[\\/]* )  continue;;
1420
1369
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1421
1370
  esac
1422
 
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
 
1371
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1423
1372
done
1424
1373
 
1425
1374
# There might be people who depend on the old broken behavior: `$host'
1433
1382
if test "x$host_alias" != x; then
1434
1383
  if test "x$build_alias" = x; then
1435
1384
    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
 
1385
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 
1386
    If a cross compiler is detected then cross compile mode will be used" >&2
1438
1387
  elif test "x$build_alias" != "x$host_alias"; then
1439
1388
    cross_compiling=yes
1440
1389
  fi
1449
1398
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1450
1399
ac_ls_di=`ls -di .` &&
1451
1400
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1452
 
  as_fn_error "working directory cannot be determined"
 
1401
  as_fn_error $? "working directory cannot be determined"
1453
1402
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1454
 
  as_fn_error "pwd does not report name of working directory"
 
1403
  as_fn_error $? "pwd does not report name of working directory"
1455
1404
 
1456
1405
 
1457
1406
# Find the source files, if location was not specified.
1490
1439
fi
1491
1440
if test ! -r "$srcdir/$ac_unique_file"; then
1492
1441
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1493
 
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
 
1442
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1494
1443
fi
1495
1444
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1496
1445
ac_abs_confdir=`(
1497
 
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
 
1446
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1498
1447
        pwd)`
1499
1448
# When building in place, set srcdir=.
1500
1449
if test "$ac_abs_confdir" = "$ac_pwd"; then
1520
1469
  # Omit some internal or obsolete options to make the list less imposing.
1521
1470
  # This message is too long to be a string in the A/UX 3.1 sh.
1522
1471
  cat <<_ACEOF
1523
 
\`configure' configures cheese 2.30.1 to adapt to many kinds of systems.
 
1472
\`configure' configures cheese 3.0.1 to adapt to many kinds of systems.
1524
1473
 
1525
1474
Usage: $0 [OPTION]... [VAR=VALUE]...
1526
1475
 
1534
1483
      --help=short        display options specific to this package
1535
1484
      --help=recursive    display the short help of all the included packages
1536
1485
  -V, --version           display version information and exit
1537
 
  -q, --quiet, --silent   do not print \`checking...' messages
 
1486
  -q, --quiet, --silent   do not print \`checking ...' messages
1538
1487
      --cache-file=FILE   cache test results in FILE [disabled]
1539
1488
  -C, --config-cache      alias for \`--cache-file=config.cache'
1540
1489
  -n, --no-create         do not create output files
1590
1539
 
1591
1540
if test -n "$ac_init_help"; then
1592
1541
  case $ac_init_help in
1593
 
     short | recursive ) echo "Configuration of cheese 2.30.1:";;
 
1542
     short | recursive ) echo "Configuration of cheese 3.0.1:";;
1594
1543
   esac
1595
1544
  cat <<\_ACEOF
1596
1545
 
1598
1547
  --disable-option-checking  ignore unrecognized --enable/--with options
1599
1548
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1600
1549
  --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
 
1550
  --disable-maintainer-mode  disable make rules and dependencies not useful
1604
1551
                          (and sometimes confusing) to the casual installer
1605
1552
  --disable-dependency-tracking  speeds up one-time build
1606
1553
  --enable-dependency-tracking   do not reject slow dependency extractors
1612
1559
  --enable-compile-warnings=[no/minimum/yes/maximum/error]
1613
1560
                          Turn on compiler warnings
1614
1561
  --enable-iso-c          Try to warn if code is not ISO C
 
1562
  --disable-nls           do not use Native Language Support
 
1563
  --disable-rpath         do not hardcode runtime library paths
 
1564
  --enable-introspection=[no/auto/yes]
 
1565
                          Enable introspection for this build
1615
1566
  --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
1616
1567
  --enable-gtk-doc-html   build documentation in html format [[default=yes]]
1617
1568
  --enable-gtk-doc-pdf    build documentation in pdf format [[default=no]]
1618
 
  --disable-nls           do not use Native Language Support
1619
1569
  --disable-scrollkeeper  do not make updates to the scrollkeeper database
1620
 
  --disable-schemas-install
1621
 
                          Disable the schemas installation
 
1570
  --disable-schemas-compile
 
1571
                          Disable regeneration of gschemas.compiled on install
1622
1572
 
1623
1573
Optional Packages:
1624
1574
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1626
1576
  --with-pic              try to use only PIC/non-PIC objects [default=use
1627
1577
                          both]
1628
1578
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1579
  --with-sysroot=DIR Search for dependent libraries within DIR
 
1580
                        (or the compiler's sysroot if not specified).
 
1581
  --with-gnu-ld           assume the C compiler uses GNU ld default=no
 
1582
  --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
 
1583
  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
 
1584
  --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
 
1585
  --without-libintl-prefix     don't search for libintl in includedir and libdir
1629
1586
  --with-html-dir=PATH    path to installed docs
1630
1587
  --with-help-dir=DIR     path to help docs
1631
1588
  --with-omf-dir=DIR      path to OMF files
1632
1589
  --with-help-formats=FORMATS
1633
1590
                          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
1591
 
1639
1592
Some influential environment variables:
1640
1593
  CC          C compiler command
1646
1599
              you have headers in a nonstandard directory <include dir>
1647
1600
  CPP         C preprocessor
1648
1601
  PKG_CONFIG  path to pkg-config utility
 
1602
  PKG_CONFIG_PATH
 
1603
              directories to add to pkg-config's search path
 
1604
  PKG_CONFIG_LIBDIR
 
1605
              path overriding pkg-config's built-in search path
1649
1606
  UDEV_CFLAGS C compiler flags for UDEV, overriding pkg-config
1650
1607
  UDEV_LIBS   linker flags for UDEV, overriding pkg-config
1651
1608
  CHEESE_CFLAGS
1652
1609
              C compiler flags for CHEESE, overriding pkg-config
1653
1610
  CHEESE_LIBS linker flags for CHEESE, overriding pkg-config
 
1611
  CHEESE_GTK_CFLAGS
 
1612
              C compiler flags for CHEESE_GTK, overriding pkg-config
 
1613
  CHEESE_GTK_LIBS
 
1614
              linker flags for CHEESE_GTK, overriding pkg-config
1654
1615
 
1655
1616
Use these variables to override the choices made by `configure' or to help
1656
1617
it to find libraries and programs with nonstandard names/locations.
1657
1618
 
1658
 
Report bugs to the package provider.
 
1619
Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=cheese>.
 
1620
cheese home page: <http://projects.gnome.org/cheese/>.
1659
1621
_ACEOF
1660
1622
ac_status=$?
1661
1623
fi
1718
1680
test -n "$ac_init_help" && exit $ac_status
1719
1681
if $ac_init_version; then
1720
1682
  cat <<\_ACEOF
1721
 
cheese configure 2.30.1
1722
 
generated by GNU Autoconf 2.65
 
1683
cheese configure 3.0.1
 
1684
generated by GNU Autoconf 2.67
1723
1685
 
1724
 
Copyright (C) 2009 Free Software Foundation, Inc.
 
1686
Copyright (C) 2010 Free Software Foundation, Inc.
1725
1687
This configure script is free software; the Free Software Foundation
1726
1688
gives unlimited permission to copy, distribute and modify it.
1727
1689
_ACEOF
1770
1732
 
1771
1733
} # ac_fn_c_try_compile
1772
1734
 
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
1735
# ac_fn_c_try_cpp LINENO
1820
1736
# ----------------------
1821
1737
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1837
1753
    mv -f conftest.er1 conftest.err
1838
1754
  fi
1839
1755
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1840
 
  test $ac_status = 0; } >/dev/null && {
 
1756
  test $ac_status = 0; } > conftest.i && {
1841
1757
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1842
1758
         test ! -s conftest.err
1843
1759
       }; then :
1895
1811
 
1896
1812
} # ac_fn_c_try_run
1897
1813
 
 
1814
# ac_fn_c_try_link LINENO
 
1815
# -----------------------
 
1816
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1817
ac_fn_c_try_link ()
 
1818
{
 
1819
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1820
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1821
  if { { ac_try="$ac_link"
 
1822
case "(($ac_try" in
 
1823
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1824
  *) ac_try_echo=$ac_try;;
 
1825
esac
 
1826
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1827
$as_echo "$ac_try_echo"; } >&5
 
1828
  (eval "$ac_link") 2>conftest.err
 
1829
  ac_status=$?
 
1830
  if test -s conftest.err; then
 
1831
    grep -v '^ *+' conftest.err >conftest.er1
 
1832
    cat conftest.er1 >&5
 
1833
    mv -f conftest.er1 conftest.err
 
1834
  fi
 
1835
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1836
  test $ac_status = 0; } && {
 
1837
         test -z "$ac_c_werror_flag" ||
 
1838
         test ! -s conftest.err
 
1839
       } && test -s conftest$ac_exeext && {
 
1840
         test "$cross_compiling" = yes ||
 
1841
         $as_test_x conftest$ac_exeext
 
1842
       }; then :
 
1843
  ac_retval=0
 
1844
else
 
1845
  $as_echo "$as_me: failed program was:" >&5
 
1846
sed 's/^/| /' conftest.$ac_ext >&5
 
1847
 
 
1848
        ac_retval=1
 
1849
fi
 
1850
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1851
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1852
  # interfere with the next link command; also delete a directory that is
 
1853
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1854
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1855
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1856
  as_fn_set_status $ac_retval
 
1857
 
 
1858
} # ac_fn_c_try_link
 
1859
 
1898
1860
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1899
1861
# -------------------------------------------------------
1900
1862
# Tests whether HEADER exists and can be compiled using the include files in
1904
1866
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1905
1867
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1906
1868
$as_echo_n "checking for $2... " >&6; }
1907
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1869
if eval "test \"\${$3+set}\"" = set; then :
1908
1870
  $as_echo_n "(cached) " >&6
1909
1871
else
1910
1872
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1934
1896
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1935
1897
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1936
1898
$as_echo_n "checking for $2... " >&6; }
1937
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1899
if eval "test \"\${$3+set}\"" = set; then :
1938
1900
  $as_echo_n "(cached) " >&6
1939
1901
else
1940
1902
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2001
1963
ac_fn_c_check_header_mongrel ()
2002
1964
{
2003
1965
  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 :
 
1966
  if eval "test \"\${$3+set}\"" = set; then :
2005
1967
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2006
1968
$as_echo_n "checking for $2... " >&6; }
2007
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1969
if eval "test \"\${$3+set}\"" = set; then :
2008
1970
  $as_echo_n "(cached) " >&6
2009
1971
fi
2010
1972
eval ac_res=\$$3
2040
2002
else
2041
2003
  ac_header_preproc=no
2042
2004
fi
2043
 
rm -f conftest.err conftest.$ac_ext
 
2005
rm -f conftest.err conftest.i conftest.$ac_ext
2044
2006
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2045
2007
$as_echo "$ac_header_preproc" >&6; }
2046
2008
 
2063
2025
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2064
2026
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2065
2027
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2028
( $as_echo "## --------------------------------------------------------------------- ##
 
2029
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=cheese ##
 
2030
## --------------------------------------------------------------------- ##"
 
2031
     ) | sed "s/^/$as_me: WARNING:     /" >&2
2066
2032
    ;;
2067
2033
esac
2068
2034
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2069
2035
$as_echo_n "checking for $2... " >&6; }
2070
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2036
if eval "test \"\${$3+set}\"" = set; then :
2071
2037
  $as_echo_n "(cached) " >&6
2072
2038
else
2073
2039
  eval "$3=\$ac_header_compiler"
2083
2049
This file contains any messages produced by compilers while
2084
2050
running configure, to aid debugging if configure makes a mistake.
2085
2051
 
2086
 
It was created by cheese $as_me 2.30.1, which was
2087
 
generated by GNU Autoconf 2.65.  Invocation command line was
 
2052
It was created by cheese $as_me 3.0.1, which was
 
2053
generated by GNU Autoconf 2.67.  Invocation command line was
2088
2054
 
2089
2055
  $ $0 $@
2090
2056
 
2194
2160
  {
2195
2161
    echo
2196
2162
 
2197
 
    cat <<\_ASBOX
2198
 
## ---------------- ##
 
2163
    $as_echo "## ---------------- ##
2199
2164
## Cache variables. ##
2200
 
## ---------------- ##
2201
 
_ASBOX
 
2165
## ---------------- ##"
2202
2166
    echo
2203
2167
    # The following way of writing the cache mishandles newlines in values,
2204
2168
(
2232
2196
)
2233
2197
    echo
2234
2198
 
2235
 
    cat <<\_ASBOX
2236
 
## ----------------- ##
 
2199
    $as_echo "## ----------------- ##
2237
2200
## Output variables. ##
2238
 
## ----------------- ##
2239
 
_ASBOX
 
2201
## ----------------- ##"
2240
2202
    echo
2241
2203
    for ac_var in $ac_subst_vars
2242
2204
    do
2249
2211
    echo
2250
2212
 
2251
2213
    if test -n "$ac_subst_files"; then
2252
 
      cat <<\_ASBOX
2253
 
## ------------------- ##
 
2214
      $as_echo "## ------------------- ##
2254
2215
## File substitutions. ##
2255
 
## ------------------- ##
2256
 
_ASBOX
 
2216
## ------------------- ##"
2257
2217
      echo
2258
2218
      for ac_var in $ac_subst_files
2259
2219
      do
2267
2227
    fi
2268
2228
 
2269
2229
    if test -s confdefs.h; then
2270
 
      cat <<\_ASBOX
2271
 
## ----------- ##
 
2230
      $as_echo "## ----------- ##
2272
2231
## confdefs.h. ##
2273
 
## ----------- ##
2274
 
_ASBOX
 
2232
## ----------- ##"
2275
2233
      echo
2276
2234
      cat confdefs.h
2277
2235
      echo
2326
2284
ac_site_file1=NONE
2327
2285
ac_site_file2=NONE
2328
2286
if test -n "$CONFIG_SITE"; then
2329
 
  ac_site_file1=$CONFIG_SITE
 
2287
  # We do not want a PATH search for config.site.
 
2288
  case $CONFIG_SITE in #((
 
2289
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
2290
    */*) ac_site_file1=$CONFIG_SITE;;
 
2291
    *)   ac_site_file1=./$CONFIG_SITE;;
 
2292
  esac
2330
2293
elif test "x$prefix" != xNONE; then
2331
2294
  ac_site_file1=$prefix/share/config.site
2332
2295
  ac_site_file2=$prefix/etc/config.site
2341
2304
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2342
2305
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2343
2306
    sed 's/^/| /' "$ac_site_file" >&5
2344
 
    . "$ac_site_file"
 
2307
    . "$ac_site_file" \
 
2308
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2309
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2310
as_fn_error $? "failed to load site script $ac_site_file
 
2311
See \`config.log' for more details" "$LINENO" 5 ; }
2345
2312
  fi
2346
2313
done
2347
2314
 
2362
2329
  >$cache_file
2363
2330
fi
2364
2331
 
 
2332
gt_needs="$gt_needs "
2365
2333
# Check that the precious variables saved in the cache have kept the same
2366
2334
# value.
2367
2335
ac_cache_corrupted=false
2417
2385
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2418
2386
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2419
2387
$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
 
2388
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2421
2389
fi
2422
2390
## -------------------- ##
2423
2391
## Main body of script. ##
2431
2399
 
2432
2400
 
2433
2401
 
 
2402
ac_config_headers="$ac_config_headers cheese-config.h"
 
2403
 
 
2404
 
 
2405
 
 
2406
 
2434
2407
am__api_version='1.11'
2435
2408
 
2436
2409
ac_aux_dir=
2437
2410
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
 
2411
  if test -f "$ac_dir/install-sh"; then
 
2412
    ac_aux_dir=$ac_dir
 
2413
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
2414
    break
 
2415
  elif test -f "$ac_dir/install.sh"; then
 
2416
    ac_aux_dir=$ac_dir
 
2417
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
2418
    break
 
2419
  elif test -f "$ac_dir/shtool"; then
 
2420
    ac_aux_dir=$ac_dir
 
2421
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
2422
    break
 
2423
  fi
2445
2424
done
2446
2425
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
 
2426
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2448
2427
fi
2449
2428
 
2450
2429
# These three variables are undocumented and unsupported,
2560
2539
'
2561
2540
case `pwd` in
2562
2541
  *[\\\"\#\$\&\'\`$am_lf]*)
2563
 
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
 
2542
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2564
2543
esac
2565
2544
case $srcdir in
2566
2545
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2567
 
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2546
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2568
2547
esac
2569
2548
 
2570
2549
# Do `set' in a subshell so we don't clobber the current shell's
2586
2565
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2587
2566
      # broken ls alias from the environment.  This has actually
2588
2567
      # 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
 
2568
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2590
2569
alias in your environment" "$LINENO" 5
2591
2570
   fi
2592
2571
 
2596
2575
   # Ok.
2597
2576
   :
2598
2577
else
2599
 
   as_fn_error "newly created file is older than distributed files!
 
2578
   as_fn_error $? "newly created file is older than distributed files!
2600
2579
Check your system clock" "$LINENO" 5
2601
2580
fi
2602
2581
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2834
2813
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2835
2814
set x ${MAKE-make}
2836
2815
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 :
 
2816
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2838
2817
  $as_echo_n "(cached) " >&6
2839
2818
else
2840
2819
  cat >conftest.make <<\_ACEOF
2842
2821
all:
2843
2822
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2844
2823
_ACEOF
2845
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
2824
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2846
2825
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2847
2826
  *@@@%%%=?*=@@@%%%*)
2848
2827
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2876
2855
  am__isrc=' -I$(srcdir)'
2877
2856
  # test to see if srcdir already configured
2878
2857
  if test -f $srcdir/config.status; then
2879
 
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
2858
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2880
2859
  fi
2881
2860
fi
2882
2861
 
2891
2870
 
2892
2871
 
2893
2872
# Define the identity of the package.
2894
 
 PACKAGE=cheese
2895
 
 VERSION=2.30.1
 
2873
 PACKAGE='cheese'
 
2874
 VERSION='3.0.1'
2896
2875
 
2897
2876
 
2898
2877
cat >>confdefs.h <<_ACEOF
2932
2911
 
2933
2912
 
2934
2913
 
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; }
 
2914
 
 
2915
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable maintainer-specific portions of Makefiles" >&5
 
2916
$as_echo_n "checking whether to disable maintainer-specific portions of Makefiles... " >&6; }
2952
2917
    # Check whether --enable-maintainer-mode was given.
2953
2918
if test "${enable_maintainer_mode+set}" = set; then :
2954
2919
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2955
2920
else
2956
 
  USE_MAINTAINER_MODE=no
 
2921
  USE_MAINTAINER_MODE=yes
2957
2922
fi
2958
2923
 
2959
2924
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2970
2935
 
2971
2936
 
2972
2937
 
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
 
 
 
2938
# Check for programs
3038
2939
ac_ext=c
3039
2940
ac_cpp='$CPP $CPPFLAGS'
3040
2941
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3335
3236
 
3336
3237
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3337
3238
$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; }
 
3239
as_fn_error $? "no acceptable C compiler found in \$PATH
 
3240
See \`config.log' for more details" "$LINENO" 5 ; }
3340
3241
 
3341
3242
# Provide some information about the compiler.
3342
3243
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3450
3351
 
3451
3352
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3452
3353
$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; }; }
 
3354
as_fn_error 77 "C compiler cannot create executables
 
3355
See \`config.log' for more details" "$LINENO" 5 ; }
3456
3356
else
3457
3357
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3458
3358
$as_echo "yes" >&6; }
3494
3394
else
3495
3395
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3496
3396
$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; }
 
3397
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 
3398
See \`config.log' for more details" "$LINENO" 5 ; }
3499
3399
fi
3500
3400
rm -f conftest conftest$ac_cv_exeext
3501
3401
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3552
3452
    else
3553
3453
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3554
3454
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3555
 
as_fn_error "cannot run C compiled programs.
 
3455
as_fn_error $? "cannot run C compiled programs.
3556
3456
If you meant to cross compile, use \`--host'.
3557
 
See \`config.log' for more details." "$LINENO" 5; }
 
3457
See \`config.log' for more details" "$LINENO" 5 ; }
3558
3458
    fi
3559
3459
  fi
3560
3460
fi
3605
3505
 
3606
3506
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3607
3507
$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; }
 
3508
as_fn_error $? "cannot compute suffix of object files: cannot compile
 
3509
See \`config.log' for more details" "$LINENO" 5 ; }
3610
3510
fi
3611
3511
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3612
3512
fi
3825
3725
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3826
3726
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3827
3727
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; }
 
3728
DEPDIR="${am__leading_dot}deps"
 
3729
 
 
3730
ac_config_commands="$ac_config_commands depfiles"
 
3731
 
 
3732
 
 
3733
am_make=${MAKE-make}
 
3734
cat > confinc << 'END'
 
3735
am__doit:
 
3736
        @echo this is the am__doit target
 
3737
.PHONY: am__doit
 
3738
END
 
3739
# If we don't find an include directive, just comment out the code.
 
3740
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 
3741
$as_echo_n "checking for style of include used by $am_make... " >&6; }
 
3742
am__include="#"
 
3743
am__quote=
 
3744
_am_result=none
 
3745
# First try GNU make style include.
 
3746
echo "include confinc" > confmf
 
3747
# Ignore all kinds of additional output from `make'.
 
3748
case `$am_make -s -f confmf 2> /dev/null` in #(
 
3749
*the\ am__doit\ target*)
 
3750
  am__include=include
 
3751
  am__quote=
 
3752
  _am_result=GNU
 
3753
  ;;
 
3754
esac
 
3755
# Now try BSD make style include.
 
3756
if test "$am__include" = "#"; then
 
3757
   echo '.include "confinc"' > confmf
 
3758
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
3759
   *the\ am__doit\ target*)
 
3760
     am__include=.include
 
3761
     am__quote="\""
 
3762
     _am_result=BSD
 
3763
     ;;
 
3764
   esac
 
3765
fi
 
3766
 
 
3767
 
 
3768
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 
3769
$as_echo "$_am_result" >&6; }
 
3770
rm -f confinc confmf
 
3771
 
 
3772
# Check whether --enable-dependency-tracking was given.
 
3773
if test "${enable_dependency_tracking+set}" = set; then :
 
3774
  enableval=$enable_dependency_tracking;
 
3775
fi
 
3776
 
 
3777
if test "x$enable_dependency_tracking" != xno; then
 
3778
  am_depcomp="$ac_aux_dir/depcomp"
 
3779
  AMDEPBACKSLASH='\'
 
3780
fi
 
3781
 if test "x$enable_dependency_tracking" != xno; then
 
3782
  AMDEP_TRUE=
 
3783
  AMDEP_FALSE='#'
 
3784
else
 
3785
  AMDEP_TRUE='#'
 
3786
  AMDEP_FALSE=
 
3787
fi
 
3788
 
 
3789
 
 
3790
 
 
3791
depcc="$CC"   am_compiler_list=
 
3792
 
 
3793
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
3794
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
3795
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
3796
  $as_echo_n "(cached) " >&6
 
3797
else
 
3798
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
3799
  # We make a subdir and do the tests there.  Otherwise we can end up
 
3800
  # making bogus files that we don't know about and never remove.  For
 
3801
  # instance it was reported that on HP-UX the gcc test will end up
 
3802
  # making a dummy file named `D' -- because `-MD' means `put the output
 
3803
  # in D'.
 
3804
  mkdir conftest.dir
 
3805
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
3806
  # using a relative directory.
 
3807
  cp "$am_depcomp" conftest.dir
 
3808
  cd conftest.dir
 
3809
  # We will build objects and dependencies in a subdirectory because
 
3810
  # it helps to detect inapplicable dependency modes.  For instance
 
3811
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
3812
  # side effect of compilation, but ICC will put the dependencies in
 
3813
  # the current directory while Tru64 will put them in the object
 
3814
  # directory.
 
3815
  mkdir sub
 
3816
 
 
3817
  am_cv_CC_dependencies_compiler_type=none
 
3818
  if test "$am_compiler_list" = ""; then
 
3819
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
3820
  fi
 
3821
  am__universal=false
 
3822
  case " $depcc " in #(
 
3823
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
3824
     esac
 
3825
 
 
3826
  for depmode in $am_compiler_list; do
 
3827
    # Setup a source with many dependencies, because some compilers
 
3828
    # like to wrap large dependency lists on column 80 (with \), and
 
3829
    # we should not choose a depcomp mode which is confused by this.
 
3830
    #
 
3831
    # We need to recreate these files for each test, as the compiler may
 
3832
    # overwrite some of them when testing with obscure command lines.
 
3833
    # This happens at least with the AIX C compiler.
 
3834
    : > sub/conftest.c
 
3835
    for i in 1 2 3 4 5 6; do
 
3836
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
3837
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
3838
      # Solaris 8's {/usr,}/bin/sh.
 
3839
      touch sub/conftst$i.h
 
3840
    done
 
3841
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
3842
 
 
3843
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
3844
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
3845
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
3846
    # versions had trouble with output in subdirs
 
3847
    am__obj=sub/conftest.${OBJEXT-o}
 
3848
    am__minus_obj="-o $am__obj"
 
3849
    case $depmode in
 
3850
    gcc)
 
3851
      # This depmode causes a compiler race in universal mode.
 
3852
      test "$am__universal" = false || continue
 
3853
      ;;
 
3854
    nosideeffect)
 
3855
      # after this tag, mechanisms are not by side-effect, so they'll
 
3856
      # only be used when explicitly requested
 
3857
      if test "x$enable_dependency_tracking" = xyes; then
 
3858
        continue
 
3859
      else
 
3860
        break
 
3861
      fi
 
3862
      ;;
 
3863
    msvisualcpp | msvcmsys)
 
3864
      # This compiler won't grok `-c -o', but also, the minuso test has
 
3865
      # not run yet.  These depmodes are late enough in the game, and
 
3866
      # so weak that their functioning should not be impacted.
 
3867
      am__obj=conftest.${OBJEXT-o}
 
3868
      am__minus_obj=
 
3869
      ;;
 
3870
    none) break ;;
 
3871
    esac
 
3872
    if depmode=$depmode \
 
3873
       source=sub/conftest.c object=$am__obj \
 
3874
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
3875
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
3876
         >/dev/null 2>conftest.err &&
 
3877
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
3878
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
3879
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
3880
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
3881
      # icc doesn't choke on unknown options, it will just issue warnings
 
3882
      # or remarks (even with -Werror).  So we grep stderr for any message
 
3883
      # that says an option was ignored or not supported.
 
3884
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
3885
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
3886
      # The diagnosis changed in icc 8.0:
 
3887
      #   icc: Command line remark: option '-MP' not supported
 
3888
      if (grep 'ignoring option' conftest.err ||
 
3889
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
3890
        am_cv_CC_dependencies_compiler_type=$depmode
 
3891
        break
 
3892
      fi
 
3893
    fi
 
3894
  done
 
3895
 
 
3896
  cd ..
 
3897
  rm -rf conftest.dir
 
3898
else
 
3899
  am_cv_CC_dependencies_compiler_type=none
 
3900
fi
 
3901
 
 
3902
fi
 
3903
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3904
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 
3905
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
3906
 
 
3907
 if
 
3908
  test "x$enable_dependency_tracking" != xno \
 
3909
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
3910
  am__fastdepCC_TRUE=
 
3911
  am__fastdepCC_FALSE='#'
 
3912
else
 
3913
  am__fastdepCC_TRUE='#'
 
3914
  am__fastdepCC_FALSE=
 
3915
fi
 
3916
 
 
3917
 
 
3918
ac_ext=c
 
3919
ac_cpp='$CPP $CPPFLAGS'
 
3920
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3921
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3922
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3923
if test -n "$ac_tool_prefix"; then
 
3924
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
3925
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
3926
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3927
$as_echo_n "checking for $ac_word... " >&6; }
 
3928
if test "${ac_cv_prog_CC+set}" = set; then :
 
3929
  $as_echo_n "(cached) " >&6
 
3930
else
 
3931
  if test -n "$CC"; then
 
3932
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3933
else
 
3934
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3935
for as_dir in $PATH
 
3936
do
 
3937
  IFS=$as_save_IFS
 
3938
  test -z "$as_dir" && as_dir=.
 
3939
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3940
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3941
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
3942
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3943
    break 2
 
3944
  fi
 
3945
done
 
3946
  done
 
3947
IFS=$as_save_IFS
 
3948
 
 
3949
fi
 
3950
fi
 
3951
CC=$ac_cv_prog_CC
 
3952
if test -n "$CC"; then
 
3953
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3954
$as_echo "$CC" >&6; }
 
3955
else
 
3956
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3957
$as_echo "no" >&6; }
 
3958
fi
 
3959
 
 
3960
 
 
3961
fi
 
3962
if test -z "$ac_cv_prog_CC"; then
 
3963
  ac_ct_CC=$CC
 
3964
  # Extract the first word of "gcc", so it can be a program name with args.
 
3965
set dummy gcc; ac_word=$2
 
3966
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3967
$as_echo_n "checking for $ac_word... " >&6; }
 
3968
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3969
  $as_echo_n "(cached) " >&6
 
3970
else
 
3971
  if test -n "$ac_ct_CC"; then
 
3972
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
3973
else
 
3974
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3975
for as_dir in $PATH
 
3976
do
 
3977
  IFS=$as_save_IFS
 
3978
  test -z "$as_dir" && as_dir=.
 
3979
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3980
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3981
    ac_cv_prog_ac_ct_CC="gcc"
 
3982
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3983
    break 2
 
3984
  fi
 
3985
done
 
3986
  done
 
3987
IFS=$as_save_IFS
 
3988
 
 
3989
fi
 
3990
fi
 
3991
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
3992
if test -n "$ac_ct_CC"; then
 
3993
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3994
$as_echo "$ac_ct_CC" >&6; }
 
3995
else
 
3996
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3997
$as_echo "no" >&6; }
 
3998
fi
 
3999
 
 
4000
  if test "x$ac_ct_CC" = x; then
 
4001
    CC=""
 
4002
  else
 
4003
    case $cross_compiling:$ac_tool_warned in
 
4004
yes:)
 
4005
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4006
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4007
ac_tool_warned=yes ;;
 
4008
esac
 
4009
    CC=$ac_ct_CC
 
4010
  fi
 
4011
else
 
4012
  CC="$ac_cv_prog_CC"
 
4013
fi
 
4014
 
 
4015
if test -z "$CC"; then
 
4016
          if test -n "$ac_tool_prefix"; then
 
4017
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
4018
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
4019
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4020
$as_echo_n "checking for $ac_word... " >&6; }
 
4021
if test "${ac_cv_prog_CC+set}" = set; then :
 
4022
  $as_echo_n "(cached) " >&6
 
4023
else
 
4024
  if test -n "$CC"; then
 
4025
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
4026
else
 
4027
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4028
for as_dir in $PATH
 
4029
do
 
4030
  IFS=$as_save_IFS
 
4031
  test -z "$as_dir" && as_dir=.
 
4032
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4033
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4034
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
4035
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4036
    break 2
 
4037
  fi
 
4038
done
 
4039
  done
 
4040
IFS=$as_save_IFS
 
4041
 
 
4042
fi
 
4043
fi
 
4044
CC=$ac_cv_prog_CC
 
4045
if test -n "$CC"; then
 
4046
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4047
$as_echo "$CC" >&6; }
 
4048
else
 
4049
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4050
$as_echo "no" >&6; }
 
4051
fi
 
4052
 
 
4053
 
 
4054
  fi
 
4055
fi
 
4056
if test -z "$CC"; then
 
4057
  # Extract the first word of "cc", so it can be a program name with args.
 
4058
set dummy cc; ac_word=$2
 
4059
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4060
$as_echo_n "checking for $ac_word... " >&6; }
 
4061
if test "${ac_cv_prog_CC+set}" = set; then :
 
4062
  $as_echo_n "(cached) " >&6
 
4063
else
 
4064
  if test -n "$CC"; then
 
4065
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
4066
else
 
4067
  ac_prog_rejected=no
 
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
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
4076
       ac_prog_rejected=yes
 
4077
       continue
 
4078
     fi
 
4079
    ac_cv_prog_CC="cc"
 
4080
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4081
    break 2
 
4082
  fi
 
4083
done
 
4084
  done
 
4085
IFS=$as_save_IFS
 
4086
 
 
4087
if test $ac_prog_rejected = yes; then
 
4088
  # We found a bogon in the path, so make sure we never use it.
 
4089
  set dummy $ac_cv_prog_CC
 
4090
  shift
 
4091
  if test $# != 0; then
 
4092
    # We chose a different compiler from the bogus one.
 
4093
    # However, it has the same basename, so the bogon will be chosen
 
4094
    # first if we set CC to just the basename; use the full file name.
 
4095
    shift
 
4096
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
4097
  fi
 
4098
fi
 
4099
fi
 
4100
fi
 
4101
CC=$ac_cv_prog_CC
 
4102
if test -n "$CC"; then
 
4103
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4104
$as_echo "$CC" >&6; }
 
4105
else
 
4106
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4107
$as_echo "no" >&6; }
 
4108
fi
 
4109
 
 
4110
 
 
4111
fi
 
4112
if test -z "$CC"; then
 
4113
  if test -n "$ac_tool_prefix"; then
 
4114
  for ac_prog in cl.exe
 
4115
  do
 
4116
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
4117
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
4118
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4119
$as_echo_n "checking for $ac_word... " >&6; }
 
4120
if test "${ac_cv_prog_CC+set}" = set; then :
 
4121
  $as_echo_n "(cached) " >&6
 
4122
else
 
4123
  if test -n "$CC"; then
 
4124
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
4125
else
 
4126
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4127
for as_dir in $PATH
 
4128
do
 
4129
  IFS=$as_save_IFS
 
4130
  test -z "$as_dir" && as_dir=.
 
4131
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4132
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4133
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
4134
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4135
    break 2
 
4136
  fi
 
4137
done
 
4138
  done
 
4139
IFS=$as_save_IFS
 
4140
 
 
4141
fi
 
4142
fi
 
4143
CC=$ac_cv_prog_CC
 
4144
if test -n "$CC"; then
 
4145
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4146
$as_echo "$CC" >&6; }
 
4147
else
 
4148
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4149
$as_echo "no" >&6; }
 
4150
fi
 
4151
 
 
4152
 
 
4153
    test -n "$CC" && break
 
4154
  done
 
4155
fi
 
4156
if test -z "$CC"; then
 
4157
  ac_ct_CC=$CC
 
4158
  for ac_prog in cl.exe
 
4159
do
 
4160
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
4161
set dummy $ac_prog; ac_word=$2
 
4162
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4163
$as_echo_n "checking for $ac_word... " >&6; }
 
4164
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
4165
  $as_echo_n "(cached) " >&6
 
4166
else
 
4167
  if test -n "$ac_ct_CC"; then
 
4168
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
4169
else
 
4170
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4171
for as_dir in $PATH
 
4172
do
 
4173
  IFS=$as_save_IFS
 
4174
  test -z "$as_dir" && as_dir=.
 
4175
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4176
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4177
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
4178
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4179
    break 2
 
4180
  fi
 
4181
done
 
4182
  done
 
4183
IFS=$as_save_IFS
 
4184
 
 
4185
fi
 
4186
fi
 
4187
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
4188
if test -n "$ac_ct_CC"; then
 
4189
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
4190
$as_echo "$ac_ct_CC" >&6; }
 
4191
else
 
4192
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4193
$as_echo "no" >&6; }
 
4194
fi
 
4195
 
 
4196
 
 
4197
  test -n "$ac_ct_CC" && break
 
4198
done
 
4199
 
 
4200
  if test "x$ac_ct_CC" = x; then
 
4201
    CC=""
 
4202
  else
 
4203
    case $cross_compiling:$ac_tool_warned in
 
4204
yes:)
 
4205
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4206
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4207
ac_tool_warned=yes ;;
 
4208
esac
 
4209
    CC=$ac_ct_CC
 
4210
  fi
 
4211
fi
 
4212
 
 
4213
fi
 
4214
 
 
4215
 
 
4216
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4217
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4218
as_fn_error $? "no acceptable C compiler found in \$PATH
 
4219
See \`config.log' for more details" "$LINENO" 5 ; }
4982
4220
 
4983
4221
# Provide some information about the compiler.
4984
4222
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5347
4585
 
5348
4586
am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
5349
4587
 
 
4588
 
5350
4589
ac_ext=c
5351
4590
ac_cpp='$CPP $CPPFLAGS'
5352
4591
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5389
4628
  # Broken: fails on valid input.
5390
4629
continue
5391
4630
fi
5392
 
rm -f conftest.err conftest.$ac_ext
 
4631
rm -f conftest.err conftest.i conftest.$ac_ext
5393
4632
 
5394
4633
  # OK, works on sane cases.  Now check whether nonexistent headers
5395
4634
  # can be detected and how.
5405
4644
ac_preproc_ok=:
5406
4645
break
5407
4646
fi
5408
 
rm -f conftest.err conftest.$ac_ext
 
4647
rm -f conftest.err conftest.i conftest.$ac_ext
5409
4648
 
5410
4649
done
5411
4650
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5412
 
rm -f conftest.err conftest.$ac_ext
 
4651
rm -f conftest.i conftest.err conftest.$ac_ext
5413
4652
if $ac_preproc_ok; then :
5414
4653
  break
5415
4654
fi
5448
4687
  # Broken: fails on valid input.
5449
4688
continue
5450
4689
fi
5451
 
rm -f conftest.err conftest.$ac_ext
 
4690
rm -f conftest.err conftest.i conftest.$ac_ext
5452
4691
 
5453
4692
  # OK, works on sane cases.  Now check whether nonexistent headers
5454
4693
  # can be detected and how.
5464
4703
ac_preproc_ok=:
5465
4704
break
5466
4705
fi
5467
 
rm -f conftest.err conftest.$ac_ext
 
4706
rm -f conftest.err conftest.i conftest.$ac_ext
5468
4707
 
5469
4708
done
5470
4709
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5471
 
rm -f conftest.err conftest.$ac_ext
 
4710
rm -f conftest.i conftest.err conftest.$ac_ext
5472
4711
if $ac_preproc_ok; then :
5473
4712
 
5474
4713
else
5475
4714
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5476
4715
$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; }
 
4716
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 
4717
See \`config.log' for more details" "$LINENO" 5 ; }
5479
4718
fi
5480
4719
 
5481
4720
ac_ext=c
5536
4775
  done
5537
4776
IFS=$as_save_IFS
5538
4777
  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
 
4778
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5540
4779
  fi
5541
4780
else
5542
4781
  ac_cv_path_GREP=$GREP
5602
4841
  done
5603
4842
IFS=$as_save_IFS
5604
4843
  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
 
4844
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5606
4845
  fi
5607
4846
else
5608
4847
  ac_cv_path_EGREP=$EGREP
5727
4966
 
5728
4967
fi
5729
4968
 
 
4969
# Extract the first word of "valac", so it can be a program name with args.
 
4970
set dummy valac; ac_word=$2
 
4971
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4972
$as_echo_n "checking for $ac_word... " >&6; }
 
4973
if test "${ac_cv_path_VALAC+set}" = set; then :
 
4974
  $as_echo_n "(cached) " >&6
 
4975
else
 
4976
  case $VALAC in
 
4977
  [\\/]* | ?:[\\/]*)
 
4978
  ac_cv_path_VALAC="$VALAC" # Let the user override the test with a path.
 
4979
  ;;
 
4980
  *)
 
4981
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4982
for as_dir in $PATH
 
4983
do
 
4984
  IFS=$as_save_IFS
 
4985
  test -z "$as_dir" && as_dir=.
 
4986
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4987
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4988
    ac_cv_path_VALAC="$as_dir/$ac_word$ac_exec_ext"
 
4989
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4990
    break 2
 
4991
  fi
 
4992
done
 
4993
  done
 
4994
IFS=$as_save_IFS
 
4995
 
 
4996
  ;;
 
4997
esac
 
4998
fi
 
4999
VALAC=$ac_cv_path_VALAC
 
5000
if test -n "$VALAC"; then
 
5001
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALAC" >&5
 
5002
$as_echo "$VALAC" >&6; }
 
5003
else
 
5004
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5005
$as_echo "no" >&6; }
 
5006
fi
 
5007
 
 
5008
 
 
5009
 if test -z "$VALAC"; then :
 
5010
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No Vala compiler found.  You will not be able to compile .vala source files." >&5
 
5011
$as_echo "$as_me: WARNING: No Vala compiler found.  You will not be able to compile .vala source files." >&2;}
 
5012
else
 
5013
  if test -n "0.11.6"; then :
 
5014
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking $VALAC is at least version 0.11.6" >&5
 
5015
$as_echo_n "checking $VALAC is at least version 0.11.6... " >&6; }
 
5016
       am__vala_version=`$VALAC --version | sed 's/Vala  *//'`
 
5017
       as_arg_v1=0.11.6
 
5018
as_arg_v2="$am__vala_version"
 
5019
awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
 
5020
case $? in #(
 
5021
  1) :
 
5022
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
5023
$as_echo "yes" >&6; } ;; #(
 
5024
  0) :
 
5025
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
5026
$as_echo "yes" >&6; } ;; #(
 
5027
  2) :
 
5028
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5029
$as_echo "no" >&6; }
 
5030
          as_fn_error $? "Vala 0.11.6 not found." "$LINENO" 5  ;; #(
 
5031
  *) :
 
5032
     ;;
 
5033
esac
 
5034
fi
 
5035
fi
 
5036
 
 
5037
 
 
5038
# Initialize libtool
 
5039
 
5730
5040
case `pwd` in
5731
5041
  *\ * | *\     *)
5732
5042
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5735
5045
 
5736
5046
 
5737
5047
 
5738
 
macro_version='2.2.6b'
5739
 
macro_revision='1.3017'
 
5048
macro_version='2.4'
 
5049
macro_revision='1.3293'
5740
5050
 
5741
5051
 
5742
5052
 
5754
5064
 
5755
5065
# Make sure we can run config.sub.
5756
5066
$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
 
5067
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5758
5068
 
5759
5069
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5760
5070
$as_echo_n "checking build system type... " >&6; }
5765
5075
test "x$ac_build_alias" = x &&
5766
5076
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5767
5077
test "x$ac_build_alias" = x &&
5768
 
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
 
5078
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5769
5079
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
 
5080
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5771
5081
 
5772
5082
fi
5773
5083
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5774
5084
$as_echo "$ac_cv_build" >&6; }
5775
5085
case $ac_cv_build in
5776
5086
*-*-*) ;;
5777
 
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
 
5087
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
5778
5088
esac
5779
5089
build=$ac_cv_build
5780
5090
ac_save_IFS=$IFS; IFS='-'
5799
5109
  ac_cv_host=$ac_cv_build
5800
5110
else
5801
5111
  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
 
5112
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5803
5113
fi
5804
5114
 
5805
5115
fi
5807
5117
$as_echo "$ac_cv_host" >&6; }
5808
5118
case $ac_cv_host in
5809
5119
*-*-*) ;;
5810
 
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
 
5120
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
5811
5121
esac
5812
5122
host=$ac_cv_host
5813
5123
ac_save_IFS=$IFS; IFS='-'
5823
5133
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5824
5134
 
5825
5135
 
 
5136
# Backslashify metacharacters that are still active within
 
5137
# double-quoted strings.
 
5138
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
5139
 
 
5140
# Same as above, but do not quote variable references.
 
5141
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
5142
 
 
5143
# Sed substitution to delay expansion of an escaped shell variable in a
 
5144
# double_quote_subst'ed string.
 
5145
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
5146
 
 
5147
# Sed substitution to delay expansion of an escaped single quote.
 
5148
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
5149
 
 
5150
# Sed substitution to avoid accidental globbing in evaled expressions
 
5151
no_glob_subst='s/\*/\\\*/g'
 
5152
 
 
5153
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
5154
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 
5155
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 
5156
 
 
5157
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
 
5158
$as_echo_n "checking how to print strings... " >&6; }
 
5159
# Test print first, because it will be a builtin if present.
 
5160
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
 
5161
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 
5162
  ECHO='print -r --'
 
5163
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 
5164
  ECHO='printf %s\n'
 
5165
else
 
5166
  # Use this function as a fallback that always works.
 
5167
  func_fallback_echo ()
 
5168
  {
 
5169
    eval 'cat <<_LTECHO_EOF
 
5170
$1
 
5171
_LTECHO_EOF'
 
5172
  }
 
5173
  ECHO='func_fallback_echo'
 
5174
fi
 
5175
 
 
5176
# func_echo_all arg...
 
5177
# Invoke $ECHO with all args, space-separated.
 
5178
func_echo_all ()
 
5179
{
 
5180
    $ECHO ""
 
5181
}
 
5182
 
 
5183
case "$ECHO" in
 
5184
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
 
5185
$as_echo "printf" >&6; } ;;
 
5186
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
 
5187
$as_echo "print -r" >&6; } ;;
 
5188
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
 
5189
$as_echo "cat" >&6; } ;;
 
5190
esac
 
5191
 
 
5192
 
 
5193
 
 
5194
 
 
5195
 
 
5196
 
 
5197
 
 
5198
 
 
5199
 
 
5200
 
 
5201
 
 
5202
 
 
5203
 
 
5204
 
5826
5205
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5827
5206
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5828
5207
if test "${ac_cv_path_SED+set}" = set; then :
5880
5259
  done
5881
5260
IFS=$as_save_IFS
5882
5261
  if test -z "$ac_cv_path_SED"; then
5883
 
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
5262
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5884
5263
  fi
5885
5264
else
5886
5265
  ac_cv_path_SED=$SED
5959
5338
  done
5960
5339
IFS=$as_save_IFS
5961
5340
  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
 
5341
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5963
5342
  fi
5964
5343
else
5965
5344
  ac_cv_path_FGREP=$FGREP
6075
5454
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6076
5455
$as_echo "no" >&6; }
6077
5456
fi
6078
 
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
5457
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6079
5458
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6080
5459
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6081
5460
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6158
5537
  NM="$lt_cv_path_NM"
6159
5538
else
6160
5539
  # Didn't find any BSD compatible name lister, look for dumpbin.
6161
 
  if test -n "$ac_tool_prefix"; then
6162
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
5540
  if test -n "$DUMPBIN"; then :
 
5541
    # Let the user override the test.
 
5542
  else
 
5543
    if test -n "$ac_tool_prefix"; then
 
5544
  for ac_prog in dumpbin "link -dump"
6163
5545
  do
6164
5546
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6165
5547
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6203
5585
fi
6204
5586
if test -z "$DUMPBIN"; then
6205
5587
  ac_ct_DUMPBIN=$DUMPBIN
6206
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
5588
  for ac_prog in dumpbin "link -dump"
6207
5589
do
6208
5590
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6209
5591
set dummy $ac_prog; ac_word=$2
6258
5640
  fi
6259
5641
fi
6260
5642
 
 
5643
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
 
5644
    *COFF*)
 
5645
      DUMPBIN="$DUMPBIN -symbols"
 
5646
      ;;
 
5647
    *)
 
5648
      DUMPBIN=:
 
5649
      ;;
 
5650
    esac
 
5651
  fi
6261
5652
 
6262
5653
  if test "$DUMPBIN" != ":"; then
6263
5654
    NM="$DUMPBIN"
6277
5668
else
6278
5669
  lt_cv_nm_interface="BSD nm"
6279
5670
  echo "int some_variable = 0;" > conftest.$ac_ext
6280
 
  (eval echo "\"\$as_me:6280: $ac_compile\"" >&5)
 
5671
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6281
5672
  (eval "$ac_compile" 2>conftest.err)
6282
5673
  cat conftest.err >&5
6283
 
  (eval echo "\"\$as_me:6283: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
5674
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6284
5675
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6285
5676
  cat conftest.err >&5
6286
 
  (eval echo "\"\$as_me:6286: output\"" >&5)
 
5677
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6287
5678
  cat conftest.out >&5
6288
5679
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6289
5680
    lt_cv_nm_interface="MS dumpbin"
6340
5731
    lt_cv_sys_max_cmd_len=8192;
6341
5732
    ;;
6342
5733
 
 
5734
  mint*)
 
5735
    # On MiNT this can take a long time and run out of memory.
 
5736
    lt_cv_sys_max_cmd_len=8192;
 
5737
    ;;
 
5738
 
6343
5739
  amigaos*)
6344
5740
    # On AmigaOS with pdksh, this test takes hours, literally.
6345
5741
    # So we just punt and use a minimum line length of 8192.
6404
5800
      # If test is not a shell built-in, we'll probably end up computing a
6405
5801
      # maximum length that is only half of the actual maximum length, but
6406
5802
      # we can't tell.
6407
 
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6408
 
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
5803
      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
 
5804
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6409
5805
              test $i != 17 # 1/2 MB should be enough
6410
5806
      do
6411
5807
        i=`expr $i + 1`
6447
5843
# Try some XSI features
6448
5844
xsi_shell=no
6449
5845
( _lt_dummy="a/b/c"
6450
 
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6451
 
      = c,a/b,, \
 
5846
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
 
5847
      = c,a/b,b/c, \
6452
5848
    && eval 'test $(( 1 + 1 )) -eq 2 \
6453
5849
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6454
5850
  && xsi_shell=yes
6497
5893
 
6498
5894
 
6499
5895
 
 
5896
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
 
5897
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
 
5898
if test "${lt_cv_to_host_file_cmd+set}" = set; then :
 
5899
  $as_echo_n "(cached) " >&6
 
5900
else
 
5901
  case $host in
 
5902
  *-*-mingw* )
 
5903
    case $build in
 
5904
      *-*-mingw* ) # actually msys
 
5905
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
 
5906
        ;;
 
5907
      *-*-cygwin* )
 
5908
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
 
5909
        ;;
 
5910
      * ) # otherwise, assume *nix
 
5911
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
 
5912
        ;;
 
5913
    esac
 
5914
    ;;
 
5915
  *-*-cygwin* )
 
5916
    case $build in
 
5917
      *-*-mingw* ) # actually msys
 
5918
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
 
5919
        ;;
 
5920
      *-*-cygwin* )
 
5921
        lt_cv_to_host_file_cmd=func_convert_file_noop
 
5922
        ;;
 
5923
      * ) # otherwise, assume *nix
 
5924
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
 
5925
        ;;
 
5926
    esac
 
5927
    ;;
 
5928
  * ) # unhandled hosts (and "normal" native builds)
 
5929
    lt_cv_to_host_file_cmd=func_convert_file_noop
 
5930
    ;;
 
5931
esac
 
5932
 
 
5933
fi
 
5934
 
 
5935
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
5936
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
 
5937
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
 
5938
 
 
5939
 
 
5940
 
 
5941
 
 
5942
 
 
5943
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
 
5944
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
 
5945
if test "${lt_cv_to_tool_file_cmd+set}" = set; then :
 
5946
  $as_echo_n "(cached) " >&6
 
5947
else
 
5948
  #assume ordinary cross tools, or native build.
 
5949
lt_cv_to_tool_file_cmd=func_convert_file_noop
 
5950
case $host in
 
5951
  *-*-mingw* )
 
5952
    case $build in
 
5953
      *-*-mingw* ) # actually msys
 
5954
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
 
5955
        ;;
 
5956
    esac
 
5957
    ;;
 
5958
esac
 
5959
 
 
5960
fi
 
5961
 
 
5962
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
5963
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
 
5964
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
 
5965
 
 
5966
 
 
5967
 
 
5968
 
 
5969
 
6500
5970
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6501
5971
$as_echo_n "checking for $LD option to reload object files... " >&6; }
6502
5972
if test "${lt_cv_ld_reload_flag+set}" = set; then :
6513
5983
esac
6514
5984
reload_cmds='$LD$reload_flag -o $output$reload_objs'
6515
5985
case $host_os in
 
5986
  cygwin* | mingw* | pw32* | cegcc*)
 
5987
    if test "$GCC" != yes; then
 
5988
      reload_cmds=false
 
5989
    fi
 
5990
    ;;
6516
5991
  darwin*)
6517
5992
    if test "$GCC" = yes; then
6518
5993
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6676
6151
  # Base MSYS/MinGW do not provide the 'file' command needed by
6677
6152
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6678
6153
  # unless we find 'file', for example because we are cross-compiling.
6679
 
  if ( file / ) >/dev/null 2>&1; then
 
6154
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
 
6155
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6680
6156
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6681
6157
    lt_cv_file_magic_cmd='func_win32_libid'
6682
6158
  else
6683
 
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
6159
    # Keep this pattern in sync with the one in func_win32_libid.
 
6160
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6684
6161
    lt_cv_file_magic_cmd='$OBJDUMP -f'
6685
6162
  fi
6686
6163
  ;;
6687
6164
 
6688
 
cegcc)
 
6165
cegcc*)
6689
6166
  # use the weaker test based on 'objdump'. See mingw*.
6690
6167
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6691
6168
  lt_cv_file_magic_cmd='$OBJDUMP -f'
6715
6192
  lt_cv_deplibs_check_method=pass_all
6716
6193
  ;;
6717
6194
 
 
6195
haiku*)
 
6196
  lt_cv_deplibs_check_method=pass_all
 
6197
  ;;
 
6198
 
6718
6199
hpux10.20* | hpux11*)
6719
6200
  lt_cv_file_magic_cmd=/usr/bin/file
6720
6201
  case $host_cpu in
6723
6204
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6724
6205
    ;;
6725
6206
  hppa*64*)
6726
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
 
6207
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6727
6208
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6728
6209
    ;;
6729
6210
  *)
6730
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 
6211
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6731
6212
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6732
6213
    ;;
6733
6214
  esac
6749
6230
  ;;
6750
6231
 
6751
6232
# This must be Linux ELF.
6752
 
linux* | k*bsd*-gnu)
 
6233
linux* | k*bsd*-gnu | kopensolaris*-gnu)
6753
6234
  lt_cv_deplibs_check_method=pass_all
6754
6235
  ;;
6755
6236
 
6756
 
netbsd*)
 
6237
netbsd* | netbsdelf*-gnu)
6757
6238
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6758
6239
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6759
6240
  else
6830
6311
fi
6831
6312
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6832
6313
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
6314
 
 
6315
file_magic_glob=
 
6316
want_nocaseglob=no
 
6317
if test "$build" = "$host"; then
 
6318
  case $host_os in
 
6319
  mingw* | pw32*)
 
6320
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
 
6321
      want_nocaseglob=yes
 
6322
    else
 
6323
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
 
6324
    fi
 
6325
    ;;
 
6326
  esac
 
6327
fi
 
6328
 
6833
6329
file_magic_cmd=$lt_cv_file_magic_cmd
6834
6330
deplibs_check_method=$lt_cv_deplibs_check_method
6835
6331
test -z "$deplibs_check_method" && deplibs_check_method=unknown
6845
6341
 
6846
6342
 
6847
6343
 
6848
 
if test -n "$ac_tool_prefix"; then
6849
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6850
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
 
6344
 
 
6345
 
 
6346
 
 
6347
 
 
6348
 
 
6349
 
 
6350
 
 
6351
 
 
6352
 
 
6353
 
 
6354
if test -n "$ac_tool_prefix"; then
 
6355
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 
6356
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 
6357
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6358
$as_echo_n "checking for $ac_word... " >&6; }
 
6359
if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
 
6360
  $as_echo_n "(cached) " >&6
 
6361
else
 
6362
  if test -n "$DLLTOOL"; then
 
6363
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
6364
else
 
6365
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6366
for as_dir in $PATH
 
6367
do
 
6368
  IFS=$as_save_IFS
 
6369
  test -z "$as_dir" && as_dir=.
 
6370
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6371
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6372
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 
6373
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6374
    break 2
 
6375
  fi
 
6376
done
 
6377
  done
 
6378
IFS=$as_save_IFS
 
6379
 
 
6380
fi
 
6381
fi
 
6382
DLLTOOL=$ac_cv_prog_DLLTOOL
 
6383
if test -n "$DLLTOOL"; then
 
6384
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 
6385
$as_echo "$DLLTOOL" >&6; }
 
6386
else
 
6387
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6388
$as_echo "no" >&6; }
 
6389
fi
 
6390
 
 
6391
 
 
6392
fi
 
6393
if test -z "$ac_cv_prog_DLLTOOL"; then
 
6394
  ac_ct_DLLTOOL=$DLLTOOL
 
6395
  # Extract the first word of "dlltool", so it can be a program name with args.
 
6396
set dummy dlltool; ac_word=$2
 
6397
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6398
$as_echo_n "checking for $ac_word... " >&6; }
 
6399
if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
 
6400
  $as_echo_n "(cached) " >&6
 
6401
else
 
6402
  if test -n "$ac_ct_DLLTOOL"; then
 
6403
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
6404
else
 
6405
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6406
for as_dir in $PATH
 
6407
do
 
6408
  IFS=$as_save_IFS
 
6409
  test -z "$as_dir" && as_dir=.
 
6410
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6411
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6412
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 
6413
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6414
    break 2
 
6415
  fi
 
6416
done
 
6417
  done
 
6418
IFS=$as_save_IFS
 
6419
 
 
6420
fi
 
6421
fi
 
6422
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 
6423
if test -n "$ac_ct_DLLTOOL"; then
 
6424
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 
6425
$as_echo "$ac_ct_DLLTOOL" >&6; }
 
6426
else
 
6427
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6428
$as_echo "no" >&6; }
 
6429
fi
 
6430
 
 
6431
  if test "x$ac_ct_DLLTOOL" = x; then
 
6432
    DLLTOOL="false"
 
6433
  else
 
6434
    case $cross_compiling:$ac_tool_warned in
 
6435
yes:)
 
6436
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6437
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6438
ac_tool_warned=yes ;;
 
6439
esac
 
6440
    DLLTOOL=$ac_ct_DLLTOOL
 
6441
  fi
 
6442
else
 
6443
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
6444
fi
 
6445
 
 
6446
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
6447
 
 
6448
 
 
6449
 
 
6450
 
 
6451
 
 
6452
 
 
6453
 
 
6454
 
 
6455
 
 
6456
 
 
6457
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
 
6458
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
 
6459
if test "${lt_cv_sharedlib_from_linklib_cmd+set}" = set; then :
 
6460
  $as_echo_n "(cached) " >&6
 
6461
else
 
6462
  lt_cv_sharedlib_from_linklib_cmd='unknown'
 
6463
 
 
6464
case $host_os in
 
6465
cygwin* | mingw* | pw32* | cegcc*)
 
6466
  # two different shell functions defined in ltmain.sh
 
6467
  # decide which to use based on capabilities of $DLLTOOL
 
6468
  case `$DLLTOOL --help 2>&1` in
 
6469
  *--identify-strict*)
 
6470
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
 
6471
    ;;
 
6472
  *)
 
6473
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
 
6474
    ;;
 
6475
  esac
 
6476
  ;;
 
6477
*)
 
6478
  # fallback: assume linklib IS sharedlib
 
6479
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
 
6480
  ;;
 
6481
esac
 
6482
 
 
6483
fi
 
6484
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
 
6485
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
 
6486
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
 
6487
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
 
6488
 
 
6489
 
 
6490
 
 
6491
 
 
6492
 
 
6493
 
 
6494
 
 
6495
if test -n "$ac_tool_prefix"; then
 
6496
  for ac_prog in ar
 
6497
  do
 
6498
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
6499
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6851
6500
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6852
6501
$as_echo_n "checking for $ac_word... " >&6; }
6853
6502
if test "${ac_cv_prog_AR+set}" = set; then :
6863
6512
  test -z "$as_dir" && as_dir=.
6864
6513
    for ac_exec_ext in '' $ac_executable_extensions; do
6865
6514
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6866
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
6515
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6867
6516
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6868
6517
    break 2
6869
6518
  fi
6883
6532
fi
6884
6533
 
6885
6534
 
 
6535
    test -n "$AR" && break
 
6536
  done
6886
6537
fi
6887
 
if test -z "$ac_cv_prog_AR"; then
 
6538
if test -z "$AR"; then
6888
6539
  ac_ct_AR=$AR
6889
 
  # Extract the first word of "ar", so it can be a program name with args.
6890
 
set dummy ar; ac_word=$2
 
6540
  for ac_prog in ar
 
6541
do
 
6542
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
6543
set dummy $ac_prog; ac_word=$2
6891
6544
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6892
6545
$as_echo_n "checking for $ac_word... " >&6; }
6893
6546
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6903
6556
  test -z "$as_dir" && as_dir=.
6904
6557
    for ac_exec_ext in '' $ac_executable_extensions; do
6905
6558
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6906
 
    ac_cv_prog_ac_ct_AR="ar"
 
6559
    ac_cv_prog_ac_ct_AR="$ac_prog"
6907
6560
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6908
6561
    break 2
6909
6562
  fi
6922
6575
$as_echo "no" >&6; }
6923
6576
fi
6924
6577
 
 
6578
 
 
6579
  test -n "$ac_ct_AR" && break
 
6580
done
 
6581
 
6925
6582
  if test "x$ac_ct_AR" = x; then
6926
6583
    AR="false"
6927
6584
  else
6933
6590
esac
6934
6591
    AR=$ac_ct_AR
6935
6592
  fi
6936
 
else
6937
 
  AR="$ac_cv_prog_AR"
6938
 
fi
6939
 
 
6940
 
test -z "$AR" && AR=ar
6941
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
6942
 
 
6943
 
 
6944
 
 
6945
 
 
 
6593
fi
 
6594
 
 
6595
: ${AR=ar}
 
6596
: ${AR_FLAGS=cru}
 
6597
 
 
6598
 
 
6599
 
 
6600
 
 
6601
 
 
6602
 
 
6603
 
 
6604
 
 
6605
 
 
6606
 
 
6607
 
 
6608
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 
6609
$as_echo_n "checking for archiver @FILE support... " >&6; }
 
6610
if test "${lt_cv_ar_at_file+set}" = set; then :
 
6611
  $as_echo_n "(cached) " >&6
 
6612
else
 
6613
  lt_cv_ar_at_file=no
 
6614
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6615
/* end confdefs.h.  */
 
6616
 
 
6617
int
 
6618
main ()
 
6619
{
 
6620
 
 
6621
  ;
 
6622
  return 0;
 
6623
}
 
6624
_ACEOF
 
6625
if ac_fn_c_try_compile "$LINENO"; then :
 
6626
  echo conftest.$ac_objext > conftest.lst
 
6627
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
 
6628
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
6629
  (eval $lt_ar_try) 2>&5
 
6630
  ac_status=$?
 
6631
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6632
  test $ac_status = 0; }
 
6633
      if test "$ac_status" -eq 0; then
 
6634
        # Ensure the archiver fails upon bogus file names.
 
6635
        rm -f conftest.$ac_objext libconftest.a
 
6636
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
6637
  (eval $lt_ar_try) 2>&5
 
6638
  ac_status=$?
 
6639
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6640
  test $ac_status = 0; }
 
6641
        if test "$ac_status" -ne 0; then
 
6642
          lt_cv_ar_at_file=@
 
6643
        fi
 
6644
      fi
 
6645
      rm -f conftest.* libconftest.a
 
6646
 
 
6647
fi
 
6648
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6649
 
 
6650
fi
 
6651
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 
6652
$as_echo "$lt_cv_ar_at_file" >&6; }
 
6653
 
 
6654
if test "x$lt_cv_ar_at_file" = xno; then
 
6655
  archiver_list_spec=
 
6656
else
 
6657
  archiver_list_spec=$lt_cv_ar_at_file
 
6658
fi
6946
6659
 
6947
6660
 
6948
6661
 
7165
6878
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7166
6879
fi
7167
6880
 
 
6881
case $host_os in
 
6882
  darwin*)
 
6883
    lock_old_archive_extraction=yes ;;
 
6884
  *)
 
6885
    lock_old_archive_extraction=no ;;
 
6886
esac
 
6887
 
 
6888
 
 
6889
 
 
6890
 
 
6891
 
 
6892
 
7168
6893
 
7169
6894
 
7170
6895
 
7272
6997
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7273
6998
 
7274
6999
# Transform an extracted symbol line into symbol name and symbol address
7275
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
7276
 
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
 
7000
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
7001
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
7277
7002
 
7278
7003
# Handle CRLF in mingw tool chain
7279
7004
opt_cr=
7309
7034
  else
7310
7035
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7311
7036
  fi
 
7037
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7312
7038
 
7313
7039
  # Check to see that the pipe works correctly.
7314
7040
  pipe_works=no
7334
7060
  test $ac_status = 0; }; then
7335
7061
    # Now try to grab the symbols.
7336
7062
    nlist=conftest.nm
7337
 
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
7338
 
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
 
7063
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
 
7064
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7339
7065
  ac_status=$?
7340
7066
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7341
7067
  test $ac_status = 0; } && test -s "$nlist"; then
7350
7076
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7351
7077
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7352
7078
          cat <<_LT_EOF > conftest.$ac_ext
 
7079
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
 
7080
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
 
7081
/* DATA imports from DLLs on WIN32 con't be const, because runtime
 
7082
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
 
7083
# define LT_DLSYM_CONST
 
7084
#elif defined(__osf__)
 
7085
/* This system does not cope well with relocations in const data.  */
 
7086
# define LT_DLSYM_CONST
 
7087
#else
 
7088
# define LT_DLSYM_CONST const
 
7089
#endif
 
7090
 
7353
7091
#ifdef __cplusplus
7354
7092
extern "C" {
7355
7093
#endif
7361
7099
          cat <<_LT_EOF >> conftest.$ac_ext
7362
7100
 
7363
7101
/* The mapping between symbol names and symbols.  */
7364
 
const struct {
 
7102
LT_DLSYM_CONST struct {
7365
7103
  const char *name;
7366
7104
  void       *address;
7367
7105
}
7387
7125
_LT_EOF
7388
7126
          # Now try linking the two files.
7389
7127
          mv conftest.$ac_objext conftstm.$ac_objext
7390
 
          lt_save_LIBS="$LIBS"
7391
 
          lt_save_CFLAGS="$CFLAGS"
 
7128
          lt_globsym_save_LIBS=$LIBS
 
7129
          lt_globsym_save_CFLAGS=$CFLAGS
7392
7130
          LIBS="conftstm.$ac_objext"
7393
7131
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7394
7132
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7398
7136
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7399
7137
            pipe_works=yes
7400
7138
          fi
7401
 
          LIBS="$lt_save_LIBS"
7402
 
          CFLAGS="$lt_save_CFLAGS"
 
7139
          LIBS=$lt_globsym_save_LIBS
 
7140
          CFLAGS=$lt_globsym_save_CFLAGS
7403
7141
        else
7404
7142
          echo "cannot find nm_test_func in $nlist" >&5
7405
7143
        fi
7436
7174
$as_echo "ok" >&6; }
7437
7175
fi
7438
7176
 
7439
 
 
7440
 
 
7441
 
 
7442
 
 
7443
 
 
7444
 
 
7445
 
 
7446
 
 
7447
 
 
7448
 
 
7449
 
 
7450
 
 
7451
 
 
7452
 
 
7453
 
 
7454
 
 
 
7177
# Response file support.
 
7178
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
7179
  nm_file_list_spec='@'
 
7180
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
 
7181
  nm_file_list_spec='@'
 
7182
fi
 
7183
 
 
7184
 
 
7185
 
 
7186
 
 
7187
 
 
7188
 
 
7189
 
 
7190
 
 
7191
 
 
7192
 
 
7193
 
 
7194
 
 
7195
 
 
7196
 
 
7197
 
 
7198
 
 
7199
 
 
7200
 
 
7201
 
 
7202
 
 
7203
 
 
7204
 
 
7205
 
 
7206
 
 
7207
 
 
7208
 
 
7209
 
 
7210
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 
7211
$as_echo_n "checking for sysroot... " >&6; }
 
7212
 
 
7213
# Check whether --with-sysroot was given.
 
7214
if test "${with_sysroot+set}" = set; then :
 
7215
  withval=$with_sysroot;
 
7216
else
 
7217
  with_sysroot=no
 
7218
fi
 
7219
 
 
7220
 
 
7221
lt_sysroot=
 
7222
case ${with_sysroot} in #(
 
7223
 yes)
 
7224
   if test "$GCC" = yes; then
 
7225
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
 
7226
   fi
 
7227
   ;; #(
 
7228
 /*)
 
7229
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
 
7230
   ;; #(
 
7231
 no|'')
 
7232
   ;; #(
 
7233
 *)
 
7234
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
 
7235
$as_echo "${with_sysroot}" >&6; }
 
7236
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
 
7237
   ;;
 
7238
esac
 
7239
 
 
7240
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 
7241
$as_echo "${lt_sysroot:-no}" >&6; }
7455
7242
 
7456
7243
 
7457
7244
 
7488
7275
  ;;
7489
7276
*-*-irix6*)
7490
7277
  # Find out which ABI we are using.
7491
 
  echo '#line 7491 "configure"' > conftest.$ac_ext
 
7278
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7492
7279
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7493
7280
  (eval $ac_compile) 2>&5
7494
7281
  ac_status=$?
7650
7437
 
7651
7438
need_locks="$enable_libtool_lock"
7652
7439
 
 
7440
if test -n "$ac_tool_prefix"; then
 
7441
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 
7442
set dummy ${ac_tool_prefix}mt; ac_word=$2
 
7443
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7444
$as_echo_n "checking for $ac_word... " >&6; }
 
7445
if test "${ac_cv_prog_MANIFEST_TOOL+set}" = set; then :
 
7446
  $as_echo_n "(cached) " >&6
 
7447
else
 
7448
  if test -n "$MANIFEST_TOOL"; then
 
7449
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
 
7450
else
 
7451
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7452
for as_dir in $PATH
 
7453
do
 
7454
  IFS=$as_save_IFS
 
7455
  test -z "$as_dir" && as_dir=.
 
7456
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7457
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7458
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
 
7459
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7460
    break 2
 
7461
  fi
 
7462
done
 
7463
  done
 
7464
IFS=$as_save_IFS
 
7465
 
 
7466
fi
 
7467
fi
 
7468
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
 
7469
if test -n "$MANIFEST_TOOL"; then
 
7470
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
 
7471
$as_echo "$MANIFEST_TOOL" >&6; }
 
7472
else
 
7473
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7474
$as_echo "no" >&6; }
 
7475
fi
 
7476
 
 
7477
 
 
7478
fi
 
7479
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
 
7480
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
 
7481
  # Extract the first word of "mt", so it can be a program name with args.
 
7482
set dummy mt; ac_word=$2
 
7483
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7484
$as_echo_n "checking for $ac_word... " >&6; }
 
7485
if test "${ac_cv_prog_ac_ct_MANIFEST_TOOL+set}" = set; then :
 
7486
  $as_echo_n "(cached) " >&6
 
7487
else
 
7488
  if test -n "$ac_ct_MANIFEST_TOOL"; then
 
7489
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
 
7490
else
 
7491
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7492
for as_dir in $PATH
 
7493
do
 
7494
  IFS=$as_save_IFS
 
7495
  test -z "$as_dir" && as_dir=.
 
7496
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7497
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7498
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
 
7499
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7500
    break 2
 
7501
  fi
 
7502
done
 
7503
  done
 
7504
IFS=$as_save_IFS
 
7505
 
 
7506
fi
 
7507
fi
 
7508
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
 
7509
if test -n "$ac_ct_MANIFEST_TOOL"; then
 
7510
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
 
7511
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
 
7512
else
 
7513
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7514
$as_echo "no" >&6; }
 
7515
fi
 
7516
 
 
7517
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
 
7518
    MANIFEST_TOOL=":"
 
7519
  else
 
7520
    case $cross_compiling:$ac_tool_warned in
 
7521
yes:)
 
7522
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7523
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7524
ac_tool_warned=yes ;;
 
7525
esac
 
7526
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
 
7527
  fi
 
7528
else
 
7529
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 
7530
fi
 
7531
 
 
7532
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
 
7533
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
 
7534
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
 
7535
if test "${lt_cv_path_mainfest_tool+set}" = set; then :
 
7536
  $as_echo_n "(cached) " >&6
 
7537
else
 
7538
  lt_cv_path_mainfest_tool=no
 
7539
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
 
7540
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
 
7541
  cat conftest.err >&5
 
7542
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 
7543
    lt_cv_path_mainfest_tool=yes
 
7544
  fi
 
7545
  rm -f conftest*
 
7546
fi
 
7547
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
 
7548
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
 
7549
if test "x$lt_cv_path_mainfest_tool" != xyes; then
 
7550
  MANIFEST_TOOL=:
 
7551
fi
 
7552
 
 
7553
 
 
7554
 
 
7555
 
 
7556
 
7653
7557
 
7654
7558
  case $host_os in
7655
7559
    rhapsody* | darwin*)
8200
8104
fi
8201
8105
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8202
8106
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
8107
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 
8108
$as_echo_n "checking for -force_load linker flag... " >&6; }
 
8109
if test "${lt_cv_ld_force_load+set}" = set; then :
 
8110
  $as_echo_n "(cached) " >&6
 
8111
else
 
8112
  lt_cv_ld_force_load=no
 
8113
      cat > conftest.c << _LT_EOF
 
8114
int forced_loaded() { return 2;}
 
8115
_LT_EOF
 
8116
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
 
8117
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
 
8118
      echo "$AR cru libconftest.a conftest.o" >&5
 
8119
      $AR cru libconftest.a conftest.o 2>&5
 
8120
      echo "$RANLIB libconftest.a" >&5
 
8121
      $RANLIB libconftest.a 2>&5
 
8122
      cat > conftest.c << _LT_EOF
 
8123
int main() { return 0;}
 
8124
_LT_EOF
 
8125
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
 
8126
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 
8127
      _lt_result=$?
 
8128
      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
 
8129
        lt_cv_ld_force_load=yes
 
8130
      else
 
8131
        cat conftest.err >&5
 
8132
      fi
 
8133
        rm -f conftest.err libconftest.a conftest conftest.c
 
8134
        rm -rf conftest.dSYM
 
8135
 
 
8136
fi
 
8137
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
 
8138
$as_echo "$lt_cv_ld_force_load" >&6; }
8203
8139
    case $host_os in
8204
8140
    rhapsody* | darwin1.[012])
8205
8141
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8227
8163
    else
8228
8164
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8229
8165
    fi
8230
 
    if test "$DSYMUTIL" != ":"; then
 
8166
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8231
8167
      _lt_dsymutil='~$DSYMUTIL $lib || :'
8232
8168
    else
8233
8169
      _lt_dsymutil=
8242
8178
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8243
8179
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8244
8180
"
8245
 
eval as_val=\$$as_ac_Header
8246
 
   if test "x$as_val" = x""yes; then :
 
8181
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8247
8182
  cat >>confdefs.h <<_ACEOF
8248
8183
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8249
8184
_ACEOF
8268
8203
 
8269
8204
 
8270
8205
 
 
8206
 
 
8207
 
8271
8208
# Set options
8272
8209
 
8273
8210
 
8420
8357
 
8421
8358
 
8422
8359
 
 
8360
 
8423
8361
test -z "$LN_S" && LN_S="ln -s"
8424
8362
 
8425
8363
 
8469
8407
 
8470
8408
 
8471
8409
 
8472
 
 
8473
 
 
8474
 
 
8475
 
 
8476
 
 
8477
 
 
8478
 
 
8479
 
 
8480
 
 
8481
 
 
8482
 
 
8483
 
 
8484
 
 
8485
8410
case $host_os in
8486
8411
aix3*)
8487
8412
  # AIX sometimes has problems with the GCC collect2 program.  For some
8494
8419
  ;;
8495
8420
esac
8496
8421
 
8497
 
# Sed substitution that helps us do robust quoting.  It backslashifies
8498
 
# metacharacters that are still active within double-quoted strings.
8499
 
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8500
 
 
8501
 
# Same as above, but do not quote variable references.
8502
 
double_quote_subst='s/\(["`\\]\)/\\\1/g'
8503
 
 
8504
 
# Sed substitution to delay expansion of an escaped shell variable in a
8505
 
# double_quote_subst'ed string.
8506
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8507
 
 
8508
 
# Sed substitution to delay expansion of an escaped single quote.
8509
 
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8510
 
 
8511
 
# Sed substitution to avoid accidental globbing in evaled expressions
8512
 
no_glob_subst='s/\*/\\\*/g'
8513
 
 
8514
8422
# Global variables:
8515
8423
ofile=libtool
8516
8424
can_build_shared=yes
8539
8447
    *) break;;
8540
8448
  esac
8541
8449
done
8542
 
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
8450
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8543
8451
 
8544
8452
 
8545
8453
# Only perform the check for file, if the check method requires it
8739
8647
$RM -r conftest*
8740
8648
 
8741
8649
 
 
8650
## CAVEAT EMPTOR:
 
8651
## There is no encapsulation within the following macros, do not change
 
8652
## the running order or otherwise move them around unless you know exactly
 
8653
## what you are doing...
8742
8654
if test -n "$compiler"; then
8743
8655
 
8744
8656
lt_prog_compiler_no_builtin_flag=
8745
8657
 
8746
8658
if test "$GCC" = yes; then
8747
 
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
 
8659
  case $cc_basename in
 
8660
  nvcc*)
 
8661
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
 
8662
  *)
 
8663
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
 
8664
  esac
8748
8665
 
8749
8666
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8750
8667
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8764
8681
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8765
8682
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8766
8683
   -e 's:$: $lt_compiler_flag:'`
8767
 
   (eval echo "\"\$as_me:8767: $lt_compile\"" >&5)
 
8684
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8768
8685
   (eval "$lt_compile" 2>conftest.err)
8769
8686
   ac_status=$?
8770
8687
   cat conftest.err >&5
8771
 
   echo "$as_me:8771: \$? = $ac_status" >&5
 
8688
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8772
8689
   if (exit $ac_status) && test -s "$ac_outfile"; then
8773
8690
     # The compiler can only warn and ignore the option if not recognized
8774
8691
     # So say no if there are warnings other than the usual output.
8775
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8692
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8776
8693
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8777
8694
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8778
8695
       lt_cv_prog_compiler_rtti_exceptions=yes
8801
8718
lt_prog_compiler_pic=
8802
8719
lt_prog_compiler_static=
8803
8720
 
8804
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8805
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8806
8721
 
8807
8722
  if test "$GCC" = yes; then
8808
8723
    lt_prog_compiler_wl='-Wl,'
8850
8765
      lt_prog_compiler_pic='-fno-common'
8851
8766
      ;;
8852
8767
 
 
8768
    haiku*)
 
8769
      # PIC is the default for Haiku.
 
8770
      # The "-static" flag exists, but is broken.
 
8771
      lt_prog_compiler_static=
 
8772
      ;;
 
8773
 
8853
8774
    hpux*)
8854
8775
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8855
8776
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8892
8813
      lt_prog_compiler_pic='-fPIC'
8893
8814
      ;;
8894
8815
    esac
 
8816
 
 
8817
    case $cc_basename in
 
8818
    nvcc*) # Cuda Compiler Driver 2.2
 
8819
      lt_prog_compiler_wl='-Xlinker '
 
8820
      lt_prog_compiler_pic='-Xcompiler -fPIC'
 
8821
      ;;
 
8822
    esac
8895
8823
  else
8896
8824
    # PORTME Check for flag to pass linker flags through the system compiler.
8897
8825
    case $host_os in
8933
8861
      lt_prog_compiler_static='-non_shared'
8934
8862
      ;;
8935
8863
 
8936
 
    linux* | k*bsd*-gnu)
 
8864
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8937
8865
      case $cc_basename in
8938
8866
      # old Intel for x86_64 which still supported -KPIC.
8939
8867
      ecc*)
8954
8882
        lt_prog_compiler_pic='--shared'
8955
8883
        lt_prog_compiler_static='--static'
8956
8884
        ;;
8957
 
      pgcc* | pgf77* | pgf90* | pgf95*)
 
8885
      nagfor*)
 
8886
        # NAG Fortran compiler
 
8887
        lt_prog_compiler_wl='-Wl,-Wl,,'
 
8888
        lt_prog_compiler_pic='-PIC'
 
8889
        lt_prog_compiler_static='-Bstatic'
 
8890
        ;;
 
8891
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8958
8892
        # Portland Group compilers (*not* the Pentium gcc compiler,
8959
8893
        # which looks to be a dead project)
8960
8894
        lt_prog_compiler_wl='-Wl,'
8966
8900
        # All Alpha code is PIC.
8967
8901
        lt_prog_compiler_static='-non_shared'
8968
8902
        ;;
8969
 
      xl*)
8970
 
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
8903
      xl* | bgxl* | bgf* | mpixl*)
 
8904
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8971
8905
        lt_prog_compiler_wl='-Wl,'
8972
8906
        lt_prog_compiler_pic='-qpic'
8973
8907
        lt_prog_compiler_static='-qstaticlink'
8974
8908
        ;;
8975
8909
      *)
8976
8910
        case `$CC -V 2>&1 | sed 5q` in
 
8911
        *Sun\ F* | *Sun*Fortran*)
 
8912
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
8913
          lt_prog_compiler_pic='-KPIC'
 
8914
          lt_prog_compiler_static='-Bstatic'
 
8915
          lt_prog_compiler_wl=''
 
8916
          ;;
8977
8917
        *Sun\ C*)
8978
8918
          # Sun C 5.9
8979
8919
          lt_prog_compiler_pic='-KPIC'
8980
8920
          lt_prog_compiler_static='-Bstatic'
8981
8921
          lt_prog_compiler_wl='-Wl,'
8982
8922
          ;;
8983
 
        *Sun\ F*)
8984
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8985
 
          lt_prog_compiler_pic='-KPIC'
8986
 
          lt_prog_compiler_static='-Bstatic'
8987
 
          lt_prog_compiler_wl=''
8988
 
          ;;
8989
8923
        esac
8990
8924
        ;;
8991
8925
      esac
9016
8950
      lt_prog_compiler_pic='-KPIC'
9017
8951
      lt_prog_compiler_static='-Bstatic'
9018
8952
      case $cc_basename in
9019
 
      f77* | f90* | f95*)
 
8953
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9020
8954
        lt_prog_compiler_wl='-Qoption ld ';;
9021
8955
      *)
9022
8956
        lt_prog_compiler_wl='-Wl,';;
9073
9007
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9074
9008
    ;;
9075
9009
esac
9076
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9077
 
$as_echo "$lt_prog_compiler_pic" >&6; }
9078
 
 
9079
 
 
9080
 
 
9081
 
 
9082
 
 
 
9010
 
 
9011
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
9012
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
9013
if test "${lt_cv_prog_compiler_pic+set}" = set; then :
 
9014
  $as_echo_n "(cached) " >&6
 
9015
else
 
9016
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
 
9017
fi
 
9018
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
 
9019
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
 
9020
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9083
9021
 
9084
9022
#
9085
9023
# Check to make sure the PIC flag actually works.
9103
9041
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9104
9042
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9105
9043
   -e 's:$: $lt_compiler_flag:'`
9106
 
   (eval echo "\"\$as_me:9106: $lt_compile\"" >&5)
 
9044
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9107
9045
   (eval "$lt_compile" 2>conftest.err)
9108
9046
   ac_status=$?
9109
9047
   cat conftest.err >&5
9110
 
   echo "$as_me:9110: \$? = $ac_status" >&5
 
9048
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9111
9049
   if (exit $ac_status) && test -s "$ac_outfile"; then
9112
9050
     # The compiler can only warn and ignore the option if not recognized
9113
9051
     # So say no if there are warnings other than the usual output.
9114
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
9052
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9115
9053
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9116
9054
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9117
9055
       lt_cv_prog_compiler_pic_works=yes
9140
9078
 
9141
9079
 
9142
9080
 
 
9081
 
 
9082
 
 
9083
 
 
9084
 
 
9085
 
9143
9086
#
9144
9087
# Check to make sure the static flag actually works.
9145
9088
#
9159
9102
     if test -s conftest.err; then
9160
9103
       # Append any errors to the config.log.
9161
9104
       cat conftest.err 1>&5
9162
 
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
9105
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9163
9106
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9164
9107
       if diff conftest.exp conftest.er2 >/dev/null; then
9165
9108
         lt_cv_prog_compiler_static_works=yes
9208
9151
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9209
9152
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9210
9153
   -e 's:$: $lt_compiler_flag:'`
9211
 
   (eval echo "\"\$as_me:9211: $lt_compile\"" >&5)
 
9154
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9212
9155
   (eval "$lt_compile" 2>out/conftest.err)
9213
9156
   ac_status=$?
9214
9157
   cat out/conftest.err >&5
9215
 
   echo "$as_me:9215: \$? = $ac_status" >&5
 
9158
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9216
9159
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9217
9160
   then
9218
9161
     # The compiler can only warn and ignore the option if not recognized
9219
9162
     # So say no if there are warnings
9220
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
9163
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9221
9164
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9222
9165
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9223
9166
       lt_cv_prog_compiler_c_o=yes
9263
9206
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9264
9207
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9265
9208
   -e 's:$: $lt_compiler_flag:'`
9266
 
   (eval echo "\"\$as_me:9266: $lt_compile\"" >&5)
 
9209
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9267
9210
   (eval "$lt_compile" 2>out/conftest.err)
9268
9211
   ac_status=$?
9269
9212
   cat out/conftest.err >&5
9270
 
   echo "$as_me:9270: \$? = $ac_status" >&5
 
9213
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9271
9214
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9272
9215
   then
9273
9216
     # The compiler can only warn and ignore the option if not recognized
9274
9217
     # So say no if there are warnings
9275
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
9218
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9276
9219
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9277
9220
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9278
9221
       lt_cv_prog_compiler_c_o=yes
9382
9325
  openbsd*)
9383
9326
    with_gnu_ld=no
9384
9327
    ;;
 
9328
  linux* | k*bsd*-gnu | gnu*)
 
9329
    link_all_deplibs=no
 
9330
    ;;
9385
9331
  esac
9386
9332
 
9387
9333
  ld_shlibs=yes
 
9334
 
 
9335
  # On some targets, GNU ld is compatible enough with the native linker
 
9336
  # that we're better off using the native interface for both.
 
9337
  lt_use_gnu_ld_interface=no
9388
9338
  if test "$with_gnu_ld" = yes; then
 
9339
    case $host_os in
 
9340
      aix*)
 
9341
        # The AIX port of GNU ld has always aspired to compatibility
 
9342
        # with the native linker.  However, as the warning in the GNU ld
 
9343
        # block says, versions before 2.19.5* couldn't really create working
 
9344
        # shared libraries, regardless of the interface used.
 
9345
        case `$LD -v 2>&1` in
 
9346
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 
9347
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
 
9348
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
 
9349
          *)
 
9350
            lt_use_gnu_ld_interface=yes
 
9351
            ;;
 
9352
        esac
 
9353
        ;;
 
9354
      *)
 
9355
        lt_use_gnu_ld_interface=yes
 
9356
        ;;
 
9357
    esac
 
9358
  fi
 
9359
 
 
9360
  if test "$lt_use_gnu_ld_interface" = yes; then
9389
9361
    # If archive_cmds runs LD, not CC, wlarc should be empty
9390
9362
    wlarc='${wl}'
9391
9363
 
9403
9375
    fi
9404
9376
    supports_anon_versioning=no
9405
9377
    case `$LD -v 2>&1` in
 
9378
      *GNU\ gold*) supports_anon_versioning=yes ;;
9406
9379
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9407
9380
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9408
9381
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9418
9391
        ld_shlibs=no
9419
9392
        cat <<_LT_EOF 1>&2
9420
9393
 
9421
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
9394
*** Warning: the GNU linker, at least up to release 2.19, is reported
9422
9395
*** to be unable to reliably create shared libraries on AIX.
9423
9396
*** Therefore, libtool is disabling shared libraries support.  If you
9424
 
*** really care for shared libraries, you may want to modify your PATH
9425
 
*** so that a non-GNU linker is found, and then restart.
 
9397
*** really care for shared libraries, you may want to install binutils
 
9398
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 
9399
*** You will then need to restart the configuration process.
9426
9400
 
9427
9401
_LT_EOF
9428
9402
      fi
9458
9432
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9459
9433
      # as there is no search path for DLLs.
9460
9434
      hardcode_libdir_flag_spec='-L$libdir'
 
9435
      export_dynamic_flag_spec='${wl}--export-all-symbols'
9461
9436
      allow_undefined_flag=unsupported
9462
9437
      always_export_symbols=no
9463
9438
      enable_shared_with_static_runtimes=yes
9464
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
9439
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
 
9440
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9465
9441
 
9466
9442
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9467
9443
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9479
9455
      fi
9480
9456
      ;;
9481
9457
 
 
9458
    haiku*)
 
9459
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9460
      link_all_deplibs=yes
 
9461
      ;;
 
9462
 
9482
9463
    interix[3-9]*)
9483
9464
      hardcode_direct=no
9484
9465
      hardcode_shlibpath_var=no
9494
9475
      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
9476
      ;;
9496
9477
 
9497
 
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
9478
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9498
9479
      tmp_diet=no
9499
9480
      if test "$host_os" = linux-dietlibc; then
9500
9481
        case $cc_basename in
9504
9485
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9505
9486
         && test "$tmp_diet" = no
9506
9487
      then
9507
 
        tmp_addflag=
 
9488
        tmp_addflag=' $pic_flag'
9508
9489
        tmp_sharedflag='-shared'
9509
9490
        case $cc_basename,$host_cpu in
9510
9491
        pgcc*)                          # Portland Group C compiler
9511
 
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
9492
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9512
9493
          tmp_addflag=' $pic_flag'
9513
9494
          ;;
9514
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
9515
 
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
9495
        pgf77* | pgf90* | pgf95* | pgfortran*)
 
9496
                                        # Portland Group f77 and f90 compilers
 
9497
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9516
9498
          tmp_addflag=' $pic_flag -Mnomain' ;;
9517
9499
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9518
9500
          tmp_addflag=' -i_dynamic' ;;
9523
9505
        lf95*)                          # Lahey Fortran 8.1
9524
9506
          whole_archive_flag_spec=
9525
9507
          tmp_sharedflag='--shared' ;;
9526
 
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
9508
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9527
9509
          tmp_sharedflag='-qmkshrobj'
9528
9510
          tmp_addflag= ;;
 
9511
        nvcc*)  # Cuda Compiler Driver 2.2
 
9512
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 
9513
          compiler_needs_object=yes
 
9514
          ;;
9529
9515
        esac
9530
9516
        case `$CC -V 2>&1 | sed 5q` in
9531
9517
        *Sun\ C*)                       # Sun C 5.9
9532
 
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
9518
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9533
9519
          compiler_needs_object=yes
9534
9520
          tmp_sharedflag='-G' ;;
9535
9521
        *Sun\ F*)                       # Sun Fortran 8.3
9545
9531
        fi
9546
9532
 
9547
9533
        case $cc_basename in
9548
 
        xlf*)
 
9534
        xlf* | bgf* | bgxlf* | mpixlf*)
9549
9535
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9550
9536
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9551
9537
          hardcode_libdir_flag_spec=
9552
9538
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
9553
 
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
9539
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9554
9540
          if test "x$supports_anon_versioning" = xyes; then
9555
9541
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9556
9542
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9557
9543
              echo "local: *; };" >> $output_objdir/$libname.ver~
9558
 
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
9544
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9559
9545
          fi
9560
9546
          ;;
9561
9547
        esac
9564
9550
      fi
9565
9551
      ;;
9566
9552
 
9567
 
    netbsd*)
 
9553
    netbsd* | netbsdelf*-gnu)
9568
9554
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9569
9555
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9570
9556
        wlarc=
9571
9557
      else
9572
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9573
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9558
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9559
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9574
9560
      fi
9575
9561
      ;;
9576
9562
 
9588
9574
 
9589
9575
_LT_EOF
9590
9576
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9591
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9592
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9577
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9578
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9593
9579
      else
9594
9580
        ld_shlibs=no
9595
9581
      fi
9635
9621
 
9636
9622
    *)
9637
9623
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9638
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9639
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9624
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9625
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9640
9626
      else
9641
9627
        ld_shlibs=no
9642
9628
      fi
9676
9662
      else
9677
9663
        # If we're using GNU nm, then we don't want the "-C" option.
9678
9664
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
9665
        # Also, AIX nm treats weak defined symbols like other global
 
9666
        # defined symbols, whereas GNU nm marks them as "W".
9679
9667
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9680
 
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 
9668
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9681
9669
        else
9682
9670
          export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9683
9671
        fi
9739
9727
        if test "$aix_use_runtimelinking" = yes; then
9740
9728
          shared_flag="$shared_flag "'${wl}-G'
9741
9729
        fi
 
9730
        link_all_deplibs=no
9742
9731
      else
9743
9732
        # not using gcc
9744
9733
        if test "$host_cpu" = ia64; then
9764
9753
        allow_undefined_flag='-berok'
9765
9754
        # Determine the default libpath from the value encoded in an
9766
9755
        # empty executable.
9767
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9756
        if test "${lt_cv_aix_libpath+set}" = set; then
 
9757
  aix_libpath=$lt_cv_aix_libpath
 
9758
else
 
9759
  if test "${lt_cv_aix_libpath_+set}" = set; then :
 
9760
  $as_echo_n "(cached) " >&6
 
9761
else
 
9762
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9768
9763
/* end confdefs.h.  */
9769
9764
 
9770
9765
int
9777
9772
_ACEOF
9778
9773
if ac_fn_c_try_link "$LINENO"; then :
9779
9774
 
9780
 
lt_aix_libpath_sed='
9781
 
    /Import File Strings/,/^$/ {
9782
 
        /^0/ {
9783
 
            s/^0  *\(.*\)$/\1/
9784
 
            p
9785
 
        }
9786
 
    }'
9787
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9788
 
# Check for a 64-bit object if we didn't find anything.
9789
 
if test -z "$aix_libpath"; then
9790
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9791
 
fi
 
9775
  lt_aix_libpath_sed='
 
9776
      /Import File Strings/,/^$/ {
 
9777
          /^0/ {
 
9778
              s/^0  *\([^ ]*\) *$/\1/
 
9779
              p
 
9780
          }
 
9781
      }'
 
9782
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9783
  # Check for a 64-bit object if we didn't find anything.
 
9784
  if test -z "$lt_cv_aix_libpath_"; then
 
9785
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9786
  fi
9792
9787
fi
9793
9788
rm -f core conftest.err conftest.$ac_objext \
9794
9789
    conftest$ac_exeext conftest.$ac_ext
9795
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
9790
  if test -z "$lt_cv_aix_libpath_"; then
 
9791
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
9792
  fi
 
9793
 
 
9794
fi
 
9795
 
 
9796
  aix_libpath=$lt_cv_aix_libpath_
 
9797
fi
9796
9798
 
9797
9799
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9798
 
        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
9800
        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9799
9801
      else
9800
9802
        if test "$host_cpu" = ia64; then
9801
9803
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9804
9806
        else
9805
9807
         # Determine the default libpath from the value encoded in an
9806
9808
         # empty executable.
9807
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9809
         if test "${lt_cv_aix_libpath+set}" = set; then
 
9810
  aix_libpath=$lt_cv_aix_libpath
 
9811
else
 
9812
  if test "${lt_cv_aix_libpath_+set}" = set; then :
 
9813
  $as_echo_n "(cached) " >&6
 
9814
else
 
9815
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9808
9816
/* end confdefs.h.  */
9809
9817
 
9810
9818
int
9817
9825
_ACEOF
9818
9826
if ac_fn_c_try_link "$LINENO"; then :
9819
9827
 
9820
 
lt_aix_libpath_sed='
9821
 
    /Import File Strings/,/^$/ {
9822
 
        /^0/ {
9823
 
            s/^0  *\(.*\)$/\1/
9824
 
            p
9825
 
        }
9826
 
    }'
9827
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9828
 
# Check for a 64-bit object if we didn't find anything.
9829
 
if test -z "$aix_libpath"; then
9830
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9831
 
fi
 
9828
  lt_aix_libpath_sed='
 
9829
      /Import File Strings/,/^$/ {
 
9830
          /^0/ {
 
9831
              s/^0  *\([^ ]*\) *$/\1/
 
9832
              p
 
9833
          }
 
9834
      }'
 
9835
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9836
  # Check for a 64-bit object if we didn't find anything.
 
9837
  if test -z "$lt_cv_aix_libpath_"; then
 
9838
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9839
  fi
9832
9840
fi
9833
9841
rm -f core conftest.err conftest.$ac_objext \
9834
9842
    conftest$ac_exeext conftest.$ac_ext
9835
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
9843
  if test -z "$lt_cv_aix_libpath_"; then
 
9844
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
9845
  fi
 
9846
 
 
9847
fi
 
9848
 
 
9849
  aix_libpath=$lt_cv_aix_libpath_
 
9850
fi
9836
9851
 
9837
9852
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9838
9853
          # Warning - without using the other run time loading flags,
9839
9854
          # -berok will link without error, but may produce a broken library.
9840
9855
          no_undefined_flag=' ${wl}-bernotok'
9841
9856
          allow_undefined_flag=' ${wl}-berok'
9842
 
          # Exported symbols can be pulled into shared objects from archives
9843
 
          whole_archive_flag_spec='$convenience'
 
9857
          if test "$with_gnu_ld" = yes; then
 
9858
            # We only use this code for GNU lds that support --whole-archive.
 
9859
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
9860
          else
 
9861
            # Exported symbols can be pulled into shared objects from archives
 
9862
            whole_archive_flag_spec='$convenience'
 
9863
          fi
9844
9864
          archive_cmds_need_lc=yes
9845
9865
          # This is similar to how AIX traditionally builds its shared libraries.
9846
9866
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9872
9892
      # Microsoft Visual C++.
9873
9893
      # hardcode_libdir_flag_spec is actually meaningless, as there is
9874
9894
      # no search path for DLLs.
9875
 
      hardcode_libdir_flag_spec=' '
9876
 
      allow_undefined_flag=unsupported
9877
 
      # Tell ltmain to make .lib files, not .a files.
9878
 
      libext=lib
9879
 
      # Tell ltmain to make .dll files, not .so files.
9880
 
      shrext_cmds=".dll"
9881
 
      # FIXME: Setting linknames here is a bad hack.
9882
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9883
 
      # The linker will automatically build a .lib file if we build a DLL.
9884
 
      old_archive_from_new_cmds='true'
9885
 
      # FIXME: Should let the user specify the lib program.
9886
 
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9887
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
9888
 
      enable_shared_with_static_runtimes=yes
 
9895
      case $cc_basename in
 
9896
      cl*)
 
9897
        # Native MSVC
 
9898
        hardcode_libdir_flag_spec=' '
 
9899
        allow_undefined_flag=unsupported
 
9900
        always_export_symbols=yes
 
9901
        file_list_spec='@'
 
9902
        # Tell ltmain to make .lib files, not .a files.
 
9903
        libext=lib
 
9904
        # Tell ltmain to make .dll files, not .so files.
 
9905
        shrext_cmds=".dll"
 
9906
        # FIXME: Setting linknames here is a bad hack.
 
9907
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
9908
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
9909
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
9910
          else
 
9911
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
9912
          fi~
 
9913
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
9914
          linknames='
 
9915
        # The linker will not automatically build a static lib if we build a DLL.
 
9916
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
 
9917
        enable_shared_with_static_runtimes=yes
 
9918
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
9919
        # Don't use ranlib
 
9920
        old_postinstall_cmds='chmod 644 $oldlib'
 
9921
        postlink_cmds='lt_outputfile="@OUTPUT@"~
 
9922
          lt_tool_outputfile="@TOOL_OUTPUT@"~
 
9923
          case $lt_outputfile in
 
9924
            *.exe|*.EXE) ;;
 
9925
            *)
 
9926
              lt_outputfile="$lt_outputfile.exe"
 
9927
              lt_tool_outputfile="$lt_tool_outputfile.exe"
 
9928
              ;;
 
9929
          esac~
 
9930
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
9931
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
9932
            $RM "$lt_outputfile.manifest";
 
9933
          fi'
 
9934
        ;;
 
9935
      *)
 
9936
        # Assume MSVC wrapper
 
9937
        hardcode_libdir_flag_spec=' '
 
9938
        allow_undefined_flag=unsupported
 
9939
        # Tell ltmain to make .lib files, not .a files.
 
9940
        libext=lib
 
9941
        # Tell ltmain to make .dll files, not .so files.
 
9942
        shrext_cmds=".dll"
 
9943
        # FIXME: Setting linknames here is a bad hack.
 
9944
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
 
9945
        # The linker will automatically build a .lib file if we build a DLL.
 
9946
        old_archive_from_new_cmds='true'
 
9947
        # FIXME: Should let the user specify the lib program.
 
9948
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
9949
        enable_shared_with_static_runtimes=yes
 
9950
        ;;
 
9951
      esac
9889
9952
      ;;
9890
9953
 
9891
9954
    darwin* | rhapsody*)
9895
9958
  hardcode_direct=no
9896
9959
  hardcode_automatic=yes
9897
9960
  hardcode_shlibpath_var=unsupported
9898
 
  whole_archive_flag_spec=''
 
9961
  if test "$lt_cv_ld_force_load" = "yes"; then
 
9962
    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
 
9963
  else
 
9964
    whole_archive_flag_spec=''
 
9965
  fi
9899
9966
  link_all_deplibs=yes
9900
9967
  allow_undefined_flag="$_lt_dar_allow_undefined"
9901
9968
  case $cc_basename in
9903
9970
     *) _lt_dar_can_shared=$GCC ;;
9904
9971
  esac
9905
9972
  if test "$_lt_dar_can_shared" = "yes"; then
9906
 
    output_verbose_link_cmd=echo
 
9973
    output_verbose_link_cmd=func_echo_all
9907
9974
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9908
9975
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9909
9976
    archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9946
10013
 
9947
10014
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9948
10015
    freebsd* | dragonfly*)
9949
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
10016
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9950
10017
      hardcode_libdir_flag_spec='-R$libdir'
9951
10018
      hardcode_direct=yes
9952
10019
      hardcode_shlibpath_var=no
9954
10021
 
9955
10022
    hpux9*)
9956
10023
      if test "$GCC" = yes; then
9957
 
        archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
10024
        archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9958
10025
      else
9959
10026
        archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9960
10027
      fi
9969
10036
      ;;
9970
10037
 
9971
10038
    hpux10*)
9972
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9973
 
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
10039
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
10040
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9974
10041
      else
9975
10042
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9976
10043
      fi
9988
10055
      ;;
9989
10056
 
9990
10057
    hpux11*)
9991
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
10058
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9992
10059
        case $host_cpu in
9993
10060
        hppa*64*)
9994
10061
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9995
10062
          ;;
9996
10063
        ia64*)
9997
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
10064
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9998
10065
          ;;
9999
10066
        *)
10000
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
10067
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10001
10068
          ;;
10002
10069
        esac
10003
10070
      else
10009
10076
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10010
10077
          ;;
10011
10078
        *)
10012
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
10079
 
 
10080
          # Older versions of the 11.00 compiler do not understand -b yet
 
10081
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
 
10082
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
 
10083
$as_echo_n "checking if $CC understands -b... " >&6; }
 
10084
if test "${lt_cv_prog_compiler__b+set}" = set; then :
 
10085
  $as_echo_n "(cached) " >&6
 
10086
else
 
10087
  lt_cv_prog_compiler__b=no
 
10088
   save_LDFLAGS="$LDFLAGS"
 
10089
   LDFLAGS="$LDFLAGS -b"
 
10090
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
10091
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
10092
     # The linker can only warn and ignore the option if not recognized
 
10093
     # So say no if there are warnings
 
10094
     if test -s conftest.err; then
 
10095
       # Append any errors to the config.log.
 
10096
       cat conftest.err 1>&5
 
10097
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
10098
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
10099
       if diff conftest.exp conftest.er2 >/dev/null; then
 
10100
         lt_cv_prog_compiler__b=yes
 
10101
       fi
 
10102
     else
 
10103
       lt_cv_prog_compiler__b=yes
 
10104
     fi
 
10105
   fi
 
10106
   $RM -r conftest*
 
10107
   LDFLAGS="$save_LDFLAGS"
 
10108
 
 
10109
fi
 
10110
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
 
10111
$as_echo "$lt_cv_prog_compiler__b" >&6; }
 
10112
 
 
10113
if test x"$lt_cv_prog_compiler__b" = xyes; then
 
10114
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
10115
else
 
10116
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
10117
fi
 
10118
 
10013
10119
          ;;
10014
10120
        esac
10015
10121
      fi
10037
10143
 
10038
10144
    irix5* | irix6* | nonstopux*)
10039
10145
      if test "$GCC" = yes; then
10040
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
10146
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10041
10147
        # Try to use the -exported_symbol ld option, if it does not
10042
10148
        # work, assume that -exports_file does not work either and
10043
10149
        # implicitly export all symbols.
10044
 
        save_LDFLAGS="$LDFLAGS"
10045
 
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10046
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10150
        # This should be the same for all languages, so no per-tag cache variable.
 
10151
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
 
10152
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
 
10153
if test "${lt_cv_irix_exported_symbol+set}" = set; then :
 
10154
  $as_echo_n "(cached) " >&6
 
10155
else
 
10156
  save_LDFLAGS="$LDFLAGS"
 
10157
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
10158
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10047
10159
/* end confdefs.h.  */
10048
 
int foo(void) {}
 
10160
int foo (void) { return 0; }
10049
10161
_ACEOF
10050
10162
if ac_fn_c_try_link "$LINENO"; then :
10051
 
  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10052
 
 
 
10163
  lt_cv_irix_exported_symbol=yes
 
10164
else
 
10165
  lt_cv_irix_exported_symbol=no
10053
10166
fi
10054
10167
rm -f core conftest.err conftest.$ac_objext \
10055
10168
    conftest$ac_exeext conftest.$ac_ext
10056
 
        LDFLAGS="$save_LDFLAGS"
 
10169
           LDFLAGS="$save_LDFLAGS"
 
10170
fi
 
10171
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
 
10172
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
 
10173
        if test "$lt_cv_irix_exported_symbol" = yes; then
 
10174
          archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
 
10175
        fi
10057
10176
      else
10058
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10059
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
 
10177
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 
10178
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10060
10179
      fi
10061
10180
      archive_cmds_need_lc='no'
10062
10181
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10065
10184
      link_all_deplibs=yes
10066
10185
      ;;
10067
10186
 
10068
 
    netbsd*)
 
10187
    netbsd* | netbsdelf*-gnu)
10069
10188
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10070
10189
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10071
10190
      else
10118
10237
      hardcode_libdir_flag_spec='-L$libdir'
10119
10238
      hardcode_minus_L=yes
10120
10239
      allow_undefined_flag=unsupported
10121
 
      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
 
10240
      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10122
10241
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10123
10242
      ;;
10124
10243
 
10125
10244
    osf3*)
10126
10245
      if test "$GCC" = yes; then
10127
10246
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10128
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
10247
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10129
10248
      else
10130
10249
        allow_undefined_flag=' -expect_unresolved \*'
10131
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
10250
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10132
10251
      fi
10133
10252
      archive_cmds_need_lc='no'
10134
10253
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10138
10257
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
10139
10258
      if test "$GCC" = yes; then
10140
10259
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10141
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
10260
        archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10142
10261
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10143
10262
      else
10144
10263
        allow_undefined_flag=' -expect_unresolved \*'
10145
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
10264
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10146
10265
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
10147
 
        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
 
10266
        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10148
10267
 
10149
10268
        # Both c and cxx compiler support -rpath directly
10150
10269
        hardcode_libdir_flag_spec='-rpath $libdir'
10157
10276
      no_undefined_flag=' -z defs'
10158
10277
      if test "$GCC" = yes; then
10159
10278
        wlarc='${wl}'
10160
 
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10279
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10161
10280
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10162
 
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
10281
          $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10163
10282
      else
10164
10283
        case `$CC -V 2>&1` in
10165
10284
        *"Compilers 5.0"*)
10347
10466
      # to ld, don't add -lc before -lgcc.
10348
10467
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10349
10468
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10350
 
      $RM conftest*
10351
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10469
if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
 
10470
  $as_echo_n "(cached) " >&6
 
10471
else
 
10472
  $RM conftest*
 
10473
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10352
10474
 
10353
 
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
10475
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10354
10476
  (eval $ac_compile) 2>&5
10355
10477
  ac_status=$?
10356
10478
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10357
10479
  test $ac_status = 0; } 2>conftest.err; then
10358
 
        soname=conftest
10359
 
        lib=conftest
10360
 
        libobjs=conftest.$ac_objext
10361
 
        deplibs=
10362
 
        wl=$lt_prog_compiler_wl
10363
 
        pic_flag=$lt_prog_compiler_pic
10364
 
        compiler_flags=-v
10365
 
        linker_flags=-v
10366
 
        verstring=
10367
 
        output_objdir=.
10368
 
        libname=conftest
10369
 
        lt_save_allow_undefined_flag=$allow_undefined_flag
10370
 
        allow_undefined_flag=
10371
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
10480
          soname=conftest
 
10481
          lib=conftest
 
10482
          libobjs=conftest.$ac_objext
 
10483
          deplibs=
 
10484
          wl=$lt_prog_compiler_wl
 
10485
          pic_flag=$lt_prog_compiler_pic
 
10486
          compiler_flags=-v
 
10487
          linker_flags=-v
 
10488
          verstring=
 
10489
          output_objdir=.
 
10490
          libname=conftest
 
10491
          lt_save_allow_undefined_flag=$allow_undefined_flag
 
10492
          allow_undefined_flag=
 
10493
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10372
10494
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10373
10495
  ac_status=$?
10374
10496
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10375
10497
  test $ac_status = 0; }
10376
 
        then
10377
 
          archive_cmds_need_lc=no
10378
 
        else
10379
 
          archive_cmds_need_lc=yes
10380
 
        fi
10381
 
        allow_undefined_flag=$lt_save_allow_undefined_flag
10382
 
      else
10383
 
        cat conftest.err 1>&5
10384
 
      fi
10385
 
      $RM conftest*
10386
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10387
 
$as_echo "$archive_cmds_need_lc" >&6; }
 
10498
          then
 
10499
            lt_cv_archive_cmds_need_lc=no
 
10500
          else
 
10501
            lt_cv_archive_cmds_need_lc=yes
 
10502
          fi
 
10503
          allow_undefined_flag=$lt_save_allow_undefined_flag
 
10504
        else
 
10505
          cat conftest.err 1>&5
 
10506
        fi
 
10507
        $RM conftest*
 
10508
 
 
10509
fi
 
10510
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
 
10511
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
 
10512
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10388
10513
      ;;
10389
10514
    esac
10390
10515
  fi
10555
10680
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10556
10681
    *) lt_awk_arg="/^libraries:/" ;;
10557
10682
  esac
10558
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10559
 
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
 
10683
  case $host_os in
 
10684
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
 
10685
    *) lt_sed_strip_eq="s,=/,/,g" ;;
 
10686
  esac
 
10687
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
 
10688
  case $lt_search_path_spec in
 
10689
  *\;*)
10560
10690
    # if the path contains ";" then we assume it to be the separator
10561
10691
    # otherwise default to the standard path separator (i.e. ":") - it is
10562
10692
    # assumed that no part of a normal pathname contains ";" but that should
10563
10693
    # okay in the real world where ";" in dirpaths is itself problematic.
10564
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10565
 
  else
10566
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10567
 
  fi
 
10694
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
 
10695
    ;;
 
10696
  *)
 
10697
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
 
10698
    ;;
 
10699
  esac
10568
10700
  # Ok, now we have the path, separated by spaces, we can step through it
10569
10701
  # and add multilib dir if necessary.
10570
10702
  lt_tmp_lt_search_path_spec=
10577
10709
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10578
10710
    fi
10579
10711
  done
10580
 
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
 
10712
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10581
10713
BEGIN {RS=" "; FS="/|\n";} {
10582
10714
  lt_foo="";
10583
10715
  lt_count=0;
10597
10729
  if (lt_foo != "") { lt_freq[lt_foo]++; }
10598
10730
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10599
10731
}'`
10600
 
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
 
10732
  # AWK program above erroneously prepends '/' to C:/dos/paths
 
10733
  # for these hosts.
 
10734
  case $host_os in
 
10735
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
 
10736
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
 
10737
  esac
 
10738
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10601
10739
else
10602
10740
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10603
10741
fi
10685
10823
  m68k)
10686
10824
    library_names_spec='$libname.ixlibrary $libname.a'
10687
10825
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10688
 
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
 
10826
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10689
10827
    ;;
10690
10828
  esac
10691
10829
  ;;
10716
10854
  need_version=no
10717
10855
  need_lib_prefix=no
10718
10856
 
10719
 
  case $GCC,$host_os in
10720
 
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
10857
  case $GCC,$cc_basename in
 
10858
  yes,*)
 
10859
    # gcc
10721
10860
    library_names_spec='$libname.dll.a'
10722
10861
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10723
10862
    postinstall_cmds='base_file=`basename \${file}`~
10738
10877
    cygwin*)
10739
10878
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10740
10879
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10741
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
10880
 
 
10881
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10742
10882
      ;;
10743
10883
    mingw* | cegcc*)
10744
10884
      # MinGW DLLs use traditional 'lib' prefix
10745
10885
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10746
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10747
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10748
 
        # It is most probably a Windows format PATH printed by
10749
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
10750
 
        # path with ; separators, and with drive letters. We can handle the
10751
 
        # drive letters (cygwin fileutils understands them), so leave them,
10752
 
        # especially as we might pass files found there to a mingw objdump,
10753
 
        # which wouldn't understand a cygwinified path. Ahh.
10754
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10755
 
      else
10756
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10757
 
      fi
10758
10886
      ;;
10759
10887
    pw32*)
10760
10888
      # pw32 DLLs use 'pw' prefix rather than 'lib'
10761
10889
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10762
10890
      ;;
10763
10891
    esac
 
10892
    dynamic_linker='Win32 ld.exe'
 
10893
    ;;
 
10894
 
 
10895
  *,cl*)
 
10896
    # Native MSVC
 
10897
    libname_spec='$name'
 
10898
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
10899
    library_names_spec='${libname}.dll.lib'
 
10900
 
 
10901
    case $build_os in
 
10902
    mingw*)
 
10903
      sys_lib_search_path_spec=
 
10904
      lt_save_ifs=$IFS
 
10905
      IFS=';'
 
10906
      for lt_path in $LIB
 
10907
      do
 
10908
        IFS=$lt_save_ifs
 
10909
        # Let DOS variable expansion print the short 8.3 style file name.
 
10910
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
10911
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
10912
      done
 
10913
      IFS=$lt_save_ifs
 
10914
      # Convert to MSYS style.
 
10915
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
10916
      ;;
 
10917
    cygwin*)
 
10918
      # Convert to unix form, then to dos form, then back to unix form
 
10919
      # but this time dos style (no spaces!) so that the unix form looks
 
10920
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
10921
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
10922
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
10923
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
10924
      ;;
 
10925
    *)
 
10926
      sys_lib_search_path_spec="$LIB"
 
10927
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
10928
        # It is most probably a Windows format PATH.
 
10929
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
10930
      else
 
10931
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
10932
      fi
 
10933
      # FIXME: find the short name or the path components, as spaces are
 
10934
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
10935
      ;;
 
10936
    esac
 
10937
 
 
10938
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
10939
    postinstall_cmds='base_file=`basename \${file}`~
 
10940
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
10941
      dldir=$destdir/`dirname \$dlpath`~
 
10942
      test -d \$dldir || mkdir -p \$dldir~
 
10943
      $install_prog $dir/$dlname \$dldir/$dlname'
 
10944
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
10945
      dlpath=$dir/\$dldll~
 
10946
       $RM \$dlpath'
 
10947
    shlibpath_overrides_runpath=yes
 
10948
    dynamic_linker='Win32 link.exe'
10764
10949
    ;;
10765
10950
 
10766
10951
  *)
 
10952
    # Assume MSVC wrapper
10767
10953
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
10954
    dynamic_linker='Win32 ld.exe'
10768
10955
    ;;
10769
10956
  esac
10770
 
  dynamic_linker='Win32 ld.exe'
10771
10957
  # FIXME: first we should search . and the directory the executable is in
10772
10958
  shlibpath_var=PATH
10773
10959
  ;;
10851
11037
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10852
11038
  soname_spec='${libname}${release}${shared_ext}$major'
10853
11039
  shlibpath_var=LD_LIBRARY_PATH
 
11040
  shlibpath_overrides_runpath=no
 
11041
  hardcode_into_libs=yes
 
11042
  ;;
 
11043
 
 
11044
haiku*)
 
11045
  version_type=linux
 
11046
  need_lib_prefix=no
 
11047
  need_version=no
 
11048
  dynamic_linker="$host_os runtime_loader"
 
11049
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
11050
  soname_spec='${libname}${release}${shared_ext}$major'
 
11051
  shlibpath_var=LIBRARY_PATH
 
11052
  shlibpath_overrides_runpath=yes
 
11053
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10854
11054
  hardcode_into_libs=yes
10855
11055
  ;;
10856
11056
 
10896
11096
    soname_spec='${libname}${release}${shared_ext}$major'
10897
11097
    ;;
10898
11098
  esac
10899
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
11099
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10900
11100
  postinstall_cmds='chmod 555 $lib'
 
11101
  # or fails outright, so override atomically:
 
11102
  install_override_mode=555
10901
11103
  ;;
10902
11104
 
10903
11105
interix[3-9]*)
10955
11157
  ;;
10956
11158
 
10957
11159
# This must be Linux ELF.
10958
 
linux* | k*bsd*-gnu)
 
11160
linux* | k*bsd*-gnu | kopensolaris*-gnu)
10959
11161
  version_type=linux
10960
11162
  need_lib_prefix=no
10961
11163
  need_version=no
10964
11166
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10965
11167
  shlibpath_var=LD_LIBRARY_PATH
10966
11168
  shlibpath_overrides_runpath=no
 
11169
 
10967
11170
  # Some binutils ld are patched to set DT_RUNPATH
10968
 
  save_LDFLAGS=$LDFLAGS
10969
 
  save_libdir=$libdir
10970
 
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10971
 
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10972
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11171
  if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
 
11172
  $as_echo_n "(cached) " >&6
 
11173
else
 
11174
  lt_cv_shlibpath_overrides_runpath=no
 
11175
    save_LDFLAGS=$LDFLAGS
 
11176
    save_libdir=$libdir
 
11177
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
11178
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
11179
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10973
11180
/* end confdefs.h.  */
10974
11181
 
10975
11182
int
10982
11189
_ACEOF
10983
11190
if ac_fn_c_try_link "$LINENO"; then :
10984
11191
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10985
 
  shlibpath_overrides_runpath=yes
 
11192
  lt_cv_shlibpath_overrides_runpath=yes
10986
11193
fi
10987
11194
fi
10988
11195
rm -f core conftest.err conftest.$ac_objext \
10989
11196
    conftest$ac_exeext conftest.$ac_ext
10990
 
  LDFLAGS=$save_LDFLAGS
10991
 
  libdir=$save_libdir
 
11197
    LDFLAGS=$save_LDFLAGS
 
11198
    libdir=$save_libdir
 
11199
 
 
11200
fi
 
11201
 
 
11202
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10992
11203
 
10993
11204
  # This implies no fast_install, which is unacceptable.
10994
11205
  # Some rework will be needed to allow for fast_install
10995
11206
  # before this can be enabled.
10996
11207
  hardcode_into_libs=yes
10997
11208
 
10998
 
  # Add ABI-specific directories to the system library path.
10999
 
  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
11000
 
 
11001
11209
  # Append ld.so.conf contents to the search path
11002
11210
  if test -f /etc/ld.so.conf; then
11003
 
    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"
 
11211
    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;s/"//g;/^$/d' | tr '\n' ' '`
 
11212
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11005
11213
  fi
11006
11214
 
11007
11215
  # We used to test for /lib/ld.so.1 and disable shared libraries on
11013
11221
  dynamic_linker='GNU/Linux ld.so'
11014
11222
  ;;
11015
11223
 
 
11224
netbsdelf*-gnu)
 
11225
  version_type=linux
 
11226
  need_lib_prefix=no
 
11227
  need_version=no
 
11228
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
11229
  soname_spec='${libname}${release}${shared_ext}$major'
 
11230
  shlibpath_var=LD_LIBRARY_PATH
 
11231
  shlibpath_overrides_runpath=no
 
11232
  hardcode_into_libs=yes
 
11233
  dynamic_linker='NetBSD ld.elf_so'
 
11234
  ;;
 
11235
 
11016
11236
netbsd*)
11017
11237
  version_type=sunos
11018
11238
  need_lib_prefix=no
11303
11523
 
11304
11524
 
11305
11525
 
 
11526
 
 
11527
 
 
11528
 
 
11529
 
 
11530
 
11306
11531
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11307
11532
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11308
11533
hardcode_action=
11633
11858
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11634
11859
  lt_status=$lt_dlunknown
11635
11860
  cat > conftest.$ac_ext <<_LT_EOF
11636
 
#line 11636 "configure"
 
11861
#line $LINENO "configure"
11637
11862
#include "confdefs.h"
11638
11863
 
11639
11864
#if HAVE_DLFCN_H
11674
11899
#  endif
11675
11900
#endif
11676
11901
 
11677
 
void fnord() { int i=42;}
 
11902
/* When -fvisbility=hidden is used, assume the code has been annotated
 
11903
   correspondingly for the symbols needed.  */
 
11904
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
11905
int fnord () __attribute__((visibility("default")));
 
11906
#endif
 
11907
 
 
11908
int fnord () { return 42; }
11678
11909
int main ()
11679
11910
{
11680
11911
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11683
11914
  if (self)
11684
11915
    {
11685
11916
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11686
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
11917
      else
 
11918
        {
 
11919
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
11920
          else puts (dlerror ());
 
11921
        }
11687
11922
      /* dlclose (self); */
11688
11923
    }
11689
11924
  else
11729
11964
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11730
11965
  lt_status=$lt_dlunknown
11731
11966
  cat > conftest.$ac_ext <<_LT_EOF
11732
 
#line 11732 "configure"
 
11967
#line $LINENO "configure"
11733
11968
#include "confdefs.h"
11734
11969
 
11735
11970
#if HAVE_DLFCN_H
11770
12005
#  endif
11771
12006
#endif
11772
12007
 
11773
 
void fnord() { int i=42;}
 
12008
/* When -fvisbility=hidden is used, assume the code has been annotated
 
12009
   correspondingly for the symbols needed.  */
 
12010
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
12011
int fnord () __attribute__((visibility("default")));
 
12012
#endif
 
12013
 
 
12014
int fnord () { return 42; }
11774
12015
int main ()
11775
12016
{
11776
12017
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11779
12020
  if (self)
11780
12021
    {
11781
12022
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11782
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
12023
      else
 
12024
        {
 
12025
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
12026
          else puts (dlerror ());
 
12027
        }
11783
12028
      /* dlclose (self); */
11784
12029
    }
11785
12030
  else
11979
12224
if test "${enable_compile_warnings+set}" = set; then :
11980
12225
  enableval=$enable_compile_warnings;
11981
12226
else
11982
 
  enable_compile_warnings="yes"
 
12227
  enable_compile_warnings="maximum"
11983
12228
fi
11984
12229
 
11985
12230
 
12041
12286
        fi
12042
12287
        ;;
12043
12288
    *)
12044
 
        as_fn_error "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5
 
12289
        as_fn_error $? "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5
12045
12290
        ;;
12046
12291
    esac
12047
12292
    CFLAGS="$realsave_CFLAGS"
12080
12325
 
12081
12326
 
12082
12327
 
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
12328
#*******************************************************************************
12428
 
# soname
 
12329
# Libraries
12429
12330
#*******************************************************************************
12430
12331
# Before making a release, the CHEESE_LT_VERSION string should be modified.
12431
12332
# The string is of the form C:R:A.
12434
12335
# - If binary compatibility has been broken (eg removed or changed interfaces)
12435
12336
#   change to C+1:0:0
12436
12337
# - If the interface is the same as the previous version, change to C:R+1:A
12437
 
CHEESE_LT_VERSION=18:0:0
 
12338
LIBCHEESE_LT_VERSION=1:0:0
 
12339
LIBCHEESE_GTK_LT_VERSION=20:0:0
 
12340
 
12438
12341
 
12439
12342
 
12440
12343
#*******************************************************************************
12460
12363
#*******************************************************************************
12461
12364
# Internationalization
12462
12365
#*******************************************************************************
12463
 
GETTEXT_PACKAGE=cheese
12464
 
 
12465
 
 
12466
 
cat >>confdefs.h <<_ACEOF
12467
 
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
12468
 
_ACEOF
12469
 
 
12470
 
 
12471
12366
 
12472
12367
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
12473
12368
$as_echo_n "checking whether NLS is requested... " >&6; }
12484
12379
 
12485
12380
 
12486
12381
 
 
12382
      GETTEXT_MACRO_VERSION=0.17
 
12383
 
 
12384
 
 
12385
 
 
12386
 
 
12387
# Prepare PATH_SEPARATOR.
 
12388
# The user is always right.
 
12389
if test "${PATH_SEPARATOR+set}" != set; then
 
12390
  echo "#! /bin/sh" >conf$$.sh
 
12391
  echo  "exit 0"   >>conf$$.sh
 
12392
  chmod +x conf$$.sh
 
12393
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
12394
    PATH_SEPARATOR=';'
 
12395
  else
 
12396
    PATH_SEPARATOR=:
 
12397
  fi
 
12398
  rm -f conf$$.sh
 
12399
fi
 
12400
 
 
12401
# Find out how to test for executable files. Don't use a zero-byte file,
 
12402
# as systems may use methods other than mode bits to determine executability.
 
12403
cat >conf$$.file <<_ASEOF
 
12404
#! /bin/sh
 
12405
exit 0
 
12406
_ASEOF
 
12407
chmod +x conf$$.file
 
12408
if test -x conf$$.file >/dev/null 2>&1; then
 
12409
  ac_executable_p="test -x"
 
12410
else
 
12411
  ac_executable_p="test -f"
 
12412
fi
 
12413
rm -f conf$$.file
 
12414
 
 
12415
# Extract the first word of "msgfmt", so it can be a program name with args.
 
12416
set dummy msgfmt; ac_word=$2
 
12417
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12418
$as_echo_n "checking for $ac_word... " >&6; }
 
12419
if test "${ac_cv_path_MSGFMT+set}" = set; then :
 
12420
  $as_echo_n "(cached) " >&6
 
12421
else
 
12422
  case "$MSGFMT" in
 
12423
  [\\/]* | ?:[\\/]*)
 
12424
    ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
 
12425
    ;;
 
12426
  *)
 
12427
    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
 
12428
    for ac_dir in $PATH; do
 
12429
      IFS="$ac_save_IFS"
 
12430
      test -z "$ac_dir" && ac_dir=.
 
12431
      for ac_exec_ext in '' $ac_executable_extensions; do
 
12432
        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
 
12433
          echo "$as_me: trying $ac_dir/$ac_word..." >&5
 
12434
          if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
 
12435
     (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
 
12436
            ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
 
12437
            break 2
 
12438
          fi
 
12439
        fi
 
12440
      done
 
12441
    done
 
12442
    IFS="$ac_save_IFS"
 
12443
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
 
12444
    ;;
 
12445
esac
 
12446
fi
 
12447
MSGFMT="$ac_cv_path_MSGFMT"
 
12448
if test "$MSGFMT" != ":"; then
 
12449
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
 
12450
$as_echo "$MSGFMT" >&6; }
 
12451
else
 
12452
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12453
$as_echo "no" >&6; }
 
12454
fi
 
12455
 
 
12456
  # Extract the first word of "gmsgfmt", so it can be a program name with args.
 
12457
set dummy gmsgfmt; ac_word=$2
 
12458
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12459
$as_echo_n "checking for $ac_word... " >&6; }
 
12460
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
 
12461
  $as_echo_n "(cached) " >&6
 
12462
else
 
12463
  case $GMSGFMT in
 
12464
  [\\/]* | ?:[\\/]*)
 
12465
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
 
12466
  ;;
 
12467
  *)
 
12468
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12469
for as_dir in $PATH
 
12470
do
 
12471
  IFS=$as_save_IFS
 
12472
  test -z "$as_dir" && as_dir=.
 
12473
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12474
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12475
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
12476
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12477
    break 2
 
12478
  fi
 
12479
done
 
12480
  done
 
12481
IFS=$as_save_IFS
 
12482
 
 
12483
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
 
12484
  ;;
 
12485
esac
 
12486
fi
 
12487
GMSGFMT=$ac_cv_path_GMSGFMT
 
12488
if test -n "$GMSGFMT"; then
 
12489
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
 
12490
$as_echo "$GMSGFMT" >&6; }
 
12491
else
 
12492
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12493
$as_echo "no" >&6; }
 
12494
fi
 
12495
 
 
12496
 
 
12497
 
 
12498
    case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
 
12499
    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
 
12500
    *) MSGFMT_015=$MSGFMT ;;
 
12501
  esac
 
12502
 
 
12503
  case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
 
12504
    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
 
12505
    *) GMSGFMT_015=$GMSGFMT ;;
 
12506
  esac
 
12507
 
 
12508
 
 
12509
 
 
12510
# Prepare PATH_SEPARATOR.
 
12511
# The user is always right.
 
12512
if test "${PATH_SEPARATOR+set}" != set; then
 
12513
  echo "#! /bin/sh" >conf$$.sh
 
12514
  echo  "exit 0"   >>conf$$.sh
 
12515
  chmod +x conf$$.sh
 
12516
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
12517
    PATH_SEPARATOR=';'
 
12518
  else
 
12519
    PATH_SEPARATOR=:
 
12520
  fi
 
12521
  rm -f conf$$.sh
 
12522
fi
 
12523
 
 
12524
# Find out how to test for executable files. Don't use a zero-byte file,
 
12525
# as systems may use methods other than mode bits to determine executability.
 
12526
cat >conf$$.file <<_ASEOF
 
12527
#! /bin/sh
 
12528
exit 0
 
12529
_ASEOF
 
12530
chmod +x conf$$.file
 
12531
if test -x conf$$.file >/dev/null 2>&1; then
 
12532
  ac_executable_p="test -x"
 
12533
else
 
12534
  ac_executable_p="test -f"
 
12535
fi
 
12536
rm -f conf$$.file
 
12537
 
 
12538
# Extract the first word of "xgettext", so it can be a program name with args.
 
12539
set dummy xgettext; ac_word=$2
 
12540
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12541
$as_echo_n "checking for $ac_word... " >&6; }
 
12542
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
 
12543
  $as_echo_n "(cached) " >&6
 
12544
else
 
12545
  case "$XGETTEXT" in
 
12546
  [\\/]* | ?:[\\/]*)
 
12547
    ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
 
12548
    ;;
 
12549
  *)
 
12550
    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
 
12551
    for ac_dir in $PATH; do
 
12552
      IFS="$ac_save_IFS"
 
12553
      test -z "$ac_dir" && ac_dir=.
 
12554
      for ac_exec_ext in '' $ac_executable_extensions; do
 
12555
        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
 
12556
          echo "$as_me: trying $ac_dir/$ac_word..." >&5
 
12557
          if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
 
12558
     (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
 
12559
            ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
 
12560
            break 2
 
12561
          fi
 
12562
        fi
 
12563
      done
 
12564
    done
 
12565
    IFS="$ac_save_IFS"
 
12566
  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
 
12567
    ;;
 
12568
esac
 
12569
fi
 
12570
XGETTEXT="$ac_cv_path_XGETTEXT"
 
12571
if test "$XGETTEXT" != ":"; then
 
12572
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
 
12573
$as_echo "$XGETTEXT" >&6; }
 
12574
else
 
12575
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12576
$as_echo "no" >&6; }
 
12577
fi
 
12578
 
 
12579
    rm -f messages.po
 
12580
 
 
12581
    case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
 
12582
    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
 
12583
    *) XGETTEXT_015=$XGETTEXT ;;
 
12584
  esac
 
12585
 
 
12586
 
 
12587
 
 
12588
# Prepare PATH_SEPARATOR.
 
12589
# The user is always right.
 
12590
if test "${PATH_SEPARATOR+set}" != set; then
 
12591
  echo "#! /bin/sh" >conf$$.sh
 
12592
  echo  "exit 0"   >>conf$$.sh
 
12593
  chmod +x conf$$.sh
 
12594
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
12595
    PATH_SEPARATOR=';'
 
12596
  else
 
12597
    PATH_SEPARATOR=:
 
12598
  fi
 
12599
  rm -f conf$$.sh
 
12600
fi
 
12601
 
 
12602
# Find out how to test for executable files. Don't use a zero-byte file,
 
12603
# as systems may use methods other than mode bits to determine executability.
 
12604
cat >conf$$.file <<_ASEOF
 
12605
#! /bin/sh
 
12606
exit 0
 
12607
_ASEOF
 
12608
chmod +x conf$$.file
 
12609
if test -x conf$$.file >/dev/null 2>&1; then
 
12610
  ac_executable_p="test -x"
 
12611
else
 
12612
  ac_executable_p="test -f"
 
12613
fi
 
12614
rm -f conf$$.file
 
12615
 
 
12616
# Extract the first word of "msgmerge", so it can be a program name with args.
 
12617
set dummy msgmerge; ac_word=$2
 
12618
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12619
$as_echo_n "checking for $ac_word... " >&6; }
 
12620
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
 
12621
  $as_echo_n "(cached) " >&6
 
12622
else
 
12623
  case "$MSGMERGE" in
 
12624
  [\\/]* | ?:[\\/]*)
 
12625
    ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
 
12626
    ;;
 
12627
  *)
 
12628
    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
 
12629
    for ac_dir in $PATH; do
 
12630
      IFS="$ac_save_IFS"
 
12631
      test -z "$ac_dir" && ac_dir=.
 
12632
      for ac_exec_ext in '' $ac_executable_extensions; do
 
12633
        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
 
12634
          echo "$as_me: trying $ac_dir/$ac_word..." >&5
 
12635
          if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
 
12636
            ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
 
12637
            break 2
 
12638
          fi
 
12639
        fi
 
12640
      done
 
12641
    done
 
12642
    IFS="$ac_save_IFS"
 
12643
  test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
 
12644
    ;;
 
12645
esac
 
12646
fi
 
12647
MSGMERGE="$ac_cv_path_MSGMERGE"
 
12648
if test "$MSGMERGE" != ":"; then
 
12649
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
 
12650
$as_echo "$MSGMERGE" >&6; }
 
12651
else
 
12652
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12653
$as_echo "no" >&6; }
 
12654
fi
 
12655
 
 
12656
 
 
12657
        test -n "$localedir" || localedir='${datadir}/locale'
 
12658
 
 
12659
 
 
12660
    test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
 
12661
 
 
12662
 
 
12663
  ac_config_commands="$ac_config_commands po-directories"
 
12664
 
 
12665
 
 
12666
 
 
12667
      if test "X$prefix" = "XNONE"; then
 
12668
    acl_final_prefix="$ac_default_prefix"
 
12669
  else
 
12670
    acl_final_prefix="$prefix"
 
12671
  fi
 
12672
  if test "X$exec_prefix" = "XNONE"; then
 
12673
    acl_final_exec_prefix='${prefix}'
 
12674
  else
 
12675
    acl_final_exec_prefix="$exec_prefix"
 
12676
  fi
 
12677
  acl_save_prefix="$prefix"
 
12678
  prefix="$acl_final_prefix"
 
12679
  eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
 
12680
  prefix="$acl_save_prefix"
 
12681
 
 
12682
 
 
12683
# Check whether --with-gnu-ld was given.
 
12684
if test "${with_gnu_ld+set}" = set; then :
 
12685
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 
12686
else
 
12687
  with_gnu_ld=no
 
12688
fi
 
12689
 
 
12690
# Prepare PATH_SEPARATOR.
 
12691
# The user is always right.
 
12692
if test "${PATH_SEPARATOR+set}" != set; then
 
12693
  echo "#! /bin/sh" >conf$$.sh
 
12694
  echo  "exit 0"   >>conf$$.sh
 
12695
  chmod +x conf$$.sh
 
12696
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
12697
    PATH_SEPARATOR=';'
 
12698
  else
 
12699
    PATH_SEPARATOR=:
 
12700
  fi
 
12701
  rm -f conf$$.sh
 
12702
fi
 
12703
ac_prog=ld
 
12704
if test "$GCC" = yes; then
 
12705
  # Check if gcc -print-prog-name=ld gives a path.
 
12706
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
 
12707
$as_echo_n "checking for ld used by GCC... " >&6; }
 
12708
  case $host in
 
12709
  *-*-mingw*)
 
12710
    # gcc leaves a trailing carriage return which upsets mingw
 
12711
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
12712
  *)
 
12713
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
12714
  esac
 
12715
  case $ac_prog in
 
12716
    # Accept absolute paths.
 
12717
    [\\/]* | [A-Za-z]:[\\/]*)
 
12718
      re_direlt='/[^/][^/]*/\.\./'
 
12719
      # Canonicalize the path of ld
 
12720
      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
 
12721
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
 
12722
        ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
 
12723
      done
 
12724
      test -z "$LD" && LD="$ac_prog"
 
12725
      ;;
 
12726
  "")
 
12727
    # If it fails, then pretend we aren't using GCC.
 
12728
    ac_prog=ld
 
12729
    ;;
 
12730
  *)
 
12731
    # If it is relative, then search for the first ld in PATH.
 
12732
    with_gnu_ld=unknown
 
12733
    ;;
 
12734
  esac
 
12735
elif test "$with_gnu_ld" = yes; then
 
12736
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 
12737
$as_echo_n "checking for GNU ld... " >&6; }
 
12738
else
 
12739
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 
12740
$as_echo_n "checking for non-GNU ld... " >&6; }
 
12741
fi
 
12742
if test "${acl_cv_path_LD+set}" = set; then :
 
12743
  $as_echo_n "(cached) " >&6
 
12744
else
 
12745
  if test -z "$LD"; then
 
12746
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
 
12747
  for ac_dir in $PATH; do
 
12748
    test -z "$ac_dir" && ac_dir=.
 
12749
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
12750
      acl_cv_path_LD="$ac_dir/$ac_prog"
 
12751
      # Check to see if the program is GNU ld.  I'd rather use --version,
 
12752
      # but apparently some GNU ld's only accept -v.
 
12753
      # Break only if it was the GNU/non-GNU ld that we prefer.
 
12754
      case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
 
12755
      *GNU* | *'with BFD'*)
 
12756
        test "$with_gnu_ld" != no && break ;;
 
12757
      *)
 
12758
        test "$with_gnu_ld" != yes && break ;;
 
12759
      esac
 
12760
    fi
 
12761
  done
 
12762
  IFS="$ac_save_ifs"
 
12763
else
 
12764
  acl_cv_path_LD="$LD" # Let the user override the test with a path.
 
12765
fi
 
12766
fi
 
12767
 
 
12768
LD="$acl_cv_path_LD"
 
12769
if test -n "$LD"; then
 
12770
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
12771
$as_echo "$LD" >&6; }
 
12772
else
 
12773
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12774
$as_echo "no" >&6; }
 
12775
fi
 
12776
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 
12777
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 
12778
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
12779
if test "${acl_cv_prog_gnu_ld+set}" = set; then :
 
12780
  $as_echo_n "(cached) " >&6
 
12781
else
 
12782
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
 
12783
case `$LD -v 2>&1 </dev/null` in
 
12784
*GNU* | *'with BFD'*)
 
12785
  acl_cv_prog_gnu_ld=yes ;;
 
12786
*)
 
12787
  acl_cv_prog_gnu_ld=no ;;
 
12788
esac
 
12789
fi
 
12790
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
 
12791
$as_echo "$acl_cv_prog_gnu_ld" >&6; }
 
12792
with_gnu_ld=$acl_cv_prog_gnu_ld
 
12793
 
 
12794
 
 
12795
 
 
12796
 
 
12797
                                                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
 
12798
$as_echo_n "checking for shared library run path origin... " >&6; }
 
12799
if test "${acl_cv_rpath+set}" = set; then :
 
12800
  $as_echo_n "(cached) " >&6
 
12801
else
 
12802
 
 
12803
    CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
 
12804
    ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
 
12805
    . ./conftest.sh
 
12806
    rm -f ./conftest.sh
 
12807
    acl_cv_rpath=done
 
12808
 
 
12809
fi
 
12810
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
 
12811
$as_echo "$acl_cv_rpath" >&6; }
 
12812
  wl="$acl_cv_wl"
 
12813
  acl_libext="$acl_cv_libext"
 
12814
  acl_shlibext="$acl_cv_shlibext"
 
12815
  acl_libname_spec="$acl_cv_libname_spec"
 
12816
  acl_library_names_spec="$acl_cv_library_names_spec"
 
12817
  acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
 
12818
  acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
 
12819
  acl_hardcode_direct="$acl_cv_hardcode_direct"
 
12820
  acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
 
12821
    # Check whether --enable-rpath was given.
 
12822
if test "${enable_rpath+set}" = set; then :
 
12823
  enableval=$enable_rpath; :
 
12824
else
 
12825
  enable_rpath=yes
 
12826
fi
 
12827
 
 
12828
 
 
12829
 
 
12830
                  acl_libdirstem=lib
 
12831
  searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
 
12832
  if test -n "$searchpath"; then
 
12833
    acl_save_IFS="${IFS=        }"; IFS=":"
 
12834
    for searchdir in $searchpath; do
 
12835
      if test -d "$searchdir"; then
 
12836
        case "$searchdir" in
 
12837
          */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
 
12838
          *) searchdir=`cd "$searchdir" && pwd`
 
12839
             case "$searchdir" in
 
12840
               */lib64 ) acl_libdirstem=lib64 ;;
 
12841
             esac ;;
 
12842
        esac
 
12843
      fi
 
12844
    done
 
12845
    IFS="$acl_save_IFS"
 
12846
  fi
 
12847
 
 
12848
 
 
12849
 
 
12850
 
 
12851
 
 
12852
 
 
12853
 
 
12854
 
 
12855
 
 
12856
    use_additional=yes
 
12857
 
 
12858
  acl_save_prefix="$prefix"
 
12859
  prefix="$acl_final_prefix"
 
12860
  acl_save_exec_prefix="$exec_prefix"
 
12861
  exec_prefix="$acl_final_exec_prefix"
 
12862
 
 
12863
    eval additional_includedir=\"$includedir\"
 
12864
    eval additional_libdir=\"$libdir\"
 
12865
 
 
12866
  exec_prefix="$acl_save_exec_prefix"
 
12867
  prefix="$acl_save_prefix"
 
12868
 
 
12869
 
 
12870
# Check whether --with-libiconv-prefix was given.
 
12871
if test "${with_libiconv_prefix+set}" = set; then :
 
12872
  withval=$with_libiconv_prefix;
 
12873
    if test "X$withval" = "Xno"; then
 
12874
      use_additional=no
 
12875
    else
 
12876
      if test "X$withval" = "X"; then
 
12877
 
 
12878
  acl_save_prefix="$prefix"
 
12879
  prefix="$acl_final_prefix"
 
12880
  acl_save_exec_prefix="$exec_prefix"
 
12881
  exec_prefix="$acl_final_exec_prefix"
 
12882
 
 
12883
          eval additional_includedir=\"$includedir\"
 
12884
          eval additional_libdir=\"$libdir\"
 
12885
 
 
12886
  exec_prefix="$acl_save_exec_prefix"
 
12887
  prefix="$acl_save_prefix"
 
12888
 
 
12889
      else
 
12890
        additional_includedir="$withval/include"
 
12891
        additional_libdir="$withval/$acl_libdirstem"
 
12892
      fi
 
12893
    fi
 
12894
 
 
12895
fi
 
12896
 
 
12897
      LIBICONV=
 
12898
  LTLIBICONV=
 
12899
  INCICONV=
 
12900
  LIBICONV_PREFIX=
 
12901
  rpathdirs=
 
12902
  ltrpathdirs=
 
12903
  names_already_handled=
 
12904
  names_next_round='iconv '
 
12905
  while test -n "$names_next_round"; do
 
12906
    names_this_round="$names_next_round"
 
12907
    names_next_round=
 
12908
    for name in $names_this_round; do
 
12909
      already_handled=
 
12910
      for n in $names_already_handled; do
 
12911
        if test "$n" = "$name"; then
 
12912
          already_handled=yes
 
12913
          break
 
12914
        fi
 
12915
      done
 
12916
      if test -z "$already_handled"; then
 
12917
        names_already_handled="$names_already_handled $name"
 
12918
                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
 
12919
        eval value=\"\$HAVE_LIB$uppername\"
 
12920
        if test -n "$value"; then
 
12921
          if test "$value" = yes; then
 
12922
            eval value=\"\$LIB$uppername\"
 
12923
            test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
 
12924
            eval value=\"\$LTLIB$uppername\"
 
12925
            test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
 
12926
          else
 
12927
                                    :
 
12928
          fi
 
12929
        else
 
12930
                              found_dir=
 
12931
          found_la=
 
12932
          found_so=
 
12933
          found_a=
 
12934
          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
 
12935
          if test -n "$acl_shlibext"; then
 
12936
            shrext=".$acl_shlibext"             # typically: shrext=.so
 
12937
          else
 
12938
            shrext=
 
12939
          fi
 
12940
          if test $use_additional = yes; then
 
12941
            dir="$additional_libdir"
 
12942
                                    if test -n "$acl_shlibext"; then
 
12943
              if test -f "$dir/$libname$shrext"; then
 
12944
                found_dir="$dir"
 
12945
                found_so="$dir/$libname$shrext"
 
12946
              else
 
12947
                if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
 
12948
                  ver=`(cd "$dir" && \
 
12949
                        for f in "$libname$shrext".*; do echo "$f"; done \
 
12950
                        | sed -e "s,^$libname$shrext\\\\.,," \
 
12951
                        | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
 
12952
                        | sed 1q ) 2>/dev/null`
 
12953
                  if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
 
12954
                    found_dir="$dir"
 
12955
                    found_so="$dir/$libname$shrext.$ver"
 
12956
                  fi
 
12957
                else
 
12958
                  eval library_names=\"$acl_library_names_spec\"
 
12959
                  for f in $library_names; do
 
12960
                    if test -f "$dir/$f"; then
 
12961
                      found_dir="$dir"
 
12962
                      found_so="$dir/$f"
 
12963
                      break
 
12964
                    fi
 
12965
                  done
 
12966
                fi
 
12967
              fi
 
12968
            fi
 
12969
                        if test "X$found_dir" = "X"; then
 
12970
              if test -f "$dir/$libname.$acl_libext"; then
 
12971
                found_dir="$dir"
 
12972
                found_a="$dir/$libname.$acl_libext"
 
12973
              fi
 
12974
            fi
 
12975
            if test "X$found_dir" != "X"; then
 
12976
              if test -f "$dir/$libname.la"; then
 
12977
                found_la="$dir/$libname.la"
 
12978
              fi
 
12979
            fi
 
12980
          fi
 
12981
          if test "X$found_dir" = "X"; then
 
12982
            for x in $LDFLAGS $LTLIBICONV; do
 
12983
 
 
12984
  acl_save_prefix="$prefix"
 
12985
  prefix="$acl_final_prefix"
 
12986
  acl_save_exec_prefix="$exec_prefix"
 
12987
  exec_prefix="$acl_final_exec_prefix"
 
12988
  eval x=\"$x\"
 
12989
  exec_prefix="$acl_save_exec_prefix"
 
12990
  prefix="$acl_save_prefix"
 
12991
 
 
12992
              case "$x" in
 
12993
                -L*)
 
12994
                  dir=`echo "X$x" | sed -e 's/^X-L//'`
 
12995
                                    if test -n "$acl_shlibext"; then
 
12996
                    if test -f "$dir/$libname$shrext"; then
 
12997
                      found_dir="$dir"
 
12998
                      found_so="$dir/$libname$shrext"
 
12999
                    else
 
13000
                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
 
13001
                        ver=`(cd "$dir" && \
 
13002
                              for f in "$libname$shrext".*; do echo "$f"; done \
 
13003
                              | sed -e "s,^$libname$shrext\\\\.,," \
 
13004
                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
 
13005
                              | sed 1q ) 2>/dev/null`
 
13006
                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
 
13007
                          found_dir="$dir"
 
13008
                          found_so="$dir/$libname$shrext.$ver"
 
13009
                        fi
 
13010
                      else
 
13011
                        eval library_names=\"$acl_library_names_spec\"
 
13012
                        for f in $library_names; do
 
13013
                          if test -f "$dir/$f"; then
 
13014
                            found_dir="$dir"
 
13015
                            found_so="$dir/$f"
 
13016
                            break
 
13017
                          fi
 
13018
                        done
 
13019
                      fi
 
13020
                    fi
 
13021
                  fi
 
13022
                                    if test "X$found_dir" = "X"; then
 
13023
                    if test -f "$dir/$libname.$acl_libext"; then
 
13024
                      found_dir="$dir"
 
13025
                      found_a="$dir/$libname.$acl_libext"
 
13026
                    fi
 
13027
                  fi
 
13028
                  if test "X$found_dir" != "X"; then
 
13029
                    if test -f "$dir/$libname.la"; then
 
13030
                      found_la="$dir/$libname.la"
 
13031
                    fi
 
13032
                  fi
 
13033
                  ;;
 
13034
              esac
 
13035
              if test "X$found_dir" != "X"; then
 
13036
                break
 
13037
              fi
 
13038
            done
 
13039
          fi
 
13040
          if test "X$found_dir" != "X"; then
 
13041
                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
 
13042
            if test "X$found_so" != "X"; then
 
13043
                                                        if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
 
13044
                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
 
13045
              else
 
13046
                                                                                haveit=
 
13047
                for x in $ltrpathdirs; do
 
13048
                  if test "X$x" = "X$found_dir"; then
 
13049
                    haveit=yes
 
13050
                    break
 
13051
                  fi
 
13052
                done
 
13053
                if test -z "$haveit"; then
 
13054
                  ltrpathdirs="$ltrpathdirs $found_dir"
 
13055
                fi
 
13056
                                if test "$acl_hardcode_direct" = yes; then
 
13057
                                                      LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
 
13058
                else
 
13059
                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
 
13060
                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
 
13061
                                                            haveit=
 
13062
                    for x in $rpathdirs; do
 
13063
                      if test "X$x" = "X$found_dir"; then
 
13064
                        haveit=yes
 
13065
                        break
 
13066
                      fi
 
13067
                    done
 
13068
                    if test -z "$haveit"; then
 
13069
                      rpathdirs="$rpathdirs $found_dir"
 
13070
                    fi
 
13071
                  else
 
13072
                                                                                haveit=
 
13073
                    for x in $LDFLAGS $LIBICONV; do
 
13074
 
 
13075
  acl_save_prefix="$prefix"
 
13076
  prefix="$acl_final_prefix"
 
13077
  acl_save_exec_prefix="$exec_prefix"
 
13078
  exec_prefix="$acl_final_exec_prefix"
 
13079
  eval x=\"$x\"
 
13080
  exec_prefix="$acl_save_exec_prefix"
 
13081
  prefix="$acl_save_prefix"
 
13082
 
 
13083
                      if test "X$x" = "X-L$found_dir"; then
 
13084
                        haveit=yes
 
13085
                        break
 
13086
                      fi
 
13087
                    done
 
13088
                    if test -z "$haveit"; then
 
13089
                      LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
 
13090
                    fi
 
13091
                    if test "$acl_hardcode_minus_L" != no; then
 
13092
                                                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
 
13093
                    else
 
13094
                                                                                                                                                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
 
13095
                    fi
 
13096
                  fi
 
13097
                fi
 
13098
              fi
 
13099
            else
 
13100
              if test "X$found_a" != "X"; then
 
13101
                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
 
13102
              else
 
13103
                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
 
13104
              fi
 
13105
            fi
 
13106
                        additional_includedir=
 
13107
            case "$found_dir" in
 
13108
              */$acl_libdirstem | */$acl_libdirstem/)
 
13109
                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
 
13110
                LIBICONV_PREFIX="$basedir"
 
13111
                additional_includedir="$basedir/include"
 
13112
                ;;
 
13113
            esac
 
13114
            if test "X$additional_includedir" != "X"; then
 
13115
                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
 
13116
                haveit=
 
13117
                if test "X$additional_includedir" = "X/usr/local/include"; then
 
13118
                  if test -n "$GCC"; then
 
13119
                    case $host_os in
 
13120
                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
 
13121
                    esac
 
13122
                  fi
 
13123
                fi
 
13124
                if test -z "$haveit"; then
 
13125
                  for x in $CPPFLAGS $INCICONV; do
 
13126
 
 
13127
  acl_save_prefix="$prefix"
 
13128
  prefix="$acl_final_prefix"
 
13129
  acl_save_exec_prefix="$exec_prefix"
 
13130
  exec_prefix="$acl_final_exec_prefix"
 
13131
  eval x=\"$x\"
 
13132
  exec_prefix="$acl_save_exec_prefix"
 
13133
  prefix="$acl_save_prefix"
 
13134
 
 
13135
                    if test "X$x" = "X-I$additional_includedir"; then
 
13136
                      haveit=yes
 
13137
                      break
 
13138
                    fi
 
13139
                  done
 
13140
                  if test -z "$haveit"; then
 
13141
                    if test -d "$additional_includedir"; then
 
13142
                                            INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
 
13143
                    fi
 
13144
                  fi
 
13145
                fi
 
13146
              fi
 
13147
            fi
 
13148
                        if test -n "$found_la"; then
 
13149
                                                        save_libdir="$libdir"
 
13150
              case "$found_la" in
 
13151
                */* | *\\*) . "$found_la" ;;
 
13152
                *) . "./$found_la" ;;
 
13153
              esac
 
13154
              libdir="$save_libdir"
 
13155
                            for dep in $dependency_libs; do
 
13156
                case "$dep" in
 
13157
                  -L*)
 
13158
                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
 
13159
                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
 
13160
                      haveit=
 
13161
                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
 
13162
                        if test -n "$GCC"; then
 
13163
                          case $host_os in
 
13164
                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
 
13165
                          esac
 
13166
                        fi
 
13167
                      fi
 
13168
                      if test -z "$haveit"; then
 
13169
                        haveit=
 
13170
                        for x in $LDFLAGS $LIBICONV; do
 
13171
 
 
13172
  acl_save_prefix="$prefix"
 
13173
  prefix="$acl_final_prefix"
 
13174
  acl_save_exec_prefix="$exec_prefix"
 
13175
  exec_prefix="$acl_final_exec_prefix"
 
13176
  eval x=\"$x\"
 
13177
  exec_prefix="$acl_save_exec_prefix"
 
13178
  prefix="$acl_save_prefix"
 
13179
 
 
13180
                          if test "X$x" = "X-L$additional_libdir"; then
 
13181
                            haveit=yes
 
13182
                            break
 
13183
                          fi
 
13184
                        done
 
13185
                        if test -z "$haveit"; then
 
13186
                          if test -d "$additional_libdir"; then
 
13187
                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
 
13188
                          fi
 
13189
                        fi
 
13190
                        haveit=
 
13191
                        for x in $LDFLAGS $LTLIBICONV; 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
                                                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
 
13209
                          fi
 
13210
                        fi
 
13211
                      fi
 
13212
                    fi
 
13213
                    ;;
 
13214
                  -R*)
 
13215
                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
 
13216
                    if test "$enable_rpath" != no; then
 
13217
                                                                  haveit=
 
13218
                      for x in $rpathdirs; do
 
13219
                        if test "X$x" = "X$dir"; then
 
13220
                          haveit=yes
 
13221
                          break
 
13222
                        fi
 
13223
                      done
 
13224
                      if test -z "$haveit"; then
 
13225
                        rpathdirs="$rpathdirs $dir"
 
13226
                      fi
 
13227
                                                                  haveit=
 
13228
                      for x in $ltrpathdirs; do
 
13229
                        if test "X$x" = "X$dir"; then
 
13230
                          haveit=yes
 
13231
                          break
 
13232
                        fi
 
13233
                      done
 
13234
                      if test -z "$haveit"; then
 
13235
                        ltrpathdirs="$ltrpathdirs $dir"
 
13236
                      fi
 
13237
                    fi
 
13238
                    ;;
 
13239
                  -l*)
 
13240
                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
 
13241
                    ;;
 
13242
                  *.la)
 
13243
                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
 
13244
                    ;;
 
13245
                  *)
 
13246
                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
 
13247
                    LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
 
13248
                    ;;
 
13249
                esac
 
13250
              done
 
13251
            fi
 
13252
          else
 
13253
                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
 
13254
            LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
 
13255
          fi
 
13256
        fi
 
13257
      fi
 
13258
    done
 
13259
  done
 
13260
  if test "X$rpathdirs" != "X"; then
 
13261
    if test -n "$acl_hardcode_libdir_separator"; then
 
13262
                        alldirs=
 
13263
      for found_dir in $rpathdirs; do
 
13264
        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
 
13265
      done
 
13266
            acl_save_libdir="$libdir"
 
13267
      libdir="$alldirs"
 
13268
      eval flag=\"$acl_hardcode_libdir_flag_spec\"
 
13269
      libdir="$acl_save_libdir"
 
13270
      LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
 
13271
    else
 
13272
            for found_dir in $rpathdirs; do
 
13273
        acl_save_libdir="$libdir"
 
13274
        libdir="$found_dir"
 
13275
        eval flag=\"$acl_hardcode_libdir_flag_spec\"
 
13276
        libdir="$acl_save_libdir"
 
13277
        LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
 
13278
      done
 
13279
    fi
 
13280
  fi
 
13281
  if test "X$ltrpathdirs" != "X"; then
 
13282
            for found_dir in $ltrpathdirs; do
 
13283
      LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
 
13284
    done
 
13285
  fi
 
13286
 
 
13287
 
 
13288
 
 
13289
 
 
13290
 
 
13291
 
 
13292
 
 
13293
 
 
13294
 
 
13295
 
 
13296
 
 
13297
 
 
13298
 
 
13299
 
 
13300
 
 
13301
 
 
13302
 
 
13303
 
 
13304
 
 
13305
 
 
13306
 
 
13307
 
 
13308
 
 
13309
 
 
13310
 
 
13311
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
 
13312
$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
 
13313
if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then :
 
13314
  $as_echo_n "(cached) " >&6
 
13315
else
 
13316
  gt_save_LIBS="$LIBS"
 
13317
     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
 
13318
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13319
/* end confdefs.h.  */
 
13320
#include <CoreFoundation/CFPreferences.h>
 
13321
int
 
13322
main ()
 
13323
{
 
13324
CFPreferencesCopyAppValue(NULL, NULL)
 
13325
  ;
 
13326
  return 0;
 
13327
}
 
13328
_ACEOF
 
13329
if ac_fn_c_try_link "$LINENO"; then :
 
13330
  gt_cv_func_CFPreferencesCopyAppValue=yes
 
13331
else
 
13332
  gt_cv_func_CFPreferencesCopyAppValue=no
 
13333
fi
 
13334
rm -f core conftest.err conftest.$ac_objext \
 
13335
    conftest$ac_exeext conftest.$ac_ext
 
13336
     LIBS="$gt_save_LIBS"
 
13337
fi
 
13338
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
 
13339
$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
 
13340
  if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
 
13341
 
 
13342
$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
 
13343
 
 
13344
  fi
 
13345
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
 
13346
$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
 
13347
if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then :
 
13348
  $as_echo_n "(cached) " >&6
 
13349
else
 
13350
  gt_save_LIBS="$LIBS"
 
13351
     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
 
13352
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13353
/* end confdefs.h.  */
 
13354
#include <CoreFoundation/CFLocale.h>
 
13355
int
 
13356
main ()
 
13357
{
 
13358
CFLocaleCopyCurrent();
 
13359
  ;
 
13360
  return 0;
 
13361
}
 
13362
_ACEOF
 
13363
if ac_fn_c_try_link "$LINENO"; then :
 
13364
  gt_cv_func_CFLocaleCopyCurrent=yes
 
13365
else
 
13366
  gt_cv_func_CFLocaleCopyCurrent=no
 
13367
fi
 
13368
rm -f core conftest.err conftest.$ac_objext \
 
13369
    conftest$ac_exeext conftest.$ac_ext
 
13370
     LIBS="$gt_save_LIBS"
 
13371
fi
 
13372
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
 
13373
$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
 
13374
  if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
 
13375
 
 
13376
$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
 
13377
 
 
13378
  fi
 
13379
  INTL_MACOSX_LIBS=
 
13380
  if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
 
13381
    INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
 
13382
  fi
 
13383
 
 
13384
 
 
13385
 
 
13386
 
 
13387
 
 
13388
 
 
13389
  LIBINTL=
 
13390
  LTLIBINTL=
 
13391
  POSUB=
 
13392
 
 
13393
    case " $gt_needs " in
 
13394
    *" need-formatstring-macros "*) gt_api_version=3 ;;
 
13395
    *" need-ngettext "*) gt_api_version=2 ;;
 
13396
    *) gt_api_version=1 ;;
 
13397
  esac
 
13398
  gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
 
13399
  gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
 
13400
 
 
13401
    if test "$USE_NLS" = "yes"; then
 
13402
    gt_use_preinstalled_gnugettext=no
 
13403
 
 
13404
 
 
13405
        if test $gt_api_version -ge 3; then
 
13406
          gt_revision_test_code='
 
13407
#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
 
13408
#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
 
13409
#endif
 
13410
typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
 
13411
'
 
13412
        else
 
13413
          gt_revision_test_code=
 
13414
        fi
 
13415
        if test $gt_api_version -ge 2; then
 
13416
          gt_expression_test_code=' + * ngettext ("", "", 0)'
 
13417
        else
 
13418
          gt_expression_test_code=
 
13419
        fi
 
13420
 
 
13421
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
 
13422
$as_echo_n "checking for GNU gettext in libc... " >&6; }
 
13423
if eval "test \"\${$gt_func_gnugettext_libc+set}\"" = set; then :
 
13424
  $as_echo_n "(cached) " >&6
 
13425
else
 
13426
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13427
/* end confdefs.h.  */
 
13428
#include <libintl.h>
 
13429
$gt_revision_test_code
 
13430
extern int _nl_msg_cat_cntr;
 
13431
extern int *_nl_domain_bindings;
 
13432
int
 
13433
main ()
 
13434
{
 
13435
bindtextdomain ("", "");
 
13436
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
 
13437
  ;
 
13438
  return 0;
 
13439
}
 
13440
_ACEOF
 
13441
if ac_fn_c_try_link "$LINENO"; then :
 
13442
  eval "$gt_func_gnugettext_libc=yes"
 
13443
else
 
13444
  eval "$gt_func_gnugettext_libc=no"
 
13445
fi
 
13446
rm -f core conftest.err conftest.$ac_objext \
 
13447
    conftest$ac_exeext conftest.$ac_ext
 
13448
fi
 
13449
eval ac_res=\$$gt_func_gnugettext_libc
 
13450
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
13451
$as_echo "$ac_res" >&6; }
 
13452
 
 
13453
        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
 
13454
 
 
13455
 
 
13456
 
 
13457
 
 
13458
 
 
13459
          am_save_CPPFLAGS="$CPPFLAGS"
 
13460
 
 
13461
  for element in $INCICONV; do
 
13462
    haveit=
 
13463
    for x in $CPPFLAGS; do
 
13464
 
 
13465
  acl_save_prefix="$prefix"
 
13466
  prefix="$acl_final_prefix"
 
13467
  acl_save_exec_prefix="$exec_prefix"
 
13468
  exec_prefix="$acl_final_exec_prefix"
 
13469
  eval x=\"$x\"
 
13470
  exec_prefix="$acl_save_exec_prefix"
 
13471
  prefix="$acl_save_prefix"
 
13472
 
 
13473
      if test "X$x" = "X$element"; then
 
13474
        haveit=yes
 
13475
        break
 
13476
      fi
 
13477
    done
 
13478
    if test -z "$haveit"; then
 
13479
      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
 
13480
    fi
 
13481
  done
 
13482
 
 
13483
 
 
13484
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
 
13485
$as_echo_n "checking for iconv... " >&6; }
 
13486
if test "${am_cv_func_iconv+set}" = set; then :
 
13487
  $as_echo_n "(cached) " >&6
 
13488
else
 
13489
 
 
13490
    am_cv_func_iconv="no, consider installing GNU libiconv"
 
13491
    am_cv_lib_iconv=no
 
13492
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13493
/* end confdefs.h.  */
 
13494
#include <stdlib.h>
 
13495
#include <iconv.h>
 
13496
int
 
13497
main ()
 
13498
{
 
13499
iconv_t cd = iconv_open("","");
 
13500
       iconv(cd,NULL,NULL,NULL,NULL);
 
13501
       iconv_close(cd);
 
13502
  ;
 
13503
  return 0;
 
13504
}
 
13505
_ACEOF
 
13506
if ac_fn_c_try_link "$LINENO"; then :
 
13507
  am_cv_func_iconv=yes
 
13508
fi
 
13509
rm -f core conftest.err conftest.$ac_objext \
 
13510
    conftest$ac_exeext conftest.$ac_ext
 
13511
    if test "$am_cv_func_iconv" != yes; then
 
13512
      am_save_LIBS="$LIBS"
 
13513
      LIBS="$LIBS $LIBICONV"
 
13514
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13515
/* end confdefs.h.  */
 
13516
#include <stdlib.h>
 
13517
#include <iconv.h>
 
13518
int
 
13519
main ()
 
13520
{
 
13521
iconv_t cd = iconv_open("","");
 
13522
         iconv(cd,NULL,NULL,NULL,NULL);
 
13523
         iconv_close(cd);
 
13524
  ;
 
13525
  return 0;
 
13526
}
 
13527
_ACEOF
 
13528
if ac_fn_c_try_link "$LINENO"; then :
 
13529
  am_cv_lib_iconv=yes
 
13530
        am_cv_func_iconv=yes
 
13531
fi
 
13532
rm -f core conftest.err conftest.$ac_objext \
 
13533
    conftest$ac_exeext conftest.$ac_ext
 
13534
      LIBS="$am_save_LIBS"
 
13535
    fi
 
13536
 
 
13537
fi
 
13538
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
 
13539
$as_echo "$am_cv_func_iconv" >&6; }
 
13540
  if test "$am_cv_func_iconv" = yes; then
 
13541
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
 
13542
$as_echo_n "checking for working iconv... " >&6; }
 
13543
if test "${am_cv_func_iconv_works+set}" = set; then :
 
13544
  $as_echo_n "(cached) " >&6
 
13545
else
 
13546
 
 
13547
            am_save_LIBS="$LIBS"
 
13548
      if test $am_cv_lib_iconv = yes; then
 
13549
        LIBS="$LIBS $LIBICONV"
 
13550
      fi
 
13551
      if test "$cross_compiling" = yes; then :
 
13552
  case "$host_os" in
 
13553
           aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
 
13554
           *)            am_cv_func_iconv_works="guessing yes" ;;
 
13555
         esac
 
13556
else
 
13557
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13558
/* end confdefs.h.  */
 
13559
 
 
13560
#include <iconv.h>
 
13561
#include <string.h>
 
13562
int main ()
 
13563
{
 
13564
  /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
 
13565
     returns.  */
 
13566
  {
 
13567
    iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
 
13568
    if (cd_utf8_to_88591 != (iconv_t)(-1))
 
13569
      {
 
13570
        static const char input[] = "\342\202\254"; /* EURO SIGN */
 
13571
        char buf[10];
 
13572
        const char *inptr = input;
 
13573
        size_t inbytesleft = strlen (input);
 
13574
        char *outptr = buf;
 
13575
        size_t outbytesleft = sizeof (buf);
 
13576
        size_t res = iconv (cd_utf8_to_88591,
 
13577
                            (char **) &inptr, &inbytesleft,
 
13578
                            &outptr, &outbytesleft);
 
13579
        if (res == 0)
 
13580
          return 1;
 
13581
      }
 
13582
  }
 
13583
#if 0 /* This bug could be worked around by the caller.  */
 
13584
  /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
 
13585
  {
 
13586
    iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
 
13587
    if (cd_88591_to_utf8 != (iconv_t)(-1))
 
13588
      {
 
13589
        static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
 
13590
        char buf[50];
 
13591
        const char *inptr = input;
 
13592
        size_t inbytesleft = strlen (input);
 
13593
        char *outptr = buf;
 
13594
        size_t outbytesleft = sizeof (buf);
 
13595
        size_t res = iconv (cd_88591_to_utf8,
 
13596
                            (char **) &inptr, &inbytesleft,
 
13597
                            &outptr, &outbytesleft);
 
13598
        if ((int)res > 0)
 
13599
          return 1;
 
13600
      }
 
13601
  }
 
13602
#endif
 
13603
  /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
 
13604
     provided.  */
 
13605
  if (/* Try standardized names.  */
 
13606
      iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
 
13607
      /* Try IRIX, OSF/1 names.  */
 
13608
      && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
 
13609
      /* Try AIX names.  */
 
13610
      && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
 
13611
      /* Try HP-UX names.  */
 
13612
      && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
 
13613
    return 1;
 
13614
  return 0;
 
13615
}
 
13616
_ACEOF
 
13617
if ac_fn_c_try_run "$LINENO"; then :
 
13618
  am_cv_func_iconv_works=yes
 
13619
else
 
13620
  am_cv_func_iconv_works=no
 
13621
fi
 
13622
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
13623
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
13624
fi
 
13625
 
 
13626
      LIBS="$am_save_LIBS"
 
13627
 
 
13628
fi
 
13629
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
 
13630
$as_echo "$am_cv_func_iconv_works" >&6; }
 
13631
    case "$am_cv_func_iconv_works" in
 
13632
      *no) am_func_iconv=no am_cv_lib_iconv=no ;;
 
13633
      *)   am_func_iconv=yes ;;
 
13634
    esac
 
13635
  else
 
13636
    am_func_iconv=no am_cv_lib_iconv=no
 
13637
  fi
 
13638
  if test "$am_func_iconv" = yes; then
 
13639
 
 
13640
$as_echo "#define HAVE_ICONV 1" >>confdefs.h
 
13641
 
 
13642
  fi
 
13643
  if test "$am_cv_lib_iconv" = yes; then
 
13644
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
 
13645
$as_echo_n "checking how to link with libiconv... " >&6; }
 
13646
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
 
13647
$as_echo "$LIBICONV" >&6; }
 
13648
  else
 
13649
            CPPFLAGS="$am_save_CPPFLAGS"
 
13650
    LIBICONV=
 
13651
    LTLIBICONV=
 
13652
  fi
 
13653
 
 
13654
 
 
13655
 
 
13656
 
 
13657
 
 
13658
 
 
13659
 
 
13660
 
 
13661
    use_additional=yes
 
13662
 
 
13663
  acl_save_prefix="$prefix"
 
13664
  prefix="$acl_final_prefix"
 
13665
  acl_save_exec_prefix="$exec_prefix"
 
13666
  exec_prefix="$acl_final_exec_prefix"
 
13667
 
 
13668
    eval additional_includedir=\"$includedir\"
 
13669
    eval additional_libdir=\"$libdir\"
 
13670
 
 
13671
  exec_prefix="$acl_save_exec_prefix"
 
13672
  prefix="$acl_save_prefix"
 
13673
 
 
13674
 
 
13675
# Check whether --with-libintl-prefix was given.
 
13676
if test "${with_libintl_prefix+set}" = set; then :
 
13677
  withval=$with_libintl_prefix;
 
13678
    if test "X$withval" = "Xno"; then
 
13679
      use_additional=no
 
13680
    else
 
13681
      if test "X$withval" = "X"; then
 
13682
 
 
13683
  acl_save_prefix="$prefix"
 
13684
  prefix="$acl_final_prefix"
 
13685
  acl_save_exec_prefix="$exec_prefix"
 
13686
  exec_prefix="$acl_final_exec_prefix"
 
13687
 
 
13688
          eval additional_includedir=\"$includedir\"
 
13689
          eval additional_libdir=\"$libdir\"
 
13690
 
 
13691
  exec_prefix="$acl_save_exec_prefix"
 
13692
  prefix="$acl_save_prefix"
 
13693
 
 
13694
      else
 
13695
        additional_includedir="$withval/include"
 
13696
        additional_libdir="$withval/$acl_libdirstem"
 
13697
      fi
 
13698
    fi
 
13699
 
 
13700
fi
 
13701
 
 
13702
      LIBINTL=
 
13703
  LTLIBINTL=
 
13704
  INCINTL=
 
13705
  LIBINTL_PREFIX=
 
13706
  rpathdirs=
 
13707
  ltrpathdirs=
 
13708
  names_already_handled=
 
13709
  names_next_round='intl '
 
13710
  while test -n "$names_next_round"; do
 
13711
    names_this_round="$names_next_round"
 
13712
    names_next_round=
 
13713
    for name in $names_this_round; do
 
13714
      already_handled=
 
13715
      for n in $names_already_handled; do
 
13716
        if test "$n" = "$name"; then
 
13717
          already_handled=yes
 
13718
          break
 
13719
        fi
 
13720
      done
 
13721
      if test -z "$already_handled"; then
 
13722
        names_already_handled="$names_already_handled $name"
 
13723
                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
 
13724
        eval value=\"\$HAVE_LIB$uppername\"
 
13725
        if test -n "$value"; then
 
13726
          if test "$value" = yes; then
 
13727
            eval value=\"\$LIB$uppername\"
 
13728
            test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
 
13729
            eval value=\"\$LTLIB$uppername\"
 
13730
            test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
 
13731
          else
 
13732
                                    :
 
13733
          fi
 
13734
        else
 
13735
                              found_dir=
 
13736
          found_la=
 
13737
          found_so=
 
13738
          found_a=
 
13739
          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
 
13740
          if test -n "$acl_shlibext"; then
 
13741
            shrext=".$acl_shlibext"             # typically: shrext=.so
 
13742
          else
 
13743
            shrext=
 
13744
          fi
 
13745
          if test $use_additional = yes; then
 
13746
            dir="$additional_libdir"
 
13747
                                    if test -n "$acl_shlibext"; then
 
13748
              if test -f "$dir/$libname$shrext"; then
 
13749
                found_dir="$dir"
 
13750
                found_so="$dir/$libname$shrext"
 
13751
              else
 
13752
                if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
 
13753
                  ver=`(cd "$dir" && \
 
13754
                        for f in "$libname$shrext".*; do echo "$f"; done \
 
13755
                        | sed -e "s,^$libname$shrext\\\\.,," \
 
13756
                        | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
 
13757
                        | sed 1q ) 2>/dev/null`
 
13758
                  if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
 
13759
                    found_dir="$dir"
 
13760
                    found_so="$dir/$libname$shrext.$ver"
 
13761
                  fi
 
13762
                else
 
13763
                  eval library_names=\"$acl_library_names_spec\"
 
13764
                  for f in $library_names; do
 
13765
                    if test -f "$dir/$f"; then
 
13766
                      found_dir="$dir"
 
13767
                      found_so="$dir/$f"
 
13768
                      break
 
13769
                    fi
 
13770
                  done
 
13771
                fi
 
13772
              fi
 
13773
            fi
 
13774
                        if test "X$found_dir" = "X"; then
 
13775
              if test -f "$dir/$libname.$acl_libext"; then
 
13776
                found_dir="$dir"
 
13777
                found_a="$dir/$libname.$acl_libext"
 
13778
              fi
 
13779
            fi
 
13780
            if test "X$found_dir" != "X"; then
 
13781
              if test -f "$dir/$libname.la"; then
 
13782
                found_la="$dir/$libname.la"
 
13783
              fi
 
13784
            fi
 
13785
          fi
 
13786
          if test "X$found_dir" = "X"; then
 
13787
            for x in $LDFLAGS $LTLIBINTL; do
 
13788
 
 
13789
  acl_save_prefix="$prefix"
 
13790
  prefix="$acl_final_prefix"
 
13791
  acl_save_exec_prefix="$exec_prefix"
 
13792
  exec_prefix="$acl_final_exec_prefix"
 
13793
  eval x=\"$x\"
 
13794
  exec_prefix="$acl_save_exec_prefix"
 
13795
  prefix="$acl_save_prefix"
 
13796
 
 
13797
              case "$x" in
 
13798
                -L*)
 
13799
                  dir=`echo "X$x" | sed -e 's/^X-L//'`
 
13800
                                    if test -n "$acl_shlibext"; then
 
13801
                    if test -f "$dir/$libname$shrext"; then
 
13802
                      found_dir="$dir"
 
13803
                      found_so="$dir/$libname$shrext"
 
13804
                    else
 
13805
                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
 
13806
                        ver=`(cd "$dir" && \
 
13807
                              for f in "$libname$shrext".*; do echo "$f"; done \
 
13808
                              | sed -e "s,^$libname$shrext\\\\.,," \
 
13809
                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
 
13810
                              | sed 1q ) 2>/dev/null`
 
13811
                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
 
13812
                          found_dir="$dir"
 
13813
                          found_so="$dir/$libname$shrext.$ver"
 
13814
                        fi
 
13815
                      else
 
13816
                        eval library_names=\"$acl_library_names_spec\"
 
13817
                        for f in $library_names; do
 
13818
                          if test -f "$dir/$f"; then
 
13819
                            found_dir="$dir"
 
13820
                            found_so="$dir/$f"
 
13821
                            break
 
13822
                          fi
 
13823
                        done
 
13824
                      fi
 
13825
                    fi
 
13826
                  fi
 
13827
                                    if test "X$found_dir" = "X"; then
 
13828
                    if test -f "$dir/$libname.$acl_libext"; then
 
13829
                      found_dir="$dir"
 
13830
                      found_a="$dir/$libname.$acl_libext"
 
13831
                    fi
 
13832
                  fi
 
13833
                  if test "X$found_dir" != "X"; then
 
13834
                    if test -f "$dir/$libname.la"; then
 
13835
                      found_la="$dir/$libname.la"
 
13836
                    fi
 
13837
                  fi
 
13838
                  ;;
 
13839
              esac
 
13840
              if test "X$found_dir" != "X"; then
 
13841
                break
 
13842
              fi
 
13843
            done
 
13844
          fi
 
13845
          if test "X$found_dir" != "X"; then
 
13846
                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
 
13847
            if test "X$found_so" != "X"; then
 
13848
                                                        if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
 
13849
                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
 
13850
              else
 
13851
                                                                                haveit=
 
13852
                for x in $ltrpathdirs; do
 
13853
                  if test "X$x" = "X$found_dir"; then
 
13854
                    haveit=yes
 
13855
                    break
 
13856
                  fi
 
13857
                done
 
13858
                if test -z "$haveit"; then
 
13859
                  ltrpathdirs="$ltrpathdirs $found_dir"
 
13860
                fi
 
13861
                                if test "$acl_hardcode_direct" = yes; then
 
13862
                                                      LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
 
13863
                else
 
13864
                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
 
13865
                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
 
13866
                                                            haveit=
 
13867
                    for x in $rpathdirs; do
 
13868
                      if test "X$x" = "X$found_dir"; then
 
13869
                        haveit=yes
 
13870
                        break
 
13871
                      fi
 
13872
                    done
 
13873
                    if test -z "$haveit"; then
 
13874
                      rpathdirs="$rpathdirs $found_dir"
 
13875
                    fi
 
13876
                  else
 
13877
                                                                                haveit=
 
13878
                    for x in $LDFLAGS $LIBINTL; do
 
13879
 
 
13880
  acl_save_prefix="$prefix"
 
13881
  prefix="$acl_final_prefix"
 
13882
  acl_save_exec_prefix="$exec_prefix"
 
13883
  exec_prefix="$acl_final_exec_prefix"
 
13884
  eval x=\"$x\"
 
13885
  exec_prefix="$acl_save_exec_prefix"
 
13886
  prefix="$acl_save_prefix"
 
13887
 
 
13888
                      if test "X$x" = "X-L$found_dir"; then
 
13889
                        haveit=yes
 
13890
                        break
 
13891
                      fi
 
13892
                    done
 
13893
                    if test -z "$haveit"; then
 
13894
                      LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
 
13895
                    fi
 
13896
                    if test "$acl_hardcode_minus_L" != no; then
 
13897
                                                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
 
13898
                    else
 
13899
                                                                                                                                                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
 
13900
                    fi
 
13901
                  fi
 
13902
                fi
 
13903
              fi
 
13904
            else
 
13905
              if test "X$found_a" != "X"; then
 
13906
                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
 
13907
              else
 
13908
                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
 
13909
              fi
 
13910
            fi
 
13911
                        additional_includedir=
 
13912
            case "$found_dir" in
 
13913
              */$acl_libdirstem | */$acl_libdirstem/)
 
13914
                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
 
13915
                LIBINTL_PREFIX="$basedir"
 
13916
                additional_includedir="$basedir/include"
 
13917
                ;;
 
13918
            esac
 
13919
            if test "X$additional_includedir" != "X"; then
 
13920
                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
 
13921
                haveit=
 
13922
                if test "X$additional_includedir" = "X/usr/local/include"; then
 
13923
                  if test -n "$GCC"; then
 
13924
                    case $host_os in
 
13925
                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
 
13926
                    esac
 
13927
                  fi
 
13928
                fi
 
13929
                if test -z "$haveit"; then
 
13930
                  for x in $CPPFLAGS $INCINTL; do
 
13931
 
 
13932
  acl_save_prefix="$prefix"
 
13933
  prefix="$acl_final_prefix"
 
13934
  acl_save_exec_prefix="$exec_prefix"
 
13935
  exec_prefix="$acl_final_exec_prefix"
 
13936
  eval x=\"$x\"
 
13937
  exec_prefix="$acl_save_exec_prefix"
 
13938
  prefix="$acl_save_prefix"
 
13939
 
 
13940
                    if test "X$x" = "X-I$additional_includedir"; then
 
13941
                      haveit=yes
 
13942
                      break
 
13943
                    fi
 
13944
                  done
 
13945
                  if test -z "$haveit"; then
 
13946
                    if test -d "$additional_includedir"; then
 
13947
                                            INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
 
13948
                    fi
 
13949
                  fi
 
13950
                fi
 
13951
              fi
 
13952
            fi
 
13953
                        if test -n "$found_la"; then
 
13954
                                                        save_libdir="$libdir"
 
13955
              case "$found_la" in
 
13956
                */* | *\\*) . "$found_la" ;;
 
13957
                *) . "./$found_la" ;;
 
13958
              esac
 
13959
              libdir="$save_libdir"
 
13960
                            for dep in $dependency_libs; do
 
13961
                case "$dep" in
 
13962
                  -L*)
 
13963
                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
 
13964
                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
 
13965
                      haveit=
 
13966
                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
 
13967
                        if test -n "$GCC"; then
 
13968
                          case $host_os in
 
13969
                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
 
13970
                          esac
 
13971
                        fi
 
13972
                      fi
 
13973
                      if test -z "$haveit"; then
 
13974
                        haveit=
 
13975
                        for x in $LDFLAGS $LIBINTL; do
 
13976
 
 
13977
  acl_save_prefix="$prefix"
 
13978
  prefix="$acl_final_prefix"
 
13979
  acl_save_exec_prefix="$exec_prefix"
 
13980
  exec_prefix="$acl_final_exec_prefix"
 
13981
  eval x=\"$x\"
 
13982
  exec_prefix="$acl_save_exec_prefix"
 
13983
  prefix="$acl_save_prefix"
 
13984
 
 
13985
                          if test "X$x" = "X-L$additional_libdir"; then
 
13986
                            haveit=yes
 
13987
                            break
 
13988
                          fi
 
13989
                        done
 
13990
                        if test -z "$haveit"; then
 
13991
                          if test -d "$additional_libdir"; then
 
13992
                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
 
13993
                          fi
 
13994
                        fi
 
13995
                        haveit=
 
13996
                        for x in $LDFLAGS $LTLIBINTL; do
 
13997
 
 
13998
  acl_save_prefix="$prefix"
 
13999
  prefix="$acl_final_prefix"
 
14000
  acl_save_exec_prefix="$exec_prefix"
 
14001
  exec_prefix="$acl_final_exec_prefix"
 
14002
  eval x=\"$x\"
 
14003
  exec_prefix="$acl_save_exec_prefix"
 
14004
  prefix="$acl_save_prefix"
 
14005
 
 
14006
                          if test "X$x" = "X-L$additional_libdir"; then
 
14007
                            haveit=yes
 
14008
                            break
 
14009
                          fi
 
14010
                        done
 
14011
                        if test -z "$haveit"; then
 
14012
                          if test -d "$additional_libdir"; then
 
14013
                                                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
 
14014
                          fi
 
14015
                        fi
 
14016
                      fi
 
14017
                    fi
 
14018
                    ;;
 
14019
                  -R*)
 
14020
                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
 
14021
                    if test "$enable_rpath" != no; then
 
14022
                                                                  haveit=
 
14023
                      for x in $rpathdirs; do
 
14024
                        if test "X$x" = "X$dir"; then
 
14025
                          haveit=yes
 
14026
                          break
 
14027
                        fi
 
14028
                      done
 
14029
                      if test -z "$haveit"; then
 
14030
                        rpathdirs="$rpathdirs $dir"
 
14031
                      fi
 
14032
                                                                  haveit=
 
14033
                      for x in $ltrpathdirs; do
 
14034
                        if test "X$x" = "X$dir"; then
 
14035
                          haveit=yes
 
14036
                          break
 
14037
                        fi
 
14038
                      done
 
14039
                      if test -z "$haveit"; then
 
14040
                        ltrpathdirs="$ltrpathdirs $dir"
 
14041
                      fi
 
14042
                    fi
 
14043
                    ;;
 
14044
                  -l*)
 
14045
                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
 
14046
                    ;;
 
14047
                  *.la)
 
14048
                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
 
14049
                    ;;
 
14050
                  *)
 
14051
                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
 
14052
                    LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
 
14053
                    ;;
 
14054
                esac
 
14055
              done
 
14056
            fi
 
14057
          else
 
14058
                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
 
14059
            LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
 
14060
          fi
 
14061
        fi
 
14062
      fi
 
14063
    done
 
14064
  done
 
14065
  if test "X$rpathdirs" != "X"; then
 
14066
    if test -n "$acl_hardcode_libdir_separator"; then
 
14067
                        alldirs=
 
14068
      for found_dir in $rpathdirs; do
 
14069
        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
 
14070
      done
 
14071
            acl_save_libdir="$libdir"
 
14072
      libdir="$alldirs"
 
14073
      eval flag=\"$acl_hardcode_libdir_flag_spec\"
 
14074
      libdir="$acl_save_libdir"
 
14075
      LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
 
14076
    else
 
14077
            for found_dir in $rpathdirs; do
 
14078
        acl_save_libdir="$libdir"
 
14079
        libdir="$found_dir"
 
14080
        eval flag=\"$acl_hardcode_libdir_flag_spec\"
 
14081
        libdir="$acl_save_libdir"
 
14082
        LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
 
14083
      done
 
14084
    fi
 
14085
  fi
 
14086
  if test "X$ltrpathdirs" != "X"; then
 
14087
            for found_dir in $ltrpathdirs; do
 
14088
      LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
 
14089
    done
 
14090
  fi
 
14091
 
 
14092
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
 
14093
$as_echo_n "checking for GNU gettext in libintl... " >&6; }
 
14094
if eval "test \"\${$gt_func_gnugettext_libintl+set}\"" = set; then :
 
14095
  $as_echo_n "(cached) " >&6
 
14096
else
 
14097
  gt_save_CPPFLAGS="$CPPFLAGS"
 
14098
            CPPFLAGS="$CPPFLAGS $INCINTL"
 
14099
            gt_save_LIBS="$LIBS"
 
14100
            LIBS="$LIBS $LIBINTL"
 
14101
                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14102
/* end confdefs.h.  */
 
14103
#include <libintl.h>
 
14104
$gt_revision_test_code
 
14105
extern int _nl_msg_cat_cntr;
 
14106
extern
 
14107
#ifdef __cplusplus
 
14108
"C"
 
14109
#endif
 
14110
const char *_nl_expand_alias (const char *);
 
14111
int
 
14112
main ()
 
14113
{
 
14114
bindtextdomain ("", "");
 
14115
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
 
14116
  ;
 
14117
  return 0;
 
14118
}
 
14119
_ACEOF
 
14120
if ac_fn_c_try_link "$LINENO"; then :
 
14121
  eval "$gt_func_gnugettext_libintl=yes"
 
14122
else
 
14123
  eval "$gt_func_gnugettext_libintl=no"
 
14124
fi
 
14125
rm -f core conftest.err conftest.$ac_objext \
 
14126
    conftest$ac_exeext conftest.$ac_ext
 
14127
                        if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
 
14128
              LIBS="$LIBS $LIBICONV"
 
14129
              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14130
/* end confdefs.h.  */
 
14131
#include <libintl.h>
 
14132
$gt_revision_test_code
 
14133
extern int _nl_msg_cat_cntr;
 
14134
extern
 
14135
#ifdef __cplusplus
 
14136
"C"
 
14137
#endif
 
14138
const char *_nl_expand_alias (const char *);
 
14139
int
 
14140
main ()
 
14141
{
 
14142
bindtextdomain ("", "");
 
14143
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
 
14144
  ;
 
14145
  return 0;
 
14146
}
 
14147
_ACEOF
 
14148
if ac_fn_c_try_link "$LINENO"; then :
 
14149
  LIBINTL="$LIBINTL $LIBICONV"
 
14150
                LTLIBINTL="$LTLIBINTL $LTLIBICONV"
 
14151
                eval "$gt_func_gnugettext_libintl=yes"
 
14152
 
 
14153
fi
 
14154
rm -f core conftest.err conftest.$ac_objext \
 
14155
    conftest$ac_exeext conftest.$ac_ext
 
14156
            fi
 
14157
            CPPFLAGS="$gt_save_CPPFLAGS"
 
14158
            LIBS="$gt_save_LIBS"
 
14159
fi
 
14160
eval ac_res=\$$gt_func_gnugettext_libintl
 
14161
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
14162
$as_echo "$ac_res" >&6; }
 
14163
        fi
 
14164
 
 
14165
                                        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
 
14166
           || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
 
14167
                && test "$PACKAGE" != gettext-runtime \
 
14168
                && test "$PACKAGE" != gettext-tools; }; then
 
14169
          gt_use_preinstalled_gnugettext=yes
 
14170
        else
 
14171
                    LIBINTL=
 
14172
          LTLIBINTL=
 
14173
          INCINTL=
 
14174
        fi
 
14175
 
 
14176
 
 
14177
 
 
14178
    if test -n "$INTL_MACOSX_LIBS"; then
 
14179
      if test "$gt_use_preinstalled_gnugettext" = "yes" \
 
14180
         || test "$nls_cv_use_gnu_gettext" = "yes"; then
 
14181
                LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
 
14182
        LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
 
14183
      fi
 
14184
    fi
 
14185
 
 
14186
    if test "$gt_use_preinstalled_gnugettext" = "yes" \
 
14187
       || test "$nls_cv_use_gnu_gettext" = "yes"; then
 
14188
 
 
14189
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
 
14190
 
 
14191
    else
 
14192
      USE_NLS=no
 
14193
    fi
 
14194
  fi
 
14195
 
 
14196
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
 
14197
$as_echo_n "checking whether to use NLS... " >&6; }
 
14198
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
 
14199
$as_echo "$USE_NLS" >&6; }
 
14200
  if test "$USE_NLS" = "yes"; then
 
14201
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
 
14202
$as_echo_n "checking where the gettext function comes from... " >&6; }
 
14203
    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
 
14204
      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
 
14205
        gt_source="external libintl"
 
14206
      else
 
14207
        gt_source="libc"
 
14208
      fi
 
14209
    else
 
14210
      gt_source="included intl directory"
 
14211
    fi
 
14212
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
 
14213
$as_echo "$gt_source" >&6; }
 
14214
  fi
 
14215
 
 
14216
  if test "$USE_NLS" = "yes"; then
 
14217
 
 
14218
    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
 
14219
      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
 
14220
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
 
14221
$as_echo_n "checking how to link with libintl... " >&6; }
 
14222
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
 
14223
$as_echo "$LIBINTL" >&6; }
 
14224
 
 
14225
  for element in $INCINTL; do
 
14226
    haveit=
 
14227
    for x in $CPPFLAGS; do
 
14228
 
 
14229
  acl_save_prefix="$prefix"
 
14230
  prefix="$acl_final_prefix"
 
14231
  acl_save_exec_prefix="$exec_prefix"
 
14232
  exec_prefix="$acl_final_exec_prefix"
 
14233
  eval x=\"$x\"
 
14234
  exec_prefix="$acl_save_exec_prefix"
 
14235
  prefix="$acl_save_prefix"
 
14236
 
 
14237
      if test "X$x" = "X$element"; then
 
14238
        haveit=yes
 
14239
        break
 
14240
      fi
 
14241
    done
 
14242
    if test -z "$haveit"; then
 
14243
      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
 
14244
    fi
 
14245
  done
 
14246
 
 
14247
      fi
 
14248
 
 
14249
 
 
14250
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
 
14251
 
 
14252
 
 
14253
$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
 
14254
 
 
14255
    fi
 
14256
 
 
14257
        POSUB=po
 
14258
  fi
 
14259
 
 
14260
 
 
14261
 
 
14262
    INTLLIBS="$LIBINTL"
 
14263
 
 
14264
 
 
14265
 
 
14266
 
 
14267
 
 
14268
 
 
14269
 
 
14270
 
 
14271
GETTEXT_PACKAGE=cheese
 
14272
 
 
14273
 
 
14274
cat >>confdefs.h <<_ACEOF
 
14275
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
 
14276
_ACEOF
 
14277
 
 
14278
 
 
14279
 
 
14280
 
12487
14281
case "$am__api_version" in
12488
14282
    1.01234)
12489
 
        as_fn_error "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
 
14283
        as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
12490
14284
    ;;
12491
14285
    *)
12492
14286
    ;;
12503
14297
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
12504
14298
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
12505
14299
    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
 
14300
        as_fn_error $? "Your intltool is too old.  You need intltool 0.40.0 or later." "$LINENO" 5
12507
14301
fi
12508
14302
 
12509
14303
# Extract the first word of "intltool-update", so it can be a program name with args.
12627
14421
 
12628
14422
 
12629
14423
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
 
14424
    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
12631
14425
fi
12632
14426
 
12633
14427
  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
14703
 
12910
14704
 
12911
14705
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
 
14706
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
12913
14707
fi
12914
14708
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
12915
14709
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
12916
14710
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
12917
14711
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
 
14712
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
12919
14713
fi
12920
14714
 
12921
14715
# Extract the first word of "perl", so it can be a program name with args.
12959
14753
 
12960
14754
 
12961
14755
if test -z "$INTLTOOL_PERL"; then
12962
 
   as_fn_error "perl not found" "$LINENO" 5
 
14756
   as_fn_error $? "perl not found" "$LINENO" 5
12963
14757
fi
12964
14758
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
12965
14759
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
12966
14760
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
12967
14761
if test $? -ne 0; then
12968
 
   as_fn_error "perl 5.8.1 is required for intltool" "$LINENO" 5
 
14762
   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
12969
14763
else
12970
14764
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
12971
14765
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
12978
14772
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
12979
14773
$as_echo "ok" >&6; }
12980
14774
   else
12981
 
       as_fn_error "XML::Parser perl module is required for intltool" "$LINENO" 5
 
14775
       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
12982
14776
   fi
12983
14777
fi
12984
14778
 
13027
14821
 
13028
14822
 
13029
14823
 
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
14824
#*******************************************************************************
13825
14825
# Check required libraries
13826
14826
#*******************************************************************************
13827
14827
 
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
 
14828
 
 
14829
GLIB_REQUIRED=2.28.0
 
14830
GOBJECT_REQUIRED=2.28.0
 
14831
GIO_REQUIRED=2.28.0
 
14832
GTK_REQUIRED=2.99.4
 
14833
GDK_REQUIRED=2.99.4
 
14834
LIBGNOMEDESKTOP_REQUIRED=2.91.6
 
14835
GSTREAMER_REQUIRED=0.10.32
 
14836
CAIRO_REQUIRED=1.10.0
 
14837
PANGOCAIRO_REQUIRED=1.28.0
 
14838
LIBRSVG_REQUIRED=2.32.0
 
14839
CLUTTER_REQUIRED=1.6.1
 
14840
CLUTTERGTK_REQUIRED=0.91.8
 
14841
CLUTTERGST_REQUIRED=1.0.0
 
14842
GEE_REQUIRED=0.6.0
 
14843
LIBCANBERRA_REQUIRED=0.26
13841
14844
 
13842
14845
#*******************************************************************************
13843
14846
# Check for udev
13845
14848
 
13846
14849
UDEV_PKG=
13847
14850
 
 
14851
 
 
14852
 
 
14853
 
 
14854
 
 
14855
 
 
14856
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 
14857
        if test -n "$ac_tool_prefix"; then
 
14858
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
 
14859
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
 
14860
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
14861
$as_echo_n "checking for $ac_word... " >&6; }
 
14862
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
 
14863
  $as_echo_n "(cached) " >&6
 
14864
else
 
14865
  case $PKG_CONFIG in
 
14866
  [\\/]* | ?:[\\/]*)
 
14867
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 
14868
  ;;
 
14869
  *)
 
14870
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14871
for as_dir in $PATH
 
14872
do
 
14873
  IFS=$as_save_IFS
 
14874
  test -z "$as_dir" && as_dir=.
 
14875
    for ac_exec_ext in '' $ac_executable_extensions; do
 
14876
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14877
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
14878
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14879
    break 2
 
14880
  fi
 
14881
done
 
14882
  done
 
14883
IFS=$as_save_IFS
 
14884
 
 
14885
  ;;
 
14886
esac
 
14887
fi
 
14888
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
14889
if test -n "$PKG_CONFIG"; then
 
14890
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
 
14891
$as_echo "$PKG_CONFIG" >&6; }
 
14892
else
 
14893
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14894
$as_echo "no" >&6; }
 
14895
fi
 
14896
 
 
14897
 
 
14898
fi
 
14899
if test -z "$ac_cv_path_PKG_CONFIG"; then
 
14900
  ac_pt_PKG_CONFIG=$PKG_CONFIG
 
14901
  # Extract the first word of "pkg-config", so it can be a program name with args.
 
14902
set dummy pkg-config; ac_word=$2
 
14903
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
14904
$as_echo_n "checking for $ac_word... " >&6; }
 
14905
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
 
14906
  $as_echo_n "(cached) " >&6
 
14907
else
 
14908
  case $ac_pt_PKG_CONFIG in
 
14909
  [\\/]* | ?:[\\/]*)
 
14910
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
 
14911
  ;;
 
14912
  *)
 
14913
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14914
for as_dir in $PATH
 
14915
do
 
14916
  IFS=$as_save_IFS
 
14917
  test -z "$as_dir" && as_dir=.
 
14918
    for ac_exec_ext in '' $ac_executable_extensions; do
 
14919
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14920
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
14921
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14922
    break 2
 
14923
  fi
 
14924
done
 
14925
  done
 
14926
IFS=$as_save_IFS
 
14927
 
 
14928
  ;;
 
14929
esac
 
14930
fi
 
14931
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
 
14932
if test -n "$ac_pt_PKG_CONFIG"; then
 
14933
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
 
14934
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
 
14935
else
 
14936
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14937
$as_echo "no" >&6; }
 
14938
fi
 
14939
 
 
14940
  if test "x$ac_pt_PKG_CONFIG" = x; then
 
14941
    PKG_CONFIG=""
 
14942
  else
 
14943
    case $cross_compiling:$ac_tool_warned in
 
14944
yes:)
 
14945
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
14946
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
14947
ac_tool_warned=yes ;;
 
14948
esac
 
14949
    PKG_CONFIG=$ac_pt_PKG_CONFIG
 
14950
  fi
 
14951
else
 
14952
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
 
14953
fi
 
14954
 
 
14955
fi
 
14956
if test -n "$PKG_CONFIG"; then
 
14957
        _pkg_min_version=0.9.0
 
14958
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
 
14959
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
 
14960
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
 
14961
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
14962
$as_echo "yes" >&6; }
 
14963
        else
 
14964
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14965
$as_echo "no" >&6; }
 
14966
                PKG_CONFIG=""
 
14967
        fi
 
14968
fi
 
14969
 
13848
14970
pkg_failed=no
13849
14971
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for UDEV" >&5
13850
14972
$as_echo_n "checking for UDEV... " >&6; }
13885
15007
 
13886
15008
 
13887
15009
if test $pkg_failed = yes; then
 
15010
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15011
$as_echo "no" >&6; }
13888
15012
 
13889
15013
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13890
15014
        _pkg_short_errors_supported=yes
13899
15023
        # Put the nasty error message in config.log where it belongs
13900
15024
        echo "$UDEV_PKG_ERRORS" >&5
13901
15025
 
13902
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15026
        UDEV_PKG=
 
15027
elif test $pkg_failed = untried; then
 
15028
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13903
15029
$as_echo "no" >&6; }
13904
 
                UDEV_PKG=
13905
 
elif test $pkg_failed = untried; then
13906
15030
        UDEV_PKG=
13907
15031
else
13908
15032
        UDEV_CFLAGS=$pkg_cv_UDEV_CFLAGS
13912
15036
 
13913
15037
$as_echo "#define HAVE_UDEV 1" >>confdefs.h
13914
15038
 
13915
 
                  UDEV_PKG=gudev-1.0
 
15039
                  UDEV_PKG=gudev-1.0
13916
15040
fi
13917
15041
 
13918
15042
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking operating system" >&5
13919
15043
$as_echo_n "checking operating system... " >&6; }
13920
15044
case $host in
13921
 
        *-linux*)
 
15045
  *-linux*)
13922
15046
 
13923
15047
$as_echo "#define OS_LINUX /**/" >>confdefs.h
13924
15048
 
13925
15049
 
13926
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Linux" >&5
 
15050
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: Linux" >&5
13927
15051
$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
 
15052
    if test x$UDEV_PKG = "x" ; then
 
15053
            as_fn_error $? "libgudev is required under Linux and not installed" "$LINENO" 5
 
15054
    fi
 
15055
    ;;
 
15056
  *)
 
15057
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported operating system" >&5
13934
15058
$as_echo "unsupported operating system" >&6; }
13935
15059
esac
13936
15060
 
13952
15076
ac_fn_c_check_header_mongrel "$LINENO" "X11/extensions/XTest.h" "ac_cv_header_X11_extensions_XTest_h" "$ac_includes_default"
13953
15077
if test "x$ac_cv_header_X11_extensions_XTest_h" = x""yes; then :
13954
15078
 
13955
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XTestFakeKeyEvent in -lXtst" >&5
 
15079
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XTestFakeKeyEvent in -lXtst" >&5
13956
15080
$as_echo_n "checking for XTestFakeKeyEvent in -lXtst... " >&6; }
13957
15081
if test "${ac_cv_lib_Xtst_XTestFakeKeyEvent+set}" = set; then :
13958
15082
  $as_echo_n "(cached) " >&6
13993
15117
 
13994
15118
$as_echo "#define HAVE_XTEST 1" >>confdefs.h
13995
15119
 
13996
 
      XTEST_LIBS="-lX11 -lXtst"
 
15120
    XTEST_LIBS="-lX11 -lXtst"
13997
15121
fi
13998
15122
 
13999
15123
 
14021
15145
    if test -n "$PKG_CONFIG" && \
14022
15146
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
14023
15147
  glib-2.0 >= \$GLIB_REQUIRED \\
 
15148
  gio-2.0 >= \$GIO_REQUIRED \\
 
15149
  x11 \\
14024
15150
  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 \\
 
15151
  gdk-pixbuf-2.0 \\
14030
15152
  gstreamer-0.10 >= \$GSTREAMER_REQUIRED \\
14031
15153
  gstreamer-plugins-base-0.10 >= \$GSTREAMER_REQUIRED \\
14032
15154
  cairo >= \$CAIRO_REQUIRED \\
14033
 
  dbus-1 >= \$DBUS_REQUIRED \\
14034
 
  dbus-glib-1 >= \$DBUS_GLIB_REQUIRED \\
14035
15155
  pangocairo >= \$PANGOCAIRO_REQUIRED \\
14036
 
  librsvg-2.0 >= \$LIBRSVG_REQUIRED
14037
 
  libcanberra-gtk \$UDEV_PKG\""; } >&5
 
15156
  clutter-1.0 >= \$CLUTTER_REQUIRED \\
 
15157
  clutter-gst-1.0 >= \$CLUTTERGST_REQUIRED \\
 
15158
  mx-1.0 \\
 
15159
  \$UDEV_PKG
 
15160
  \""; } >&5
14038
15161
  ($PKG_CONFIG --exists --print-errors "\
14039
15162
  glib-2.0 >= $GLIB_REQUIRED \
 
15163
  gio-2.0 >= $GIO_REQUIRED \
 
15164
  x11 \
14040
15165
  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 \
 
15166
  gdk-pixbuf-2.0 \
14046
15167
  gstreamer-0.10 >= $GSTREAMER_REQUIRED \
14047
15168
  gstreamer-plugins-base-0.10 >= $GSTREAMER_REQUIRED \
14048
15169
  cairo >= $CAIRO_REQUIRED \
14049
 
  dbus-1 >= $DBUS_REQUIRED \
14050
 
  dbus-glib-1 >= $DBUS_GLIB_REQUIRED \
14051
15170
  pangocairo >= $PANGOCAIRO_REQUIRED \
14052
 
  librsvg-2.0 >= $LIBRSVG_REQUIRED
14053
 
  libcanberra-gtk $UDEV_PKG") 2>&5
 
15171
  clutter-1.0 >= $CLUTTER_REQUIRED \
 
15172
  clutter-gst-1.0 >= $CLUTTERGST_REQUIRED \
 
15173
  mx-1.0 \
 
15174
  $UDEV_PKG
 
15175
  ") 2>&5
14054
15176
  ac_status=$?
14055
15177
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14056
15178
  test $ac_status = 0; }; then
14057
15179
  pkg_cv_CHEESE_CFLAGS=`$PKG_CONFIG --cflags "\
14058
15180
  glib-2.0 >= $GLIB_REQUIRED \
 
15181
  gio-2.0 >= $GIO_REQUIRED \
 
15182
  x11 \
14059
15183
  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 \
 
15184
  gdk-pixbuf-2.0 \
14065
15185
  gstreamer-0.10 >= $GSTREAMER_REQUIRED \
14066
15186
  gstreamer-plugins-base-0.10 >= $GSTREAMER_REQUIRED \
14067
15187
  cairo >= $CAIRO_REQUIRED \
14068
 
  dbus-1 >= $DBUS_REQUIRED \
14069
 
  dbus-glib-1 >= $DBUS_GLIB_REQUIRED \
14070
15188
  pangocairo >= $PANGOCAIRO_REQUIRED \
14071
 
  librsvg-2.0 >= $LIBRSVG_REQUIRED
14072
 
  libcanberra-gtk $UDEV_PKG" 2>/dev/null`
 
15189
  clutter-1.0 >= $CLUTTER_REQUIRED \
 
15190
  clutter-gst-1.0 >= $CLUTTERGST_REQUIRED \
 
15191
  mx-1.0 \
 
15192
  $UDEV_PKG
 
15193
  " 2>/dev/null`
14073
15194
else
14074
15195
  pkg_failed=yes
14075
15196
fi
14082
15203
    if test -n "$PKG_CONFIG" && \
14083
15204
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
14084
15205
  glib-2.0 >= \$GLIB_REQUIRED \\
 
15206
  gio-2.0 >= \$GIO_REQUIRED \\
 
15207
  x11 \\
14085
15208
  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 \\
 
15209
  gdk-pixbuf-2.0 \\
14091
15210
  gstreamer-0.10 >= \$GSTREAMER_REQUIRED \\
14092
15211
  gstreamer-plugins-base-0.10 >= \$GSTREAMER_REQUIRED \\
14093
15212
  cairo >= \$CAIRO_REQUIRED \\
14094
 
  dbus-1 >= \$DBUS_REQUIRED \\
14095
 
  dbus-glib-1 >= \$DBUS_GLIB_REQUIRED \\
14096
15213
  pangocairo >= \$PANGOCAIRO_REQUIRED \\
14097
 
  librsvg-2.0 >= \$LIBRSVG_REQUIRED
14098
 
  libcanberra-gtk \$UDEV_PKG\""; } >&5
 
15214
  clutter-1.0 >= \$CLUTTER_REQUIRED \\
 
15215
  clutter-gst-1.0 >= \$CLUTTERGST_REQUIRED \\
 
15216
  mx-1.0 \\
 
15217
  \$UDEV_PKG
 
15218
  \""; } >&5
14099
15219
  ($PKG_CONFIG --exists --print-errors "\
14100
15220
  glib-2.0 >= $GLIB_REQUIRED \
 
15221
  gio-2.0 >= $GIO_REQUIRED \
 
15222
  x11 \
14101
15223
  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 \
 
15224
  gdk-pixbuf-2.0 \
14107
15225
  gstreamer-0.10 >= $GSTREAMER_REQUIRED \
14108
15226
  gstreamer-plugins-base-0.10 >= $GSTREAMER_REQUIRED \
14109
15227
  cairo >= $CAIRO_REQUIRED \
14110
 
  dbus-1 >= $DBUS_REQUIRED \
14111
 
  dbus-glib-1 >= $DBUS_GLIB_REQUIRED \
14112
15228
  pangocairo >= $PANGOCAIRO_REQUIRED \
14113
 
  librsvg-2.0 >= $LIBRSVG_REQUIRED
14114
 
  libcanberra-gtk $UDEV_PKG") 2>&5
 
15229
  clutter-1.0 >= $CLUTTER_REQUIRED \
 
15230
  clutter-gst-1.0 >= $CLUTTERGST_REQUIRED \
 
15231
  mx-1.0 \
 
15232
  $UDEV_PKG
 
15233
  ") 2>&5
14115
15234
  ac_status=$?
14116
15235
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14117
15236
  test $ac_status = 0; }; then
14118
15237
  pkg_cv_CHEESE_LIBS=`$PKG_CONFIG --libs "\
14119
15238
  glib-2.0 >= $GLIB_REQUIRED \
 
15239
  gio-2.0 >= $GIO_REQUIRED \
 
15240
  x11 \
14120
15241
  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 \
 
15242
  gdk-pixbuf-2.0 \
14126
15243
  gstreamer-0.10 >= $GSTREAMER_REQUIRED \
14127
15244
  gstreamer-plugins-base-0.10 >= $GSTREAMER_REQUIRED \
14128
15245
  cairo >= $CAIRO_REQUIRED \
14129
 
  dbus-1 >= $DBUS_REQUIRED \
14130
 
  dbus-glib-1 >= $DBUS_GLIB_REQUIRED \
14131
15246
  pangocairo >= $PANGOCAIRO_REQUIRED \
14132
 
  librsvg-2.0 >= $LIBRSVG_REQUIRED
14133
 
  libcanberra-gtk $UDEV_PKG" 2>/dev/null`
 
15247
  clutter-1.0 >= $CLUTTER_REQUIRED \
 
15248
  clutter-gst-1.0 >= $CLUTTERGST_REQUIRED \
 
15249
  mx-1.0 \
 
15250
  $UDEV_PKG
 
15251
  " 2>/dev/null`
14134
15252
else
14135
15253
  pkg_failed=yes
14136
15254
fi
14141
15259
 
14142
15260
 
14143
15261
if test $pkg_failed = yes; then
 
15262
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15263
$as_echo "no" >&6; }
14144
15264
 
14145
15265
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14146
15266
        _pkg_short_errors_supported=yes
14150
15270
        if test $_pkg_short_errors_supported = yes; then
14151
15271
                CHEESE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "\
14152
15272
  glib-2.0 >= $GLIB_REQUIRED \
 
15273
  gio-2.0 >= $GIO_REQUIRED \
 
15274
  x11 \
14153
15275
  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 \
 
15276
  gdk-pixbuf-2.0 \
14159
15277
  gstreamer-0.10 >= $GSTREAMER_REQUIRED \
14160
15278
  gstreamer-plugins-base-0.10 >= $GSTREAMER_REQUIRED \
14161
15279
  cairo >= $CAIRO_REQUIRED \
14162
 
  dbus-1 >= $DBUS_REQUIRED \
14163
 
  dbus-glib-1 >= $DBUS_GLIB_REQUIRED \
14164
15280
  pangocairo >= $PANGOCAIRO_REQUIRED \
14165
 
  librsvg-2.0 >= $LIBRSVG_REQUIRED
14166
 
  libcanberra-gtk $UDEV_PKG" 2>&1`
 
15281
  clutter-1.0 >= $CLUTTER_REQUIRED \
 
15282
  clutter-gst-1.0 >= $CLUTTERGST_REQUIRED \
 
15283
  mx-1.0 \
 
15284
  $UDEV_PKG
 
15285
  " 2>&1`
14167
15286
        else
14168
15287
                CHEESE_PKG_ERRORS=`$PKG_CONFIG --print-errors "\
14169
15288
  glib-2.0 >= $GLIB_REQUIRED \
 
15289
  gio-2.0 >= $GIO_REQUIRED \
 
15290
  x11 \
14170
15291
  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 \
 
15292
  gdk-pixbuf-2.0 \
14176
15293
  gstreamer-0.10 >= $GSTREAMER_REQUIRED \
14177
15294
  gstreamer-plugins-base-0.10 >= $GSTREAMER_REQUIRED \
14178
15295
  cairo >= $CAIRO_REQUIRED \
14179
 
  dbus-1 >= $DBUS_REQUIRED \
14180
 
  dbus-glib-1 >= $DBUS_GLIB_REQUIRED \
14181
15296
  pangocairo >= $PANGOCAIRO_REQUIRED \
14182
 
  librsvg-2.0 >= $LIBRSVG_REQUIRED
14183
 
  libcanberra-gtk $UDEV_PKG" 2>&1`
 
15297
  clutter-1.0 >= $CLUTTER_REQUIRED \
 
15298
  clutter-gst-1.0 >= $CLUTTERGST_REQUIRED \
 
15299
  mx-1.0 \
 
15300
  $UDEV_PKG
 
15301
  " 2>&1`
14184
15302
        fi
14185
15303
        # Put the nasty error message in config.log where it belongs
14186
15304
        echo "$CHEESE_PKG_ERRORS" >&5
14187
15305
 
14188
 
        as_fn_error "Package requirements (\
 
15306
        as_fn_error $? "Package requirements (\
14189
15307
  glib-2.0 >= $GLIB_REQUIRED \
 
15308
  gio-2.0 >= $GIO_REQUIRED \
 
15309
  x11 \
14190
15310
  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 \
 
15311
  gdk-pixbuf-2.0 \
14196
15312
  gstreamer-0.10 >= $GSTREAMER_REQUIRED \
14197
15313
  gstreamer-plugins-base-0.10 >= $GSTREAMER_REQUIRED \
14198
15314
  cairo >= $CAIRO_REQUIRED \
14199
 
  dbus-1 >= $DBUS_REQUIRED \
14200
 
  dbus-glib-1 >= $DBUS_GLIB_REQUIRED \
14201
15315
  pangocairo >= $PANGOCAIRO_REQUIRED \
14202
 
  librsvg-2.0 >= $LIBRSVG_REQUIRED
14203
 
  libcanberra-gtk $UDEV_PKG) were not met:
 
15316
  clutter-1.0 >= $CLUTTER_REQUIRED \
 
15317
  clutter-gst-1.0 >= $CLUTTERGST_REQUIRED \
 
15318
  mx-1.0 \
 
15319
  $UDEV_PKG
 
15320
  ) were not met:
14204
15321
 
14205
15322
$CHEESE_PKG_ERRORS
14206
15323
 
14209
15326
 
14210
15327
Alternatively, you may set the environment variables CHEESE_CFLAGS
14211
15328
and CHEESE_LIBS to avoid the need to call pkg-config.
14212
 
See the pkg-config man page for more details.
14213
 
" "$LINENO" 5
 
15329
See the pkg-config man page for more details." "$LINENO" 5
14214
15330
elif test $pkg_failed = untried; then
 
15331
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15332
$as_echo "no" >&6; }
14215
15333
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14216
15334
$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
 
15335
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14218
15336
is in your PATH or set the PKG_CONFIG environment variable to the full
14219
15337
path to pkg-config.
14220
15338
 
14223
15341
See the pkg-config man page for more details.
14224
15342
 
14225
15343
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14226
 
See \`config.log' for more details." "$LINENO" 5; }
 
15344
See \`config.log' for more details" "$LINENO" 5 ; }
14227
15345
else
14228
15346
        CHEESE_CFLAGS=$pkg_cv_CHEESE_CFLAGS
14229
15347
        CHEESE_LIBS=$pkg_cv_CHEESE_LIBS
14230
15348
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14231
15349
$as_echo "yes" >&6; }
14232
 
        :
 
15350
 
14233
15351
fi
14234
15352
 
14235
15353
 
14236
15354
CHEESE_LIBS="$CHEESE_LIBS -lgstinterfaces-0.10"
14237
15355
 
14238
15356
 
 
15357
pkg_failed=no
 
15358
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHEESE_GTK" >&5
 
15359
$as_echo_n "checking for CHEESE_GTK... " >&6; }
 
15360
 
 
15361
if test -n "$CHEESE_GTK_CFLAGS"; then
 
15362
    pkg_cv_CHEESE_GTK_CFLAGS="$CHEESE_GTK_CFLAGS"
 
15363
 elif test -n "$PKG_CONFIG"; then
 
15364
    if test -n "$PKG_CONFIG" && \
 
15365
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
 
15366
  gio-2.0 >= \$GIO_REQUIRED \\
 
15367
  gtk+-3.0 >= \$GTK_REQUIRED \\
 
15368
  gdk-3.0 >= \$GDK_REQUIRED \\
 
15369
  gnome-desktop-3.0 >= \$LIBGNOMEDESKTOP_REQUIRED \\
 
15370
  librsvg-2.0 >= \$LIBRSVG_REQUIRED \\
 
15371
  clutter-gtk-1.0 >= \$CLUTTERGTK_REQUIRED \\
 
15372
  gee-1.0 >= \$GEE_REQUIRED \\
 
15373
  libcanberra-gtk3 >= \$LIBCANBERRA_REQUIRED \\
 
15374
  \$UDEV_PKG \\
 
15375
  gnome-video-effects
 
15376
  \""; } >&5
 
15377
  ($PKG_CONFIG --exists --print-errors "\
 
15378
  gio-2.0 >= $GIO_REQUIRED \
 
15379
  gtk+-3.0 >= $GTK_REQUIRED \
 
15380
  gdk-3.0 >= $GDK_REQUIRED \
 
15381
  gnome-desktop-3.0 >= $LIBGNOMEDESKTOP_REQUIRED \
 
15382
  librsvg-2.0 >= $LIBRSVG_REQUIRED \
 
15383
  clutter-gtk-1.0 >= $CLUTTERGTK_REQUIRED \
 
15384
  gee-1.0 >= $GEE_REQUIRED \
 
15385
  libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
 
15386
  $UDEV_PKG \
 
15387
  gnome-video-effects
 
15388
  ") 2>&5
 
15389
  ac_status=$?
 
15390
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15391
  test $ac_status = 0; }; then
 
15392
  pkg_cv_CHEESE_GTK_CFLAGS=`$PKG_CONFIG --cflags "\
 
15393
  gio-2.0 >= $GIO_REQUIRED \
 
15394
  gtk+-3.0 >= $GTK_REQUIRED \
 
15395
  gdk-3.0 >= $GDK_REQUIRED \
 
15396
  gnome-desktop-3.0 >= $LIBGNOMEDESKTOP_REQUIRED \
 
15397
  librsvg-2.0 >= $LIBRSVG_REQUIRED \
 
15398
  clutter-gtk-1.0 >= $CLUTTERGTK_REQUIRED \
 
15399
  gee-1.0 >= $GEE_REQUIRED \
 
15400
  libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
 
15401
  $UDEV_PKG \
 
15402
  gnome-video-effects
 
15403
  " 2>/dev/null`
 
15404
else
 
15405
  pkg_failed=yes
 
15406
fi
 
15407
 else
 
15408
    pkg_failed=untried
 
15409
fi
 
15410
if test -n "$CHEESE_GTK_LIBS"; then
 
15411
    pkg_cv_CHEESE_GTK_LIBS="$CHEESE_GTK_LIBS"
 
15412
 elif test -n "$PKG_CONFIG"; then
 
15413
    if test -n "$PKG_CONFIG" && \
 
15414
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
 
15415
  gio-2.0 >= \$GIO_REQUIRED \\
 
15416
  gtk+-3.0 >= \$GTK_REQUIRED \\
 
15417
  gdk-3.0 >= \$GDK_REQUIRED \\
 
15418
  gnome-desktop-3.0 >= \$LIBGNOMEDESKTOP_REQUIRED \\
 
15419
  librsvg-2.0 >= \$LIBRSVG_REQUIRED \\
 
15420
  clutter-gtk-1.0 >= \$CLUTTERGTK_REQUIRED \\
 
15421
  gee-1.0 >= \$GEE_REQUIRED \\
 
15422
  libcanberra-gtk3 >= \$LIBCANBERRA_REQUIRED \\
 
15423
  \$UDEV_PKG \\
 
15424
  gnome-video-effects
 
15425
  \""; } >&5
 
15426
  ($PKG_CONFIG --exists --print-errors "\
 
15427
  gio-2.0 >= $GIO_REQUIRED \
 
15428
  gtk+-3.0 >= $GTK_REQUIRED \
 
15429
  gdk-3.0 >= $GDK_REQUIRED \
 
15430
  gnome-desktop-3.0 >= $LIBGNOMEDESKTOP_REQUIRED \
 
15431
  librsvg-2.0 >= $LIBRSVG_REQUIRED \
 
15432
  clutter-gtk-1.0 >= $CLUTTERGTK_REQUIRED \
 
15433
  gee-1.0 >= $GEE_REQUIRED \
 
15434
  libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
 
15435
  $UDEV_PKG \
 
15436
  gnome-video-effects
 
15437
  ") 2>&5
 
15438
  ac_status=$?
 
15439
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15440
  test $ac_status = 0; }; then
 
15441
  pkg_cv_CHEESE_GTK_LIBS=`$PKG_CONFIG --libs "\
 
15442
  gio-2.0 >= $GIO_REQUIRED \
 
15443
  gtk+-3.0 >= $GTK_REQUIRED \
 
15444
  gdk-3.0 >= $GDK_REQUIRED \
 
15445
  gnome-desktop-3.0 >= $LIBGNOMEDESKTOP_REQUIRED \
 
15446
  librsvg-2.0 >= $LIBRSVG_REQUIRED \
 
15447
  clutter-gtk-1.0 >= $CLUTTERGTK_REQUIRED \
 
15448
  gee-1.0 >= $GEE_REQUIRED \
 
15449
  libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
 
15450
  $UDEV_PKG \
 
15451
  gnome-video-effects
 
15452
  " 2>/dev/null`
 
15453
else
 
15454
  pkg_failed=yes
 
15455
fi
 
15456
 else
 
15457
    pkg_failed=untried
 
15458
fi
 
15459
 
 
15460
 
 
15461
 
 
15462
if test $pkg_failed = yes; then
 
15463
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15464
$as_echo "no" >&6; }
 
15465
 
 
15466
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
15467
        _pkg_short_errors_supported=yes
 
15468
else
 
15469
        _pkg_short_errors_supported=no
 
15470
fi
 
15471
        if test $_pkg_short_errors_supported = yes; then
 
15472
                CHEESE_GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "\
 
15473
  gio-2.0 >= $GIO_REQUIRED \
 
15474
  gtk+-3.0 >= $GTK_REQUIRED \
 
15475
  gdk-3.0 >= $GDK_REQUIRED \
 
15476
  gnome-desktop-3.0 >= $LIBGNOMEDESKTOP_REQUIRED \
 
15477
  librsvg-2.0 >= $LIBRSVG_REQUIRED \
 
15478
  clutter-gtk-1.0 >= $CLUTTERGTK_REQUIRED \
 
15479
  gee-1.0 >= $GEE_REQUIRED \
 
15480
  libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
 
15481
  $UDEV_PKG \
 
15482
  gnome-video-effects
 
15483
  " 2>&1`
 
15484
        else
 
15485
                CHEESE_GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "\
 
15486
  gio-2.0 >= $GIO_REQUIRED \
 
15487
  gtk+-3.0 >= $GTK_REQUIRED \
 
15488
  gdk-3.0 >= $GDK_REQUIRED \
 
15489
  gnome-desktop-3.0 >= $LIBGNOMEDESKTOP_REQUIRED \
 
15490
  librsvg-2.0 >= $LIBRSVG_REQUIRED \
 
15491
  clutter-gtk-1.0 >= $CLUTTERGTK_REQUIRED \
 
15492
  gee-1.0 >= $GEE_REQUIRED \
 
15493
  libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
 
15494
  $UDEV_PKG \
 
15495
  gnome-video-effects
 
15496
  " 2>&1`
 
15497
        fi
 
15498
        # Put the nasty error message in config.log where it belongs
 
15499
        echo "$CHEESE_GTK_PKG_ERRORS" >&5
 
15500
 
 
15501
        as_fn_error $? "Package requirements (\
 
15502
  gio-2.0 >= $GIO_REQUIRED \
 
15503
  gtk+-3.0 >= $GTK_REQUIRED \
 
15504
  gdk-3.0 >= $GDK_REQUIRED \
 
15505
  gnome-desktop-3.0 >= $LIBGNOMEDESKTOP_REQUIRED \
 
15506
  librsvg-2.0 >= $LIBRSVG_REQUIRED \
 
15507
  clutter-gtk-1.0 >= $CLUTTERGTK_REQUIRED \
 
15508
  gee-1.0 >= $GEE_REQUIRED \
 
15509
  libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
 
15510
  $UDEV_PKG \
 
15511
  gnome-video-effects
 
15512
  ) were not met:
 
15513
 
 
15514
$CHEESE_GTK_PKG_ERRORS
 
15515
 
 
15516
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
15517
installed software in a non-standard prefix.
 
15518
 
 
15519
Alternatively, you may set the environment variables CHEESE_GTK_CFLAGS
 
15520
and CHEESE_GTK_LIBS to avoid the need to call pkg-config.
 
15521
See the pkg-config man page for more details." "$LINENO" 5
 
15522
elif test $pkg_failed = untried; then
 
15523
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15524
$as_echo "no" >&6; }
 
15525
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
15526
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
15527
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
15528
is in your PATH or set the PKG_CONFIG environment variable to the full
 
15529
path to pkg-config.
 
15530
 
 
15531
Alternatively, you may set the environment variables CHEESE_GTK_CFLAGS
 
15532
and CHEESE_GTK_LIBS to avoid the need to call pkg-config.
 
15533
See the pkg-config man page for more details.
 
15534
 
 
15535
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
15536
See \`config.log' for more details" "$LINENO" 5 ; }
 
15537
else
 
15538
        CHEESE_GTK_CFLAGS=$pkg_cv_CHEESE_GTK_CFLAGS
 
15539
        CHEESE_GTK_LIBS=$pkg_cv_CHEESE_GTK_LIBS
 
15540
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
15541
$as_echo "yes" >&6; }
 
15542
 
 
15543
fi
 
15544
 
 
15545
 
14239
15546
 
14240
15547
GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
14241
15548
GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
14242
15549
 
14243
15550
 
14244
15551
 
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
 
15552
 
 
15553
 
 
15554
 
 
15555
                # Check whether --enable-introspection was given.
 
15556
if test "${enable_introspection+set}" = set; then :
 
15557
  enableval=$enable_introspection;
 
15558
else
 
15559
  enable_introspection=auto
 
15560
fi
 
15561
 
 
15562
 
 
15563
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
 
15564
$as_echo_n "checking for gobject-introspection... " >&6; }
 
15565
 
 
15566
        case $enable_introspection in #(
 
15567
  no) :
 
15568
            found_introspection="no (disabled, use --enable-introspection to enable)"
 
15569
     ;; #(
 
15570
      yes) :
 
15571
            if test -n "$PKG_CONFIG" && \
 
15572
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
 
15573
  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
 
15574
  ac_status=$?
 
15575
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15576
  test $ac_status = 0; }; then
 
15577
  :
 
15578
else
 
15579
  as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
 
15580
fi
 
15581
        if test -n "$PKG_CONFIG" && \
 
15582
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.7\""; } >&5
 
15583
  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.7") 2>&5
 
15584
  ac_status=$?
 
15585
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15586
  test $ac_status = 0; }; then
 
15587
  found_introspection=yes
 
15588
else
 
15589
  as_fn_error $? "You need to have gobject-introspection >= 0.6.7 installed to build cheese" "$LINENO" 5
 
15590
fi
 
15591
     ;; #(
 
15592
      auto) :
 
15593
            if test -n "$PKG_CONFIG" && \
 
15594
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.7\""; } >&5
 
15595
  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.7") 2>&5
 
15596
  ac_status=$?
 
15597
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15598
  test $ac_status = 0; }; then
 
15599
  found_introspection=yes
 
15600
else
 
15601
  found_introspection=no
 
15602
fi
 
15603
     ;; #(
 
15604
  *) :
 
15605
                as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
 
15606
     ;;
 
15607
esac
 
15608
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
 
15609
$as_echo "$found_introspection" >&6; }
 
15610
 
 
15611
    INTROSPECTION_SCANNER=
 
15612
    INTROSPECTION_COMPILER=
 
15613
    INTROSPECTION_GENERATE=
 
15614
    INTROSPECTION_GIRDIR=
 
15615
    INTROSPECTION_TYPELIBDIR=
 
15616
    if test "x$found_introspection" = "xyes"; then
 
15617
       INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
 
15618
       INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
 
15619
       INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
 
15620
       INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
 
15621
       INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
 
15622
       INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
 
15623
       INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
 
15624
       INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
 
15625
    fi
 
15626
 
 
15627
 
 
15628
 
 
15629
 
 
15630
 
 
15631
 
 
15632
 
 
15633
 
 
15634
 
 
15635
     if test "x$found_introspection" = "xyes"; then
 
15636
  HAVE_INTROSPECTION_TRUE=
 
15637
  HAVE_INTROSPECTION_FALSE='#'
 
15638
else
 
15639
  HAVE_INTROSPECTION_TRUE='#'
 
15640
  HAVE_INTROSPECTION_FALSE=
 
15641
fi
 
15642
 
 
15643
 
 
15644
 
 
15645
 
 
15646
# API documentation
 
15647
 
 
15648
 
 
15649
    # Extract the first word of "gtkdoc-check", so it can be a program name with args.
 
15650
set dummy gtkdoc-check; ac_word=$2
 
15651
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
15652
$as_echo_n "checking for $ac_word... " >&6; }
 
15653
if test "${ac_cv_path_GTKDOC_CHECK+set}" = set; then :
 
15654
  $as_echo_n "(cached) " >&6
 
15655
else
 
15656
  case $GTKDOC_CHECK in
 
15657
  [\\/]* | ?:[\\/]*)
 
15658
  ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
 
15659
  ;;
 
15660
  *)
 
15661
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15662
for as_dir in $PATH
 
15663
do
 
15664
  IFS=$as_save_IFS
 
15665
  test -z "$as_dir" && as_dir=.
 
15666
    for ac_exec_ext in '' $ac_executable_extensions; do
 
15667
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
15668
    ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
 
15669
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15670
    break 2
 
15671
  fi
 
15672
done
 
15673
  done
 
15674
IFS=$as_save_IFS
 
15675
 
 
15676
  ;;
 
15677
esac
 
15678
fi
 
15679
GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
 
15680
if test -n "$GTKDOC_CHECK"; then
 
15681
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
 
15682
$as_echo "$GTKDOC_CHECK" >&6; }
 
15683
else
 
15684
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15685
$as_echo "no" >&6; }
 
15686
fi
 
15687
 
 
15688
 
 
15689
  for ac_prog in gtkdoc-rebase
 
15690
do
 
15691
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
15692
set dummy $ac_prog; ac_word=$2
 
15693
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
15694
$as_echo_n "checking for $ac_word... " >&6; }
 
15695
if test "${ac_cv_path_GTKDOC_REBASE+set}" = set; then :
 
15696
  $as_echo_n "(cached) " >&6
 
15697
else
 
15698
  case $GTKDOC_REBASE in
 
15699
  [\\/]* | ?:[\\/]*)
 
15700
  ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
 
15701
  ;;
 
15702
  *)
 
15703
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15704
for as_dir in $PATH
 
15705
do
 
15706
  IFS=$as_save_IFS
 
15707
  test -z "$as_dir" && as_dir=.
 
15708
    for ac_exec_ext in '' $ac_executable_extensions; do
 
15709
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
15710
    ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
 
15711
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15712
    break 2
 
15713
  fi
 
15714
done
 
15715
  done
 
15716
IFS=$as_save_IFS
 
15717
 
 
15718
  ;;
 
15719
esac
 
15720
fi
 
15721
GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
 
15722
if test -n "$GTKDOC_REBASE"; then
 
15723
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
 
15724
$as_echo "$GTKDOC_REBASE" >&6; }
 
15725
else
 
15726
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15727
$as_echo "no" >&6; }
 
15728
fi
 
15729
 
 
15730
 
 
15731
  test -n "$GTKDOC_REBASE" && break
 
15732
done
 
15733
test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
 
15734
 
 
15735
  # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
 
15736
set dummy gtkdoc-mkpdf; ac_word=$2
 
15737
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
15738
$as_echo_n "checking for $ac_word... " >&6; }
 
15739
if test "${ac_cv_path_GTKDOC_MKPDF+set}" = set; then :
 
15740
  $as_echo_n "(cached) " >&6
 
15741
else
 
15742
  case $GTKDOC_MKPDF in
 
15743
  [\\/]* | ?:[\\/]*)
 
15744
  ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
 
15745
  ;;
 
15746
  *)
 
15747
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15748
for as_dir in $PATH
 
15749
do
 
15750
  IFS=$as_save_IFS
 
15751
  test -z "$as_dir" && as_dir=.
 
15752
    for ac_exec_ext in '' $ac_executable_extensions; do
 
15753
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
15754
    ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
 
15755
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15756
    break 2
 
15757
  fi
 
15758
done
 
15759
  done
 
15760
IFS=$as_save_IFS
 
15761
 
 
15762
  ;;
 
15763
esac
 
15764
fi
 
15765
GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
 
15766
if test -n "$GTKDOC_MKPDF"; then
 
15767
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
 
15768
$as_echo "$GTKDOC_MKPDF" >&6; }
 
15769
else
 
15770
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15771
$as_echo "no" >&6; }
 
15772
fi
 
15773
 
 
15774
 
 
15775
 
 
15776
 
 
15777
# Check whether --with-html-dir was given.
 
15778
if test "${with_html_dir+set}" = set; then :
 
15779
  withval=$with_html_dir;
 
15780
else
 
15781
  with_html_dir='${datadir}/gtk-doc/html'
 
15782
fi
 
15783
 
 
15784
  HTML_DIR="$with_html_dir"
 
15785
 
 
15786
 
 
15787
    # Check whether --enable-gtk-doc was given.
 
15788
if test "${enable_gtk_doc+set}" = set; then :
 
15789
  enableval=$enable_gtk_doc;
 
15790
else
 
15791
  enable_gtk_doc=no
 
15792
fi
 
15793
 
 
15794
 
 
15795
  if test x$enable_gtk_doc = xyes; then
 
15796
    if test -n "$PKG_CONFIG" && \
 
15797
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.14\""; } >&5
 
15798
  ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.14") 2>&5
 
15799
  ac_status=$?
 
15800
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15801
  test $ac_status = 0; }; then
 
15802
  :
 
15803
else
 
15804
  as_fn_error $? "You need to have gtk-doc >= 1.14 installed to build $PACKAGE_NAME" "$LINENO" 5
 
15805
fi
 
15806
  fi
 
15807
 
 
15808
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
 
15809
$as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
 
15810
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
 
15811
$as_echo "$enable_gtk_doc" >&6; }
 
15812
 
 
15813
    # Check whether --enable-gtk-doc-html was given.
 
15814
if test "${enable_gtk_doc_html+set}" = set; then :
 
15815
  enableval=$enable_gtk_doc_html;
 
15816
else
 
15817
  enable_gtk_doc_html=yes
 
15818
fi
 
15819
 
 
15820
    # Check whether --enable-gtk-doc-pdf was given.
 
15821
if test "${enable_gtk_doc_pdf+set}" = set; then :
 
15822
  enableval=$enable_gtk_doc_pdf;
 
15823
else
 
15824
  enable_gtk_doc_pdf=no
 
15825
fi
 
15826
 
 
15827
 
 
15828
  if test -z "$GTKDOC_MKPDF"; then
 
15829
    enable_gtk_doc_pdf=no
 
15830
  fi
 
15831
 
 
15832
 
 
15833
   if test x$enable_gtk_doc = xyes; then
 
15834
  ENABLE_GTK_DOC_TRUE=
 
15835
  ENABLE_GTK_DOC_FALSE='#'
 
15836
else
 
15837
  ENABLE_GTK_DOC_TRUE='#'
 
15838
  ENABLE_GTK_DOC_FALSE=
 
15839
fi
 
15840
 
 
15841
   if test x$enable_gtk_doc_html = xyes; then
 
15842
  GTK_DOC_BUILD_HTML_TRUE=
 
15843
  GTK_DOC_BUILD_HTML_FALSE='#'
 
15844
else
 
15845
  GTK_DOC_BUILD_HTML_TRUE='#'
 
15846
  GTK_DOC_BUILD_HTML_FALSE=
 
15847
fi
 
15848
 
 
15849
   if test x$enable_gtk_doc_pdf = xyes; then
 
15850
  GTK_DOC_BUILD_PDF_TRUE=
 
15851
  GTK_DOC_BUILD_PDF_FALSE='#'
 
15852
else
 
15853
  GTK_DOC_BUILD_PDF_TRUE='#'
 
15854
  GTK_DOC_BUILD_PDF_FALSE=
 
15855
fi
 
15856
 
 
15857
   if test -n "$LIBTOOL"; then
 
15858
  GTK_DOC_USE_LIBTOOL_TRUE=
 
15859
  GTK_DOC_USE_LIBTOOL_FALSE='#'
 
15860
else
 
15861
  GTK_DOC_USE_LIBTOOL_TRUE='#'
 
15862
  GTK_DOC_USE_LIBTOOL_FALSE=
 
15863
fi
 
15864
 
 
15865
   if test -n "$GTKDOC_REBASE"; then
 
15866
  GTK_DOC_USE_REBASE_TRUE=
 
15867
  GTK_DOC_USE_REBASE_FALSE='#'
 
15868
else
 
15869
  GTK_DOC_USE_REBASE_TRUE='#'
 
15870
  GTK_DOC_USE_REBASE_FALSE=
 
15871
fi
 
15872
 
 
15873
 
 
15874
 
 
15875
# User manual
 
15876
 
 
15877
gdu_cv_version_required=0.20
 
15878
 
 
15879
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking gnome-doc-utils >= $gdu_cv_version_required" >&5
 
15880
$as_echo_n "checking gnome-doc-utils >= $gdu_cv_version_required... " >&6; }
 
15881
if test -n "$PKG_CONFIG" && \
 
15882
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-doc-utils >= \$gdu_cv_version_required\""; } >&5
 
15883
  ($PKG_CONFIG --exists --print-errors "gnome-doc-utils >= $gdu_cv_version_required") 2>&5
 
15884
  ac_status=$?
 
15885
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15886
  test $ac_status = 0; }; then
 
15887
  gdu_cv_have_gdu=yes
 
15888
else
 
15889
  gdu_cv_have_gdu=no
 
15890
fi
 
15891
 
 
15892
if test "$gdu_cv_have_gdu" = "yes"; then
 
15893
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
15894
$as_echo "yes" >&6; }
 
15895
        :
 
15896
else
 
15897
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15898
$as_echo "no" >&6; }
 
15899
        as_fn_error $? "gnome-doc-utils >= $gdu_cv_version_required not found" "$LINENO" 5
 
15900
fi
 
15901
 
 
15902
 
 
15903
 
 
15904
# Check whether --with-help-dir was given.
 
15905
if test "${with_help_dir+set}" = set; then :
 
15906
  withval=$with_help_dir;
 
15907
else
 
15908
  with_help_dir='${datadir}/gnome/help'
 
15909
fi
 
15910
 
 
15911
HELP_DIR="$with_help_dir"
 
15912
 
 
15913
 
 
15914
 
 
15915
# Check whether --with-omf-dir was given.
 
15916
if test "${with_omf_dir+set}" = set; then :
 
15917
  withval=$with_omf_dir;
 
15918
else
 
15919
  with_omf_dir='${datadir}/omf'
 
15920
fi
 
15921
 
 
15922
OMF_DIR="$with_omf_dir"
 
15923
 
 
15924
 
 
15925
 
 
15926
# Check whether --with-help-formats was given.
 
15927
if test "${with_help_formats+set}" = set; then :
 
15928
  withval=$with_help_formats;
 
15929
else
 
15930
  with_help_formats=''
 
15931
fi
 
15932
 
 
15933
DOC_USER_FORMATS="$with_help_formats"
 
15934
 
 
15935
 
 
15936
# Check whether --enable-scrollkeeper was given.
 
15937
if test "${enable_scrollkeeper+set}" = set; then :
 
15938
  enableval=$enable_scrollkeeper;
 
15939
else
 
15940
  enable_scrollkeeper=yes
 
15941
fi
 
15942
 
 
15943
 if test "$gdu_cv_have_gdu" = "yes" -a "$enable_scrollkeeper" = "yes"; then
 
15944
  ENABLE_SK_TRUE=
 
15945
  ENABLE_SK_FALSE='#'
 
15946
else
 
15947
  ENABLE_SK_TRUE='#'
 
15948
  ENABLE_SK_FALSE=
 
15949
fi
 
15950
 
 
15951
 
 
15952
DISTCHECK_CONFIGURE_FLAGS="--disable-scrollkeeper $DISTCHECK_CONFIGURE_FLAGS"
 
15953
 
 
15954
 
 
15955
 if test "$gdu_cv_have_gdu" = "yes"; then
 
15956
  HAVE_GNOME_DOC_UTILS_TRUE=
 
15957
  HAVE_GNOME_DOC_UTILS_FALSE='#'
 
15958
else
 
15959
  HAVE_GNOME_DOC_UTILS_TRUE='#'
 
15960
  HAVE_GNOME_DOC_UTILS_FALSE=
 
15961
fi
 
15962
 
 
15963
 
 
15964
 
 
15965
 
 
15966
 
 
15967
 
 
15968
  # Check whether --enable-schemas-compile was given.
 
15969
if test "${enable_schemas_compile+set}" = set; then :
 
15970
  enableval=$enable_schemas_compile; case ${enableval} in
 
15971
                  yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE=""  ;;
 
15972
                  no)  GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
 
15973
                  *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5  ;;
 
15974
                 esac
 
15975
fi
 
15976
 
 
15977
 
 
15978
 
 
15979
 
 
15980
 
 
15981
 
 
15982
 
 
15983
 
 
15984
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 
15985
        if test -n "$ac_tool_prefix"; then
 
15986
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
 
15987
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
 
15988
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
15989
$as_echo_n "checking for $ac_word... " >&6; }
 
15990
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
 
15991
  $as_echo_n "(cached) " >&6
 
15992
else
 
15993
  case $PKG_CONFIG in
 
15994
  [\\/]* | ?:[\\/]*)
 
15995
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 
15996
  ;;
 
15997
  *)
 
15998
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15999
for as_dir in $PATH
 
16000
do
 
16001
  IFS=$as_save_IFS
 
16002
  test -z "$as_dir" && as_dir=.
 
16003
    for ac_exec_ext in '' $ac_executable_extensions; do
 
16004
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
16005
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
16006
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16007
    break 2
 
16008
  fi
 
16009
done
 
16010
  done
 
16011
IFS=$as_save_IFS
 
16012
 
 
16013
  ;;
 
16014
esac
 
16015
fi
 
16016
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
16017
if test -n "$PKG_CONFIG"; then
 
16018
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
 
16019
$as_echo "$PKG_CONFIG" >&6; }
 
16020
else
 
16021
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16022
$as_echo "no" >&6; }
 
16023
fi
 
16024
 
 
16025
 
 
16026
fi
 
16027
if test -z "$ac_cv_path_PKG_CONFIG"; then
 
16028
  ac_pt_PKG_CONFIG=$PKG_CONFIG
 
16029
  # Extract the first word of "pkg-config", so it can be a program name with args.
 
16030
set dummy pkg-config; ac_word=$2
 
16031
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
16032
$as_echo_n "checking for $ac_word... " >&6; }
 
16033
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
 
16034
  $as_echo_n "(cached) " >&6
 
16035
else
 
16036
  case $ac_pt_PKG_CONFIG in
 
16037
  [\\/]* | ?:[\\/]*)
 
16038
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
 
16039
  ;;
 
16040
  *)
 
16041
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
16042
for as_dir in $PATH
 
16043
do
 
16044
  IFS=$as_save_IFS
 
16045
  test -z "$as_dir" && as_dir=.
 
16046
    for ac_exec_ext in '' $ac_executable_extensions; do
 
16047
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
16048
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
16049
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16050
    break 2
 
16051
  fi
 
16052
done
 
16053
  done
 
16054
IFS=$as_save_IFS
 
16055
 
 
16056
  ;;
 
16057
esac
 
16058
fi
 
16059
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
 
16060
if test -n "$ac_pt_PKG_CONFIG"; then
 
16061
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
 
16062
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
 
16063
else
 
16064
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16065
$as_echo "no" >&6; }
 
16066
fi
 
16067
 
 
16068
  if test "x$ac_pt_PKG_CONFIG" = x; then
 
16069
    PKG_CONFIG=""
 
16070
  else
 
16071
    case $cross_compiling:$ac_tool_warned in
 
16072
yes:)
 
16073
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
16074
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
16075
ac_tool_warned=yes ;;
 
16076
esac
 
16077
    PKG_CONFIG=$ac_pt_PKG_CONFIG
 
16078
  fi
 
16079
else
 
16080
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
 
16081
fi
 
16082
 
 
16083
fi
 
16084
if test -n "$PKG_CONFIG"; then
 
16085
        _pkg_min_version=0.16
 
16086
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
 
16087
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
 
16088
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
 
16089
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
16090
$as_echo "yes" >&6; }
 
16091
        else
 
16092
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16093
$as_echo "no" >&6; }
 
16094
                PKG_CONFIG=""
 
16095
        fi
 
16096
fi
 
16097
  gsettingsschemadir=${datadir}/glib-2.0/schemas
 
16098
 
 
16099
  if test x$cross_compiling != xyes; then
 
16100
    GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
 
16101
  else
 
16102
    # Extract the first word of "glib-compile-schemas", so it can be a program name with args.
 
16103
set dummy glib-compile-schemas; ac_word=$2
 
16104
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
16105
$as_echo_n "checking for $ac_word... " >&6; }
 
16106
if test "${ac_cv_path_GLIB_COMPILE_SCHEMAS+set}" = set; then :
 
16107
  $as_echo_n "(cached) " >&6
 
16108
else
 
16109
  case $GLIB_COMPILE_SCHEMAS in
 
16110
  [\\/]* | ?:[\\/]*)
 
16111
  ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
 
16112
  ;;
 
16113
  *)
 
16114
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
16115
for as_dir in $PATH
 
16116
do
 
16117
  IFS=$as_save_IFS
 
16118
  test -z "$as_dir" && as_dir=.
 
16119
    for ac_exec_ext in '' $ac_executable_extensions; do
 
16120
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
16121
    ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
 
16122
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16123
    break 2
 
16124
  fi
 
16125
done
 
16126
  done
 
16127
IFS=$as_save_IFS
 
16128
 
 
16129
  ;;
 
16130
esac
 
16131
fi
 
16132
GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
 
16133
if test -n "$GLIB_COMPILE_SCHEMAS"; then
 
16134
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
 
16135
$as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
 
16136
else
 
16137
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16138
$as_echo "no" >&6; }
 
16139
fi
 
16140
 
 
16141
 
 
16142
  fi
 
16143
 
 
16144
  if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
 
16145
    as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
 
16146
  else
 
16147
    :
 
16148
  fi
 
16149
 
 
16150
  GSETTINGS_RULES='
 
16151
.PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
 
16152
 
 
16153
mostlyclean-am: clean-gsettings-schemas
 
16154
 
 
16155
gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
 
16156
 
 
16157
%.gschema.valid: %.gschema.xml $(gsettings__enum_file)
 
16158
        $(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 $@
 
16159
 
 
16160
all-am: $(gsettings_SCHEMAS:.xml=.valid)
 
16161
uninstall-am: uninstall-gsettings-schemas
 
16162
install-data-am: install-gsettings-schemas
 
16163
 
 
16164
.SECONDARY: $(gsettings_SCHEMAS)
 
16165
 
 
16166
install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
 
16167
        @$(NORMAL_INSTALL)
 
16168
        if test -n "$^"; then \
 
16169
                test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
 
16170
                $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
 
16171
                test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
 
16172
        fi
 
16173
 
 
16174
uninstall-gsettings-schemas:
 
16175
        @$(NORMAL_UNINSTALL)
 
16176
        @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
 
16177
        files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
 
16178
        test -n "$$files" || exit 0; \
 
16179
        echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
 
16180
        cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
 
16181
        test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
 
16182
 
 
16183
clean-gsettings-schemas:
 
16184
        rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
 
16185
 
 
16186
ifdef gsettings_ENUM_NAMESPACE
 
16187
$(gsettings__enum_file): $(gsettings_ENUM_FILES)
 
16188
        $(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 $@
 
16189
endif
 
16190
'
 
16191
 
 
16192
 
 
16193
 
14333
16194
 
14334
16195
 
14335
16196
 
14336
16197
#*******************************************************************************
14337
16198
 
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"
 
16199
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
16200
 
14340
16201
cat >confcache <<\_ACEOF
14341
16202
# This file is a shell script that caches the results of configure
14420
16281
 
14421
16282
ac_libobjs=
14422
16283
ac_ltlibobjs=
 
16284
U=
14423
16285
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14424
16286
  # 1. Remove the extension, and $U if already installed.
14425
16287
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14443
16305
fi
14444
16306
 
14445
16307
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14446
 
  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
 
16308
  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
14447
16309
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14448
16310
fi
14449
16311
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.
 
16312
  as_fn_error $? "conditional \"AMDEP\" was never defined.
 
16313
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
16314
fi
 
16315
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
16316
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
16317
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
16318
fi
 
16319
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
16320
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
16321
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
16322
fi
 
16323
 
 
16324
  ac_config_commands="$ac_config_commands po/stamp-it"
 
16325
 
 
16326
 
 
16327
if test -z "${HAVE_XTEST_TRUE}" && test -z "${HAVE_XTEST_FALSE}"; then
 
16328
  as_fn_error $? "conditional \"HAVE_XTEST\" was never defined.
 
16329
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
16330
fi
 
16331
if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
 
16332
  as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
14463
16333
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14464
16334
fi
14465
16335
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.
 
16336
  as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
14467
16337
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14468
16338
fi
14469
16339
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.
 
16340
  as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
14471
16341
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14472
16342
fi
14473
16343
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.
 
16344
  as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
14475
16345
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14476
16346
fi
14477
16347
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.
 
16348
  as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
14479
16349
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14480
16350
fi
14481
16351
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.
 
16352
  as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
14483
16353
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14484
16354
fi
14485
 
 
14486
 
  ac_config_commands="$ac_config_commands po/stamp-it"
14487
 
 
14488
 
 
14489
16355
if test -z "${ENABLE_SK_TRUE}" && test -z "${ENABLE_SK_FALSE}"; then
14490
 
  as_fn_error "conditional \"ENABLE_SK\" was never defined.
 
16356
  as_fn_error $? "conditional \"ENABLE_SK\" was never defined.
14491
16357
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14492
16358
fi
14493
16359
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.
 
16360
  as_fn_error $? "conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
14503
16361
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14504
16362
fi
14505
16363
 
14649
16507
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14650
16508
 
14651
16509
 
14652
 
# as_fn_error ERROR [LINENO LOG_FD]
14653
 
# ---------------------------------
 
16510
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
16511
# ----------------------------------------
14654
16512
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14655
16513
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14656
 
# script with status $?, using 1 if that was 0.
 
16514
# script with STATUS, using 1 if that was 0.
14657
16515
as_fn_error ()
14658
16516
{
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
 
16517
  as_status=$1; test $as_status -eq 0 && as_status=1
 
16518
  if test "$4"; then
 
16519
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
16520
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14663
16521
  fi
14664
 
  $as_echo "$as_me: error: $1" >&2
 
16522
  $as_echo "$as_me: error: $2" >&2
14665
16523
  as_fn_exit $as_status
14666
16524
} # as_fn_error
14667
16525
 
14857
16715
      test -d "$as_dir" && break
14858
16716
    done
14859
16717
    test -z "$as_dirs" || eval "mkdir $as_dirs"
14860
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
16718
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14861
16719
 
14862
16720
 
14863
16721
} # as_fn_mkdir_p
14910
16768
# report actual input values of CONFIG_FILES etc. instead of their
14911
16769
# values after options handling.
14912
16770
ac_log="
14913
 
This file was extended by cheese $as_me 2.30.1, which was
14914
 
generated by GNU Autoconf 2.65.  Invocation command line was
 
16771
This file was extended by cheese $as_me 3.0.1, which was
 
16772
generated by GNU Autoconf 2.67.  Invocation command line was
14915
16773
 
14916
16774
  CONFIG_FILES    = $CONFIG_FILES
14917
16775
  CONFIG_HEADERS  = $CONFIG_HEADERS
14970
16828
Configuration commands:
14971
16829
$config_commands
14972
16830
 
14973
 
Report bugs to the package provider."
 
16831
Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=cheese>.
 
16832
cheese home page: <http://projects.gnome.org/cheese/>."
14974
16833
 
14975
16834
_ACEOF
14976
16835
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14977
16836
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14978
16837
ac_cs_version="\\
14979
 
cheese config.status 2.30.1
14980
 
configured by $0, generated by GNU Autoconf 2.65,
 
16838
cheese config.status 3.0.1
 
16839
configured by $0, generated by GNU Autoconf 2.67,
14981
16840
  with options \\"\$ac_cs_config\\"
14982
16841
 
14983
 
Copyright (C) 2009 Free Software Foundation, Inc.
 
16842
Copyright (C) 2010 Free Software Foundation, Inc.
14984
16843
This config.status script is free software; the Free Software Foundation
14985
16844
gives unlimited permission to copy, distribute and modify it."
14986
16845
 
14998
16857
while test $# != 0
14999
16858
do
15000
16859
  case $1 in
15001
 
  --*=*)
 
16860
  --*=?*)
15002
16861
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15003
16862
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15004
16863
    ac_shift=:
15005
16864
    ;;
 
16865
  --*=)
 
16866
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
16867
    ac_optarg=
 
16868
    ac_shift=:
 
16869
    ;;
15006
16870
  *)
15007
16871
    ac_option=$1
15008
16872
    ac_optarg=$2
15024
16888
    $ac_shift
15025
16889
    case $ac_optarg in
15026
16890
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
16891
    '') as_fn_error $? "missing file argument" ;;
15027
16892
    esac
15028
16893
    as_fn_append CONFIG_FILES " '$ac_optarg'"
15029
16894
    ac_need_defaults=false;;
15036
16901
    ac_need_defaults=false;;
15037
16902
  --he | --h)
15038
16903
    # Conflict between --help and --header
15039
 
    as_fn_error "ambiguous option: \`$1'
 
16904
    as_fn_error $? "ambiguous option: \`$1'
15040
16905
Try \`$0 --help' for more information.";;
15041
16906
  --help | --hel | -h )
15042
16907
    $as_echo "$ac_cs_usage"; exit ;;
15045
16910
    ac_cs_silent=: ;;
15046
16911
 
15047
16912
  # This is an error.
15048
 
  -*) as_fn_error "unrecognized option: \`$1'
 
16913
  -*) as_fn_error $? "unrecognized option: \`$1'
15049
16914
Try \`$0 --help' for more information." ;;
15050
16915
 
15051
16916
  *) as_fn_append ac_config_targets " $1"
15099
16964
sed_quote_subst='$sed_quote_subst'
15100
16965
double_quote_subst='$double_quote_subst'
15101
16966
delay_variable_subst='$delay_variable_subst'
15102
 
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
15103
 
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
15104
 
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
15105
 
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
15106
 
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
15107
 
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
15108
 
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
15109
 
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
15110
 
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
15111
 
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
15112
 
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
15113
 
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
15114
 
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
15115
 
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
15116
 
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
15117
 
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
15118
 
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
15119
 
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
15120
 
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
15121
 
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
15122
 
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
15123
 
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
15124
 
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
15125
 
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
15126
 
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
15127
 
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
15128
 
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
15129
 
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15130
 
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
15131
 
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
15132
 
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
15133
 
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
15134
 
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15135
 
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
15136
 
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
15137
 
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15138
 
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15139
 
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15140
 
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
15141
 
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15142
 
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
15143
 
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
15144
 
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
15145
 
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
15146
 
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
15147
 
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15148
 
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
15149
 
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
15150
 
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
15151
 
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
15152
 
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
15153
 
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
15154
 
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
15155
 
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
15156
 
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
15157
 
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
15158
 
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
15159
 
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
15160
 
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
15161
 
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
15162
 
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
15163
 
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
15164
 
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15165
 
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15166
 
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
15167
 
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
15168
 
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15169
 
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15170
 
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
15171
 
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15172
 
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15173
 
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15174
 
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15175
 
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15176
 
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15177
 
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
15178
 
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15179
 
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15180
 
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15181
 
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
15182
 
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
15183
 
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
15184
 
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
15185
 
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
15186
 
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15187
 
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
15188
 
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
15189
 
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
15190
 
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
15191
 
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
15192
 
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15193
 
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15194
 
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15195
 
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15196
 
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
15197
 
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
15198
 
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15199
 
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
15200
 
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
15201
 
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15202
 
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15203
 
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
15204
 
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15205
 
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
15206
 
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15207
 
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15208
 
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15209
 
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15210
 
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
15211
 
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
15212
 
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15213
 
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15214
 
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
15215
 
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
15216
 
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
15217
 
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
15218
 
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
15219
 
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
16967
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
 
16968
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
 
16969
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
 
16970
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
 
16971
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
 
16972
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 
16973
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 
16974
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 
16975
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
 
16976
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
 
16977
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
 
16978
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
 
16979
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
 
16980
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
 
16981
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
 
16982
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
 
16983
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
 
16984
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
 
16985
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
 
16986
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
 
16987
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
 
16988
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
 
16989
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
 
16990
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
 
16991
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
 
16992
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
 
16993
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
 
16994
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 
16995
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
 
16996
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
 
16997
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
 
16998
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
 
16999
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
 
17000
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
 
17001
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 
17002
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
 
17003
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
 
17004
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
 
17005
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
 
17006
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
 
17007
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 
17008
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
 
17009
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
 
17010
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
 
17011
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
17012
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
17013
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
 
17014
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
 
17015
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
 
17016
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
 
17017
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 
17018
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 
17019
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
 
17020
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
 
17021
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 
17022
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
17023
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
 
17024
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
 
17025
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
 
17026
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
 
17027
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 
17028
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
 
17029
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
 
17030
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
 
17031
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
 
17032
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 
17033
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
 
17034
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
 
17035
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
 
17036
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
 
17037
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
 
17038
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
 
17039
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
 
17040
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
 
17041
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
17042
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
 
17043
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
 
17044
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
 
17045
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
 
17046
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
 
17047
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
 
17048
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
17049
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
 
17050
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
17051
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
 
17052
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
17053
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
 
17054
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
17055
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
17056
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
 
17057
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
 
17058
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
 
17059
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
 
17060
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
 
17061
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
 
17062
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
17063
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
 
17064
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
 
17065
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
 
17066
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
 
17067
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
 
17068
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
 
17069
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
 
17070
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 
17071
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
 
17072
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
 
17073
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
 
17074
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
17075
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
 
17076
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
 
17077
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
 
17078
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
17079
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
 
17080
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
 
17081
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
 
17082
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
 
17083
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
 
17084
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
17085
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
17086
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
 
17087
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
 
17088
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
 
17089
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
 
17090
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
 
17091
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
 
17092
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
 
17093
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
 
17094
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
 
17095
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
 
17096
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15220
17097
 
15221
17098
LTCC='$LTCC'
15222
17099
LTCFLAGS='$LTCFLAGS'
15223
17100
compiler='$compiler_DEFAULT'
15224
17101
 
 
17102
# A function that is used when there is no print builtin or printf.
 
17103
func_fallback_echo ()
 
17104
{
 
17105
  eval 'cat <<_LTECHO_EOF
 
17106
\$1
 
17107
_LTECHO_EOF'
 
17108
}
 
17109
 
15225
17110
# Quote evaled strings.
15226
 
for var in SED \
 
17111
for var in SHELL \
 
17112
ECHO \
 
17113
SED \
15227
17114
GREP \
15228
17115
EGREP \
15229
17116
FGREP \
15236
17123
OBJDUMP \
15237
17124
deplibs_check_method \
15238
17125
file_magic_cmd \
 
17126
file_magic_glob \
 
17127
want_nocaseglob \
 
17128
DLLTOOL \
 
17129
sharedlib_from_linklib_cmd \
15239
17130
AR \
15240
17131
AR_FLAGS \
 
17132
archiver_list_spec \
15241
17133
STRIP \
15242
17134
RANLIB \
15243
17135
CC \
15247
17139
lt_cv_sys_global_symbol_to_cdecl \
15248
17140
lt_cv_sys_global_symbol_to_c_name_address \
15249
17141
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15250
 
SHELL \
15251
 
ECHO \
 
17142
nm_file_list_spec \
15252
17143
lt_prog_compiler_no_builtin_flag \
 
17144
lt_prog_compiler_pic \
15253
17145
lt_prog_compiler_wl \
15254
 
lt_prog_compiler_pic \
15255
17146
lt_prog_compiler_static \
15256
17147
lt_cv_prog_compiler_c_o \
15257
17148
need_locks \
 
17149
MANIFEST_TOOL \
15258
17150
DSYMUTIL \
15259
17151
NMEDIT \
15260
17152
LIPO \
15270
17162
hardcode_libdir_flag_spec \
15271
17163
hardcode_libdir_flag_spec_ld \
15272
17164
hardcode_libdir_separator \
15273
 
fix_srcfile_path \
15274
17165
exclude_expsyms \
15275
17166
include_expsyms \
15276
17167
file_list_spec \
15278
17169
libname_spec \
15279
17170
library_names_spec \
15280
17171
soname_spec \
 
17172
install_override_mode \
15281
17173
finish_eval \
15282
17174
old_striplib \
15283
17175
striplib; do
15284
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
17176
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15285
17177
    *[\\\\\\\`\\"\\\$]*)
15286
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
17178
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15287
17179
      ;;
15288
17180
    *)
15289
17181
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15305
17197
module_expsym_cmds \
15306
17198
export_symbols_cmds \
15307
17199
prelink_cmds \
 
17200
postlink_cmds \
15308
17201
postinstall_cmds \
15309
17202
postuninstall_cmds \
15310
17203
finish_cmds \
15311
17204
sys_lib_search_path_spec \
15312
17205
sys_lib_dlsearch_path_spec; do
15313
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
17206
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15314
17207
    *[\\\\\\\`\\"\\\$]*)
15315
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
17208
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15316
17209
      ;;
15317
17210
    *)
15318
17211
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15320
17213
    esac
15321
17214
done
15322
17215
 
15323
 
# Fix-up fallback echo if it was mangled by the above quoting rules.
15324
 
case \$lt_ECHO in
15325
 
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
15326
 
  ;;
15327
 
esac
15328
 
 
15329
17216
ac_aux_dir='$ac_aux_dir'
15330
17217
xsi_shell='$xsi_shell'
15331
17218
lt_shell_append='$lt_shell_append'
15345
17232
 
15346
17233
 
15347
17234
 
 
17235
# Capture the value of obsolete ALL_LINGUAS because we need it to compute
 
17236
    # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
 
17237
    # from automake < 1.5.
 
17238
    eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
 
17239
    # Capture the value of LINGUAS because we need it to compute CATALOGS.
 
17240
    LINGUAS="${LINGUAS-%UNSET%}"
15348
17241
 
15349
17242
 
15350
17243
_ACEOF
15358
17251
    "cheese-config.h") CONFIG_HEADERS="$CONFIG_HEADERS cheese-config.h" ;;
15359
17252
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15360
17253
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15361
 
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
 
17254
    "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
15362
17255
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15363
 
    "cheese-gtk.pc") CONFIG_FILES="$CONFIG_FILES cheese-gtk.pc" ;;
15364
17256
    "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
15365
17257
    "docs/reference/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/Makefile" ;;
15366
17258
    "docs/reference/version.xml") CONFIG_FILES="$CONFIG_FILES docs/reference/version.xml" ;;
15367
17259
    "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
 
17260
    "data/cheese.pc") CONFIG_FILES="$CONFIG_FILES data/cheese.pc" ;;
 
17261
    "data/cheese-gtk.pc") CONFIG_FILES="$CONFIG_FILES data/cheese-gtk.pc" ;;
15368
17262
    "data/cheese.desktop.in") CONFIG_FILES="$CONFIG_FILES data/cheese.desktop.in" ;;
15369
 
    "data/effects/Makefile") CONFIG_FILES="$CONFIG_FILES data/effects/Makefile" ;;
15370
17263
    "data/icons/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/Makefile" ;;
15371
17264
    "data/icons/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/16x16/Makefile" ;;
15372
17265
    "data/icons/22x22/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/22x22/Makefile" ;;
15389
17282
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
15390
17283
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
15391
17284
 
15392
 
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 
17285
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
15393
17286
  esac
15394
17287
done
15395
17288
 
15427
17320
{
15428
17321
  tmp=./conf$$-$RANDOM
15429
17322
  (umask 077 && mkdir "$tmp")
15430
 
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
 
17323
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15431
17324
 
15432
17325
# Set up the scripts for CONFIG_FILES section.
15433
17326
# No need to generate them if there are no CONFIG_FILES.
15444
17337
fi
15445
17338
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15446
17339
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15447
 
  ac_cs_awk_cr='\r'
 
17340
  ac_cs_awk_cr='\\r'
15448
17341
else
15449
17342
  ac_cs_awk_cr=$ac_cr
15450
17343
fi
15458
17351
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15459
17352
  echo "_ACEOF"
15460
17353
} >conf$$subs.sh ||
15461
 
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15462
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
17354
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
17355
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15463
17356
ac_delim='%!_!# '
15464
17357
for ac_last_try in false false false false false :; do
15465
17358
  . ./conf$$subs.sh ||
15466
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
17359
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15467
17360
 
15468
17361
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15469
17362
  if test $ac_delim_n = $ac_delim_num; then
15470
17363
    break
15471
17364
  elif $ac_last_try; then
15472
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
17365
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15473
17366
  else
15474
17367
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15475
17368
  fi
15558
17451
else
15559
17452
  cat
15560
17453
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
15561
 
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
 
17454
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15562
17455
_ACEOF
15563
17456
 
15564
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
15565
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
17457
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
17458
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15566
17459
# trailing colons and then remove the whole line if VPATH becomes empty
15567
17460
# (actually we leave an empty line to preserve line numbers).
15568
17461
if test "x$srcdir" = x.; then
15569
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
15570
 
s/:*\$(srcdir):*/:/
15571
 
s/:*\${srcdir}:*/:/
15572
 
s/:*@srcdir@:*/:/
15573
 
s/^\([^=]*=[     ]*\):*/\1/
 
17462
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
17463
h
 
17464
s///
 
17465
s/^/:/
 
17466
s/[      ]*$/:/
 
17467
s/:\$(srcdir):/:/g
 
17468
s/:\${srcdir}:/:/g
 
17469
s/:@srcdir@:/:/g
 
17470
s/^:*//
15574
17471
s/:*$//
 
17472
x
 
17473
s/\(=[   ]*\).*/\1/
 
17474
G
 
17475
s/\n//
15575
17476
s/^[^=]*=[       ]*$//
15576
17477
}'
15577
17478
fi
15599
17500
  if test -z "$ac_t"; then
15600
17501
    break
15601
17502
  elif $ac_last_try; then
15602
 
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
 
17503
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15603
17504
  else
15604
17505
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15605
17506
  fi
15684
17585
_ACAWK
15685
17586
_ACEOF
15686
17587
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15687
 
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
 
17588
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15688
17589
fi # test -n "$CONFIG_HEADERS"
15689
17590
 
15690
17591
 
15697
17598
  esac
15698
17599
  case $ac_mode$ac_tag in
15699
17600
  :[FHL]*:*);;
15700
 
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
 
17601
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
15701
17602
  :[FH]-) ac_tag=-:-;;
15702
17603
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15703
17604
  esac
15725
17626
           [\\/$]*) false;;
15726
17627
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15727
17628
           esac ||
15728
 
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 
17629
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
15729
17630
      esac
15730
17631
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15731
17632
      as_fn_append ac_file_inputs " '$ac_f'"
15752
17653
 
15753
17654
    case $ac_tag in
15754
17655
    *:-:* | *:-) cat >"$tmp/stdin" \
15755
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
 
17656
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
15756
17657
    esac
15757
17658
    ;;
15758
17659
  esac
15889
17790
$ac_datarootdir_hack
15890
17791
"
15891
17792
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
 
17793
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15893
17794
 
15894
17795
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15895
17796
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
15896
17797
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
15897
17798
  { $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
 
17799
which seems to be undefined.  Please make sure it is defined" >&5
15899
17800
$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;}
 
17801
which seems to be undefined.  Please make sure it is defined" >&2;}
15901
17802
 
15902
17803
  rm -f "$tmp/stdin"
15903
17804
  case $ac_file in
15904
17805
  -) cat "$tmp/out" && rm -f "$tmp/out";;
15905
17806
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15906
17807
  esac \
15907
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
17808
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15908
17809
 ;;
15909
17810
  :H)
15910
17811
  #
15915
17816
      $as_echo "/* $configure_input  */" \
15916
17817
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
15917
17818
    } >"$tmp/config.h" \
15918
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5
 
17819
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15919
17820
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
15920
17821
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15921
17822
$as_echo "$as_me: $ac_file is unchanged" >&6;}
15922
17823
    else
15923
17824
      rm -f "$ac_file"
15924
17825
      mv "$tmp/config.h" "$ac_file" \
15925
 
        || as_fn_error "could not create $ac_file" "$LINENO" 5
 
17826
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15926
17827
    fi
15927
17828
  else
15928
17829
    $as_echo "/* $configure_input  */" \
15929
17830
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
15930
 
      || as_fn_error "could not create -" "$LINENO" 5
 
17831
      || as_fn_error $? "could not create -" "$LINENO" 5
15931
17832
  fi
15932
17833
# Compute "$ac_file"'s index in $config_headers.
15933
17834
_am_arg="$ac_file"
16088
17989
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
16089
17990
#
16090
17991
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16091
 
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
17992
#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
 
17993
#                 Inc.
16092
17994
#   Written by Gordon Matzigkeit, 1996
16093
17995
#
16094
17996
#   This file is part of GNU Libtool.
16136
18038
# Whether or not to optimize for fast installation.
16137
18039
fast_install=$enable_fast_install
16138
18040
 
 
18041
# Shell to use when invoking shell scripts.
 
18042
SHELL=$lt_SHELL
 
18043
 
 
18044
# An echo program that protects backslashes.
 
18045
ECHO=$lt_ECHO
 
18046
 
16139
18047
# The host system.
16140
18048
host_alias=$host_alias
16141
18049
host=$host
16185
18093
# turn newlines into spaces.
16186
18094
NL2SP=$lt_lt_NL2SP
16187
18095
 
16188
 
# How to create reloadable object files.
16189
 
reload_flag=$lt_reload_flag
16190
 
reload_cmds=$lt_reload_cmds
 
18096
# convert \$build file names to \$host format.
 
18097
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
18098
 
 
18099
# convert \$build files to toolchain format.
 
18100
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16191
18101
 
16192
18102
# An object symbol dumper.
16193
18103
OBJDUMP=$lt_OBJDUMP
16195
18105
# Method to check whether dependent libraries are shared objects.
16196
18106
deplibs_check_method=$lt_deplibs_check_method
16197
18107
 
16198
 
# Command to use when deplibs_check_method == "file_magic".
 
18108
# Command to use when deplibs_check_method = "file_magic".
16199
18109
file_magic_cmd=$lt_file_magic_cmd
16200
18110
 
 
18111
# How to find potential files when deplibs_check_method = "file_magic".
 
18112
file_magic_glob=$lt_file_magic_glob
 
18113
 
 
18114
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
 
18115
want_nocaseglob=$lt_want_nocaseglob
 
18116
 
 
18117
# DLL creation program.
 
18118
DLLTOOL=$lt_DLLTOOL
 
18119
 
 
18120
# Command to associate shared and link libraries.
 
18121
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
 
18122
 
16201
18123
# The archiver.
16202
18124
AR=$lt_AR
 
18125
 
 
18126
# Flags to create an archive.
16203
18127
AR_FLAGS=$lt_AR_FLAGS
16204
18128
 
 
18129
# How to feed a file listing to the archiver.
 
18130
archiver_list_spec=$lt_archiver_list_spec
 
18131
 
16205
18132
# A symbol stripping program.
16206
18133
STRIP=$lt_STRIP
16207
18134
 
16210
18137
old_postinstall_cmds=$lt_old_postinstall_cmds
16211
18138
old_postuninstall_cmds=$lt_old_postuninstall_cmds
16212
18139
 
 
18140
# Whether to use a lock for old archive extraction.
 
18141
lock_old_archive_extraction=$lock_old_archive_extraction
 
18142
 
16213
18143
# A C compiler.
16214
18144
LTCC=$lt_CC
16215
18145
 
16228
18158
# Transform the output of nm in a C name address pair when lib prefix is needed.
16229
18159
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16230
18160
 
 
18161
# Specify filename containing input files for \$NM.
 
18162
nm_file_list_spec=$lt_nm_file_list_spec
 
18163
 
 
18164
# The root where to search for dependent libraries,and in which our libraries should be installed.
 
18165
lt_sysroot=$lt_sysroot
 
18166
 
16231
18167
# The name of the directory that contains temporary libtool files.
16232
18168
objdir=$objdir
16233
18169
 
16234
 
# Shell to use when invoking shell scripts.
16235
 
SHELL=$lt_SHELL
16236
 
 
16237
 
# An echo program that does not interpret backslashes.
16238
 
ECHO=$lt_ECHO
16239
 
 
16240
18170
# Used to examine libraries when file_magic_cmd begins with "file".
16241
18171
MAGIC_CMD=$MAGIC_CMD
16242
18172
 
16243
18173
# Must we lock files when doing compilation?
16244
18174
need_locks=$lt_need_locks
16245
18175
 
 
18176
# Manifest tool.
 
18177
MANIFEST_TOOL=$lt_MANIFEST_TOOL
 
18178
 
16246
18179
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16247
18180
DSYMUTIL=$lt_DSYMUTIL
16248
18181
 
16299
18232
# The coded name of the library, if different from the real name.
16300
18233
soname_spec=$lt_soname_spec
16301
18234
 
 
18235
# Permission mode override for installation of shared libraries.
 
18236
install_override_mode=$lt_install_override_mode
 
18237
 
16302
18238
# Command to use after installation of a shared archive.
16303
18239
postinstall_cmds=$lt_postinstall_cmds
16304
18240
 
16338
18274
# The linker used to build libraries.
16339
18275
LD=$lt_LD
16340
18276
 
 
18277
# How to create reloadable object files.
 
18278
reload_flag=$lt_reload_flag
 
18279
reload_cmds=$lt_reload_cmds
 
18280
 
16341
18281
# Commands used to build an old-style archive.
16342
18282
old_archive_cmds=$lt_old_archive_cmds
16343
18283
 
16350
18290
# Compiler flag to turn off builtin functions.
16351
18291
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16352
18292
 
 
18293
# Additional compiler flags for building library objects.
 
18294
pic_flag=$lt_lt_prog_compiler_pic
 
18295
 
16353
18296
# How to pass a linker flag through the compiler.
16354
18297
wl=$lt_lt_prog_compiler_wl
16355
18298
 
16356
 
# Additional compiler flags for building library objects.
16357
 
pic_flag=$lt_lt_prog_compiler_pic
16358
 
 
16359
18299
# Compiler flag to prevent dynamic linking.
16360
18300
link_static_flag=$lt_lt_prog_compiler_static
16361
18301
 
16442
18382
# Whether libtool must link a program against all its dependency libraries.
16443
18383
link_all_deplibs=$link_all_deplibs
16444
18384
 
16445
 
# Fix the shell variable \$srcfile for the compiler.
16446
 
fix_srcfile_path=$lt_fix_srcfile_path
16447
 
 
16448
18385
# Set to "yes" if exported symbols are required.
16449
18386
always_export_symbols=$always_export_symbols
16450
18387
 
16460
18397
# Commands necessary for linking programs (against libraries) with templates.
16461
18398
prelink_cmds=$lt_prelink_cmds
16462
18399
 
 
18400
# Commands necessary for finishing linking programs.
 
18401
postlink_cmds=$lt_postlink_cmds
 
18402
 
16463
18403
# Specify filename containing input files.
16464
18404
file_list_spec=$lt_file_list_spec
16465
18405
 
16492
18432
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16493
18433
  # text mode, it properly converts lines to CR/LF.  This bash problem
16494
18434
  # is reportedly fixed, but why not run on old versions too?
16495
 
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16496
 
    || (rm -f "$cfgfile"; exit 1)
16497
 
 
16498
 
  case $xsi_shell in
16499
 
  yes)
16500
 
    cat << \_LT_EOF >> "$cfgfile"
16501
 
 
16502
 
# func_dirname file append nondir_replacement
16503
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
16504
 
# otherwise set result to NONDIR_REPLACEMENT.
16505
 
func_dirname ()
16506
 
{
16507
 
  case ${1} in
16508
 
    */*) func_dirname_result="${1%/*}${2}" ;;
16509
 
    *  ) func_dirname_result="${3}" ;;
16510
 
  esac
16511
 
}
16512
 
 
16513
 
# func_basename file
16514
 
func_basename ()
16515
 
{
16516
 
  func_basename_result="${1##*/}"
16517
 
}
16518
 
 
16519
 
# func_dirname_and_basename file append nondir_replacement
16520
 
# perform func_basename and func_dirname in a single function
16521
 
# call:
16522
 
#   dirname:  Compute the dirname of FILE.  If nonempty,
16523
 
#             add APPEND to the result, otherwise set result
16524
 
#             to NONDIR_REPLACEMENT.
16525
 
#             value returned in "$func_dirname_result"
16526
 
#   basename: Compute filename of FILE.
16527
 
#             value retuned in "$func_basename_result"
16528
 
# Implementation must be kept synchronized with func_dirname
16529
 
# and func_basename. For efficiency, we do not delegate to
16530
 
# those functions but instead duplicate the functionality here.
16531
 
func_dirname_and_basename ()
16532
 
{
16533
 
  case ${1} in
16534
 
    */*) func_dirname_result="${1%/*}${2}" ;;
16535
 
    *  ) func_dirname_result="${3}" ;;
16536
 
  esac
16537
 
  func_basename_result="${1##*/}"
16538
 
}
16539
 
 
16540
 
# func_stripname prefix suffix name
16541
 
# strip PREFIX and SUFFIX off of NAME.
16542
 
# PREFIX and SUFFIX must not contain globbing or regex special
16543
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
16544
 
# dot (in which case that matches only a dot).
16545
 
func_stripname ()
16546
 
{
16547
 
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16548
 
  # positional parameters, so assign one to ordinary parameter first.
16549
 
  func_stripname_result=${3}
16550
 
  func_stripname_result=${func_stripname_result#"${1}"}
16551
 
  func_stripname_result=${func_stripname_result%"${2}"}
16552
 
}
16553
 
 
16554
 
# func_opt_split
16555
 
func_opt_split ()
16556
 
{
16557
 
  func_opt_split_opt=${1%%=*}
16558
 
  func_opt_split_arg=${1#*=}
16559
 
}
16560
 
 
16561
 
# func_lo2o object
16562
 
func_lo2o ()
16563
 
{
16564
 
  case ${1} in
16565
 
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
16566
 
    *)    func_lo2o_result=${1} ;;
16567
 
  esac
16568
 
}
16569
 
 
16570
 
# func_xform libobj-or-source
16571
 
func_xform ()
16572
 
{
16573
 
  func_xform_result=${1%.*}.lo
16574
 
}
16575
 
 
16576
 
# func_arith arithmetic-term...
16577
 
func_arith ()
16578
 
{
16579
 
  func_arith_result=$(( $* ))
16580
 
}
16581
 
 
16582
 
# func_len string
16583
 
# STRING may not start with a hyphen.
16584
 
func_len ()
16585
 
{
16586
 
  func_len_result=${#1}
16587
 
}
16588
 
 
16589
 
_LT_EOF
16590
 
    ;;
16591
 
  *) # Bourne compatible functions.
16592
 
    cat << \_LT_EOF >> "$cfgfile"
16593
 
 
16594
 
# func_dirname file append nondir_replacement
16595
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
16596
 
# otherwise set result to NONDIR_REPLACEMENT.
16597
 
func_dirname ()
16598
 
{
16599
 
  # Extract subdirectory from the argument.
16600
 
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
16601
 
  if test "X$func_dirname_result" = "X${1}"; then
16602
 
    func_dirname_result="${3}"
16603
 
  else
16604
 
    func_dirname_result="$func_dirname_result${2}"
16605
 
  fi
16606
 
}
16607
 
 
16608
 
# func_basename file
16609
 
func_basename ()
16610
 
{
16611
 
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
16612
 
}
16613
 
 
16614
 
 
16615
 
# func_stripname prefix suffix name
16616
 
# strip PREFIX and SUFFIX off of NAME.
16617
 
# PREFIX and SUFFIX must not contain globbing or regex special
16618
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
16619
 
# dot (in which case that matches only a dot).
16620
 
# func_strip_suffix prefix name
16621
 
func_stripname ()
16622
 
{
16623
 
  case ${2} in
16624
 
    .*) func_stripname_result=`$ECHO "X${3}" \
16625
 
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
16626
 
    *)  func_stripname_result=`$ECHO "X${3}" \
16627
 
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
16628
 
  esac
16629
 
}
16630
 
 
16631
 
# sed scripts:
16632
 
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
16633
 
my_sed_long_arg='1s/^-[^=]*=//'
16634
 
 
16635
 
# func_opt_split
16636
 
func_opt_split ()
16637
 
{
16638
 
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
16639
 
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
16640
 
}
16641
 
 
16642
 
# func_lo2o object
16643
 
func_lo2o ()
16644
 
{
16645
 
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
16646
 
}
16647
 
 
16648
 
# func_xform libobj-or-source
16649
 
func_xform ()
16650
 
{
16651
 
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
16652
 
}
16653
 
 
16654
 
# func_arith arithmetic-term...
16655
 
func_arith ()
16656
 
{
16657
 
  func_arith_result=`expr "$@"`
16658
 
}
16659
 
 
16660
 
# func_len string
16661
 
# STRING may not start with a hyphen.
16662
 
func_len ()
16663
 
{
16664
 
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16665
 
}
16666
 
 
16667
 
_LT_EOF
16668
 
esac
16669
 
 
16670
 
case $lt_shell_append in
16671
 
  yes)
16672
 
    cat << \_LT_EOF >> "$cfgfile"
16673
 
 
16674
 
# func_append var value
16675
 
# Append VALUE to the end of shell variable VAR.
16676
 
func_append ()
16677
 
{
16678
 
  eval "$1+=\$2"
16679
 
}
16680
 
_LT_EOF
16681
 
    ;;
16682
 
  *)
16683
 
    cat << \_LT_EOF >> "$cfgfile"
16684
 
 
16685
 
# func_append var value
16686
 
# Append VALUE to the end of shell variable VAR.
16687
 
func_append ()
16688
 
{
16689
 
  eval "$1=\$$1\$2"
16690
 
}
16691
 
 
16692
 
_LT_EOF
16693
 
    ;;
16694
 
  esac
16695
 
 
16696
 
 
16697
 
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16698
 
    || (rm -f "$cfgfile"; exit 1)
16699
 
 
16700
 
  mv -f "$cfgfile" "$ofile" ||
 
18435
  sed '$q' "$ltmain" >> "$cfgfile" \
 
18436
     || (rm -f "$cfgfile"; exit 1)
 
18437
 
 
18438
  if test x"$xsi_shell" = xyes; then
 
18439
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 
18440
func_dirname ()\
 
18441
{\
 
18442
\    case ${1} in\
 
18443
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
18444
\      *  ) func_dirname_result="${3}" ;;\
 
18445
\    esac\
 
18446
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
 
18447
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18448
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18449
test 0 -eq $? || _lt_function_replace_fail=:
 
18450
 
 
18451
 
 
18452
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
 
18453
func_basename ()\
 
18454
{\
 
18455
\    func_basename_result="${1##*/}"\
 
18456
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
18457
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18458
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18459
test 0 -eq $? || _lt_function_replace_fail=:
 
18460
 
 
18461
 
 
18462
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
 
18463
func_dirname_and_basename ()\
 
18464
{\
 
18465
\    case ${1} in\
 
18466
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
18467
\      *  ) func_dirname_result="${3}" ;;\
 
18468
\    esac\
 
18469
\    func_basename_result="${1##*/}"\
 
18470
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
18471
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18472
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18473
test 0 -eq $? || _lt_function_replace_fail=:
 
18474
 
 
18475
 
 
18476
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
 
18477
func_stripname ()\
 
18478
{\
 
18479
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
 
18480
\    # positional parameters, so assign one to ordinary parameter first.\
 
18481
\    func_stripname_result=${3}\
 
18482
\    func_stripname_result=${func_stripname_result#"${1}"}\
 
18483
\    func_stripname_result=${func_stripname_result%"${2}"}\
 
18484
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
 
18485
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18486
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18487
test 0 -eq $? || _lt_function_replace_fail=:
 
18488
 
 
18489
 
 
18490
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
 
18491
func_split_long_opt ()\
 
18492
{\
 
18493
\    func_split_long_opt_name=${1%%=*}\
 
18494
\    func_split_long_opt_arg=${1#*=}\
 
18495
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
18496
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18497
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18498
test 0 -eq $? || _lt_function_replace_fail=:
 
18499
 
 
18500
 
 
18501
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
 
18502
func_split_short_opt ()\
 
18503
{\
 
18504
\    func_split_short_opt_arg=${1#??}\
 
18505
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
 
18506
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
18507
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18508
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18509
test 0 -eq $? || _lt_function_replace_fail=:
 
18510
 
 
18511
 
 
18512
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
 
18513
func_lo2o ()\
 
18514
{\
 
18515
\    case ${1} in\
 
18516
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
 
18517
\      *)    func_lo2o_result=${1} ;;\
 
18518
\    esac\
 
18519
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
 
18520
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18521
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18522
test 0 -eq $? || _lt_function_replace_fail=:
 
18523
 
 
18524
 
 
18525
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
 
18526
func_xform ()\
 
18527
{\
 
18528
    func_xform_result=${1%.*}.lo\
 
18529
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
 
18530
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18531
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18532
test 0 -eq $? || _lt_function_replace_fail=:
 
18533
 
 
18534
 
 
18535
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
 
18536
func_arith ()\
 
18537
{\
 
18538
    func_arith_result=$(( $* ))\
 
18539
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
 
18540
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18541
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18542
test 0 -eq $? || _lt_function_replace_fail=:
 
18543
 
 
18544
 
 
18545
  sed -e '/^func_len ()$/,/^} # func_len /c\
 
18546
func_len ()\
 
18547
{\
 
18548
    func_len_result=${#1}\
 
18549
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
 
18550
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18551
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18552
test 0 -eq $? || _lt_function_replace_fail=:
 
18553
 
 
18554
fi
 
18555
 
 
18556
if test x"$lt_shell_append" = xyes; then
 
18557
  sed -e '/^func_append ()$/,/^} # func_append /c\
 
18558
func_append ()\
 
18559
{\
 
18560
    eval "${1}+=\\${2}"\
 
18561
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
 
18562
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18563
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18564
test 0 -eq $? || _lt_function_replace_fail=:
 
18565
 
 
18566
 
 
18567
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
 
18568
func_append_quoted ()\
 
18569
{\
 
18570
\    func_quote_for_eval "${2}"\
 
18571
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
 
18572
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
 
18573
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18574
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18575
test 0 -eq $? || _lt_function_replace_fail=:
 
18576
 
 
18577
 
 
18578
  # Save a `func_append' function call where possible by direct use of '+='
 
18579
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
 
18580
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18581
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18582
  test 0 -eq $? || _lt_function_replace_fail=:
 
18583
else
 
18584
  # Save a `func_append' function call even when '+=' is not available
 
18585
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
 
18586
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18587
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18588
  test 0 -eq $? || _lt_function_replace_fail=:
 
18589
fi
 
18590
 
 
18591
if test x"$_lt_function_replace_fail" = x":"; then
 
18592
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 
18593
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 
18594
fi
 
18595
 
 
18596
 
 
18597
   mv -f "$cfgfile" "$ofile" ||
16701
18598
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16702
18599
  chmod +x "$ofile"
16703
18600
 
16704
18601
 ;;
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 ;;
 
18602
    "po-directories":C)
 
18603
    for ac_file in $CONFIG_FILES; do
 
18604
      # Support "outfile[:infile[:infile...]]"
 
18605
      case "$ac_file" in
 
18606
        *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
 
18607
      esac
 
18608
      # PO directories have a Makefile.in generated from Makefile.in.in.
 
18609
      case "$ac_file" in */Makefile.in)
 
18610
        # Adjust a relative srcdir.
 
18611
        ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
 
18612
        ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
 
18613
        ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
 
18614
        # In autoconf-2.13 it is called $ac_given_srcdir.
 
18615
        # In autoconf-2.50 it is called $srcdir.
 
18616
        test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
 
18617
        case "$ac_given_srcdir" in
 
18618
          .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
 
18619
          /*) top_srcdir="$ac_given_srcdir" ;;
 
18620
          *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
 
18621
        esac
 
18622
        # Treat a directory as a PO directory if and only if it has a
 
18623
        # POTFILES.in file. This allows packages to have multiple PO
 
18624
        # directories under different names or in different locations.
 
18625
        if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
 
18626
          rm -f "$ac_dir/POTFILES"
 
18627
          test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
 
18628
          cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[   ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
 
18629
          POMAKEFILEDEPS="POTFILES.in"
 
18630
          # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
 
18631
          # on $ac_dir but don't depend on user-specified configuration
 
18632
          # parameters.
 
18633
          if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
 
18634
            # The LINGUAS file contains the set of available languages.
 
18635
            if test -n "$OBSOLETE_ALL_LINGUAS"; then
 
18636
              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
 
18637
            fi
 
18638
            ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
 
18639
            # Hide the ALL_LINGUAS assigment from automake < 1.5.
 
18640
            eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
 
18641
            POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
 
18642
          else
 
18643
            # The set of available languages was given in configure.in.
 
18644
            # Hide the ALL_LINGUAS assigment from automake < 1.5.
 
18645
            eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
 
18646
          fi
 
18647
          # Compute POFILES
 
18648
          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
 
18649
          # Compute UPDATEPOFILES
 
18650
          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
 
18651
          # Compute DUMMYPOFILES
 
18652
          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
 
18653
          # Compute GMOFILES
 
18654
          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
 
18655
          case "$ac_given_srcdir" in
 
18656
            .) srcdirpre= ;;
 
18657
            *) srcdirpre='$(srcdir)/' ;;
 
18658
          esac
 
18659
          POFILES=
 
18660
          UPDATEPOFILES=
 
18661
          DUMMYPOFILES=
 
18662
          GMOFILES=
 
18663
          for lang in $ALL_LINGUAS; do
 
18664
            POFILES="$POFILES $srcdirpre$lang.po"
 
18665
            UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
 
18666
            DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
 
18667
            GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
 
18668
          done
 
18669
          # CATALOGS depends on both $ac_dir and the user's LINGUAS
 
18670
          # environment variable.
 
18671
          INST_LINGUAS=
 
18672
          if test -n "$ALL_LINGUAS"; then
 
18673
            for presentlang in $ALL_LINGUAS; do
 
18674
              useit=no
 
18675
              if test "%UNSET%" != "$LINGUAS"; then
 
18676
                desiredlanguages="$LINGUAS"
 
18677
              else
 
18678
                desiredlanguages="$ALL_LINGUAS"
 
18679
              fi
 
18680
              for desiredlang in $desiredlanguages; do
 
18681
                # Use the presentlang catalog if desiredlang is
 
18682
                #   a. equal to presentlang, or
 
18683
                #   b. a variant of presentlang (because in this case,
 
18684
                #      presentlang can be used as a fallback for messages
 
18685
                #      which are not translated in the desiredlang catalog).
 
18686
                case "$desiredlang" in
 
18687
                  "$presentlang"*) useit=yes;;
 
18688
                esac
 
18689
              done
 
18690
              if test $useit = yes; then
 
18691
                INST_LINGUAS="$INST_LINGUAS $presentlang"
 
18692
              fi
 
18693
            done
 
18694
          fi
 
18695
          CATALOGS=
 
18696
          if test -n "$INST_LINGUAS"; then
 
18697
            for lang in $INST_LINGUAS; do
 
18698
              CATALOGS="$CATALOGS $lang.gmo"
 
18699
            done
 
18700
          fi
 
18701
          test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
 
18702
          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"
 
18703
          for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
 
18704
            if test -f "$f"; then
 
18705
              case "$f" in
 
18706
                *.orig | *.bak | *~) ;;
 
18707
                *) cat "$f" >> "$ac_dir/Makefile" ;;
 
18708
              esac
 
18709
            fi
 
18710
          done
 
18711
        fi
 
18712
        ;;
 
18713
      esac
 
18714
    done ;;
16708
18715
    "po/stamp-it":C)
16709
18716
    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
 
18717
       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
16711
18718
    fi
16712
18719
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
16713
18720
    >"po/stamp-it.tmp"
16735
18742
ac_clean_files=$ac_clean_files_save
16736
18743
 
16737
18744
test $ac_write_fail = 0 ||
16738
 
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
18745
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16739
18746
 
16740
18747
 
16741
18748
# configure is writing to config.log, and then calls config.status.
16756
18763
  exec 5>>config.log
16757
18764
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16758
18765
  # would make configure fail if this is the last instruction.
16759
 
  $ac_cs_success || as_fn_exit $?
 
18766
  $ac_cs_success || as_fn_exit 1
16760
18767
fi
16761
18768
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16762
18769
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5