~ubuntu-branches/ubuntu/oneiric/ssh-contact/oneiric

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Laurent Bigonville
  • Date: 2011-05-12 10:26:45 UTC
  • mfrom: (1.2.1 upstream) (2.1.2 experimental)
  • Revision ID: james.westby@ubuntu.com-20110512102645-3q3t8j247lfvqalw
Tags: 0.6-1
* New upstream release.
* debian/control:
  - Bump Standards-Version to 3.9.2 (no further changes)
  - Bump libglib2.0-dev build-dependency

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 ssh-contact 0.2.
 
3
# Generated by GNU Autoconf 2.67 for ssh-contact 0.6.
 
4
#
 
5
# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=Telepathy&component=ssh-contact>.
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
12
14
# gives unlimited permission to copy, distribute and modify it.
 
15
#
 
16
#
 
17
#   Copyright (C) 2010 Collabora Ltd.
 
18
#
13
19
## -------------------- ##
14
20
## M4sh Initialization. ##
15
21
## -------------------- ##
228
234
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229
235
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
230
236
  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."
 
237
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
 
238
$0: https://bugs.freedesktop.org/enter_bug.cgi?product=Telepathy&component=ssh-contact
 
239
$0: about your system, including any error possibly output
 
240
$0: before this message. Then install a modern shell, or
 
241
$0: manually run the script under such a shell if you do
 
242
$0: have one."
235
243
  fi
236
244
  exit 1
237
245
fi
316
324
      test -d "$as_dir" && break
317
325
    done
318
326
    test -z "$as_dirs" || eval "mkdir $as_dirs"
319
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
327
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
320
328
 
321
329
 
322
330
} # as_fn_mkdir_p
356
364
fi # as_fn_arith
357
365
 
358
366
 
359
 
# as_fn_error ERROR [LINENO LOG_FD]
360
 
# ---------------------------------
 
367
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
368
# ----------------------------------------
361
369
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362
370
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363
 
# script with status $?, using 1 if that was 0.
 
371
# script with STATUS, using 1 if that was 0.
364
372
as_fn_error ()
365
373
{
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
 
374
  as_status=$1; test $as_status -eq 0 && as_status=1
 
375
  if test "$4"; then
 
376
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
377
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
370
378
  fi
371
 
  $as_echo "$as_me: error: $1" >&2
 
379
  $as_echo "$as_me: error: $2" >&2
372
380
  as_fn_exit $as_status
373
381
} # as_fn_error
374
382
 
679
687
exec 6>&1
680
688
 
681
689
# Name of the host.
682
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
690
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
683
691
# so uname gets run too.
684
692
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
685
693
 
698
706
# Identity of this package.
699
707
PACKAGE_NAME='ssh-contact'
700
708
PACKAGE_TARNAME='ssh-contact'
701
 
PACKAGE_VERSION='0.2'
702
 
PACKAGE_STRING='ssh-contact 0.2'
703
 
PACKAGE_BUGREPORT=''
 
709
PACKAGE_VERSION='0.6'
 
710
PACKAGE_STRING='ssh-contact 0.6'
 
711
PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=Telepathy&component=ssh-contact'
704
712
PACKAGE_URL=''
705
713
 
 
714
ac_unique_file="configure.ac"
706
715
# Factoring default headers for most tests.
707
716
ac_includes_default="\
708
717
#include <stdio.h>
743
752
am__EXEEXT_TRUE
744
753
LTLIBOBJS
745
754
LIBOBJS
 
755
HAVE_VINAGRE_FALSE
 
756
HAVE_VINAGRE_TRUE
 
757
VINAGRE_LIBS
 
758
VINAGRE_CFLAGS
 
759
MKINSTALLDIRS
 
760
POSUB
 
761
POFILES
 
762
PO_IN_DATADIR_FALSE
 
763
PO_IN_DATADIR_TRUE
 
764
INTLLIBS
 
765
INSTOBJEXT
 
766
GMOFILES
 
767
CATOBJEXT
 
768
CATALOGS
 
769
MSGFMT_OPTS
 
770
GETTEXT_PACKAGE
 
771
ERROR_CFLAGS
746
772
SSH_CONTACT_LIBS
747
773
SSH_CONTACT_CFLAGS
 
774
DATADIRNAME
 
775
ALL_LINGUAS
 
776
INTLTOOL_PERL
 
777
GMSGFMT
 
778
MSGFMT
 
779
MSGMERGE
 
780
XGETTEXT
 
781
INTLTOOL_POLICY_RULE
 
782
INTLTOOL_SERVICE_RULE
 
783
INTLTOOL_THEME_RULE
 
784
INTLTOOL_SCHEMAS_RULE
 
785
INTLTOOL_CAVES_RULE
 
786
INTLTOOL_XML_NOMERGE_RULE
 
787
INTLTOOL_XML_RULE
 
788
INTLTOOL_KBD_RULE
 
789
INTLTOOL_XAM_RULE
 
790
INTLTOOL_UI_RULE
 
791
INTLTOOL_SOUNDLIST_RULE
 
792
INTLTOOL_SHEET_RULE
 
793
INTLTOOL_SERVER_RULE
 
794
INTLTOOL_PONG_RULE
 
795
INTLTOOL_OAF_RULE
 
796
INTLTOOL_PROP_RULE
 
797
INTLTOOL_KEYS_RULE
 
798
INTLTOOL_DIRECTORY_RULE
 
799
INTLTOOL_DESKTOP_RULE
 
800
INTLTOOL_EXTRACT
 
801
INTLTOOL_MERGE
 
802
INTLTOOL_UPDATE
 
803
USE_NLS
 
804
X_EXTRA_LIBS
 
805
X_LIBS
 
806
X_PRE_LIBS
 
807
X_CFLAGS
 
808
XMKMF
 
809
GLIB_MKENUMS
 
810
GOBJECT_QUERY
 
811
GLIB_GENMARSHAL
 
812
GLIB_LIBS
 
813
GLIB_CFLAGS
 
814
PKG_CONFIG_LIBDIR
 
815
PKG_CONFIG_PATH
748
816
PKG_CONFIG
749
817
OTOOL64
750
818
OTOOL
790
858
LDFLAGS
791
859
CFLAGS
792
860
CC
793
 
MAINT
794
 
MAINTAINER_MODE_FALSE
795
 
MAINTAINER_MODE_TRUE
 
861
AM_BACKSLASH
 
862
AM_DEFAULT_VERBOSITY
796
863
am__untar
797
864
am__tar
798
865
AMTAR
816
883
INSTALL_DATA
817
884
INSTALL_SCRIPT
818
885
INSTALL_PROGRAM
819
 
AM_BACKSLASH
820
 
AM_DEFAULT_VERBOSITY
 
886
MAINT
 
887
MAINTAINER_MODE_FALSE
 
888
MAINTAINER_MODE_TRUE
821
889
target_alias
822
890
host_alias
823
891
build_alias
859
927
ac_subst_files=''
860
928
ac_user_opts='
861
929
enable_option_checking
 
930
enable_maintainer_mode
862
931
enable_silent_rules
863
 
enable_maintainer_mode
864
932
enable_dependency_tracking
865
933
enable_shared
866
934
enable_static
868
936
enable_fast_install
869
937
with_gnu_ld
870
938
enable_libtool_lock
 
939
enable_glibtest
 
940
with_x
 
941
enable_nls
 
942
enable_Werror
 
943
enable_vinagre
871
944
'
872
945
      ac_precious_vars='build_alias
873
946
host_alias
879
952
CPPFLAGS
880
953
CPP
881
954
PKG_CONFIG
 
955
PKG_CONFIG_PATH
 
956
PKG_CONFIG_LIBDIR
 
957
XMKMF
882
958
SSH_CONTACT_CFLAGS
883
 
SSH_CONTACT_LIBS'
 
959
SSH_CONTACT_LIBS
 
960
VINAGRE_CFLAGS
 
961
VINAGRE_LIBS'
884
962
 
885
963
 
886
964
# Initialize some variables set by options.
943
1021
  fi
944
1022
 
945
1023
  case $ac_option in
946
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
947
 
  *)    ac_optarg=yes ;;
 
1024
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
1025
  *=)   ac_optarg= ;;
 
1026
  *)    ac_optarg=yes ;;
948
1027
  esac
949
1028
 
950
1029
  # Accept the important Cygnus configure options, so we can diagnose typos.
989
1068
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
990
1069
    # Reject names that are not valid shell variable names.
991
1070
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
992
 
      as_fn_error "invalid feature name: $ac_useropt"
 
1071
      as_fn_error $? "invalid feature name: $ac_useropt"
993
1072
    ac_useropt_orig=$ac_useropt
994
1073
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
995
1074
    case $ac_user_opts in
1015
1094
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1016
1095
    # Reject names that are not valid shell variable names.
1017
1096
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1018
 
      as_fn_error "invalid feature name: $ac_useropt"
 
1097
      as_fn_error $? "invalid feature name: $ac_useropt"
1019
1098
    ac_useropt_orig=$ac_useropt
1020
1099
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1021
1100
    case $ac_user_opts in
1219
1298
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1220
1299
    # Reject names that are not valid shell variable names.
1221
1300
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1222
 
      as_fn_error "invalid package name: $ac_useropt"
 
1301
      as_fn_error $? "invalid package name: $ac_useropt"
1223
1302
    ac_useropt_orig=$ac_useropt
1224
1303
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1225
1304
    case $ac_user_opts in
1235
1314
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1236
1315
    # Reject names that are not valid shell variable names.
1237
1316
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1238
 
      as_fn_error "invalid package name: $ac_useropt"
 
1317
      as_fn_error $? "invalid package name: $ac_useropt"
1239
1318
    ac_useropt_orig=$ac_useropt
1240
1319
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1241
1320
    case $ac_user_opts in
1265
1344
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1266
1345
    x_libraries=$ac_optarg ;;
1267
1346
 
1268
 
  -*) as_fn_error "unrecognized option: \`$ac_option'
1269
 
Try \`$0 --help' for more information."
 
1347
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1348
Try \`$0 --help' for more information"
1270
1349
    ;;
1271
1350
 
1272
1351
  *=*)
1274
1353
    # Reject names that are not valid shell variable names.
1275
1354
    case $ac_envvar in #(
1276
1355
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1277
 
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1356
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1278
1357
    esac
1279
1358
    eval $ac_envvar=\$ac_optarg
1280
1359
    export $ac_envvar ;;
1292
1371
 
1293
1372
if test -n "$ac_prev"; then
1294
1373
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1295
 
  as_fn_error "missing argument to $ac_option"
 
1374
  as_fn_error $? "missing argument to $ac_option"
1296
1375
fi
1297
1376
 
1298
1377
if test -n "$ac_unrecognized_opts"; then
1299
1378
  case $enable_option_checking in
1300
1379
    no) ;;
1301
 
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
 
1380
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1302
1381
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1303
1382
  esac
1304
1383
fi
1321
1400
    [\\/$]* | ?:[\\/]* )  continue;;
1322
1401
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1323
1402
  esac
1324
 
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
 
1403
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1325
1404
done
1326
1405
 
1327
1406
# There might be people who depend on the old broken behavior: `$host'
1335
1414
if test "x$host_alias" != x; then
1336
1415
  if test "x$build_alias" = x; then
1337
1416
    cross_compiling=maybe
1338
 
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1339
 
    If a cross compiler is detected then cross compile mode will be used." >&2
 
1417
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 
1418
    If a cross compiler is detected then cross compile mode will be used" >&2
1340
1419
  elif test "x$build_alias" != "x$host_alias"; then
1341
1420
    cross_compiling=yes
1342
1421
  fi
1351
1430
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1352
1431
ac_ls_di=`ls -di .` &&
1353
1432
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1354
 
  as_fn_error "working directory cannot be determined"
 
1433
  as_fn_error $? "working directory cannot be determined"
1355
1434
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1356
 
  as_fn_error "pwd does not report name of working directory"
 
1435
  as_fn_error $? "pwd does not report name of working directory"
1357
1436
 
1358
1437
 
1359
1438
# Find the source files, if location was not specified.
1392
1471
fi
1393
1472
if test ! -r "$srcdir/$ac_unique_file"; then
1394
1473
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1395
 
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
 
1474
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1396
1475
fi
1397
1476
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1398
1477
ac_abs_confdir=`(
1399
 
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
 
1478
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1400
1479
        pwd)`
1401
1480
# When building in place, set srcdir=.
1402
1481
if test "$ac_abs_confdir" = "$ac_pwd"; then
1422
1501
  # Omit some internal or obsolete options to make the list less imposing.
1423
1502
  # This message is too long to be a string in the A/UX 3.1 sh.
1424
1503
  cat <<_ACEOF
1425
 
\`configure' configures ssh-contact 0.2 to adapt to many kinds of systems.
 
1504
\`configure' configures ssh-contact 0.6 to adapt to many kinds of systems.
1426
1505
 
1427
1506
Usage: $0 [OPTION]... [VAR=VALUE]...
1428
1507
 
1436
1515
      --help=short        display options specific to this package
1437
1516
      --help=recursive    display the short help of all the included packages
1438
1517
  -V, --version           display version information and exit
1439
 
  -q, --quiet, --silent   do not print \`checking...' messages
 
1518
  -q, --quiet, --silent   do not print \`checking ...' messages
1440
1519
      --cache-file=FILE   cache test results in FILE [disabled]
1441
1520
  -C, --config-cache      alias for \`--cache-file=config.cache'
1442
1521
  -n, --no-create         do not create output files
1484
1563
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1485
1564
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1486
1565
 
 
1566
X features:
 
1567
  --x-includes=DIR    X include files are in DIR
 
1568
  --x-libraries=DIR   X library files are in DIR
 
1569
 
1487
1570
System types:
1488
1571
  --build=BUILD     configure for building on BUILD [guessed]
1489
1572
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1492
1575
 
1493
1576
if test -n "$ac_init_help"; then
1494
1577
  case $ac_init_help in
1495
 
     short | recursive ) echo "Configuration of ssh-contact 0.2:";;
 
1578
     short | recursive ) echo "Configuration of ssh-contact 0.6:";;
1496
1579
   esac
1497
1580
  cat <<\_ACEOF
1498
1581
 
1500
1583
  --disable-option-checking  ignore unrecognized --enable/--with options
1501
1584
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1502
1585
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 
1586
  --enable-maintainer-mode  enable make rules and dependencies not useful
 
1587
                          (and sometimes confusing) to the casual installer
1503
1588
  --enable-silent-rules          less verbose build output (undo: `make V=1')
1504
1589
  --disable-silent-rules         verbose build output (undo: `make V=0')
1505
 
  --enable-maintainer-mode  enable make rules and dependencies not useful
1506
 
                          (and sometimes confusing) to the casual installer
1507
1590
  --disable-dependency-tracking  speeds up one-time build
1508
1591
  --enable-dependency-tracking   do not reject slow dependency extractors
1509
1592
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1511
1594
  --enable-fast-install[=PKGS]
1512
1595
                          optimize for fast installation [default=yes]
1513
1596
  --disable-libtool-lock  avoid locking (might break parallel builds)
 
1597
  --disable-glibtest      do not try to compile and run a test GLIB program
 
1598
  --disable-nls           do not use Native Language Support
 
1599
  --disable-Werror        compile without -Werror (normally enabled in
 
1600
                          development builds)
 
1601
  --enable-vinagre=[no/yes/auto]
 
1602
                          build with vinagre plugin
1514
1603
 
1515
1604
Optional Packages:
1516
1605
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1518
1607
  --with-pic              try to use only PIC/non-PIC objects [default=use
1519
1608
                          both]
1520
1609
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1610
  --with-x                use the X Window System
1521
1611
 
1522
1612
Some influential environment variables:
1523
1613
  CC          C compiler command
1529
1619
              you have headers in a nonstandard directory <include dir>
1530
1620
  CPP         C preprocessor
1531
1621
  PKG_CONFIG  path to pkg-config utility
 
1622
  PKG_CONFIG_PATH
 
1623
              directories to add to pkg-config's search path
 
1624
  PKG_CONFIG_LIBDIR
 
1625
              path overriding pkg-config's built-in search path
 
1626
  XMKMF       Path to xmkmf, Makefile generator for X Window System
1532
1627
  SSH_CONTACT_CFLAGS
1533
1628
              C compiler flags for SSH_CONTACT, overriding pkg-config
1534
1629
  SSH_CONTACT_LIBS
1535
1630
              linker flags for SSH_CONTACT, overriding pkg-config
 
1631
  VINAGRE_CFLAGS
 
1632
              C compiler flags for VINAGRE, overriding pkg-config
 
1633
  VINAGRE_LIBS
 
1634
              linker flags for VINAGRE, overriding pkg-config
1536
1635
 
1537
1636
Use these variables to override the choices made by `configure' or to help
1538
1637
it to find libraries and programs with nonstandard names/locations.
1539
1638
 
1540
 
Report bugs to the package provider.
 
1639
Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=Telepathy&component=ssh-contact>.
1541
1640
_ACEOF
1542
1641
ac_status=$?
1543
1642
fi
1600
1699
test -n "$ac_init_help" && exit $ac_status
1601
1700
if $ac_init_version; then
1602
1701
  cat <<\_ACEOF
1603
 
ssh-contact configure 0.2
1604
 
generated by GNU Autoconf 2.65
 
1702
ssh-contact configure 0.6
 
1703
generated by GNU Autoconf 2.67
1605
1704
 
1606
 
Copyright (C) 2009 Free Software Foundation, Inc.
 
1705
Copyright (C) 2010 Free Software Foundation, Inc.
1607
1706
This configure script is free software; the Free Software Foundation
1608
1707
gives unlimited permission to copy, distribute and modify it.
 
1708
 
 
1709
 
 
1710
  Copyright (C) 2010 Collabora Ltd.
 
1711
 
1609
1712
_ACEOF
1610
1713
  exit
1611
1714
fi
1719
1822
    mv -f conftest.er1 conftest.err
1720
1823
  fi
1721
1824
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1722
 
  test $ac_status = 0; } >/dev/null && {
 
1825
  test $ac_status = 0; } > conftest.i && {
1723
1826
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1724
1827
         test ! -s conftest.err
1725
1828
       }; then :
1786
1889
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1787
1890
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1788
1891
$as_echo_n "checking for $2... " >&6; }
1789
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1892
if eval "test \"\${$3+set}\"" = set; then :
1790
1893
  $as_echo_n "(cached) " >&6
1791
1894
else
1792
1895
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1816
1919
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1817
1920
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1818
1921
$as_echo_n "checking for $2... " >&6; }
1819
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1922
if eval "test \"\${$3+set}\"" = set; then :
1820
1923
  $as_echo_n "(cached) " >&6
1821
1924
else
1822
1925
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1874
1977
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1875
1978
 
1876
1979
} # ac_fn_c_check_func
 
1980
 
 
1981
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 
1982
# -------------------------------------------------------
 
1983
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
1984
# the include files in INCLUDES and setting the cache variable VAR
 
1985
# accordingly.
 
1986
ac_fn_c_check_header_mongrel ()
 
1987
{
 
1988
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1989
  if eval "test \"\${$3+set}\"" = set; then :
 
1990
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1991
$as_echo_n "checking for $2... " >&6; }
 
1992
if eval "test \"\${$3+set}\"" = set; then :
 
1993
  $as_echo_n "(cached) " >&6
 
1994
fi
 
1995
eval ac_res=\$$3
 
1996
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1997
$as_echo "$ac_res" >&6; }
 
1998
else
 
1999
  # Is the header compilable?
 
2000
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
2001
$as_echo_n "checking $2 usability... " >&6; }
 
2002
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2003
/* end confdefs.h.  */
 
2004
$4
 
2005
#include <$2>
 
2006
_ACEOF
 
2007
if ac_fn_c_try_compile "$LINENO"; then :
 
2008
  ac_header_compiler=yes
 
2009
else
 
2010
  ac_header_compiler=no
 
2011
fi
 
2012
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2013
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
2014
$as_echo "$ac_header_compiler" >&6; }
 
2015
 
 
2016
# Is the header present?
 
2017
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
2018
$as_echo_n "checking $2 presence... " >&6; }
 
2019
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2020
/* end confdefs.h.  */
 
2021
#include <$2>
 
2022
_ACEOF
 
2023
if ac_fn_c_try_cpp "$LINENO"; then :
 
2024
  ac_header_preproc=yes
 
2025
else
 
2026
  ac_header_preproc=no
 
2027
fi
 
2028
rm -f conftest.err conftest.i conftest.$ac_ext
 
2029
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
2030
$as_echo "$ac_header_preproc" >&6; }
 
2031
 
 
2032
# So?  What about this header?
 
2033
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 
2034
  yes:no: )
 
2035
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
2036
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
2037
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2038
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2039
    ;;
 
2040
  no:yes:* )
 
2041
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
2042
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
2043
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
2044
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
2045
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
2046
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
2047
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
2048
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
2049
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2050
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2051
( $as_echo "## ------------------------------------------------------------------------------------------------- ##
 
2052
## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=Telepathy&component=ssh-contact ##
 
2053
## ------------------------------------------------------------------------------------------------- ##"
 
2054
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
2055
    ;;
 
2056
esac
 
2057
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2058
$as_echo_n "checking for $2... " >&6; }
 
2059
if eval "test \"\${$3+set}\"" = set; then :
 
2060
  $as_echo_n "(cached) " >&6
 
2061
else
 
2062
  eval "$3=\$ac_header_compiler"
 
2063
fi
 
2064
eval ac_res=\$$3
 
2065
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2066
$as_echo "$ac_res" >&6; }
 
2067
fi
 
2068
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2069
 
 
2070
} # ac_fn_c_check_header_mongrel
1877
2071
cat >config.log <<_ACEOF
1878
2072
This file contains any messages produced by compilers while
1879
2073
running configure, to aid debugging if configure makes a mistake.
1880
2074
 
1881
 
It was created by ssh-contact $as_me 0.2, which was
1882
 
generated by GNU Autoconf 2.65.  Invocation command line was
 
2075
It was created by ssh-contact $as_me 0.6, which was
 
2076
generated by GNU Autoconf 2.67.  Invocation command line was
1883
2077
 
1884
2078
  $ $0 $@
1885
2079
 
1989
2183
  {
1990
2184
    echo
1991
2185
 
1992
 
    cat <<\_ASBOX
1993
 
## ---------------- ##
 
2186
    $as_echo "## ---------------- ##
1994
2187
## Cache variables. ##
1995
 
## ---------------- ##
1996
 
_ASBOX
 
2188
## ---------------- ##"
1997
2189
    echo
1998
2190
    # The following way of writing the cache mishandles newlines in values,
1999
2191
(
2027
2219
)
2028
2220
    echo
2029
2221
 
2030
 
    cat <<\_ASBOX
2031
 
## ----------------- ##
 
2222
    $as_echo "## ----------------- ##
2032
2223
## Output variables. ##
2033
 
## ----------------- ##
2034
 
_ASBOX
 
2224
## ----------------- ##"
2035
2225
    echo
2036
2226
    for ac_var in $ac_subst_vars
2037
2227
    do
2044
2234
    echo
2045
2235
 
2046
2236
    if test -n "$ac_subst_files"; then
2047
 
      cat <<\_ASBOX
2048
 
## ------------------- ##
 
2237
      $as_echo "## ------------------- ##
2049
2238
## File substitutions. ##
2050
 
## ------------------- ##
2051
 
_ASBOX
 
2239
## ------------------- ##"
2052
2240
      echo
2053
2241
      for ac_var in $ac_subst_files
2054
2242
      do
2062
2250
    fi
2063
2251
 
2064
2252
    if test -s confdefs.h; then
2065
 
      cat <<\_ASBOX
2066
 
## ----------- ##
 
2253
      $as_echo "## ----------- ##
2067
2254
## confdefs.h. ##
2068
 
## ----------- ##
2069
 
_ASBOX
 
2255
## ----------- ##"
2070
2256
      echo
2071
2257
      cat confdefs.h
2072
2258
      echo
2121
2307
ac_site_file1=NONE
2122
2308
ac_site_file2=NONE
2123
2309
if test -n "$CONFIG_SITE"; then
2124
 
  ac_site_file1=$CONFIG_SITE
 
2310
  # We do not want a PATH search for config.site.
 
2311
  case $CONFIG_SITE in #((
 
2312
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
2313
    */*) ac_site_file1=$CONFIG_SITE;;
 
2314
    *)   ac_site_file1=./$CONFIG_SITE;;
 
2315
  esac
2125
2316
elif test "x$prefix" != xNONE; then
2126
2317
  ac_site_file1=$prefix/share/config.site
2127
2318
  ac_site_file2=$prefix/etc/config.site
2136
2327
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2137
2328
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2138
2329
    sed 's/^/| /' "$ac_site_file" >&5
2139
 
    . "$ac_site_file"
 
2330
    . "$ac_site_file" \
 
2331
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2332
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2333
as_fn_error $? "failed to load site script $ac_site_file
 
2334
See \`config.log' for more details" "$LINENO" 5 ; }
2140
2335
  fi
2141
2336
done
2142
2337
 
2212
2407
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2213
2408
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2214
2409
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2215
 
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 
2410
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2216
2411
fi
2217
2412
## -------------------- ##
2218
2413
## Main body of script. ##
2225
2420
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2226
2421
 
2227
2422
 
2228
 
# Check whether --enable-silent-rules was given.
2229
 
if test "${enable_silent_rules+set}" = set; then :
2230
 
  enableval=$enable_silent_rules;
2231
 
fi
2232
 
 
2233
 
case $enable_silent_rules in
2234
 
yes) AM_DEFAULT_VERBOSITY=0;;
2235
 
no)  AM_DEFAULT_VERBOSITY=1;;
2236
 
*)   AM_DEFAULT_VERBOSITY=0;;
2237
 
esac
2238
 
AM_BACKSLASH='\'
2239
 
 
2240
 
 
2241
 
am__api_version='1.11'
 
2423
 
 
2424
 
 
2425
 
 
2426
 
 
2427
 
 
2428
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
2429
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
 
2430
    # Check whether --enable-maintainer-mode was given.
 
2431
if test "${enable_maintainer_mode+set}" = set; then :
 
2432
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
 
2433
else
 
2434
  USE_MAINTAINER_MODE=no
 
2435
fi
 
2436
 
 
2437
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
 
2438
$as_echo "$USE_MAINTAINER_MODE" >&6; }
 
2439
   if test $USE_MAINTAINER_MODE = yes; then
 
2440
  MAINTAINER_MODE_TRUE=
 
2441
  MAINTAINER_MODE_FALSE='#'
 
2442
else
 
2443
  MAINTAINER_MODE_TRUE='#'
 
2444
  MAINTAINER_MODE_FALSE=
 
2445
fi
 
2446
 
 
2447
  MAINT=$MAINTAINER_MODE_TRUE
 
2448
 
 
2449
 
 
2450
 
 
2451
 
 
2452
ac_config_headers="$ac_config_headers config.h"
 
2453
 
2242
2454
 
2243
2455
ac_aux_dir=
2244
 
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2245
 
  for ac_t in install-sh install.sh shtool; do
2246
 
    if test -f "$ac_dir/$ac_t"; then
2247
 
      ac_aux_dir=$ac_dir
2248
 
      ac_install_sh="$ac_aux_dir/$ac_t -c"
2249
 
      break 2
2250
 
    fi
2251
 
  done
 
2456
for ac_dir in . "$srcdir"/.; do
 
2457
  if test -f "$ac_dir/install-sh"; then
 
2458
    ac_aux_dir=$ac_dir
 
2459
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
2460
    break
 
2461
  elif test -f "$ac_dir/install.sh"; then
 
2462
    ac_aux_dir=$ac_dir
 
2463
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
2464
    break
 
2465
  elif test -f "$ac_dir/shtool"; then
 
2466
    ac_aux_dir=$ac_dir
 
2467
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
2468
    break
 
2469
  fi
2252
2470
done
2253
2471
if test -z "$ac_aux_dir"; then
2254
 
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 
2472
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2255
2473
fi
2256
2474
 
2257
2475
# These three variables are undocumented and unsupported,
2263
2481
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2264
2482
 
2265
2483
 
 
2484
am__api_version='1.11'
 
2485
 
2266
2486
# Find a good install program.  We prefer a C program (faster),
2267
2487
# so one script is as good as another.  But avoid the broken or
2268
2488
# incompatible versions:
2367
2587
'
2368
2588
case `pwd` in
2369
2589
  *[\\\"\#\$\&\'\`$am_lf]*)
2370
 
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
 
2590
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2371
2591
esac
2372
2592
case $srcdir in
2373
2593
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2374
 
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2594
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2375
2595
esac
2376
2596
 
2377
2597
# Do `set' in a subshell so we don't clobber the current shell's
2393
2613
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2394
2614
      # broken ls alias from the environment.  This has actually
2395
2615
      # happened.  Such a system could not be considered "sane".
2396
 
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 
2616
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2397
2617
alias in your environment" "$LINENO" 5
2398
2618
   fi
2399
2619
 
2403
2623
   # Ok.
2404
2624
   :
2405
2625
else
2406
 
   as_fn_error "newly created file is older than distributed files!
 
2626
   as_fn_error $? "newly created file is older than distributed files!
2407
2627
Check your system clock" "$LINENO" 5
2408
2628
fi
2409
2629
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2641
2861
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2642
2862
set x ${MAKE-make}
2643
2863
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2644
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2864
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2645
2865
  $as_echo_n "(cached) " >&6
2646
2866
else
2647
2867
  cat >conftest.make <<\_ACEOF
2649
2869
all:
2650
2870
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2651
2871
_ACEOF
2652
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
2872
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2653
2873
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2654
2874
  *@@@%%%=?*=@@@%%%*)
2655
2875
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2683
2903
  am__isrc=' -I$(srcdir)'
2684
2904
  # test to see if srcdir already configured
2685
2905
  if test -f $srcdir/config.status; then
2686
 
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
2906
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2687
2907
  fi
2688
2908
fi
2689
2909
 
2698
2918
 
2699
2919
 
2700
2920
# Define the identity of the package.
2701
 
 PACKAGE=ssh-contact
2702
 
 VERSION=0.2
2703
 
 
2704
 
 
2705
 
cat >>confdefs.h <<_ACEOF
2706
 
#define PACKAGE "$PACKAGE"
2707
 
_ACEOF
2708
 
 
2709
 
 
2710
 
cat >>confdefs.h <<_ACEOF
2711
 
#define VERSION "$VERSION"
2712
 
_ACEOF
 
2921
 PACKAGE='ssh-contact'
 
2922
 VERSION='0.6'
 
2923
 
2713
2924
 
2714
2925
# Some tools Automake needs.
2715
2926
 
2739
2950
 
2740
2951
 
2741
2952
 
2742
 
ac_config_headers="$ac_config_headers config.h"
2743
 
 
2744
 
 
2745
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2746
 
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2747
 
    # Check whether --enable-maintainer-mode was given.
2748
 
if test "${enable_maintainer_mode+set}" = set; then :
2749
 
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2750
 
else
2751
 
  USE_MAINTAINER_MODE=no
2752
 
fi
2753
 
 
2754
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2755
 
$as_echo "$USE_MAINTAINER_MODE" >&6; }
2756
 
   if test $USE_MAINTAINER_MODE = yes; then
2757
 
  MAINTAINER_MODE_TRUE=
2758
 
  MAINTAINER_MODE_FALSE='#'
2759
 
else
2760
 
  MAINTAINER_MODE_TRUE='#'
2761
 
  MAINTAINER_MODE_FALSE=
2762
 
fi
2763
 
 
2764
 
  MAINT=$MAINTAINER_MODE_TRUE
2765
 
 
2766
 
 
 
2953
# Check whether --enable-silent-rules was given.
 
2954
if test "${enable_silent_rules+set}" = set; then :
 
2955
  enableval=$enable_silent_rules;
 
2956
fi
 
2957
 
 
2958
case $enable_silent_rules in
 
2959
yes) AM_DEFAULT_VERBOSITY=0;;
 
2960
no)  AM_DEFAULT_VERBOSITY=1;;
 
2961
*)   AM_DEFAULT_VERBOSITY=0;;
 
2962
esac
 
2963
AM_BACKSLASH='\'
2767
2964
 
2768
2965
DEPDIR="${am__leading_dot}deps"
2769
2966
 
3127
3324
 
3128
3325
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3129
3326
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3130
 
as_fn_error "no acceptable C compiler found in \$PATH
3131
 
See \`config.log' for more details." "$LINENO" 5; }
 
3327
as_fn_error $? "no acceptable C compiler found in \$PATH
 
3328
See \`config.log' for more details" "$LINENO" 5 ; }
3132
3329
 
3133
3330
# Provide some information about the compiler.
3134
3331
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3242
3439
 
3243
3440
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3244
3441
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3245
 
{ as_fn_set_status 77
3246
 
as_fn_error "C compiler cannot create executables
3247
 
See \`config.log' for more details." "$LINENO" 5; }; }
 
3442
as_fn_error 77 "C compiler cannot create executables
 
3443
See \`config.log' for more details" "$LINENO" 5 ; }
3248
3444
else
3249
3445
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3250
3446
$as_echo "yes" >&6; }
3286
3482
else
3287
3483
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3288
3484
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3289
 
as_fn_error "cannot compute suffix of executables: cannot compile and link
3290
 
See \`config.log' for more details." "$LINENO" 5; }
 
3485
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 
3486
See \`config.log' for more details" "$LINENO" 5 ; }
3291
3487
fi
3292
3488
rm -f conftest conftest$ac_cv_exeext
3293
3489
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3344
3540
    else
3345
3541
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3346
3542
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3347
 
as_fn_error "cannot run C compiled programs.
 
3543
as_fn_error $? "cannot run C compiled programs.
3348
3544
If you meant to cross compile, use \`--host'.
3349
 
See \`config.log' for more details." "$LINENO" 5; }
 
3545
See \`config.log' for more details" "$LINENO" 5 ; }
3350
3546
    fi
3351
3547
  fi
3352
3548
fi
3397
3593
 
3398
3594
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3399
3595
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3400
 
as_fn_error "cannot compute suffix of object files: cannot compile
3401
 
See \`config.log' for more details." "$LINENO" 5; }
 
3596
as_fn_error $? "cannot compute suffix of object files: cannot compile
 
3597
See \`config.log' for more details" "$LINENO" 5 ; }
3402
3598
fi
3403
3599
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3404
3600
fi
4102
4298
 
4103
4299
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4104
4300
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4105
 
as_fn_error "no acceptable C compiler found in \$PATH
4106
 
See \`config.log' for more details." "$LINENO" 5; }
4107
 
 
4108
 
# Provide some information about the compiler.
4109
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4110
 
set X $ac_compile
4111
 
ac_compiler=$2
4112
 
for ac_option in --version -v -V -qversion; do
4113
 
  { { ac_try="$ac_compiler $ac_option >&5"
4114
 
case "(($ac_try" in
4115
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4116
 
  *) ac_try_echo=$ac_try;;
4117
 
esac
4118
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4119
 
$as_echo "$ac_try_echo"; } >&5
4120
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4121
 
  ac_status=$?
4122
 
  if test -s conftest.err; then
4123
 
    sed '10a\
4124
 
... rest of stderr output deleted ...
4125
 
         10q' conftest.err >conftest.er1
4126
 
    cat conftest.er1 >&5
4127
 
  fi
4128
 
  rm -f conftest.er1 conftest.err
4129
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4130
 
  test $ac_status = 0; }
4131
 
done
4132
 
 
4133
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4134
 
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4135
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4136
 
  $as_echo_n "(cached) " >&6
4137
 
else
4138
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4139
 
/* end confdefs.h.  */
4140
 
 
4141
 
int
4142
 
main ()
4143
 
{
4144
 
#ifndef __GNUC__
4145
 
       choke me
4146
 
#endif
4147
 
 
4148
 
  ;
4149
 
  return 0;
4150
 
}
4151
 
_ACEOF
4152
 
if ac_fn_c_try_compile "$LINENO"; then :
4153
 
  ac_compiler_gnu=yes
4154
 
else
4155
 
  ac_compiler_gnu=no
4156
 
fi
4157
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4158
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4159
 
 
4160
 
fi
4161
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4162
 
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4163
 
if test $ac_compiler_gnu = yes; then
4164
 
  GCC=yes
4165
 
else
4166
 
  GCC=
4167
 
fi
4168
 
ac_test_CFLAGS=${CFLAGS+set}
4169
 
ac_save_CFLAGS=$CFLAGS
4170
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4171
 
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4172
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
4173
 
  $as_echo_n "(cached) " >&6
4174
 
else
4175
 
  ac_save_c_werror_flag=$ac_c_werror_flag
4176
 
   ac_c_werror_flag=yes
4177
 
   ac_cv_prog_cc_g=no
4178
 
   CFLAGS="-g"
4179
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4180
 
/* end confdefs.h.  */
4181
 
 
4182
 
int
4183
 
main ()
4184
 
{
4185
 
 
4186
 
  ;
4187
 
  return 0;
4188
 
}
4189
 
_ACEOF
4190
 
if ac_fn_c_try_compile "$LINENO"; then :
4191
 
  ac_cv_prog_cc_g=yes
4192
 
else
4193
 
  CFLAGS=""
4194
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4195
 
/* end confdefs.h.  */
4196
 
 
4197
 
int
4198
 
main ()
4199
 
{
4200
 
 
4201
 
  ;
4202
 
  return 0;
4203
 
}
4204
 
_ACEOF
4205
 
if ac_fn_c_try_compile "$LINENO"; then :
4206
 
 
4207
 
else
4208
 
  ac_c_werror_flag=$ac_save_c_werror_flag
4209
 
         CFLAGS="-g"
4210
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4211
 
/* end confdefs.h.  */
4212
 
 
4213
 
int
4214
 
main ()
4215
 
{
4216
 
 
4217
 
  ;
4218
 
  return 0;
4219
 
}
4220
 
_ACEOF
4221
 
if ac_fn_c_try_compile "$LINENO"; then :
4222
 
  ac_cv_prog_cc_g=yes
4223
 
fi
4224
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4225
 
fi
4226
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4227
 
fi
4228
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4229
 
   ac_c_werror_flag=$ac_save_c_werror_flag
4230
 
fi
4231
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4232
 
$as_echo "$ac_cv_prog_cc_g" >&6; }
4233
 
if test "$ac_test_CFLAGS" = set; then
4234
 
  CFLAGS=$ac_save_CFLAGS
4235
 
elif test $ac_cv_prog_cc_g = yes; then
4236
 
  if test "$GCC" = yes; then
4237
 
    CFLAGS="-g -O2"
4238
 
  else
4239
 
    CFLAGS="-g"
4240
 
  fi
4241
 
else
4242
 
  if test "$GCC" = yes; then
4243
 
    CFLAGS="-O2"
4244
 
  else
4245
 
    CFLAGS=
4246
 
  fi
4247
 
fi
4248
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4249
 
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4250
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
4251
 
  $as_echo_n "(cached) " >&6
4252
 
else
4253
 
  ac_cv_prog_cc_c89=no
4254
 
ac_save_CC=$CC
4255
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4256
 
/* end confdefs.h.  */
4257
 
#include <stdarg.h>
4258
 
#include <stdio.h>
4259
 
#include <sys/types.h>
4260
 
#include <sys/stat.h>
4261
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4262
 
struct buf { int x; };
4263
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
4264
 
static char *e (p, i)
4265
 
     char **p;
4266
 
     int i;
4267
 
{
4268
 
  return p[i];
4269
 
}
4270
 
static char *f (char * (*g) (char **, int), char **p, ...)
4271
 
{
4272
 
  char *s;
4273
 
  va_list v;
4274
 
  va_start (v,p);
4275
 
  s = g (p, va_arg (v,int));
4276
 
  va_end (v);
4277
 
  return s;
4278
 
}
4279
 
 
4280
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4281
 
   function prototypes and stuff, but not '\xHH' hex character constants.
4282
 
   These don't provoke an error unfortunately, instead are silently treated
4283
 
   as 'x'.  The following induces an error, until -std is added to get
4284
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4285
 
   array size at least.  It's necessary to write '\x00'==0 to get something
4286
 
   that's true only with -std.  */
4287
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4288
 
 
4289
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4290
 
   inside strings and character constants.  */
4291
 
#define FOO(x) 'x'
4292
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4293
 
 
4294
 
int test (int i, double x);
4295
 
struct s1 {int (*f) (int a);};
4296
 
struct s2 {int (*f) (double a);};
4297
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4298
 
int argc;
4299
 
char **argv;
4300
 
int
4301
 
main ()
4302
 
{
4303
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4304
 
  ;
4305
 
  return 0;
4306
 
}
4307
 
_ACEOF
4308
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4309
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4310
 
do
4311
 
  CC="$ac_save_CC $ac_arg"
4312
 
  if ac_fn_c_try_compile "$LINENO"; then :
4313
 
  ac_cv_prog_cc_c89=$ac_arg
4314
 
fi
4315
 
rm -f core conftest.err conftest.$ac_objext
4316
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
4317
 
done
4318
 
rm -f conftest.$ac_ext
4319
 
CC=$ac_save_CC
4320
 
 
4321
 
fi
4322
 
# AC_CACHE_VAL
4323
 
case "x$ac_cv_prog_cc_c89" in
4324
 
  x)
4325
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4326
 
$as_echo "none needed" >&6; } ;;
4327
 
  xno)
4328
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4329
 
$as_echo "unsupported" >&6; } ;;
4330
 
  *)
4331
 
    CC="$CC $ac_cv_prog_cc_c89"
4332
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4333
 
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4334
 
esac
4335
 
if test "x$ac_cv_prog_cc_c89" != xno; then :
4336
 
 
4337
 
fi
4338
 
 
4339
 
ac_ext=c
4340
 
ac_cpp='$CPP $CPPFLAGS'
4341
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4342
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4343
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4344
 
 
4345
 
depcc="$CC"   am_compiler_list=
4346
 
 
4347
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4348
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
4349
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4350
 
  $as_echo_n "(cached) " >&6
4351
 
else
4352
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4353
 
  # We make a subdir and do the tests there.  Otherwise we can end up
4354
 
  # making bogus files that we don't know about and never remove.  For
4355
 
  # instance it was reported that on HP-UX the gcc test will end up
4356
 
  # making a dummy file named `D' -- because `-MD' means `put the output
4357
 
  # in D'.
4358
 
  mkdir conftest.dir
4359
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
4360
 
  # using a relative directory.
4361
 
  cp "$am_depcomp" conftest.dir
4362
 
  cd conftest.dir
4363
 
  # We will build objects and dependencies in a subdirectory because
4364
 
  # it helps to detect inapplicable dependency modes.  For instance
4365
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
4366
 
  # side effect of compilation, but ICC will put the dependencies in
4367
 
  # the current directory while Tru64 will put them in the object
4368
 
  # directory.
4369
 
  mkdir sub
4370
 
 
4371
 
  am_cv_CC_dependencies_compiler_type=none
4372
 
  if test "$am_compiler_list" = ""; then
4373
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4374
 
  fi
4375
 
  am__universal=false
4376
 
  case " $depcc " in #(
4377
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4378
 
     esac
4379
 
 
4380
 
  for depmode in $am_compiler_list; do
4381
 
    # Setup a source with many dependencies, because some compilers
4382
 
    # like to wrap large dependency lists on column 80 (with \), and
4383
 
    # we should not choose a depcomp mode which is confused by this.
4384
 
    #
4385
 
    # We need to recreate these files for each test, as the compiler may
4386
 
    # overwrite some of them when testing with obscure command lines.
4387
 
    # This happens at least with the AIX C compiler.
4388
 
    : > sub/conftest.c
4389
 
    for i in 1 2 3 4 5 6; do
4390
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4391
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4392
 
      # Solaris 8's {/usr,}/bin/sh.
4393
 
      touch sub/conftst$i.h
4394
 
    done
4395
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4396
 
 
4397
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4398
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
4399
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
4400
 
    # versions had trouble with output in subdirs
4401
 
    am__obj=sub/conftest.${OBJEXT-o}
4402
 
    am__minus_obj="-o $am__obj"
4403
 
    case $depmode in
4404
 
    gcc)
4405
 
      # This depmode causes a compiler race in universal mode.
4406
 
      test "$am__universal" = false || continue
4407
 
      ;;
4408
 
    nosideeffect)
4409
 
      # after this tag, mechanisms are not by side-effect, so they'll
4410
 
      # only be used when explicitly requested
4411
 
      if test "x$enable_dependency_tracking" = xyes; then
4412
 
        continue
4413
 
      else
4414
 
        break
4415
 
      fi
4416
 
      ;;
4417
 
    msvisualcpp | msvcmsys)
4418
 
      # This compiler won't grok `-c -o', but also, the minuso test has
4419
 
      # not run yet.  These depmodes are late enough in the game, and
4420
 
      # so weak that their functioning should not be impacted.
4421
 
      am__obj=conftest.${OBJEXT-o}
4422
 
      am__minus_obj=
4423
 
      ;;
4424
 
    none) break ;;
4425
 
    esac
4426
 
    if depmode=$depmode \
4427
 
       source=sub/conftest.c object=$am__obj \
4428
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4429
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4430
 
         >/dev/null 2>conftest.err &&
4431
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4432
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4433
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4434
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4435
 
      # icc doesn't choke on unknown options, it will just issue warnings
4436
 
      # or remarks (even with -Werror).  So we grep stderr for any message
4437
 
      # that says an option was ignored or not supported.
4438
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
4439
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
4440
 
      # The diagnosis changed in icc 8.0:
4441
 
      #   icc: Command line remark: option '-MP' not supported
4442
 
      if (grep 'ignoring option' conftest.err ||
4443
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4444
 
        am_cv_CC_dependencies_compiler_type=$depmode
4445
 
        break
4446
 
      fi
4447
 
    fi
4448
 
  done
4449
 
 
4450
 
  cd ..
4451
 
  rm -rf conftest.dir
4452
 
else
4453
 
  am_cv_CC_dependencies_compiler_type=none
4454
 
fi
4455
 
 
4456
 
fi
4457
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4458
 
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4459
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4460
 
 
4461
 
 if
4462
 
  test "x$enable_dependency_tracking" != xno \
4463
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4464
 
  am__fastdepCC_TRUE=
4465
 
  am__fastdepCC_FALSE='#'
4466
 
else
4467
 
  am__fastdepCC_TRUE='#'
4468
 
  am__fastdepCC_FALSE=
4469
 
fi
4470
 
 
4471
 
 
4472
 
ac_ext=c
4473
 
ac_cpp='$CPP $CPPFLAGS'
4474
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4475
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4476
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4477
 
if test -n "$ac_tool_prefix"; then
4478
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4479
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
4480
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4481
 
$as_echo_n "checking for $ac_word... " >&6; }
4482
 
if test "${ac_cv_prog_CC+set}" = set; then :
4483
 
  $as_echo_n "(cached) " >&6
4484
 
else
4485
 
  if test -n "$CC"; then
4486
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
4487
 
else
4488
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4489
 
for as_dir in $PATH
4490
 
do
4491
 
  IFS=$as_save_IFS
4492
 
  test -z "$as_dir" && as_dir=.
4493
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4494
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4495
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4496
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4497
 
    break 2
4498
 
  fi
4499
 
done
4500
 
  done
4501
 
IFS=$as_save_IFS
4502
 
 
4503
 
fi
4504
 
fi
4505
 
CC=$ac_cv_prog_CC
4506
 
if test -n "$CC"; then
4507
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4508
 
$as_echo "$CC" >&6; }
4509
 
else
4510
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4511
 
$as_echo "no" >&6; }
4512
 
fi
4513
 
 
4514
 
 
4515
 
fi
4516
 
if test -z "$ac_cv_prog_CC"; then
4517
 
  ac_ct_CC=$CC
4518
 
  # Extract the first word of "gcc", so it can be a program name with args.
4519
 
set dummy gcc; ac_word=$2
4520
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4521
 
$as_echo_n "checking for $ac_word... " >&6; }
4522
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4523
 
  $as_echo_n "(cached) " >&6
4524
 
else
4525
 
  if test -n "$ac_ct_CC"; then
4526
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4527
 
else
4528
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4529
 
for as_dir in $PATH
4530
 
do
4531
 
  IFS=$as_save_IFS
4532
 
  test -z "$as_dir" && as_dir=.
4533
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4534
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4535
 
    ac_cv_prog_ac_ct_CC="gcc"
4536
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4537
 
    break 2
4538
 
  fi
4539
 
done
4540
 
  done
4541
 
IFS=$as_save_IFS
4542
 
 
4543
 
fi
4544
 
fi
4545
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4546
 
if test -n "$ac_ct_CC"; then
4547
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4548
 
$as_echo "$ac_ct_CC" >&6; }
4549
 
else
4550
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4551
 
$as_echo "no" >&6; }
4552
 
fi
4553
 
 
4554
 
  if test "x$ac_ct_CC" = x; then
4555
 
    CC=""
4556
 
  else
4557
 
    case $cross_compiling:$ac_tool_warned in
4558
 
yes:)
4559
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4560
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4561
 
ac_tool_warned=yes ;;
4562
 
esac
4563
 
    CC=$ac_ct_CC
4564
 
  fi
4565
 
else
4566
 
  CC="$ac_cv_prog_CC"
4567
 
fi
4568
 
 
4569
 
if test -z "$CC"; then
4570
 
          if test -n "$ac_tool_prefix"; then
4571
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4572
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
4573
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4574
 
$as_echo_n "checking for $ac_word... " >&6; }
4575
 
if test "${ac_cv_prog_CC+set}" = set; then :
4576
 
  $as_echo_n "(cached) " >&6
4577
 
else
4578
 
  if test -n "$CC"; then
4579
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
4580
 
else
4581
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4582
 
for as_dir in $PATH
4583
 
do
4584
 
  IFS=$as_save_IFS
4585
 
  test -z "$as_dir" && as_dir=.
4586
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4587
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4588
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
4589
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4590
 
    break 2
4591
 
  fi
4592
 
done
4593
 
  done
4594
 
IFS=$as_save_IFS
4595
 
 
4596
 
fi
4597
 
fi
4598
 
CC=$ac_cv_prog_CC
4599
 
if test -n "$CC"; then
4600
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4601
 
$as_echo "$CC" >&6; }
4602
 
else
4603
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4604
 
$as_echo "no" >&6; }
4605
 
fi
4606
 
 
4607
 
 
4608
 
  fi
4609
 
fi
4610
 
if test -z "$CC"; then
4611
 
  # Extract the first word of "cc", so it can be a program name with args.
4612
 
set dummy cc; ac_word=$2
4613
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4614
 
$as_echo_n "checking for $ac_word... " >&6; }
4615
 
if test "${ac_cv_prog_CC+set}" = set; then :
4616
 
  $as_echo_n "(cached) " >&6
4617
 
else
4618
 
  if test -n "$CC"; then
4619
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
4620
 
else
4621
 
  ac_prog_rejected=no
4622
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4623
 
for as_dir in $PATH
4624
 
do
4625
 
  IFS=$as_save_IFS
4626
 
  test -z "$as_dir" && as_dir=.
4627
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4628
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4629
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4630
 
       ac_prog_rejected=yes
4631
 
       continue
4632
 
     fi
4633
 
    ac_cv_prog_CC="cc"
4634
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4635
 
    break 2
4636
 
  fi
4637
 
done
4638
 
  done
4639
 
IFS=$as_save_IFS
4640
 
 
4641
 
if test $ac_prog_rejected = yes; then
4642
 
  # We found a bogon in the path, so make sure we never use it.
4643
 
  set dummy $ac_cv_prog_CC
4644
 
  shift
4645
 
  if test $# != 0; then
4646
 
    # We chose a different compiler from the bogus one.
4647
 
    # However, it has the same basename, so the bogon will be chosen
4648
 
    # first if we set CC to just the basename; use the full file name.
4649
 
    shift
4650
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4651
 
  fi
4652
 
fi
4653
 
fi
4654
 
fi
4655
 
CC=$ac_cv_prog_CC
4656
 
if test -n "$CC"; then
4657
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4658
 
$as_echo "$CC" >&6; }
4659
 
else
4660
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4661
 
$as_echo "no" >&6; }
4662
 
fi
4663
 
 
4664
 
 
4665
 
fi
4666
 
if test -z "$CC"; then
4667
 
  if test -n "$ac_tool_prefix"; then
4668
 
  for ac_prog in cl.exe
4669
 
  do
4670
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4671
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4672
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4673
 
$as_echo_n "checking for $ac_word... " >&6; }
4674
 
if test "${ac_cv_prog_CC+set}" = set; then :
4675
 
  $as_echo_n "(cached) " >&6
4676
 
else
4677
 
  if test -n "$CC"; then
4678
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
4679
 
else
4680
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4681
 
for as_dir in $PATH
4682
 
do
4683
 
  IFS=$as_save_IFS
4684
 
  test -z "$as_dir" && as_dir=.
4685
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4686
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4687
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4688
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4689
 
    break 2
4690
 
  fi
4691
 
done
4692
 
  done
4693
 
IFS=$as_save_IFS
4694
 
 
4695
 
fi
4696
 
fi
4697
 
CC=$ac_cv_prog_CC
4698
 
if test -n "$CC"; then
4699
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4700
 
$as_echo "$CC" >&6; }
4701
 
else
4702
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4703
 
$as_echo "no" >&6; }
4704
 
fi
4705
 
 
4706
 
 
4707
 
    test -n "$CC" && break
4708
 
  done
4709
 
fi
4710
 
if test -z "$CC"; then
4711
 
  ac_ct_CC=$CC
4712
 
  for ac_prog in cl.exe
4713
 
do
4714
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4715
 
set dummy $ac_prog; ac_word=$2
4716
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4717
 
$as_echo_n "checking for $ac_word... " >&6; }
4718
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4719
 
  $as_echo_n "(cached) " >&6
4720
 
else
4721
 
  if test -n "$ac_ct_CC"; then
4722
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4723
 
else
4724
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4725
 
for as_dir in $PATH
4726
 
do
4727
 
  IFS=$as_save_IFS
4728
 
  test -z "$as_dir" && as_dir=.
4729
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4730
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4731
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
4732
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4733
 
    break 2
4734
 
  fi
4735
 
done
4736
 
  done
4737
 
IFS=$as_save_IFS
4738
 
 
4739
 
fi
4740
 
fi
4741
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4742
 
if test -n "$ac_ct_CC"; then
4743
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4744
 
$as_echo "$ac_ct_CC" >&6; }
4745
 
else
4746
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4747
 
$as_echo "no" >&6; }
4748
 
fi
4749
 
 
4750
 
 
4751
 
  test -n "$ac_ct_CC" && break
4752
 
done
4753
 
 
4754
 
  if test "x$ac_ct_CC" = x; then
4755
 
    CC=""
4756
 
  else
4757
 
    case $cross_compiling:$ac_tool_warned in
4758
 
yes:)
4759
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4760
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4761
 
ac_tool_warned=yes ;;
4762
 
esac
4763
 
    CC=$ac_ct_CC
4764
 
  fi
4765
 
fi
4766
 
 
4767
 
fi
4768
 
 
4769
 
 
4770
 
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4771
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4772
 
as_fn_error "no acceptable C compiler found in \$PATH
4773
 
See \`config.log' for more details." "$LINENO" 5; }
4774
 
 
4775
 
# Provide some information about the compiler.
4776
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4777
 
set X $ac_compile
4778
 
ac_compiler=$2
4779
 
for ac_option in --version -v -V -qversion; do
4780
 
  { { ac_try="$ac_compiler $ac_option >&5"
4781
 
case "(($ac_try" in
4782
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4783
 
  *) ac_try_echo=$ac_try;;
4784
 
esac
4785
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4786
 
$as_echo "$ac_try_echo"; } >&5
4787
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4788
 
  ac_status=$?
4789
 
  if test -s conftest.err; then
4790
 
    sed '10a\
4791
 
... rest of stderr output deleted ...
4792
 
         10q' conftest.err >conftest.er1
4793
 
    cat conftest.er1 >&5
4794
 
  fi
4795
 
  rm -f conftest.er1 conftest.err
4796
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4797
 
  test $ac_status = 0; }
4798
 
done
4799
 
 
4800
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4801
 
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4802
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4803
 
  $as_echo_n "(cached) " >&6
4804
 
else
4805
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4806
 
/* end confdefs.h.  */
4807
 
 
4808
 
int
4809
 
main ()
4810
 
{
4811
 
#ifndef __GNUC__
4812
 
       choke me
4813
 
#endif
4814
 
 
4815
 
  ;
4816
 
  return 0;
4817
 
}
4818
 
_ACEOF
4819
 
if ac_fn_c_try_compile "$LINENO"; then :
4820
 
  ac_compiler_gnu=yes
4821
 
else
4822
 
  ac_compiler_gnu=no
4823
 
fi
4824
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4825
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4826
 
 
4827
 
fi
4828
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4829
 
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4830
 
if test $ac_compiler_gnu = yes; then
4831
 
  GCC=yes
4832
 
else
4833
 
  GCC=
4834
 
fi
4835
 
ac_test_CFLAGS=${CFLAGS+set}
4836
 
ac_save_CFLAGS=$CFLAGS
4837
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4838
 
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4839
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
4840
 
  $as_echo_n "(cached) " >&6
4841
 
else
4842
 
  ac_save_c_werror_flag=$ac_c_werror_flag
4843
 
   ac_c_werror_flag=yes
4844
 
   ac_cv_prog_cc_g=no
4845
 
   CFLAGS="-g"
4846
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4847
 
/* end confdefs.h.  */
4848
 
 
4849
 
int
4850
 
main ()
4851
 
{
4852
 
 
4853
 
  ;
4854
 
  return 0;
4855
 
}
4856
 
_ACEOF
4857
 
if ac_fn_c_try_compile "$LINENO"; then :
4858
 
  ac_cv_prog_cc_g=yes
4859
 
else
4860
 
  CFLAGS=""
4861
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4862
 
/* end confdefs.h.  */
4863
 
 
4864
 
int
4865
 
main ()
4866
 
{
4867
 
 
4868
 
  ;
4869
 
  return 0;
4870
 
}
4871
 
_ACEOF
4872
 
if ac_fn_c_try_compile "$LINENO"; then :
4873
 
 
4874
 
else
4875
 
  ac_c_werror_flag=$ac_save_c_werror_flag
4876
 
         CFLAGS="-g"
4877
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4878
 
/* end confdefs.h.  */
4879
 
 
4880
 
int
4881
 
main ()
4882
 
{
4883
 
 
4884
 
  ;
4885
 
  return 0;
4886
 
}
4887
 
_ACEOF
4888
 
if ac_fn_c_try_compile "$LINENO"; then :
4889
 
  ac_cv_prog_cc_g=yes
4890
 
fi
4891
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4892
 
fi
4893
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4894
 
fi
4895
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4896
 
   ac_c_werror_flag=$ac_save_c_werror_flag
4897
 
fi
4898
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4899
 
$as_echo "$ac_cv_prog_cc_g" >&6; }
4900
 
if test "$ac_test_CFLAGS" = set; then
4901
 
  CFLAGS=$ac_save_CFLAGS
4902
 
elif test $ac_cv_prog_cc_g = yes; then
4903
 
  if test "$GCC" = yes; then
4904
 
    CFLAGS="-g -O2"
4905
 
  else
4906
 
    CFLAGS="-g"
4907
 
  fi
4908
 
else
4909
 
  if test "$GCC" = yes; then
4910
 
    CFLAGS="-O2"
4911
 
  else
4912
 
    CFLAGS=
4913
 
  fi
4914
 
fi
4915
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4916
 
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4917
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
4918
 
  $as_echo_n "(cached) " >&6
4919
 
else
4920
 
  ac_cv_prog_cc_c89=no
4921
 
ac_save_CC=$CC
4922
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4923
 
/* end confdefs.h.  */
4924
 
#include <stdarg.h>
4925
 
#include <stdio.h>
4926
 
#include <sys/types.h>
4927
 
#include <sys/stat.h>
4928
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4929
 
struct buf { int x; };
4930
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
4931
 
static char *e (p, i)
4932
 
     char **p;
4933
 
     int i;
4934
 
{
4935
 
  return p[i];
4936
 
}
4937
 
static char *f (char * (*g) (char **, int), char **p, ...)
4938
 
{
4939
 
  char *s;
4940
 
  va_list v;
4941
 
  va_start (v,p);
4942
 
  s = g (p, va_arg (v,int));
4943
 
  va_end (v);
4944
 
  return s;
4945
 
}
4946
 
 
4947
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4948
 
   function prototypes and stuff, but not '\xHH' hex character constants.
4949
 
   These don't provoke an error unfortunately, instead are silently treated
4950
 
   as 'x'.  The following induces an error, until -std is added to get
4951
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4952
 
   array size at least.  It's necessary to write '\x00'==0 to get something
4953
 
   that's true only with -std.  */
4954
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4955
 
 
4956
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4957
 
   inside strings and character constants.  */
4958
 
#define FOO(x) 'x'
4959
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4960
 
 
4961
 
int test (int i, double x);
4962
 
struct s1 {int (*f) (int a);};
4963
 
struct s2 {int (*f) (double a);};
4964
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4965
 
int argc;
4966
 
char **argv;
4967
 
int
4968
 
main ()
4969
 
{
4970
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4971
 
  ;
4972
 
  return 0;
4973
 
}
4974
 
_ACEOF
4975
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4976
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4977
 
do
4978
 
  CC="$ac_save_CC $ac_arg"
4979
 
  if ac_fn_c_try_compile "$LINENO"; then :
4980
 
  ac_cv_prog_cc_c89=$ac_arg
4981
 
fi
4982
 
rm -f core conftest.err conftest.$ac_objext
4983
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
4984
 
done
4985
 
rm -f conftest.$ac_ext
4986
 
CC=$ac_save_CC
4987
 
 
4988
 
fi
4989
 
# AC_CACHE_VAL
4990
 
case "x$ac_cv_prog_cc_c89" in
4991
 
  x)
4992
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4993
 
$as_echo "none needed" >&6; } ;;
4994
 
  xno)
4995
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4996
 
$as_echo "unsupported" >&6; } ;;
4997
 
  *)
4998
 
    CC="$CC $ac_cv_prog_cc_c89"
4999
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5000
 
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5001
 
esac
5002
 
if test "x$ac_cv_prog_cc_c89" != xno; then :
5003
 
 
5004
 
fi
5005
 
 
5006
 
ac_ext=c
5007
 
ac_cpp='$CPP $CPPFLAGS'
5008
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5009
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5010
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5011
 
 
5012
 
depcc="$CC"   am_compiler_list=
5013
 
 
5014
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5015
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
5016
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5017
 
  $as_echo_n "(cached) " >&6
5018
 
else
5019
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5020
 
  # We make a subdir and do the tests there.  Otherwise we can end up
5021
 
  # making bogus files that we don't know about and never remove.  For
5022
 
  # instance it was reported that on HP-UX the gcc test will end up
5023
 
  # making a dummy file named `D' -- because `-MD' means `put the output
5024
 
  # in D'.
5025
 
  mkdir conftest.dir
5026
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
5027
 
  # using a relative directory.
5028
 
  cp "$am_depcomp" conftest.dir
5029
 
  cd conftest.dir
5030
 
  # We will build objects and dependencies in a subdirectory because
5031
 
  # it helps to detect inapplicable dependency modes.  For instance
5032
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
5033
 
  # side effect of compilation, but ICC will put the dependencies in
5034
 
  # the current directory while Tru64 will put them in the object
5035
 
  # directory.
5036
 
  mkdir sub
5037
 
 
5038
 
  am_cv_CC_dependencies_compiler_type=none
5039
 
  if test "$am_compiler_list" = ""; then
5040
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5041
 
  fi
5042
 
  am__universal=false
5043
 
  case " $depcc " in #(
5044
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
5045
 
     esac
5046
 
 
5047
 
  for depmode in $am_compiler_list; do
5048
 
    # Setup a source with many dependencies, because some compilers
5049
 
    # like to wrap large dependency lists on column 80 (with \), and
5050
 
    # we should not choose a depcomp mode which is confused by this.
5051
 
    #
5052
 
    # We need to recreate these files for each test, as the compiler may
5053
 
    # overwrite some of them when testing with obscure command lines.
5054
 
    # This happens at least with the AIX C compiler.
5055
 
    : > sub/conftest.c
5056
 
    for i in 1 2 3 4 5 6; do
5057
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5058
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5059
 
      # Solaris 8's {/usr,}/bin/sh.
5060
 
      touch sub/conftst$i.h
5061
 
    done
5062
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5063
 
 
5064
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
5065
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
5066
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
5067
 
    # versions had trouble with output in subdirs
5068
 
    am__obj=sub/conftest.${OBJEXT-o}
5069
 
    am__minus_obj="-o $am__obj"
5070
 
    case $depmode in
5071
 
    gcc)
5072
 
      # This depmode causes a compiler race in universal mode.
5073
 
      test "$am__universal" = false || continue
5074
 
      ;;
5075
 
    nosideeffect)
5076
 
      # after this tag, mechanisms are not by side-effect, so they'll
5077
 
      # only be used when explicitly requested
5078
 
      if test "x$enable_dependency_tracking" = xyes; then
5079
 
        continue
5080
 
      else
5081
 
        break
5082
 
      fi
5083
 
      ;;
5084
 
    msvisualcpp | msvcmsys)
5085
 
      # This compiler won't grok `-c -o', but also, the minuso test has
5086
 
      # not run yet.  These depmodes are late enough in the game, and
5087
 
      # so weak that their functioning should not be impacted.
5088
 
      am__obj=conftest.${OBJEXT-o}
5089
 
      am__minus_obj=
5090
 
      ;;
5091
 
    none) break ;;
5092
 
    esac
5093
 
    if depmode=$depmode \
5094
 
       source=sub/conftest.c object=$am__obj \
5095
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5096
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5097
 
         >/dev/null 2>conftest.err &&
5098
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5099
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5100
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5101
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5102
 
      # icc doesn't choke on unknown options, it will just issue warnings
5103
 
      # or remarks (even with -Werror).  So we grep stderr for any message
5104
 
      # that says an option was ignored or not supported.
5105
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
5106
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
5107
 
      # The diagnosis changed in icc 8.0:
5108
 
      #   icc: Command line remark: option '-MP' not supported
5109
 
      if (grep 'ignoring option' conftest.err ||
5110
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5111
 
        am_cv_CC_dependencies_compiler_type=$depmode
5112
 
        break
5113
 
      fi
5114
 
    fi
5115
 
  done
5116
 
 
5117
 
  cd ..
5118
 
  rm -rf conftest.dir
5119
 
else
5120
 
  am_cv_CC_dependencies_compiler_type=none
5121
 
fi
5122
 
 
5123
 
fi
5124
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5125
 
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5126
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5127
 
 
5128
 
 if
5129
 
  test "x$enable_dependency_tracking" != xno \
5130
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5131
 
  am__fastdepCC_TRUE=
5132
 
  am__fastdepCC_FALSE='#'
5133
 
else
5134
 
  am__fastdepCC_TRUE='#'
5135
 
  am__fastdepCC_FALSE=
5136
 
fi
5137
 
 
5138
 
 
5139
 
 
5140
 
am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
 
4301
as_fn_error $? "no acceptable C compiler found in \$PATH
 
4302
See \`config.log' for more details" "$LINENO" 5 ; }
 
4303
 
 
4304
# Provide some information about the compiler.
 
4305
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
4306
set X $ac_compile
 
4307
ac_compiler=$2
 
4308
for ac_option in --version -v -V -qversion; do
 
4309
  { { ac_try="$ac_compiler $ac_option >&5"
 
4310
case "(($ac_try" in
 
4311
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4312
  *) ac_try_echo=$ac_try;;
 
4313
esac
 
4314
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4315
$as_echo "$ac_try_echo"; } >&5
 
4316
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
4317
  ac_status=$?
 
4318
  if test -s conftest.err; then
 
4319
    sed '10a\
 
4320
... rest of stderr output deleted ...
 
4321
         10q' conftest.err >conftest.er1
 
4322
    cat conftest.er1 >&5
 
4323
  fi
 
4324
  rm -f conftest.er1 conftest.err
 
4325
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4326
  test $ac_status = 0; }
 
4327
done
 
4328
 
 
4329
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
4330
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
4331
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
4332
  $as_echo_n "(cached) " >&6
 
4333
else
 
4334
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4335
/* end confdefs.h.  */
 
4336
 
 
4337
int
 
4338
main ()
 
4339
{
 
4340
#ifndef __GNUC__
 
4341
       choke me
 
4342
#endif
 
4343
 
 
4344
  ;
 
4345
  return 0;
 
4346
}
 
4347
_ACEOF
 
4348
if ac_fn_c_try_compile "$LINENO"; then :
 
4349
  ac_compiler_gnu=yes
 
4350
else
 
4351
  ac_compiler_gnu=no
 
4352
fi
 
4353
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4354
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
4355
 
 
4356
fi
 
4357
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
4358
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
4359
if test $ac_compiler_gnu = yes; then
 
4360
  GCC=yes
 
4361
else
 
4362
  GCC=
 
4363
fi
 
4364
ac_test_CFLAGS=${CFLAGS+set}
 
4365
ac_save_CFLAGS=$CFLAGS
 
4366
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
4367
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
4368
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
4369
  $as_echo_n "(cached) " >&6
 
4370
else
 
4371
  ac_save_c_werror_flag=$ac_c_werror_flag
 
4372
   ac_c_werror_flag=yes
 
4373
   ac_cv_prog_cc_g=no
 
4374
   CFLAGS="-g"
 
4375
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4376
/* end confdefs.h.  */
 
4377
 
 
4378
int
 
4379
main ()
 
4380
{
 
4381
 
 
4382
  ;
 
4383
  return 0;
 
4384
}
 
4385
_ACEOF
 
4386
if ac_fn_c_try_compile "$LINENO"; then :
 
4387
  ac_cv_prog_cc_g=yes
 
4388
else
 
4389
  CFLAGS=""
 
4390
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4391
/* end confdefs.h.  */
 
4392
 
 
4393
int
 
4394
main ()
 
4395
{
 
4396
 
 
4397
  ;
 
4398
  return 0;
 
4399
}
 
4400
_ACEOF
 
4401
if ac_fn_c_try_compile "$LINENO"; then :
 
4402
 
 
4403
else
 
4404
  ac_c_werror_flag=$ac_save_c_werror_flag
 
4405
         CFLAGS="-g"
 
4406
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4407
/* end confdefs.h.  */
 
4408
 
 
4409
int
 
4410
main ()
 
4411
{
 
4412
 
 
4413
  ;
 
4414
  return 0;
 
4415
}
 
4416
_ACEOF
 
4417
if ac_fn_c_try_compile "$LINENO"; then :
 
4418
  ac_cv_prog_cc_g=yes
 
4419
fi
 
4420
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4421
fi
 
4422
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4423
fi
 
4424
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4425
   ac_c_werror_flag=$ac_save_c_werror_flag
 
4426
fi
 
4427
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
4428
$as_echo "$ac_cv_prog_cc_g" >&6; }
 
4429
if test "$ac_test_CFLAGS" = set; then
 
4430
  CFLAGS=$ac_save_CFLAGS
 
4431
elif test $ac_cv_prog_cc_g = yes; then
 
4432
  if test "$GCC" = yes; then
 
4433
    CFLAGS="-g -O2"
 
4434
  else
 
4435
    CFLAGS="-g"
 
4436
  fi
 
4437
else
 
4438
  if test "$GCC" = yes; then
 
4439
    CFLAGS="-O2"
 
4440
  else
 
4441
    CFLAGS=
 
4442
  fi
 
4443
fi
 
4444
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
4445
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
4446
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
4447
  $as_echo_n "(cached) " >&6
 
4448
else
 
4449
  ac_cv_prog_cc_c89=no
 
4450
ac_save_CC=$CC
 
4451
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4452
/* end confdefs.h.  */
 
4453
#include <stdarg.h>
 
4454
#include <stdio.h>
 
4455
#include <sys/types.h>
 
4456
#include <sys/stat.h>
 
4457
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
4458
struct buf { int x; };
 
4459
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
4460
static char *e (p, i)
 
4461
     char **p;
 
4462
     int i;
 
4463
{
 
4464
  return p[i];
 
4465
}
 
4466
static char *f (char * (*g) (char **, int), char **p, ...)
 
4467
{
 
4468
  char *s;
 
4469
  va_list v;
 
4470
  va_start (v,p);
 
4471
  s = g (p, va_arg (v,int));
 
4472
  va_end (v);
 
4473
  return s;
 
4474
}
 
4475
 
 
4476
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
4477
   function prototypes and stuff, but not '\xHH' hex character constants.
 
4478
   These don't provoke an error unfortunately, instead are silently treated
 
4479
   as 'x'.  The following induces an error, until -std is added to get
 
4480
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
4481
   array size at least.  It's necessary to write '\x00'==0 to get something
 
4482
   that's true only with -std.  */
 
4483
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
4484
 
 
4485
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
4486
   inside strings and character constants.  */
 
4487
#define FOO(x) 'x'
 
4488
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
4489
 
 
4490
int test (int i, double x);
 
4491
struct s1 {int (*f) (int a);};
 
4492
struct s2 {int (*f) (double a);};
 
4493
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
4494
int argc;
 
4495
char **argv;
 
4496
int
 
4497
main ()
 
4498
{
 
4499
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
4500
  ;
 
4501
  return 0;
 
4502
}
 
4503
_ACEOF
 
4504
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
4505
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
4506
do
 
4507
  CC="$ac_save_CC $ac_arg"
 
4508
  if ac_fn_c_try_compile "$LINENO"; then :
 
4509
  ac_cv_prog_cc_c89=$ac_arg
 
4510
fi
 
4511
rm -f core conftest.err conftest.$ac_objext
 
4512
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
4513
done
 
4514
rm -f conftest.$ac_ext
 
4515
CC=$ac_save_CC
 
4516
 
 
4517
fi
 
4518
# AC_CACHE_VAL
 
4519
case "x$ac_cv_prog_cc_c89" in
 
4520
  x)
 
4521
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
4522
$as_echo "none needed" >&6; } ;;
 
4523
  xno)
 
4524
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
4525
$as_echo "unsupported" >&6; } ;;
 
4526
  *)
 
4527
    CC="$CC $ac_cv_prog_cc_c89"
 
4528
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
4529
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 
4530
esac
 
4531
if test "x$ac_cv_prog_cc_c89" != xno; then :
 
4532
 
 
4533
fi
 
4534
 
 
4535
ac_ext=c
 
4536
ac_cpp='$CPP $CPPFLAGS'
 
4537
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
4538
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
4539
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
4540
 
 
4541
depcc="$CC"   am_compiler_list=
 
4542
 
 
4543
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
4544
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
4545
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
4546
  $as_echo_n "(cached) " >&6
 
4547
else
 
4548
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
4549
  # We make a subdir and do the tests there.  Otherwise we can end up
 
4550
  # making bogus files that we don't know about and never remove.  For
 
4551
  # instance it was reported that on HP-UX the gcc test will end up
 
4552
  # making a dummy file named `D' -- because `-MD' means `put the output
 
4553
  # in D'.
 
4554
  mkdir conftest.dir
 
4555
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
4556
  # using a relative directory.
 
4557
  cp "$am_depcomp" conftest.dir
 
4558
  cd conftest.dir
 
4559
  # We will build objects and dependencies in a subdirectory because
 
4560
  # it helps to detect inapplicable dependency modes.  For instance
 
4561
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
4562
  # side effect of compilation, but ICC will put the dependencies in
 
4563
  # the current directory while Tru64 will put them in the object
 
4564
  # directory.
 
4565
  mkdir sub
 
4566
 
 
4567
  am_cv_CC_dependencies_compiler_type=none
 
4568
  if test "$am_compiler_list" = ""; then
 
4569
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
4570
  fi
 
4571
  am__universal=false
 
4572
  case " $depcc " in #(
 
4573
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
4574
     esac
 
4575
 
 
4576
  for depmode in $am_compiler_list; do
 
4577
    # Setup a source with many dependencies, because some compilers
 
4578
    # like to wrap large dependency lists on column 80 (with \), and
 
4579
    # we should not choose a depcomp mode which is confused by this.
 
4580
    #
 
4581
    # We need to recreate these files for each test, as the compiler may
 
4582
    # overwrite some of them when testing with obscure command lines.
 
4583
    # This happens at least with the AIX C compiler.
 
4584
    : > sub/conftest.c
 
4585
    for i in 1 2 3 4 5 6; do
 
4586
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
4587
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
4588
      # Solaris 8's {/usr,}/bin/sh.
 
4589
      touch sub/conftst$i.h
 
4590
    done
 
4591
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
4592
 
 
4593
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
4594
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
4595
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
4596
    # versions had trouble with output in subdirs
 
4597
    am__obj=sub/conftest.${OBJEXT-o}
 
4598
    am__minus_obj="-o $am__obj"
 
4599
    case $depmode in
 
4600
    gcc)
 
4601
      # This depmode causes a compiler race in universal mode.
 
4602
      test "$am__universal" = false || continue
 
4603
      ;;
 
4604
    nosideeffect)
 
4605
      # after this tag, mechanisms are not by side-effect, so they'll
 
4606
      # only be used when explicitly requested
 
4607
      if test "x$enable_dependency_tracking" = xyes; then
 
4608
        continue
 
4609
      else
 
4610
        break
 
4611
      fi
 
4612
      ;;
 
4613
    msvisualcpp | msvcmsys)
 
4614
      # This compiler won't grok `-c -o', but also, the minuso test has
 
4615
      # not run yet.  These depmodes are late enough in the game, and
 
4616
      # so weak that their functioning should not be impacted.
 
4617
      am__obj=conftest.${OBJEXT-o}
 
4618
      am__minus_obj=
 
4619
      ;;
 
4620
    none) break ;;
 
4621
    esac
 
4622
    if depmode=$depmode \
 
4623
       source=sub/conftest.c object=$am__obj \
 
4624
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
4625
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
4626
         >/dev/null 2>conftest.err &&
 
4627
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
4628
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
4629
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
4630
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
4631
      # icc doesn't choke on unknown options, it will just issue warnings
 
4632
      # or remarks (even with -Werror).  So we grep stderr for any message
 
4633
      # that says an option was ignored or not supported.
 
4634
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
4635
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
4636
      # The diagnosis changed in icc 8.0:
 
4637
      #   icc: Command line remark: option '-MP' not supported
 
4638
      if (grep 'ignoring option' conftest.err ||
 
4639
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
4640
        am_cv_CC_dependencies_compiler_type=$depmode
 
4641
        break
 
4642
      fi
 
4643
    fi
 
4644
  done
 
4645
 
 
4646
  cd ..
 
4647
  rm -rf conftest.dir
 
4648
else
 
4649
  am_cv_CC_dependencies_compiler_type=none
 
4650
fi
 
4651
 
 
4652
fi
 
4653
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
4654
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 
4655
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
4656
 
 
4657
 if
 
4658
  test "x$enable_dependency_tracking" != xno \
 
4659
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
4660
  am__fastdepCC_TRUE=
 
4661
  am__fastdepCC_FALSE='#'
 
4662
else
 
4663
  am__fastdepCC_TRUE='#'
 
4664
  am__fastdepCC_FALSE=
 
4665
fi
 
4666
 
5141
4667
 
5142
4668
ac_ext=c
5143
4669
ac_cpp='$CPP $CPPFLAGS'
5181
4707
  # Broken: fails on valid input.
5182
4708
continue
5183
4709
fi
5184
 
rm -f conftest.err conftest.$ac_ext
 
4710
rm -f conftest.err conftest.i conftest.$ac_ext
5185
4711
 
5186
4712
  # OK, works on sane cases.  Now check whether nonexistent headers
5187
4713
  # can be detected and how.
5197
4723
ac_preproc_ok=:
5198
4724
break
5199
4725
fi
5200
 
rm -f conftest.err conftest.$ac_ext
 
4726
rm -f conftest.err conftest.i conftest.$ac_ext
5201
4727
 
5202
4728
done
5203
4729
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5204
 
rm -f conftest.err conftest.$ac_ext
 
4730
rm -f conftest.i conftest.err conftest.$ac_ext
5205
4731
if $ac_preproc_ok; then :
5206
4732
  break
5207
4733
fi
5240
4766
  # Broken: fails on valid input.
5241
4767
continue
5242
4768
fi
5243
 
rm -f conftest.err conftest.$ac_ext
 
4769
rm -f conftest.err conftest.i conftest.$ac_ext
5244
4770
 
5245
4771
  # OK, works on sane cases.  Now check whether nonexistent headers
5246
4772
  # can be detected and how.
5256
4782
ac_preproc_ok=:
5257
4783
break
5258
4784
fi
5259
 
rm -f conftest.err conftest.$ac_ext
 
4785
rm -f conftest.err conftest.i conftest.$ac_ext
5260
4786
 
5261
4787
done
5262
4788
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5263
 
rm -f conftest.err conftest.$ac_ext
 
4789
rm -f conftest.i conftest.err conftest.$ac_ext
5264
4790
if $ac_preproc_ok; then :
5265
4791
 
5266
4792
else
5267
4793
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5268
4794
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5269
 
as_fn_error "C preprocessor \"$CPP\" fails sanity check
5270
 
See \`config.log' for more details." "$LINENO" 5; }
 
4795
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 
4796
See \`config.log' for more details" "$LINENO" 5 ; }
5271
4797
fi
5272
4798
 
5273
4799
ac_ext=c
5328
4854
  done
5329
4855
IFS=$as_save_IFS
5330
4856
  if test -z "$ac_cv_path_GREP"; then
5331
 
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4857
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5332
4858
  fi
5333
4859
else
5334
4860
  ac_cv_path_GREP=$GREP
5394
4920
  done
5395
4921
IFS=$as_save_IFS
5396
4922
  if test -z "$ac_cv_path_EGREP"; then
5397
 
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4923
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5398
4924
  fi
5399
4925
else
5400
4926
  ac_cv_path_EGREP=$EGREP
5546
5072
 
5547
5073
# Make sure we can run config.sub.
5548
5074
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5549
 
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 
5075
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5550
5076
 
5551
5077
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5552
5078
$as_echo_n "checking build system type... " >&6; }
5557
5083
test "x$ac_build_alias" = x &&
5558
5084
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5559
5085
test "x$ac_build_alias" = x &&
5560
 
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
 
5086
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5561
5087
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5562
 
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 
5088
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5563
5089
 
5564
5090
fi
5565
5091
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5566
5092
$as_echo "$ac_cv_build" >&6; }
5567
5093
case $ac_cv_build in
5568
5094
*-*-*) ;;
5569
 
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
 
5095
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
5570
5096
esac
5571
5097
build=$ac_cv_build
5572
5098
ac_save_IFS=$IFS; IFS='-'
5591
5117
  ac_cv_host=$ac_cv_build
5592
5118
else
5593
5119
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5594
 
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 
5120
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5595
5121
fi
5596
5122
 
5597
5123
fi
5599
5125
$as_echo "$ac_cv_host" >&6; }
5600
5126
case $ac_cv_host in
5601
5127
*-*-*) ;;
5602
 
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
 
5128
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
5603
5129
esac
5604
5130
host=$ac_cv_host
5605
5131
ac_save_IFS=$IFS; IFS='-'
5672
5198
  done
5673
5199
IFS=$as_save_IFS
5674
5200
  if test -z "$ac_cv_path_SED"; then
5675
 
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
5201
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5676
5202
  fi
5677
5203
else
5678
5204
  ac_cv_path_SED=$SED
5751
5277
  done
5752
5278
IFS=$as_save_IFS
5753
5279
  if test -z "$ac_cv_path_FGREP"; then
5754
 
    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
5280
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5755
5281
  fi
5756
5282
else
5757
5283
  ac_cv_path_FGREP=$FGREP
5867
5393
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5868
5394
$as_echo "no" >&6; }
5869
5395
fi
5870
 
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
5396
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5871
5397
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5872
5398
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5873
5399
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6069
5595
else
6070
5596
  lt_cv_nm_interface="BSD nm"
6071
5597
  echo "int some_variable = 0;" > conftest.$ac_ext
6072
 
  (eval echo "\"\$as_me:6072: $ac_compile\"" >&5)
 
5598
  (eval echo "\"\$as_me:5598: $ac_compile\"" >&5)
6073
5599
  (eval "$ac_compile" 2>conftest.err)
6074
5600
  cat conftest.err >&5
6075
 
  (eval echo "\"\$as_me:6075: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
5601
  (eval echo "\"\$as_me:5601: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6076
5602
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6077
5603
  cat conftest.err >&5
6078
 
  (eval echo "\"\$as_me:6078: output\"" >&5)
 
5604
  (eval echo "\"\$as_me:5604: output\"" >&5)
6079
5605
  cat conftest.out >&5
6080
5606
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6081
5607
    lt_cv_nm_interface="MS dumpbin"
7280
6806
  ;;
7281
6807
*-*-irix6*)
7282
6808
  # Find out which ABI we are using.
7283
 
  echo '#line 7283 "configure"' > conftest.$ac_ext
 
6809
  echo '#line 6809 "configure"' > conftest.$ac_ext
7284
6810
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7285
6811
  (eval $ac_compile) 2>&5
7286
6812
  ac_status=$?
8034
7560
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8035
7561
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8036
7562
"
8037
 
eval as_val=\$$as_ac_Header
8038
 
   if test "x$as_val" = x""yes; then :
 
7563
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8039
7564
  cat >>confdefs.h <<_ACEOF
8040
7565
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8041
7566
_ACEOF
8531
8056
$RM -r conftest*
8532
8057
 
8533
8058
 
 
8059
## CAVEAT EMPTOR:
 
8060
## There is no encapsulation within the following macros, do not change
 
8061
## the running order or otherwise move them around unless you know exactly
 
8062
## what you are doing...
8534
8063
if test -n "$compiler"; then
8535
8064
 
8536
8065
lt_prog_compiler_no_builtin_flag=
8556
8085
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8557
8086
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8558
8087
   -e 's:$: $lt_compiler_flag:'`
8559
 
   (eval echo "\"\$as_me:8559: $lt_compile\"" >&5)
 
8088
   (eval echo "\"\$as_me:8088: $lt_compile\"" >&5)
8560
8089
   (eval "$lt_compile" 2>conftest.err)
8561
8090
   ac_status=$?
8562
8091
   cat conftest.err >&5
8563
 
   echo "$as_me:8563: \$? = $ac_status" >&5
 
8092
   echo "$as_me:8092: \$? = $ac_status" >&5
8564
8093
   if (exit $ac_status) && test -s "$ac_outfile"; then
8565
8094
     # The compiler can only warn and ignore the option if not recognized
8566
8095
     # So say no if there are warnings other than the usual output.
8895
8424
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8896
8425
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8897
8426
   -e 's:$: $lt_compiler_flag:'`
8898
 
   (eval echo "\"\$as_me:8898: $lt_compile\"" >&5)
 
8427
   (eval echo "\"\$as_me:8427: $lt_compile\"" >&5)
8899
8428
   (eval "$lt_compile" 2>conftest.err)
8900
8429
   ac_status=$?
8901
8430
   cat conftest.err >&5
8902
 
   echo "$as_me:8902: \$? = $ac_status" >&5
 
8431
   echo "$as_me:8431: \$? = $ac_status" >&5
8903
8432
   if (exit $ac_status) && test -s "$ac_outfile"; then
8904
8433
     # The compiler can only warn and ignore the option if not recognized
8905
8434
     # So say no if there are warnings other than the usual output.
9000
8529
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9001
8530
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9002
8531
   -e 's:$: $lt_compiler_flag:'`
9003
 
   (eval echo "\"\$as_me:9003: $lt_compile\"" >&5)
 
8532
   (eval echo "\"\$as_me:8532: $lt_compile\"" >&5)
9004
8533
   (eval "$lt_compile" 2>out/conftest.err)
9005
8534
   ac_status=$?
9006
8535
   cat out/conftest.err >&5
9007
 
   echo "$as_me:9007: \$? = $ac_status" >&5
 
8536
   echo "$as_me:8536: \$? = $ac_status" >&5
9008
8537
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9009
8538
   then
9010
8539
     # The compiler can only warn and ignore the option if not recognized
9055
8584
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9056
8585
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9057
8586
   -e 's:$: $lt_compiler_flag:'`
9058
 
   (eval echo "\"\$as_me:9058: $lt_compile\"" >&5)
 
8587
   (eval echo "\"\$as_me:8587: $lt_compile\"" >&5)
9059
8588
   (eval "$lt_compile" 2>out/conftest.err)
9060
8589
   ac_status=$?
9061
8590
   cat out/conftest.err >&5
9062
 
   echo "$as_me:9062: \$? = $ac_status" >&5
 
8591
   echo "$as_me:8591: \$? = $ac_status" >&5
9063
8592
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9064
8593
   then
9065
8594
     # The compiler can only warn and ignore the option if not recognized
11439
10968
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11440
10969
  lt_status=$lt_dlunknown
11441
10970
  cat > conftest.$ac_ext <<_LT_EOF
11442
 
#line 11442 "configure"
 
10971
#line 10971 "configure"
11443
10972
#include "confdefs.h"
11444
10973
 
11445
10974
#if HAVE_DLFCN_H
11535
11064
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11536
11065
  lt_status=$lt_dlunknown
11537
11066
  cat > conftest.$ac_ext <<_LT_EOF
11538
 
#line 11538 "configure"
 
11067
#line 11067 "configure"
11539
11068
#include "confdefs.h"
11540
11069
 
11541
11070
#if HAVE_DLFCN_H
11762
11291
# Only expand once:
11763
11292
 
11764
11293
 
 
11294
mkdir_p="$MKDIR_P"
 
11295
case $mkdir_p in
 
11296
  [\\/$]* | ?:[\\/]*) ;;
 
11297
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
11298
esac
 
11299
 
 
11300
# Check whether --enable-glibtest was given.
 
11301
if test "${enable_glibtest+set}" = set; then :
 
11302
  enableval=$enable_glibtest;
 
11303
else
 
11304
  enable_glibtest=yes
 
11305
fi
 
11306
 
 
11307
 
 
11308
  pkg_config_args=glib-2.0
 
11309
  for module in .
 
11310
  do
 
11311
      case "$module" in
 
11312
         gmodule)
 
11313
             pkg_config_args="$pkg_config_args gmodule-2.0"
 
11314
         ;;
 
11315
         gmodule-no-export)
 
11316
             pkg_config_args="$pkg_config_args gmodule-no-export-2.0"
 
11317
         ;;
 
11318
         gobject)
 
11319
             pkg_config_args="$pkg_config_args gobject-2.0"
 
11320
         ;;
 
11321
         gthread)
 
11322
             pkg_config_args="$pkg_config_args gthread-2.0"
 
11323
         ;;
 
11324
         gio*)
 
11325
             pkg_config_args="$pkg_config_args $module-2.0"
 
11326
         ;;
 
11327
      esac
 
11328
  done
 
11329
 
 
11330
 
 
11331
 
 
11332
 
11765
11333
 
11766
11334
 
11767
11335
 
11866
11434
 
11867
11435
fi
11868
11436
if test -n "$PKG_CONFIG"; then
11869
 
        _pkg_min_version=0.9.0
 
11437
        _pkg_min_version=0.16
11870
11438
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11871
11439
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11872
11440
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11877
11445
$as_echo "no" >&6; }
11878
11446
                PKG_CONFIG=""
11879
11447
        fi
11880
 
 
11881
 
fi
 
11448
fi
 
11449
 
 
11450
  no_glib=""
 
11451
 
 
11452
  if test "x$PKG_CONFIG" = x ; then
 
11453
    no_glib=yes
 
11454
    PKG_CONFIG=no
 
11455
  fi
 
11456
 
 
11457
  min_glib_version=2.0.0
 
11458
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB - version >= $min_glib_version" >&5
 
11459
$as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; }
 
11460
 
 
11461
  if test x$PKG_CONFIG != xno ; then
 
11462
    ## don't try to run the test against uninstalled libtool libs
 
11463
    if $PKG_CONFIG --uninstalled $pkg_config_args; then
 
11464
          echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
 
11465
          enable_glibtest=no
 
11466
    fi
 
11467
 
 
11468
    if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
 
11469
          :
 
11470
    else
 
11471
          no_glib=yes
 
11472
    fi
 
11473
  fi
 
11474
 
 
11475
  if test x"$no_glib" = x ; then
 
11476
    GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
 
11477
    GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0`
 
11478
    GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
 
11479
 
 
11480
    GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
 
11481
    GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
 
11482
    glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
 
11483
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
 
11484
    glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
 
11485
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
 
11486
    glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \
 
11487
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
 
11488
    if test "x$enable_glibtest" = "xyes" ; then
 
11489
      ac_save_CFLAGS="$CFLAGS"
 
11490
      ac_save_LIBS="$LIBS"
 
11491
      CFLAGS="$CFLAGS $GLIB_CFLAGS"
 
11492
      LIBS="$GLIB_LIBS $LIBS"
 
11493
      rm -f conf.glibtest
 
11494
      if test "$cross_compiling" = yes; then :
 
11495
  echo $ac_n "cross compiling; assumed OK... $ac_c"
 
11496
else
 
11497
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11498
/* end confdefs.h.  */
 
11499
 
 
11500
#include <glib.h>
 
11501
#include <stdio.h>
 
11502
#include <stdlib.h>
 
11503
 
 
11504
int
 
11505
main ()
 
11506
{
 
11507
  unsigned int major, minor, micro;
 
11508
  char *tmp_version;
 
11509
 
 
11510
  fclose (fopen ("conf.glibtest", "w"));
 
11511
 
 
11512
  /* HP/UX 9 (%@#!) writes to sscanf strings */
 
11513
  tmp_version = g_strdup("$min_glib_version");
 
11514
  if (sscanf(tmp_version, "%u.%u.%u", &major, &minor, &micro) != 3) {
 
11515
     printf("%s, bad version string\n", "$min_glib_version");
 
11516
     exit(1);
 
11517
   }
 
11518
 
 
11519
  if ((glib_major_version != $glib_config_major_version) ||
 
11520
      (glib_minor_version != $glib_config_minor_version) ||
 
11521
      (glib_micro_version != $glib_config_micro_version))
 
11522
    {
 
11523
      printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
 
11524
             $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
 
11525
             glib_major_version, glib_minor_version, glib_micro_version);
 
11526
      printf ("*** was found! If pkg-config was correct, then it is best\n");
 
11527
      printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
 
11528
      printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
 
11529
      printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
 
11530
      printf("*** required on your system.\n");
 
11531
      printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
 
11532
      printf("*** to point to the correct configuration files\n");
 
11533
    }
 
11534
  else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
 
11535
           (glib_minor_version != GLIB_MINOR_VERSION) ||
 
11536
           (glib_micro_version != GLIB_MICRO_VERSION))
 
11537
    {
 
11538
      printf("*** GLIB header files (version %d.%d.%d) do not match\n",
 
11539
             GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
 
11540
      printf("*** library (version %d.%d.%d)\n",
 
11541
             glib_major_version, glib_minor_version, glib_micro_version);
 
11542
    }
 
11543
  else
 
11544
    {
 
11545
      if ((glib_major_version > major) ||
 
11546
        ((glib_major_version == major) && (glib_minor_version > minor)) ||
 
11547
        ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
 
11548
      {
 
11549
        return 0;
 
11550
       }
 
11551
     else
 
11552
      {
 
11553
        printf("\n*** An old version of GLIB (%u.%u.%u) was found.\n",
 
11554
               glib_major_version, glib_minor_version, glib_micro_version);
 
11555
        printf("*** You need a version of GLIB newer than %u.%u.%u. The latest version of\n",
 
11556
               major, minor, micro);
 
11557
        printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
 
11558
        printf("***\n");
 
11559
        printf("*** If you have already installed a sufficiently new version, this error\n");
 
11560
        printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
 
11561
        printf("*** being found. The easiest way to fix this is to remove the old version\n");
 
11562
        printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
 
11563
        printf("*** correct copy of pkg-config. (In this case, you will have to\n");
 
11564
        printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
 
11565
        printf("*** so that the correct libraries are found at run-time))\n");
 
11566
      }
 
11567
    }
 
11568
  return 1;
 
11569
}
 
11570
 
 
11571
_ACEOF
 
11572
if ac_fn_c_try_run "$LINENO"; then :
 
11573
 
 
11574
else
 
11575
  no_glib=yes
 
11576
fi
 
11577
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
11578
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
11579
fi
 
11580
 
 
11581
       CFLAGS="$ac_save_CFLAGS"
 
11582
       LIBS="$ac_save_LIBS"
 
11583
     fi
 
11584
  fi
 
11585
  if test "x$no_glib" = x ; then
 
11586
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5
 
11587
$as_echo "yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6; }
 
11588
     :
 
11589
  else
 
11590
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11591
$as_echo "no" >&6; }
 
11592
     if test "$PKG_CONFIG" = "no" ; then
 
11593
       echo "*** A new enough version of pkg-config was not found."
 
11594
       echo "*** See http://www.freedesktop.org/software/pkgconfig/"
 
11595
     else
 
11596
       if test -f conf.glibtest ; then
 
11597
        :
 
11598
       else
 
11599
          echo "*** Could not run GLIB test program, checking why..."
 
11600
          ac_save_CFLAGS="$CFLAGS"
 
11601
          ac_save_LIBS="$LIBS"
 
11602
          CFLAGS="$CFLAGS $GLIB_CFLAGS"
 
11603
          LIBS="$LIBS $GLIB_LIBS"
 
11604
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11605
/* end confdefs.h.  */
 
11606
 
 
11607
#include <glib.h>
 
11608
#include <stdio.h>
 
11609
 
 
11610
int
 
11611
main ()
 
11612
{
 
11613
 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
 
11614
  ;
 
11615
  return 0;
 
11616
}
 
11617
_ACEOF
 
11618
if ac_fn_c_try_link "$LINENO"; then :
 
11619
   echo "*** The test program compiled, but did not run. This usually means"
 
11620
          echo "*** that the run-time linker is not finding GLIB or finding the wrong"
 
11621
          echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
 
11622
          echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
 
11623
          echo "*** to the installed location  Also, make sure you have run ldconfig if that"
 
11624
          echo "*** is required on your system"
 
11625
          echo "***"
 
11626
          echo "*** If you have an old version installed, it is best to remove it, although"
 
11627
          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
 
11628
else
 
11629
   echo "*** The test program failed to compile or link. See the file config.log for the"
 
11630
          echo "*** exact error that occured. This usually means GLIB is incorrectly installed."
 
11631
fi
 
11632
rm -f core conftest.err conftest.$ac_objext \
 
11633
    conftest$ac_exeext conftest.$ac_ext
 
11634
          CFLAGS="$ac_save_CFLAGS"
 
11635
          LIBS="$ac_save_LIBS"
 
11636
       fi
 
11637
     fi
 
11638
     GLIB_CFLAGS=""
 
11639
     GLIB_LIBS=""
 
11640
     GLIB_GENMARSHAL=""
 
11641
     GOBJECT_QUERY=""
 
11642
     GLIB_MKENUMS=""
 
11643
     :
 
11644
  fi
 
11645
 
 
11646
 
 
11647
 
 
11648
 
 
11649
 
 
11650
  rm -f conf.glibtest
 
11651
 
 
11652
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
 
11653
$as_echo_n "checking for X... " >&6; }
 
11654
 
 
11655
 
 
11656
# Check whether --with-x was given.
 
11657
if test "${with_x+set}" = set; then :
 
11658
  withval=$with_x;
 
11659
fi
 
11660
 
 
11661
# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
 
11662
if test "x$with_x" = xno; then
 
11663
  # The user explicitly disabled X.
 
11664
  have_x=disabled
 
11665
else
 
11666
  case $x_includes,$x_libraries in #(
 
11667
    *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #(
 
11668
    *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
 
11669
  $as_echo_n "(cached) " >&6
 
11670
else
 
11671
  # One or both of the vars are not set, and there is no cached value.
 
11672
ac_x_includes=no ac_x_libraries=no
 
11673
rm -f -r conftest.dir
 
11674
if mkdir conftest.dir; then
 
11675
  cd conftest.dir
 
11676
  cat >Imakefile <<'_ACEOF'
 
11677
incroot:
 
11678
        @echo incroot='${INCROOT}'
 
11679
usrlibdir:
 
11680
        @echo usrlibdir='${USRLIBDIR}'
 
11681
libdir:
 
11682
        @echo libdir='${LIBDIR}'
 
11683
_ACEOF
 
11684
  if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
 
11685
    # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 
11686
    for ac_var in incroot usrlibdir libdir; do
 
11687
      eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
 
11688
    done
 
11689
    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
 
11690
    for ac_extension in a so sl dylib la dll; do
 
11691
      if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
 
11692
         test -f "$ac_im_libdir/libX11.$ac_extension"; then
 
11693
        ac_im_usrlibdir=$ac_im_libdir; break
 
11694
      fi
 
11695
    done
 
11696
    # Screen out bogus values from the imake configuration.  They are
 
11697
    # bogus both because they are the default anyway, and because
 
11698
    # using them would break gcc on systems where it needs fixed includes.
 
11699
    case $ac_im_incroot in
 
11700
        /usr/include) ac_x_includes= ;;
 
11701
        *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
 
11702
    esac
 
11703
    case $ac_im_usrlibdir in
 
11704
        /usr/lib | /usr/lib64 | /lib | /lib64) ;;
 
11705
        *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
 
11706
    esac
 
11707
  fi
 
11708
  cd ..
 
11709
  rm -f -r conftest.dir
 
11710
fi
 
11711
 
 
11712
# Standard set of common directories for X headers.
 
11713
# Check X11 before X11Rn because it is often a symlink to the current release.
 
11714
ac_x_header_dirs='
 
11715
/usr/X11/include
 
11716
/usr/X11R7/include
 
11717
/usr/X11R6/include
 
11718
/usr/X11R5/include
 
11719
/usr/X11R4/include
 
11720
 
 
11721
/usr/include/X11
 
11722
/usr/include/X11R7
 
11723
/usr/include/X11R6
 
11724
/usr/include/X11R5
 
11725
/usr/include/X11R4
 
11726
 
 
11727
/usr/local/X11/include
 
11728
/usr/local/X11R7/include
 
11729
/usr/local/X11R6/include
 
11730
/usr/local/X11R5/include
 
11731
/usr/local/X11R4/include
 
11732
 
 
11733
/usr/local/include/X11
 
11734
/usr/local/include/X11R7
 
11735
/usr/local/include/X11R6
 
11736
/usr/local/include/X11R5
 
11737
/usr/local/include/X11R4
 
11738
 
 
11739
/usr/X386/include
 
11740
/usr/x386/include
 
11741
/usr/XFree86/include/X11
 
11742
 
 
11743
/usr/include
 
11744
/usr/local/include
 
11745
/usr/unsupported/include
 
11746
/usr/athena/include
 
11747
/usr/local/x11r5/include
 
11748
/usr/lpp/Xamples/include
 
11749
 
 
11750
/usr/openwin/include
 
11751
/usr/openwin/share/include'
 
11752
 
 
11753
if test "$ac_x_includes" = no; then
 
11754
  # Guess where to find include files, by looking for Xlib.h.
 
11755
  # First, try using that file with no special directory specified.
 
11756
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11757
/* end confdefs.h.  */
 
11758
#include <X11/Xlib.h>
 
11759
_ACEOF
 
11760
if ac_fn_c_try_cpp "$LINENO"; then :
 
11761
  # We can compile using X headers with no special include directory.
 
11762
ac_x_includes=
 
11763
else
 
11764
  for ac_dir in $ac_x_header_dirs; do
 
11765
  if test -r "$ac_dir/X11/Xlib.h"; then
 
11766
    ac_x_includes=$ac_dir
 
11767
    break
 
11768
  fi
 
11769
done
 
11770
fi
 
11771
rm -f conftest.err conftest.i conftest.$ac_ext
 
11772
fi # $ac_x_includes = no
 
11773
 
 
11774
if test "$ac_x_libraries" = no; then
 
11775
  # Check for the libraries.
 
11776
  # See if we find them without any special options.
 
11777
  # Don't add to $LIBS permanently.
 
11778
  ac_save_LIBS=$LIBS
 
11779
  LIBS="-lX11 $LIBS"
 
11780
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11781
/* end confdefs.h.  */
 
11782
#include <X11/Xlib.h>
 
11783
int
 
11784
main ()
 
11785
{
 
11786
XrmInitialize ()
 
11787
  ;
 
11788
  return 0;
 
11789
}
 
11790
_ACEOF
 
11791
if ac_fn_c_try_link "$LINENO"; then :
 
11792
  LIBS=$ac_save_LIBS
 
11793
# We can link X programs with no special library path.
 
11794
ac_x_libraries=
 
11795
else
 
11796
  LIBS=$ac_save_LIBS
 
11797
for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
 
11798
do
 
11799
  # Don't even attempt the hair of trying to link an X program!
 
11800
  for ac_extension in a so sl dylib la dll; do
 
11801
    if test -r "$ac_dir/libX11.$ac_extension"; then
 
11802
      ac_x_libraries=$ac_dir
 
11803
      break 2
 
11804
    fi
 
11805
  done
 
11806
done
 
11807
fi
 
11808
rm -f core conftest.err conftest.$ac_objext \
 
11809
    conftest$ac_exeext conftest.$ac_ext
 
11810
fi # $ac_x_libraries = no
 
11811
 
 
11812
case $ac_x_includes,$ac_x_libraries in #(
 
11813
  no,* | *,no | *\'*)
 
11814
    # Didn't find X, or a directory has "'" in its name.
 
11815
    ac_cv_have_x="have_x=no";; #(
 
11816
  *)
 
11817
    # Record where we found X for the cache.
 
11818
    ac_cv_have_x="have_x=yes\
 
11819
        ac_x_includes='$ac_x_includes'\
 
11820
        ac_x_libraries='$ac_x_libraries'"
 
11821
esac
 
11822
fi
 
11823
;; #(
 
11824
    *) have_x=yes;;
 
11825
  esac
 
11826
  eval "$ac_cv_have_x"
 
11827
fi # $with_x != no
 
11828
 
 
11829
if test "$have_x" != yes; then
 
11830
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
 
11831
$as_echo "$have_x" >&6; }
 
11832
  no_x=yes
 
11833
else
 
11834
  # If each of the values was on the command line, it overrides each guess.
 
11835
  test "x$x_includes" = xNONE && x_includes=$ac_x_includes
 
11836
  test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
 
11837
  # Update the cache value to reflect the command line values.
 
11838
  ac_cv_have_x="have_x=yes\
 
11839
        ac_x_includes='$x_includes'\
 
11840
        ac_x_libraries='$x_libraries'"
 
11841
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
 
11842
$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
 
11843
fi
 
11844
 
 
11845
if test "$no_x" = yes; then
 
11846
  # Not all programs may use this symbol, but it does not hurt to define it.
 
11847
 
 
11848
$as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
 
11849
 
 
11850
  X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
 
11851
else
 
11852
  if test -n "$x_includes"; then
 
11853
    X_CFLAGS="$X_CFLAGS -I$x_includes"
 
11854
  fi
 
11855
 
 
11856
  # It would also be nice to do this for all -L options, not just this one.
 
11857
  if test -n "$x_libraries"; then
 
11858
    X_LIBS="$X_LIBS -L$x_libraries"
 
11859
    # For Solaris; some versions of Sun CC require a space after -R and
 
11860
    # others require no space.  Words are not sufficient . . . .
 
11861
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
 
11862
$as_echo_n "checking whether -R must be followed by a space... " >&6; }
 
11863
    ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
 
11864
    ac_xsave_c_werror_flag=$ac_c_werror_flag
 
11865
    ac_c_werror_flag=yes
 
11866
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11867
/* end confdefs.h.  */
 
11868
 
 
11869
int
 
11870
main ()
 
11871
{
 
11872
 
 
11873
  ;
 
11874
  return 0;
 
11875
}
 
11876
_ACEOF
 
11877
if ac_fn_c_try_link "$LINENO"; then :
 
11878
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11879
$as_echo "no" >&6; }
 
11880
       X_LIBS="$X_LIBS -R$x_libraries"
 
11881
else
 
11882
  LIBS="$ac_xsave_LIBS -R $x_libraries"
 
11883
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11884
/* end confdefs.h.  */
 
11885
 
 
11886
int
 
11887
main ()
 
11888
{
 
11889
 
 
11890
  ;
 
11891
  return 0;
 
11892
}
 
11893
_ACEOF
 
11894
if ac_fn_c_try_link "$LINENO"; then :
 
11895
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
11896
$as_echo "yes" >&6; }
 
11897
          X_LIBS="$X_LIBS -R $x_libraries"
 
11898
else
 
11899
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
 
11900
$as_echo "neither works" >&6; }
 
11901
fi
 
11902
rm -f core conftest.err conftest.$ac_objext \
 
11903
    conftest$ac_exeext conftest.$ac_ext
 
11904
fi
 
11905
rm -f core conftest.err conftest.$ac_objext \
 
11906
    conftest$ac_exeext conftest.$ac_ext
 
11907
    ac_c_werror_flag=$ac_xsave_c_werror_flag
 
11908
    LIBS=$ac_xsave_LIBS
 
11909
  fi
 
11910
 
 
11911
  # Check for system-dependent libraries X programs must link with.
 
11912
  # Do this before checking for the system-independent R6 libraries
 
11913
  # (-lICE), since we may need -lsocket or whatever for X linking.
 
11914
 
 
11915
  if test "$ISC" = yes; then
 
11916
    X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
 
11917
  else
 
11918
    # Martyn Johnson says this is needed for Ultrix, if the X
 
11919
    # libraries were built with DECnet support.  And Karl Berry says
 
11920
    # the Alpha needs dnet_stub (dnet does not exist).
 
11921
    ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
 
11922
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11923
/* end confdefs.h.  */
 
11924
 
 
11925
/* Override any GCC internal prototype to avoid an error.
 
11926
   Use char because int might match the return type of a GCC
 
11927
   builtin and then its argument prototype would still apply.  */
 
11928
#ifdef __cplusplus
 
11929
extern "C"
 
11930
#endif
 
11931
char XOpenDisplay ();
 
11932
int
 
11933
main ()
 
11934
{
 
11935
return XOpenDisplay ();
 
11936
  ;
 
11937
  return 0;
 
11938
}
 
11939
_ACEOF
 
11940
if ac_fn_c_try_link "$LINENO"; then :
 
11941
 
 
11942
else
 
11943
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
 
11944
$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
 
11945
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
 
11946
  $as_echo_n "(cached) " >&6
 
11947
else
 
11948
  ac_check_lib_save_LIBS=$LIBS
 
11949
LIBS="-ldnet  $LIBS"
 
11950
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11951
/* end confdefs.h.  */
 
11952
 
 
11953
/* Override any GCC internal prototype to avoid an error.
 
11954
   Use char because int might match the return type of a GCC
 
11955
   builtin and then its argument prototype would still apply.  */
 
11956
#ifdef __cplusplus
 
11957
extern "C"
 
11958
#endif
 
11959
char dnet_ntoa ();
 
11960
int
 
11961
main ()
 
11962
{
 
11963
return dnet_ntoa ();
 
11964
  ;
 
11965
  return 0;
 
11966
}
 
11967
_ACEOF
 
11968
if ac_fn_c_try_link "$LINENO"; then :
 
11969
  ac_cv_lib_dnet_dnet_ntoa=yes
 
11970
else
 
11971
  ac_cv_lib_dnet_dnet_ntoa=no
 
11972
fi
 
11973
rm -f core conftest.err conftest.$ac_objext \
 
11974
    conftest$ac_exeext conftest.$ac_ext
 
11975
LIBS=$ac_check_lib_save_LIBS
 
11976
fi
 
11977
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
 
11978
$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
 
11979
if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
 
11980
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
 
11981
fi
 
11982
 
 
11983
    if test $ac_cv_lib_dnet_dnet_ntoa = no; then
 
11984
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
 
11985
$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
 
11986
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
 
11987
  $as_echo_n "(cached) " >&6
 
11988
else
 
11989
  ac_check_lib_save_LIBS=$LIBS
 
11990
LIBS="-ldnet_stub  $LIBS"
 
11991
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11992
/* end confdefs.h.  */
 
11993
 
 
11994
/* Override any GCC internal prototype to avoid an error.
 
11995
   Use char because int might match the return type of a GCC
 
11996
   builtin and then its argument prototype would still apply.  */
 
11997
#ifdef __cplusplus
 
11998
extern "C"
 
11999
#endif
 
12000
char dnet_ntoa ();
 
12001
int
 
12002
main ()
 
12003
{
 
12004
return dnet_ntoa ();
 
12005
  ;
 
12006
  return 0;
 
12007
}
 
12008
_ACEOF
 
12009
if ac_fn_c_try_link "$LINENO"; then :
 
12010
  ac_cv_lib_dnet_stub_dnet_ntoa=yes
 
12011
else
 
12012
  ac_cv_lib_dnet_stub_dnet_ntoa=no
 
12013
fi
 
12014
rm -f core conftest.err conftest.$ac_objext \
 
12015
    conftest$ac_exeext conftest.$ac_ext
 
12016
LIBS=$ac_check_lib_save_LIBS
 
12017
fi
 
12018
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
 
12019
$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
 
12020
if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
 
12021
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
 
12022
fi
 
12023
 
 
12024
    fi
 
12025
fi
 
12026
rm -f core conftest.err conftest.$ac_objext \
 
12027
    conftest$ac_exeext conftest.$ac_ext
 
12028
    LIBS="$ac_xsave_LIBS"
 
12029
 
 
12030
    # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
 
12031
    # to get the SysV transport functions.
 
12032
    # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
 
12033
    # needs -lnsl.
 
12034
    # The nsl library prevents programs from opening the X display
 
12035
    # on Irix 5.2, according to T.E. Dickey.
 
12036
    # The functions gethostbyname, getservbyname, and inet_addr are
 
12037
    # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
 
12038
    ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
 
12039
if test "x$ac_cv_func_gethostbyname" = x""yes; then :
 
12040
 
 
12041
fi
 
12042
 
 
12043
    if test $ac_cv_func_gethostbyname = no; then
 
12044
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
 
12045
$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
 
12046
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
 
12047
  $as_echo_n "(cached) " >&6
 
12048
else
 
12049
  ac_check_lib_save_LIBS=$LIBS
 
12050
LIBS="-lnsl  $LIBS"
 
12051
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12052
/* end confdefs.h.  */
 
12053
 
 
12054
/* Override any GCC internal prototype to avoid an error.
 
12055
   Use char because int might match the return type of a GCC
 
12056
   builtin and then its argument prototype would still apply.  */
 
12057
#ifdef __cplusplus
 
12058
extern "C"
 
12059
#endif
 
12060
char gethostbyname ();
 
12061
int
 
12062
main ()
 
12063
{
 
12064
return gethostbyname ();
 
12065
  ;
 
12066
  return 0;
 
12067
}
 
12068
_ACEOF
 
12069
if ac_fn_c_try_link "$LINENO"; then :
 
12070
  ac_cv_lib_nsl_gethostbyname=yes
 
12071
else
 
12072
  ac_cv_lib_nsl_gethostbyname=no
 
12073
fi
 
12074
rm -f core conftest.err conftest.$ac_objext \
 
12075
    conftest$ac_exeext conftest.$ac_ext
 
12076
LIBS=$ac_check_lib_save_LIBS
 
12077
fi
 
12078
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
 
12079
$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
 
12080
if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
 
12081
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
 
12082
fi
 
12083
 
 
12084
      if test $ac_cv_lib_nsl_gethostbyname = no; then
 
12085
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
 
12086
$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
 
12087
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
 
12088
  $as_echo_n "(cached) " >&6
 
12089
else
 
12090
  ac_check_lib_save_LIBS=$LIBS
 
12091
LIBS="-lbsd  $LIBS"
 
12092
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12093
/* end confdefs.h.  */
 
12094
 
 
12095
/* Override any GCC internal prototype to avoid an error.
 
12096
   Use char because int might match the return type of a GCC
 
12097
   builtin and then its argument prototype would still apply.  */
 
12098
#ifdef __cplusplus
 
12099
extern "C"
 
12100
#endif
 
12101
char gethostbyname ();
 
12102
int
 
12103
main ()
 
12104
{
 
12105
return gethostbyname ();
 
12106
  ;
 
12107
  return 0;
 
12108
}
 
12109
_ACEOF
 
12110
if ac_fn_c_try_link "$LINENO"; then :
 
12111
  ac_cv_lib_bsd_gethostbyname=yes
 
12112
else
 
12113
  ac_cv_lib_bsd_gethostbyname=no
 
12114
fi
 
12115
rm -f core conftest.err conftest.$ac_objext \
 
12116
    conftest$ac_exeext conftest.$ac_ext
 
12117
LIBS=$ac_check_lib_save_LIBS
 
12118
fi
 
12119
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
 
12120
$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
 
12121
if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
 
12122
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
 
12123
fi
 
12124
 
 
12125
      fi
 
12126
    fi
 
12127
 
 
12128
    # lieder@skyler.mavd.honeywell.com says without -lsocket,
 
12129
    # socket/setsockopt and other routines are undefined under SCO ODT
 
12130
    # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
 
12131
    # on later versions), says Simon Leinen: it contains gethostby*
 
12132
    # variants that don't use the name server (or something).  -lsocket
 
12133
    # must be given before -lnsl if both are needed.  We assume that
 
12134
    # if connect needs -lnsl, so does gethostbyname.
 
12135
    ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
 
12136
if test "x$ac_cv_func_connect" = x""yes; then :
 
12137
 
 
12138
fi
 
12139
 
 
12140
    if test $ac_cv_func_connect = no; then
 
12141
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
 
12142
$as_echo_n "checking for connect in -lsocket... " >&6; }
 
12143
if test "${ac_cv_lib_socket_connect+set}" = set; then :
 
12144
  $as_echo_n "(cached) " >&6
 
12145
else
 
12146
  ac_check_lib_save_LIBS=$LIBS
 
12147
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
 
12148
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12149
/* end confdefs.h.  */
 
12150
 
 
12151
/* Override any GCC internal prototype to avoid an error.
 
12152
   Use char because int might match the return type of a GCC
 
12153
   builtin and then its argument prototype would still apply.  */
 
12154
#ifdef __cplusplus
 
12155
extern "C"
 
12156
#endif
 
12157
char connect ();
 
12158
int
 
12159
main ()
 
12160
{
 
12161
return connect ();
 
12162
  ;
 
12163
  return 0;
 
12164
}
 
12165
_ACEOF
 
12166
if ac_fn_c_try_link "$LINENO"; then :
 
12167
  ac_cv_lib_socket_connect=yes
 
12168
else
 
12169
  ac_cv_lib_socket_connect=no
 
12170
fi
 
12171
rm -f core conftest.err conftest.$ac_objext \
 
12172
    conftest$ac_exeext conftest.$ac_ext
 
12173
LIBS=$ac_check_lib_save_LIBS
 
12174
fi
 
12175
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
 
12176
$as_echo "$ac_cv_lib_socket_connect" >&6; }
 
12177
if test "x$ac_cv_lib_socket_connect" = x""yes; then :
 
12178
  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
 
12179
fi
 
12180
 
 
12181
    fi
 
12182
 
 
12183
    # Guillermo Gomez says -lposix is necessary on A/UX.
 
12184
    ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
 
12185
if test "x$ac_cv_func_remove" = x""yes; then :
 
12186
 
 
12187
fi
 
12188
 
 
12189
    if test $ac_cv_func_remove = no; then
 
12190
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
 
12191
$as_echo_n "checking for remove in -lposix... " >&6; }
 
12192
if test "${ac_cv_lib_posix_remove+set}" = set; then :
 
12193
  $as_echo_n "(cached) " >&6
 
12194
else
 
12195
  ac_check_lib_save_LIBS=$LIBS
 
12196
LIBS="-lposix  $LIBS"
 
12197
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12198
/* end confdefs.h.  */
 
12199
 
 
12200
/* Override any GCC internal prototype to avoid an error.
 
12201
   Use char because int might match the return type of a GCC
 
12202
   builtin and then its argument prototype would still apply.  */
 
12203
#ifdef __cplusplus
 
12204
extern "C"
 
12205
#endif
 
12206
char remove ();
 
12207
int
 
12208
main ()
 
12209
{
 
12210
return remove ();
 
12211
  ;
 
12212
  return 0;
 
12213
}
 
12214
_ACEOF
 
12215
if ac_fn_c_try_link "$LINENO"; then :
 
12216
  ac_cv_lib_posix_remove=yes
 
12217
else
 
12218
  ac_cv_lib_posix_remove=no
 
12219
fi
 
12220
rm -f core conftest.err conftest.$ac_objext \
 
12221
    conftest$ac_exeext conftest.$ac_ext
 
12222
LIBS=$ac_check_lib_save_LIBS
 
12223
fi
 
12224
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
 
12225
$as_echo "$ac_cv_lib_posix_remove" >&6; }
 
12226
if test "x$ac_cv_lib_posix_remove" = x""yes; then :
 
12227
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
 
12228
fi
 
12229
 
 
12230
    fi
 
12231
 
 
12232
    # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
 
12233
    ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
 
12234
if test "x$ac_cv_func_shmat" = x""yes; then :
 
12235
 
 
12236
fi
 
12237
 
 
12238
    if test $ac_cv_func_shmat = no; then
 
12239
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
 
12240
$as_echo_n "checking for shmat in -lipc... " >&6; }
 
12241
if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
 
12242
  $as_echo_n "(cached) " >&6
 
12243
else
 
12244
  ac_check_lib_save_LIBS=$LIBS
 
12245
LIBS="-lipc  $LIBS"
 
12246
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12247
/* end confdefs.h.  */
 
12248
 
 
12249
/* Override any GCC internal prototype to avoid an error.
 
12250
   Use char because int might match the return type of a GCC
 
12251
   builtin and then its argument prototype would still apply.  */
 
12252
#ifdef __cplusplus
 
12253
extern "C"
 
12254
#endif
 
12255
char shmat ();
 
12256
int
 
12257
main ()
 
12258
{
 
12259
return shmat ();
 
12260
  ;
 
12261
  return 0;
 
12262
}
 
12263
_ACEOF
 
12264
if ac_fn_c_try_link "$LINENO"; then :
 
12265
  ac_cv_lib_ipc_shmat=yes
 
12266
else
 
12267
  ac_cv_lib_ipc_shmat=no
 
12268
fi
 
12269
rm -f core conftest.err conftest.$ac_objext \
 
12270
    conftest$ac_exeext conftest.$ac_ext
 
12271
LIBS=$ac_check_lib_save_LIBS
 
12272
fi
 
12273
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
 
12274
$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
 
12275
if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
 
12276
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
 
12277
fi
 
12278
 
 
12279
    fi
 
12280
  fi
 
12281
 
 
12282
  # Check for libraries that X11R6 Xt/Xaw programs need.
 
12283
  ac_save_LDFLAGS=$LDFLAGS
 
12284
  test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
 
12285
  # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
 
12286
  # check for ICE first), but we must link in the order -lSM -lICE or
 
12287
  # we get undefined symbols.  So assume we have SM if we have ICE.
 
12288
  # These have to be linked with before -lX11, unlike the other
 
12289
  # libraries we check for below, so use a different variable.
 
12290
  # John Interrante, Karl Berry
 
12291
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
 
12292
$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
 
12293
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
 
12294
  $as_echo_n "(cached) " >&6
 
12295
else
 
12296
  ac_check_lib_save_LIBS=$LIBS
 
12297
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
 
12298
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12299
/* end confdefs.h.  */
 
12300
 
 
12301
/* Override any GCC internal prototype to avoid an error.
 
12302
   Use char because int might match the return type of a GCC
 
12303
   builtin and then its argument prototype would still apply.  */
 
12304
#ifdef __cplusplus
 
12305
extern "C"
 
12306
#endif
 
12307
char IceConnectionNumber ();
 
12308
int
 
12309
main ()
 
12310
{
 
12311
return IceConnectionNumber ();
 
12312
  ;
 
12313
  return 0;
 
12314
}
 
12315
_ACEOF
 
12316
if ac_fn_c_try_link "$LINENO"; then :
 
12317
  ac_cv_lib_ICE_IceConnectionNumber=yes
 
12318
else
 
12319
  ac_cv_lib_ICE_IceConnectionNumber=no
 
12320
fi
 
12321
rm -f core conftest.err conftest.$ac_objext \
 
12322
    conftest$ac_exeext conftest.$ac_ext
 
12323
LIBS=$ac_check_lib_save_LIBS
 
12324
fi
 
12325
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
 
12326
$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
 
12327
if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
 
12328
  X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
 
12329
fi
 
12330
 
 
12331
  LDFLAGS=$ac_save_LDFLAGS
 
12332
 
 
12333
fi
 
12334
 
 
12335
 
 
12336
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
 
12337
$as_echo_n "checking whether NLS is requested... " >&6; }
 
12338
    # Check whether --enable-nls was given.
 
12339
if test "${enable_nls+set}" = set; then :
 
12340
  enableval=$enable_nls; USE_NLS=$enableval
 
12341
else
 
12342
  USE_NLS=yes
 
12343
fi
 
12344
 
 
12345
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
 
12346
$as_echo "$USE_NLS" >&6; }
 
12347
 
 
12348
 
 
12349
 
 
12350
 
 
12351
case "$am__api_version" in
 
12352
    1.01234)
 
12353
        as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
 
12354
    ;;
 
12355
    *)
 
12356
    ;;
 
12357
esac
 
12358
 
 
12359
if test -n "0.35.0"; then
 
12360
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
 
12361
$as_echo_n "checking for intltool >= 0.35.0... " >&6; }
 
12362
 
 
12363
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
 
12364
    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
 
12365
    INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
 
12366
 
 
12367
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
 
12368
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
 
12369
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
 
12370
        as_fn_error $? "Your intltool is too old.  You need intltool 0.35.0 or later." "$LINENO" 5
 
12371
fi
 
12372
 
 
12373
# Extract the first word of "intltool-update", so it can be a program name with args.
 
12374
set dummy intltool-update; ac_word=$2
 
12375
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12376
$as_echo_n "checking for $ac_word... " >&6; }
 
12377
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
 
12378
  $as_echo_n "(cached) " >&6
 
12379
else
 
12380
  case $INTLTOOL_UPDATE in
 
12381
  [\\/]* | ?:[\\/]*)
 
12382
  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
 
12383
  ;;
 
12384
  *)
 
12385
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12386
for as_dir in $PATH
 
12387
do
 
12388
  IFS=$as_save_IFS
 
12389
  test -z "$as_dir" && as_dir=.
 
12390
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12391
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12392
    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
 
12393
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12394
    break 2
 
12395
  fi
 
12396
done
 
12397
  done
 
12398
IFS=$as_save_IFS
 
12399
 
 
12400
  ;;
 
12401
esac
 
12402
fi
 
12403
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
 
12404
if test -n "$INTLTOOL_UPDATE"; then
 
12405
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
 
12406
$as_echo "$INTLTOOL_UPDATE" >&6; }
 
12407
else
 
12408
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12409
$as_echo "no" >&6; }
 
12410
fi
 
12411
 
 
12412
 
 
12413
# Extract the first word of "intltool-merge", so it can be a program name with args.
 
12414
set dummy intltool-merge; ac_word=$2
 
12415
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12416
$as_echo_n "checking for $ac_word... " >&6; }
 
12417
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
 
12418
  $as_echo_n "(cached) " >&6
 
12419
else
 
12420
  case $INTLTOOL_MERGE in
 
12421
  [\\/]* | ?:[\\/]*)
 
12422
  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
 
12423
  ;;
 
12424
  *)
 
12425
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12426
for as_dir in $PATH
 
12427
do
 
12428
  IFS=$as_save_IFS
 
12429
  test -z "$as_dir" && as_dir=.
 
12430
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12431
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12432
    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
 
12433
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12434
    break 2
 
12435
  fi
 
12436
done
 
12437
  done
 
12438
IFS=$as_save_IFS
 
12439
 
 
12440
  ;;
 
12441
esac
 
12442
fi
 
12443
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
 
12444
if test -n "$INTLTOOL_MERGE"; then
 
12445
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
 
12446
$as_echo "$INTLTOOL_MERGE" >&6; }
 
12447
else
 
12448
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12449
$as_echo "no" >&6; }
 
12450
fi
 
12451
 
 
12452
 
 
12453
# Extract the first word of "intltool-extract", so it can be a program name with args.
 
12454
set dummy intltool-extract; ac_word=$2
 
12455
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12456
$as_echo_n "checking for $ac_word... " >&6; }
 
12457
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
 
12458
  $as_echo_n "(cached) " >&6
 
12459
else
 
12460
  case $INTLTOOL_EXTRACT in
 
12461
  [\\/]* | ?:[\\/]*)
 
12462
  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
 
12463
  ;;
 
12464
  *)
 
12465
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12466
for as_dir in $PATH
 
12467
do
 
12468
  IFS=$as_save_IFS
 
12469
  test -z "$as_dir" && as_dir=.
 
12470
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12471
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12472
    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
 
12473
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12474
    break 2
 
12475
  fi
 
12476
done
 
12477
  done
 
12478
IFS=$as_save_IFS
 
12479
 
 
12480
  ;;
 
12481
esac
 
12482
fi
 
12483
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
 
12484
if test -n "$INTLTOOL_EXTRACT"; then
 
12485
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
 
12486
$as_echo "$INTLTOOL_EXTRACT" >&6; }
 
12487
else
 
12488
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12489
$as_echo "no" >&6; }
 
12490
fi
 
12491
 
 
12492
 
 
12493
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
 
12494
    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
 
12495
fi
 
12496
 
 
12497
  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 $< $@'
 
12498
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.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 $< $@'
 
12499
     INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12500
     INTLTOOL_PROP_RULE='%.prop:      %.prop.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 $< $@'
 
12501
      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
 
12502
     INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12503
   INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12504
    INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12505
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.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 $< $@'
 
12506
       INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12507
      INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12508
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
 
12509
      INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12510
      INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12511
    INTLTOOL_CAVES_RULE='%.caves:     %.caves.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 $< $@'
 
12512
  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12513
    INTLTOOL_THEME_RULE='%.theme:     %.theme.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 $< $@'
 
12514
    INTLTOOL_SERVICE_RULE='%.service: %.service.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 $< $@'
 
12515
   INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12516
 
 
12517
 
 
12518
 
 
12519
 
 
12520
 
 
12521
 
 
12522
 
 
12523
 
 
12524
 
 
12525
 
 
12526
 
 
12527
 
 
12528
 
 
12529
 
 
12530
 
 
12531
 
 
12532
 
 
12533
 
 
12534
 
 
12535
 
 
12536
 
 
12537
 
 
12538
 
 
12539
 
 
12540
 
 
12541
 
 
12542
 
 
12543
 
 
12544
 
 
12545
 
 
12546
 
 
12547
 
 
12548
 
 
12549
 
 
12550
 
 
12551
 
 
12552
 
 
12553
 
 
12554
 
 
12555
 
 
12556
 
 
12557
 
 
12558
 
 
12559
 
 
12560
 
 
12561
 
 
12562
 
 
12563
 
 
12564
 
 
12565
 
 
12566
 
 
12567
 
 
12568
 
 
12569
 
 
12570
 
 
12571
 
 
12572
 
 
12573
 
 
12574
 
 
12575
 
 
12576
 
 
12577
 
 
12578
 
 
12579
 
 
12580
 
 
12581
 
 
12582
 
 
12583
 
 
12584
 
 
12585
 
 
12586
 
 
12587
 
 
12588
 
 
12589
 
 
12590
 
 
12591
 
 
12592
 
 
12593
 
 
12594
 
 
12595
 
 
12596
 
 
12597
 
 
12598
 
 
12599
 
 
12600
 
 
12601
 
 
12602
 
 
12603
 
 
12604
 
 
12605
 
 
12606
 
 
12607
 
 
12608
 
 
12609
 
 
12610
 
 
12611
 
 
12612
 
 
12613
# Check the gettext tools to make sure they are GNU
 
12614
# Extract the first word of "xgettext", so it can be a program name with args.
 
12615
set dummy xgettext; ac_word=$2
 
12616
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12617
$as_echo_n "checking for $ac_word... " >&6; }
 
12618
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
 
12619
  $as_echo_n "(cached) " >&6
 
12620
else
 
12621
  case $XGETTEXT in
 
12622
  [\\/]* | ?:[\\/]*)
 
12623
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
 
12624
  ;;
 
12625
  *)
 
12626
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12627
for as_dir in $PATH
 
12628
do
 
12629
  IFS=$as_save_IFS
 
12630
  test -z "$as_dir" && as_dir=.
 
12631
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12632
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12633
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
 
12634
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12635
    break 2
 
12636
  fi
 
12637
done
 
12638
  done
 
12639
IFS=$as_save_IFS
 
12640
 
 
12641
  ;;
 
12642
esac
 
12643
fi
 
12644
XGETTEXT=$ac_cv_path_XGETTEXT
 
12645
if test -n "$XGETTEXT"; then
 
12646
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
 
12647
$as_echo "$XGETTEXT" >&6; }
 
12648
else
 
12649
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12650
$as_echo "no" >&6; }
 
12651
fi
 
12652
 
 
12653
 
 
12654
# Extract the first word of "msgmerge", so it can be a program name with args.
 
12655
set dummy msgmerge; ac_word=$2
 
12656
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12657
$as_echo_n "checking for $ac_word... " >&6; }
 
12658
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
 
12659
  $as_echo_n "(cached) " >&6
 
12660
else
 
12661
  case $MSGMERGE in
 
12662
  [\\/]* | ?:[\\/]*)
 
12663
  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
 
12664
  ;;
 
12665
  *)
 
12666
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12667
for as_dir in $PATH
 
12668
do
 
12669
  IFS=$as_save_IFS
 
12670
  test -z "$as_dir" && as_dir=.
 
12671
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12672
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12673
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
 
12674
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12675
    break 2
 
12676
  fi
 
12677
done
 
12678
  done
 
12679
IFS=$as_save_IFS
 
12680
 
 
12681
  ;;
 
12682
esac
 
12683
fi
 
12684
MSGMERGE=$ac_cv_path_MSGMERGE
 
12685
if test -n "$MSGMERGE"; then
 
12686
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
 
12687
$as_echo "$MSGMERGE" >&6; }
 
12688
else
 
12689
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12690
$as_echo "no" >&6; }
 
12691
fi
 
12692
 
 
12693
 
 
12694
# Extract the first word of "msgfmt", so it can be a program name with args.
 
12695
set dummy msgfmt; ac_word=$2
 
12696
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12697
$as_echo_n "checking for $ac_word... " >&6; }
 
12698
if test "${ac_cv_path_MSGFMT+set}" = set; then :
 
12699
  $as_echo_n "(cached) " >&6
 
12700
else
 
12701
  case $MSGFMT in
 
12702
  [\\/]* | ?:[\\/]*)
 
12703
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
 
12704
  ;;
 
12705
  *)
 
12706
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12707
for as_dir in $PATH
 
12708
do
 
12709
  IFS=$as_save_IFS
 
12710
  test -z "$as_dir" && as_dir=.
 
12711
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12712
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12713
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
12714
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12715
    break 2
 
12716
  fi
 
12717
done
 
12718
  done
 
12719
IFS=$as_save_IFS
 
12720
 
 
12721
  ;;
 
12722
esac
 
12723
fi
 
12724
MSGFMT=$ac_cv_path_MSGFMT
 
12725
if test -n "$MSGFMT"; then
 
12726
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
 
12727
$as_echo "$MSGFMT" >&6; }
 
12728
else
 
12729
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12730
$as_echo "no" >&6; }
 
12731
fi
 
12732
 
 
12733
 
 
12734
# Extract the first word of "gmsgfmt", so it can be a program name with args.
 
12735
set dummy gmsgfmt; ac_word=$2
 
12736
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12737
$as_echo_n "checking for $ac_word... " >&6; }
 
12738
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
 
12739
  $as_echo_n "(cached) " >&6
 
12740
else
 
12741
  case $GMSGFMT in
 
12742
  [\\/]* | ?:[\\/]*)
 
12743
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
 
12744
  ;;
 
12745
  *)
 
12746
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12747
for as_dir in $PATH
 
12748
do
 
12749
  IFS=$as_save_IFS
 
12750
  test -z "$as_dir" && as_dir=.
 
12751
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12752
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12753
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
12754
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12755
    break 2
 
12756
  fi
 
12757
done
 
12758
  done
 
12759
IFS=$as_save_IFS
 
12760
 
 
12761
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
 
12762
  ;;
 
12763
esac
 
12764
fi
 
12765
GMSGFMT=$ac_cv_path_GMSGFMT
 
12766
if test -n "$GMSGFMT"; then
 
12767
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
 
12768
$as_echo "$GMSGFMT" >&6; }
 
12769
else
 
12770
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12771
$as_echo "no" >&6; }
 
12772
fi
 
12773
 
 
12774
 
 
12775
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
 
12776
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
 
12777
fi
 
12778
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
 
12779
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
 
12780
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
 
12781
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
 
12782
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
 
12783
fi
 
12784
 
 
12785
# Extract the first word of "perl", so it can be a program name with args.
 
12786
set dummy perl; ac_word=$2
 
12787
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12788
$as_echo_n "checking for $ac_word... " >&6; }
 
12789
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
 
12790
  $as_echo_n "(cached) " >&6
 
12791
else
 
12792
  case $INTLTOOL_PERL in
 
12793
  [\\/]* | ?:[\\/]*)
 
12794
  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
 
12795
  ;;
 
12796
  *)
 
12797
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12798
for as_dir in $PATH
 
12799
do
 
12800
  IFS=$as_save_IFS
 
12801
  test -z "$as_dir" && as_dir=.
 
12802
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12803
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12804
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
 
12805
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12806
    break 2
 
12807
  fi
 
12808
done
 
12809
  done
 
12810
IFS=$as_save_IFS
 
12811
 
 
12812
  ;;
 
12813
esac
 
12814
fi
 
12815
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
 
12816
if test -n "$INTLTOOL_PERL"; then
 
12817
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
 
12818
$as_echo "$INTLTOOL_PERL" >&6; }
 
12819
else
 
12820
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12821
$as_echo "no" >&6; }
 
12822
fi
 
12823
 
 
12824
 
 
12825
if test -z "$INTLTOOL_PERL"; then
 
12826
   as_fn_error $? "perl not found" "$LINENO" 5
 
12827
fi
 
12828
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
 
12829
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
 
12830
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
 
12831
if test $? -ne 0; then
 
12832
   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
 
12833
else
 
12834
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
 
12835
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
 
12836
$as_echo "$IT_PERL_VERSION" >&6; }
 
12837
fi
 
12838
if test "x" != "xno-xml"; then
 
12839
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
 
12840
$as_echo_n "checking for XML::Parser... " >&6; }
 
12841
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
 
12842
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 
12843
$as_echo "ok" >&6; }
 
12844
   else
 
12845
       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
 
12846
   fi
 
12847
fi
 
12848
 
 
12849
# Substitute ALL_LINGUAS so we can use it in po/Makefile
 
12850
 
 
12851
 
 
12852
# Set DATADIRNAME correctly if it is not set yet
 
12853
# (copied from glib-gettext.m4)
 
12854
if test -z "$DATADIRNAME"; then
 
12855
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12856
/* end confdefs.h.  */
 
12857
 
 
12858
int
 
12859
main ()
 
12860
{
 
12861
extern int _nl_msg_cat_cntr;
 
12862
                       return _nl_msg_cat_cntr
 
12863
  ;
 
12864
  return 0;
 
12865
}
 
12866
_ACEOF
 
12867
if ac_fn_c_try_link "$LINENO"; then :
 
12868
  DATADIRNAME=share
 
12869
else
 
12870
  case $host in
 
12871
    *-*-solaris*)
 
12872
                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
12873
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
12874
  DATADIRNAME=share
 
12875
else
 
12876
  DATADIRNAME=lib
 
12877
fi
 
12878
 
 
12879
    ;;
 
12880
    *)
 
12881
    DATADIRNAME=lib
 
12882
    ;;
 
12883
    esac
 
12884
fi
 
12885
rm -f core conftest.err conftest.$ac_objext \
 
12886
    conftest$ac_exeext conftest.$ac_ext
 
12887
fi
 
12888
 
 
12889
 
 
12890
 
 
12891
 
 
12892
 
 
12893
 
 
12894
# -----------------------------------------------------------
 
12895
 
11882
12896
 
11883
12897
pkg_failed=no
11884
12898
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSH_CONTACT" >&5
11885
12899
$as_echo_n "checking for SSH_CONTACT... " >&6; }
11886
12900
 
11887
 
if test -n "$PKG_CONFIG"; then
11888
 
    if test -n "$SSH_CONTACT_CFLAGS"; then
11889
 
        pkg_cv_SSH_CONTACT_CFLAGS="$SSH_CONTACT_CFLAGS"
11890
 
    else
11891
 
        if test -n "$PKG_CONFIG" && \
 
12901
if test -n "$SSH_CONTACT_CFLAGS"; then
 
12902
    pkg_cv_SSH_CONTACT_CFLAGS="$SSH_CONTACT_CFLAGS"
 
12903
 elif test -n "$PKG_CONFIG"; then
 
12904
    if test -n "$PKG_CONFIG" && \
11892
12905
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
11893
 
  telepathy-glib >= 0.11.9
11894
 
  glib-2.0 >= 2.24
 
12906
  telepathy-glib >= 0.13.9
 
12907
  glib-2.0 >= 2.28
11895
12908
  gio-2.0
11896
 
  gio-unix-2.0
11897
12909
\""; } >&5
11898
12910
  ($PKG_CONFIG --exists --print-errors "
11899
 
  telepathy-glib >= 0.11.9
11900
 
  glib-2.0 >= 2.24
 
12911
  telepathy-glib >= 0.13.9
 
12912
  glib-2.0 >= 2.28
11901
12913
  gio-2.0
11902
 
  gio-unix-2.0
11903
12914
") 2>&5
11904
12915
  ac_status=$?
11905
12916
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11906
12917
  test $ac_status = 0; }; then
11907
12918
  pkg_cv_SSH_CONTACT_CFLAGS=`$PKG_CONFIG --cflags "
11908
 
  telepathy-glib >= 0.11.9
11909
 
  glib-2.0 >= 2.24
 
12919
  telepathy-glib >= 0.13.9
 
12920
  glib-2.0 >= 2.28
11910
12921
  gio-2.0
11911
 
  gio-unix-2.0
11912
12922
" 2>/dev/null`
11913
12923
else
11914
12924
  pkg_failed=yes
11915
12925
fi
11916
 
    fi
11917
 
else
11918
 
        pkg_failed=untried
 
12926
 else
 
12927
    pkg_failed=untried
11919
12928
fi
11920
 
if test -n "$PKG_CONFIG"; then
11921
 
    if test -n "$SSH_CONTACT_LIBS"; then
11922
 
        pkg_cv_SSH_CONTACT_LIBS="$SSH_CONTACT_LIBS"
11923
 
    else
11924
 
        if test -n "$PKG_CONFIG" && \
 
12929
if test -n "$SSH_CONTACT_LIBS"; then
 
12930
    pkg_cv_SSH_CONTACT_LIBS="$SSH_CONTACT_LIBS"
 
12931
 elif test -n "$PKG_CONFIG"; then
 
12932
    if test -n "$PKG_CONFIG" && \
11925
12933
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
11926
 
  telepathy-glib >= 0.11.9
11927
 
  glib-2.0 >= 2.24
 
12934
  telepathy-glib >= 0.13.9
 
12935
  glib-2.0 >= 2.28
11928
12936
  gio-2.0
11929
 
  gio-unix-2.0
11930
12937
\""; } >&5
11931
12938
  ($PKG_CONFIG --exists --print-errors "
11932
 
  telepathy-glib >= 0.11.9
11933
 
  glib-2.0 >= 2.24
 
12939
  telepathy-glib >= 0.13.9
 
12940
  glib-2.0 >= 2.28
11934
12941
  gio-2.0
11935
 
  gio-unix-2.0
11936
12942
") 2>&5
11937
12943
  ac_status=$?
11938
12944
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11939
12945
  test $ac_status = 0; }; then
11940
12946
  pkg_cv_SSH_CONTACT_LIBS=`$PKG_CONFIG --libs "
11941
 
  telepathy-glib >= 0.11.9
11942
 
  glib-2.0 >= 2.24
 
12947
  telepathy-glib >= 0.13.9
 
12948
  glib-2.0 >= 2.28
11943
12949
  gio-2.0
11944
 
  gio-unix-2.0
11945
12950
" 2>/dev/null`
11946
12951
else
11947
12952
  pkg_failed=yes
11948
12953
fi
11949
 
    fi
11950
 
else
11951
 
        pkg_failed=untried
 
12954
 else
 
12955
    pkg_failed=untried
11952
12956
fi
11953
12957
 
11954
12958
 
11955
12959
 
11956
12960
if test $pkg_failed = yes; then
 
12961
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12962
$as_echo "no" >&6; }
11957
12963
 
11958
12964
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11959
12965
        _pkg_short_errors_supported=yes
11961
12967
        _pkg_short_errors_supported=no
11962
12968
fi
11963
12969
        if test $_pkg_short_errors_supported = yes; then
11964
 
                SSH_CONTACT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "
11965
 
  telepathy-glib >= 0.11.9
11966
 
  glib-2.0 >= 2.24
 
12970
                SSH_CONTACT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
 
12971
  telepathy-glib >= 0.13.9
 
12972
  glib-2.0 >= 2.28
11967
12973
  gio-2.0
11968
 
  gio-unix-2.0
11969
 
"`
 
12974
" 2>&1`
11970
12975
        else
11971
 
                SSH_CONTACT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "
11972
 
  telepathy-glib >= 0.11.9
11973
 
  glib-2.0 >= 2.24
 
12976
                SSH_CONTACT_PKG_ERRORS=`$PKG_CONFIG --print-errors "
 
12977
  telepathy-glib >= 0.13.9
 
12978
  glib-2.0 >= 2.28
11974
12979
  gio-2.0
11975
 
  gio-unix-2.0
11976
 
"`
 
12980
" 2>&1`
11977
12981
        fi
11978
12982
        # Put the nasty error message in config.log where it belongs
11979
12983
        echo "$SSH_CONTACT_PKG_ERRORS" >&5
11980
12984
 
11981
 
        as_fn_error "Package requirements (
11982
 
  telepathy-glib >= 0.11.9
11983
 
  glib-2.0 >= 2.24
 
12985
        as_fn_error $? "Package requirements (
 
12986
  telepathy-glib >= 0.13.9
 
12987
  glib-2.0 >= 2.28
11984
12988
  gio-2.0
11985
 
  gio-unix-2.0
11986
12989
) were not met:
11987
12990
 
11988
12991
$SSH_CONTACT_PKG_ERRORS
11992
12995
 
11993
12996
Alternatively, you may set the environment variables SSH_CONTACT_CFLAGS
11994
12997
and SSH_CONTACT_LIBS to avoid the need to call pkg-config.
11995
 
See the pkg-config man page for more details.
11996
 
" "$LINENO" 5
 
12998
See the pkg-config man page for more details." "$LINENO" 5
11997
12999
elif test $pkg_failed = untried; then
 
13000
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13001
$as_echo "no" >&6; }
11998
13002
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11999
13003
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12000
 
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
13004
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12001
13005
is in your PATH or set the PKG_CONFIG environment variable to the full
12002
13006
path to pkg-config.
12003
13007
 
12006
13010
See the pkg-config man page for more details.
12007
13011
 
12008
13012
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12009
 
See \`config.log' for more details." "$LINENO" 5; }
 
13013
See \`config.log' for more details" "$LINENO" 5 ; }
12010
13014
else
12011
13015
        SSH_CONTACT_CFLAGS=$pkg_cv_SSH_CONTACT_CFLAGS
12012
13016
        SSH_CONTACT_LIBS=$pkg_cv_SSH_CONTACT_LIBS
12013
13017
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12014
13018
$as_echo "yes" >&6; }
12015
 
        :
12016
 
fi
12017
 
 
12018
 
ac_config_files="$ac_config_files Makefile src/Makefile"
 
13019
 
 
13020
fi
 
13021
 
 
13022
# -----------------------------------------------------------
 
13023
# Error flags
 
13024
# -----------------------------------------------------------
 
13025
 
 
13026
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wall" >&5
 
13027
$as_echo_n "checking to see if compiler understands -Wall... " >&6; }
 
13028
 
 
13029
  save_CFLAGS="$CFLAGS"
 
13030
  CFLAGS="$CFLAGS -Wall"
 
13031
 
 
13032
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13033
/* end confdefs.h.  */
 
13034
 
 
13035
int
 
13036
main ()
 
13037
{
 
13038
 
 
13039
  ;
 
13040
  return 0;
 
13041
}
 
13042
_ACEOF
 
13043
if ac_fn_c_try_compile "$LINENO"; then :
 
13044
  flag_ok=yes
 
13045
else
 
13046
  flag_ok=no
 
13047
fi
 
13048
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
13049
  CFLAGS="$save_CFLAGS"
 
13050
 
 
13051
  if test "X$flag_ok" = Xyes ; then
 
13052
    ERROR_CFLAGS="-Wall"
 
13053
    true
 
13054
  else
 
13055
    ERROR_CFLAGS=""
 
13056
    true
 
13057
  fi
 
13058
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
 
13059
$as_echo "$flag_ok" >&6; }
 
13060
 
 
13061
 
 
13062
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Werror" >&5
 
13063
$as_echo_n "checking to see if compiler understands -Werror... " >&6; }
 
13064
 
 
13065
  save_CFLAGS="$CFLAGS"
 
13066
  CFLAGS="$CFLAGS -Werror"
 
13067
 
 
13068
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13069
/* end confdefs.h.  */
 
13070
 
 
13071
int
 
13072
main ()
 
13073
{
 
13074
 
 
13075
  ;
 
13076
  return 0;
 
13077
}
 
13078
_ACEOF
 
13079
if ac_fn_c_try_compile "$LINENO"; then :
 
13080
  flag_ok=yes
 
13081
else
 
13082
  flag_ok=no
 
13083
fi
 
13084
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
13085
  CFLAGS="$save_CFLAGS"
 
13086
 
 
13087
  if test "X$flag_ok" = Xyes ; then
 
13088
    werror=yes
 
13089
    true
 
13090
  else
 
13091
    werror=no
 
13092
    true
 
13093
  fi
 
13094
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
 
13095
$as_echo "$flag_ok" >&6; }
 
13096
 
 
13097
 
 
13098
# Check whether --enable-Werror was given.
 
13099
if test "${enable_Werror+set}" = set; then :
 
13100
  enableval=$enable_Werror; werror=$enableval
 
13101
else
 
13102
  :
 
13103
fi
 
13104
 
 
13105
 
 
13106
 
 
13107
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wextra" >&5
 
13108
$as_echo_n "checking to see if compiler understands -Wextra... " >&6; }
 
13109
 
 
13110
  save_CFLAGS="$CFLAGS"
 
13111
  CFLAGS="$CFLAGS -Wextra"
 
13112
 
 
13113
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13114
/* end confdefs.h.  */
 
13115
 
 
13116
int
 
13117
main ()
 
13118
{
 
13119
 
 
13120
  ;
 
13121
  return 0;
 
13122
}
 
13123
_ACEOF
 
13124
if ac_fn_c_try_compile "$LINENO"; then :
 
13125
  flag_ok=yes
 
13126
else
 
13127
  flag_ok=no
 
13128
fi
 
13129
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
13130
  CFLAGS="$save_CFLAGS"
 
13131
 
 
13132
  if test "X$flag_ok" = Xyes ; then
 
13133
    wextra=yes
 
13134
    true
 
13135
  else
 
13136
    wextra=no
 
13137
    true
 
13138
  fi
 
13139
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
 
13140
$as_echo "$flag_ok" >&6; }
 
13141
 
 
13142
 
 
13143
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wno-missing-field-initializers" >&5
 
13144
$as_echo_n "checking to see if compiler understands -Wno-missing-field-initializers... " >&6; }
 
13145
 
 
13146
  save_CFLAGS="$CFLAGS"
 
13147
  CFLAGS="$CFLAGS -Wno-missing-field-initializers"
 
13148
 
 
13149
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13150
/* end confdefs.h.  */
 
13151
 
 
13152
int
 
13153
main ()
 
13154
{
 
13155
 
 
13156
  ;
 
13157
  return 0;
 
13158
}
 
13159
_ACEOF
 
13160
if ac_fn_c_try_compile "$LINENO"; then :
 
13161
  flag_ok=yes
 
13162
else
 
13163
  flag_ok=no
 
13164
fi
 
13165
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
13166
  CFLAGS="$save_CFLAGS"
 
13167
 
 
13168
  if test "X$flag_ok" = Xyes ; then
 
13169
    wno_missing_field_initializers=yes
 
13170
    true
 
13171
  else
 
13172
    wno_missing_field_initializers=no
 
13173
    true
 
13174
  fi
 
13175
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
 
13176
$as_echo "$flag_ok" >&6; }
 
13177
 
 
13178
 
 
13179
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wno-unused-parameter" >&5
 
13180
$as_echo_n "checking to see if compiler understands -Wno-unused-parameter... " >&6; }
 
13181
 
 
13182
  save_CFLAGS="$CFLAGS"
 
13183
  CFLAGS="$CFLAGS -Wno-unused-parameter"
 
13184
 
 
13185
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13186
/* end confdefs.h.  */
 
13187
 
 
13188
int
 
13189
main ()
 
13190
{
 
13191
 
 
13192
  ;
 
13193
  return 0;
 
13194
}
 
13195
_ACEOF
 
13196
if ac_fn_c_try_compile "$LINENO"; then :
 
13197
  flag_ok=yes
 
13198
else
 
13199
  flag_ok=no
 
13200
fi
 
13201
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
13202
  CFLAGS="$save_CFLAGS"
 
13203
 
 
13204
  if test "X$flag_ok" = Xyes ; then
 
13205
    wno_unused_parameter=yes
 
13206
    true
 
13207
  else
 
13208
    wno_unused_parameter=no
 
13209
    true
 
13210
  fi
 
13211
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
 
13212
$as_echo "$flag_ok" >&6; }
 
13213
 
 
13214
 
 
13215
 
 
13216
 
 
13217
 
 
13218
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wdeclaration-after-statement" >&5
 
13219
$as_echo_n "checking to see if compiler understands -Wdeclaration-after-statement... " >&6; }
 
13220
 
 
13221
  save_CFLAGS="$CFLAGS"
 
13222
  CFLAGS="$CFLAGS -Wdeclaration-after-statement"
 
13223
 
 
13224
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13225
/* end confdefs.h.  */
 
13226
 
 
13227
int
 
13228
main ()
 
13229
{
 
13230
 
 
13231
  ;
 
13232
  return 0;
 
13233
}
 
13234
_ACEOF
 
13235
if ac_fn_c_try_compile "$LINENO"; then :
 
13236
  flag_ok=yes
 
13237
else
 
13238
  flag_ok=no
 
13239
fi
 
13240
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
13241
  CFLAGS="$save_CFLAGS"
 
13242
 
 
13243
  if test "X$flag_ok" = Xyes ; then
 
13244
    ERROR_CFLAGS="$ERROR_CFLAGS -Wdeclaration-after-statement"
 
13245
    true
 
13246
  else
 
13247
 
 
13248
    true
 
13249
  fi
 
13250
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
 
13251
$as_echo "$flag_ok" >&6; }
 
13252
 
 
13253
 
 
13254
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wshadow" >&5
 
13255
$as_echo_n "checking to see if compiler understands -Wshadow... " >&6; }
 
13256
 
 
13257
  save_CFLAGS="$CFLAGS"
 
13258
  CFLAGS="$CFLAGS -Wshadow"
 
13259
 
 
13260
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13261
/* end confdefs.h.  */
 
13262
 
 
13263
int
 
13264
main ()
 
13265
{
 
13266
 
 
13267
  ;
 
13268
  return 0;
 
13269
}
 
13270
_ACEOF
 
13271
if ac_fn_c_try_compile "$LINENO"; then :
 
13272
  flag_ok=yes
 
13273
else
 
13274
  flag_ok=no
 
13275
fi
 
13276
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
13277
  CFLAGS="$save_CFLAGS"
 
13278
 
 
13279
  if test "X$flag_ok" = Xyes ; then
 
13280
    ERROR_CFLAGS="$ERROR_CFLAGS -Wshadow"
 
13281
    true
 
13282
  else
 
13283
 
 
13284
    true
 
13285
  fi
 
13286
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
 
13287
$as_echo "$flag_ok" >&6; }
 
13288
 
 
13289
 
 
13290
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wmissing-prototypes" >&5
 
13291
$as_echo_n "checking to see if compiler understands -Wmissing-prototypes... " >&6; }
 
13292
 
 
13293
  save_CFLAGS="$CFLAGS"
 
13294
  CFLAGS="$CFLAGS -Wmissing-prototypes"
 
13295
 
 
13296
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13297
/* end confdefs.h.  */
 
13298
 
 
13299
int
 
13300
main ()
 
13301
{
 
13302
 
 
13303
  ;
 
13304
  return 0;
 
13305
}
 
13306
_ACEOF
 
13307
if ac_fn_c_try_compile "$LINENO"; then :
 
13308
  flag_ok=yes
 
13309
else
 
13310
  flag_ok=no
 
13311
fi
 
13312
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
13313
  CFLAGS="$save_CFLAGS"
 
13314
 
 
13315
  if test "X$flag_ok" = Xyes ; then
 
13316
    ERROR_CFLAGS="$ERROR_CFLAGS -Wmissing-prototypes"
 
13317
    true
 
13318
  else
 
13319
 
 
13320
    true
 
13321
  fi
 
13322
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
 
13323
$as_echo "$flag_ok" >&6; }
 
13324
 
 
13325
 
 
13326
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wmissing-declarations" >&5
 
13327
$as_echo_n "checking to see if compiler understands -Wmissing-declarations... " >&6; }
 
13328
 
 
13329
  save_CFLAGS="$CFLAGS"
 
13330
  CFLAGS="$CFLAGS -Wmissing-declarations"
 
13331
 
 
13332
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13333
/* end confdefs.h.  */
 
13334
 
 
13335
int
 
13336
main ()
 
13337
{
 
13338
 
 
13339
  ;
 
13340
  return 0;
 
13341
}
 
13342
_ACEOF
 
13343
if ac_fn_c_try_compile "$LINENO"; then :
 
13344
  flag_ok=yes
 
13345
else
 
13346
  flag_ok=no
 
13347
fi
 
13348
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
13349
  CFLAGS="$save_CFLAGS"
 
13350
 
 
13351
  if test "X$flag_ok" = Xyes ; then
 
13352
    ERROR_CFLAGS="$ERROR_CFLAGS -Wmissing-declarations"
 
13353
    true
 
13354
  else
 
13355
 
 
13356
    true
 
13357
  fi
 
13358
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
 
13359
$as_echo "$flag_ok" >&6; }
 
13360
 
 
13361
# Disabled because some GTK+ headers (like gtkitemfactory.h) are bugged :(
 
13362
#AS_COMPILER_FLAG(-Wstrict-prototypes, ERROR_CFLAGS="$ERROR_CFLAGS -Wstrict-prototypes")
 
13363
 
 
13364
 
 
13365
 
 
13366
# -----------------------------------------------------------
 
13367
# Language Support
 
13368
# -----------------------------------------------------------
 
13369
 
 
13370
GETTEXT_PACKAGE=ssh-contact
 
13371
 
 
13372
 
 
13373
cat >>confdefs.h <<_ACEOF
 
13374
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
 
13375
_ACEOF
 
13376
 
 
13377
 
 
13378
 
 
13379
   for ac_header in locale.h
 
13380
do :
 
13381
  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
 
13382
if test "x$ac_cv_header_locale_h" = x""yes; then :
 
13383
  cat >>confdefs.h <<_ACEOF
 
13384
#define HAVE_LOCALE_H 1
 
13385
_ACEOF
 
13386
 
 
13387
fi
 
13388
 
 
13389
done
 
13390
 
 
13391
    if test $ac_cv_header_locale_h = yes; then
 
13392
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
 
13393
$as_echo_n "checking for LC_MESSAGES... " >&6; }
 
13394
if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
 
13395
  $as_echo_n "(cached) " >&6
 
13396
else
 
13397
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13398
/* end confdefs.h.  */
 
13399
#include <locale.h>
 
13400
int
 
13401
main ()
 
13402
{
 
13403
return LC_MESSAGES
 
13404
  ;
 
13405
  return 0;
 
13406
}
 
13407
_ACEOF
 
13408
if ac_fn_c_try_link "$LINENO"; then :
 
13409
  am_cv_val_LC_MESSAGES=yes
 
13410
else
 
13411
  am_cv_val_LC_MESSAGES=no
 
13412
fi
 
13413
rm -f core conftest.err conftest.$ac_objext \
 
13414
    conftest$ac_exeext conftest.$ac_ext
 
13415
fi
 
13416
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
 
13417
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
 
13418
    if test $am_cv_val_LC_MESSAGES = yes; then
 
13419
 
 
13420
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
 
13421
 
 
13422
    fi
 
13423
  fi
 
13424
     USE_NLS=yes
 
13425
 
 
13426
 
 
13427
    gt_cv_have_gettext=no
 
13428
 
 
13429
    CATOBJEXT=NONE
 
13430
    XGETTEXT=:
 
13431
    INTLLIBS=
 
13432
 
 
13433
    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
 
13434
if test "x$ac_cv_header_libintl_h" = x""yes; then :
 
13435
  gt_cv_func_dgettext_libintl="no"
 
13436
      libintl_extra_libs=""
 
13437
 
 
13438
      #
 
13439
      # First check in libc
 
13440
      #
 
13441
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
 
13442
$as_echo_n "checking for ngettext in libc... " >&6; }
 
13443
if test "${gt_cv_func_ngettext_libc+set}" = set; then :
 
13444
  $as_echo_n "(cached) " >&6
 
13445
else
 
13446
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13447
/* end confdefs.h.  */
 
13448
 
 
13449
#include <libintl.h>
 
13450
 
 
13451
int
 
13452
main ()
 
13453
{
 
13454
return !ngettext ("","", 1)
 
13455
  ;
 
13456
  return 0;
 
13457
}
 
13458
_ACEOF
 
13459
if ac_fn_c_try_link "$LINENO"; then :
 
13460
  gt_cv_func_ngettext_libc=yes
 
13461
else
 
13462
  gt_cv_func_ngettext_libc=no
 
13463
fi
 
13464
rm -f core conftest.err conftest.$ac_objext \
 
13465
    conftest$ac_exeext conftest.$ac_ext
 
13466
 
 
13467
fi
 
13468
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
 
13469
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
 
13470
 
 
13471
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
 
13472
              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
 
13473
$as_echo_n "checking for dgettext in libc... " >&6; }
 
13474
if test "${gt_cv_func_dgettext_libc+set}" = set; then :
 
13475
  $as_echo_n "(cached) " >&6
 
13476
else
 
13477
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13478
/* end confdefs.h.  */
 
13479
 
 
13480
#include <libintl.h>
 
13481
 
 
13482
int
 
13483
main ()
 
13484
{
 
13485
return !dgettext ("","")
 
13486
  ;
 
13487
  return 0;
 
13488
}
 
13489
_ACEOF
 
13490
if ac_fn_c_try_link "$LINENO"; then :
 
13491
  gt_cv_func_dgettext_libc=yes
 
13492
else
 
13493
  gt_cv_func_dgettext_libc=no
 
13494
fi
 
13495
rm -f core conftest.err conftest.$ac_objext \
 
13496
    conftest$ac_exeext conftest.$ac_ext
 
13497
 
 
13498
fi
 
13499
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
 
13500
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
 
13501
      fi
 
13502
 
 
13503
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
 
13504
        for ac_func in bind_textdomain_codeset
 
13505
do :
 
13506
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
13507
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
13508
  cat >>confdefs.h <<_ACEOF
 
13509
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
 
13510
_ACEOF
 
13511
 
 
13512
fi
 
13513
done
 
13514
 
 
13515
      fi
 
13516
 
 
13517
      #
 
13518
      # If we don't have everything we want, check in libintl
 
13519
      #
 
13520
      if test "$gt_cv_func_dgettext_libc" != "yes" \
 
13521
         || test "$gt_cv_func_ngettext_libc" != "yes" \
 
13522
         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
 
13523
 
 
13524
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
 
13525
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
 
13526
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
 
13527
  $as_echo_n "(cached) " >&6
 
13528
else
 
13529
  ac_check_lib_save_LIBS=$LIBS
 
13530
LIBS="-lintl  $LIBS"
 
13531
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13532
/* end confdefs.h.  */
 
13533
 
 
13534
/* Override any GCC internal prototype to avoid an error.
 
13535
   Use char because int might match the return type of a GCC
 
13536
   builtin and then its argument prototype would still apply.  */
 
13537
#ifdef __cplusplus
 
13538
extern "C"
 
13539
#endif
 
13540
char bindtextdomain ();
 
13541
int
 
13542
main ()
 
13543
{
 
13544
return bindtextdomain ();
 
13545
  ;
 
13546
  return 0;
 
13547
}
 
13548
_ACEOF
 
13549
if ac_fn_c_try_link "$LINENO"; then :
 
13550
  ac_cv_lib_intl_bindtextdomain=yes
 
13551
else
 
13552
  ac_cv_lib_intl_bindtextdomain=no
 
13553
fi
 
13554
rm -f core conftest.err conftest.$ac_objext \
 
13555
    conftest$ac_exeext conftest.$ac_ext
 
13556
LIBS=$ac_check_lib_save_LIBS
 
13557
fi
 
13558
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
 
13559
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
 
13560
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then :
 
13561
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
 
13562
$as_echo_n "checking for ngettext in -lintl... " >&6; }
 
13563
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
 
13564
  $as_echo_n "(cached) " >&6
 
13565
else
 
13566
  ac_check_lib_save_LIBS=$LIBS
 
13567
LIBS="-lintl  $LIBS"
 
13568
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13569
/* end confdefs.h.  */
 
13570
 
 
13571
/* Override any GCC internal prototype to avoid an error.
 
13572
   Use char because int might match the return type of a GCC
 
13573
   builtin and then its argument prototype would still apply.  */
 
13574
#ifdef __cplusplus
 
13575
extern "C"
 
13576
#endif
 
13577
char ngettext ();
 
13578
int
 
13579
main ()
 
13580
{
 
13581
return ngettext ();
 
13582
  ;
 
13583
  return 0;
 
13584
}
 
13585
_ACEOF
 
13586
if ac_fn_c_try_link "$LINENO"; then :
 
13587
  ac_cv_lib_intl_ngettext=yes
 
13588
else
 
13589
  ac_cv_lib_intl_ngettext=no
 
13590
fi
 
13591
rm -f core conftest.err conftest.$ac_objext \
 
13592
    conftest$ac_exeext conftest.$ac_ext
 
13593
LIBS=$ac_check_lib_save_LIBS
 
13594
fi
 
13595
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
 
13596
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
 
13597
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
 
13598
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
 
13599
$as_echo_n "checking for dgettext in -lintl... " >&6; }
 
13600
if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
 
13601
  $as_echo_n "(cached) " >&6
 
13602
else
 
13603
  ac_check_lib_save_LIBS=$LIBS
 
13604
LIBS="-lintl  $LIBS"
 
13605
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13606
/* end confdefs.h.  */
 
13607
 
 
13608
/* Override any GCC internal prototype to avoid an error.
 
13609
   Use char because int might match the return type of a GCC
 
13610
   builtin and then its argument prototype would still apply.  */
 
13611
#ifdef __cplusplus
 
13612
extern "C"
 
13613
#endif
 
13614
char dgettext ();
 
13615
int
 
13616
main ()
 
13617
{
 
13618
return dgettext ();
 
13619
  ;
 
13620
  return 0;
 
13621
}
 
13622
_ACEOF
 
13623
if ac_fn_c_try_link "$LINENO"; then :
 
13624
  ac_cv_lib_intl_dgettext=yes
 
13625
else
 
13626
  ac_cv_lib_intl_dgettext=no
 
13627
fi
 
13628
rm -f core conftest.err conftest.$ac_objext \
 
13629
    conftest$ac_exeext conftest.$ac_ext
 
13630
LIBS=$ac_check_lib_save_LIBS
 
13631
fi
 
13632
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
 
13633
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
 
13634
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then :
 
13635
  gt_cv_func_dgettext_libintl=yes
 
13636
fi
 
13637
 
 
13638
fi
 
13639
 
 
13640
fi
 
13641
 
 
13642
 
 
13643
        if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
 
13644
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
 
13645
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
 
13646
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
 
13647
$as_echo "" >&6; }
 
13648
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
 
13649
$as_echo_n "checking for ngettext in -lintl... " >&6; }
 
13650
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
 
13651
  $as_echo_n "(cached) " >&6
 
13652
else
 
13653
  ac_check_lib_save_LIBS=$LIBS
 
13654
LIBS="-lintl -liconv $LIBS"
 
13655
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13656
/* end confdefs.h.  */
 
13657
 
 
13658
/* Override any GCC internal prototype to avoid an error.
 
13659
   Use char because int might match the return type of a GCC
 
13660
   builtin and then its argument prototype would still apply.  */
 
13661
#ifdef __cplusplus
 
13662
extern "C"
 
13663
#endif
 
13664
char ngettext ();
 
13665
int
 
13666
main ()
 
13667
{
 
13668
return ngettext ();
 
13669
  ;
 
13670
  return 0;
 
13671
}
 
13672
_ACEOF
 
13673
if ac_fn_c_try_link "$LINENO"; then :
 
13674
  ac_cv_lib_intl_ngettext=yes
 
13675
else
 
13676
  ac_cv_lib_intl_ngettext=no
 
13677
fi
 
13678
rm -f core conftest.err conftest.$ac_objext \
 
13679
    conftest$ac_exeext conftest.$ac_ext
 
13680
LIBS=$ac_check_lib_save_LIBS
 
13681
fi
 
13682
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
 
13683
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
 
13684
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
 
13685
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
 
13686
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
 
13687
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
 
13688
  $as_echo_n "(cached) " >&6
 
13689
else
 
13690
  ac_check_lib_save_LIBS=$LIBS
 
13691
LIBS="-lintl -liconv $LIBS"
 
13692
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13693
/* end confdefs.h.  */
 
13694
 
 
13695
/* Override any GCC internal prototype to avoid an error.
 
13696
   Use char because int might match the return type of a GCC
 
13697
   builtin and then its argument prototype would still apply.  */
 
13698
#ifdef __cplusplus
 
13699
extern "C"
 
13700
#endif
 
13701
char dcgettext ();
 
13702
int
 
13703
main ()
 
13704
{
 
13705
return dcgettext ();
 
13706
  ;
 
13707
  return 0;
 
13708
}
 
13709
_ACEOF
 
13710
if ac_fn_c_try_link "$LINENO"; then :
 
13711
  ac_cv_lib_intl_dcgettext=yes
 
13712
else
 
13713
  ac_cv_lib_intl_dcgettext=no
 
13714
fi
 
13715
rm -f core conftest.err conftest.$ac_objext \
 
13716
    conftest$ac_exeext conftest.$ac_ext
 
13717
LIBS=$ac_check_lib_save_LIBS
 
13718
fi
 
13719
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
 
13720
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
 
13721
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then :
 
13722
  gt_cv_func_dgettext_libintl=yes
 
13723
                        libintl_extra_libs=-liconv
 
13724
else
 
13725
  :
 
13726
fi
 
13727
 
 
13728
else
 
13729
  :
 
13730
fi
 
13731
 
 
13732
        fi
 
13733
 
 
13734
        #
 
13735
        # If we found libintl, then check in it for bind_textdomain_codeset();
 
13736
        # we'll prefer libc if neither have bind_textdomain_codeset(),
 
13737
        # and both have dgettext and ngettext
 
13738
        #
 
13739
        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
 
13740
          glib_save_LIBS="$LIBS"
 
13741
          LIBS="$LIBS -lintl $libintl_extra_libs"
 
13742
          unset ac_cv_func_bind_textdomain_codeset
 
13743
          for ac_func in bind_textdomain_codeset
 
13744
do :
 
13745
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
13746
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
13747
  cat >>confdefs.h <<_ACEOF
 
13748
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
 
13749
_ACEOF
 
13750
 
 
13751
fi
 
13752
done
 
13753
 
 
13754
          LIBS="$glib_save_LIBS"
 
13755
 
 
13756
          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
 
13757
            gt_cv_func_dgettext_libc=no
 
13758
          else
 
13759
            if test "$gt_cv_func_dgettext_libc" = "yes" \
 
13760
                && test "$gt_cv_func_ngettext_libc" = "yes"; then
 
13761
              gt_cv_func_dgettext_libintl=no
 
13762
            fi
 
13763
          fi
 
13764
        fi
 
13765
      fi
 
13766
 
 
13767
      if test "$gt_cv_func_dgettext_libc" = "yes" \
 
13768
        || test "$gt_cv_func_dgettext_libintl" = "yes"; then
 
13769
        gt_cv_have_gettext=yes
 
13770
      fi
 
13771
 
 
13772
      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
 
13773
        INTLLIBS="-lintl $libintl_extra_libs"
 
13774
      fi
 
13775
 
 
13776
      if test "$gt_cv_have_gettext" = "yes"; then
 
13777
 
 
13778
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
 
13779
 
 
13780
        # Extract the first word of "msgfmt", so it can be a program name with args.
 
13781
set dummy msgfmt; ac_word=$2
 
13782
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
13783
$as_echo_n "checking for $ac_word... " >&6; }
 
13784
if test "${ac_cv_path_MSGFMT+set}" = set; then :
 
13785
  $as_echo_n "(cached) " >&6
 
13786
else
 
13787
  case "$MSGFMT" in
 
13788
  /*)
 
13789
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
 
13790
  ;;
 
13791
  *)
 
13792
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
 
13793
  for ac_dir in $PATH; do
 
13794
    test -z "$ac_dir" && ac_dir=.
 
13795
    if test -f $ac_dir/$ac_word; then
 
13796
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
 
13797
        ac_cv_path_MSGFMT="$ac_dir/$ac_word"
 
13798
        break
 
13799
      fi
 
13800
    fi
 
13801
  done
 
13802
  IFS="$ac_save_ifs"
 
13803
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
 
13804
  ;;
 
13805
esac
 
13806
fi
 
13807
MSGFMT="$ac_cv_path_MSGFMT"
 
13808
if test "$MSGFMT" != "no"; then
 
13809
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
 
13810
$as_echo "$MSGFMT" >&6; }
 
13811
else
 
13812
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13813
$as_echo "no" >&6; }
 
13814
fi
 
13815
        if test "$MSGFMT" != "no"; then
 
13816
          glib_save_LIBS="$LIBS"
 
13817
          LIBS="$LIBS $INTLLIBS"
 
13818
          for ac_func in dcgettext
 
13819
do :
 
13820
  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
 
13821
if test "x$ac_cv_func_dcgettext" = x""yes; then :
 
13822
  cat >>confdefs.h <<_ACEOF
 
13823
#define HAVE_DCGETTEXT 1
 
13824
_ACEOF
 
13825
 
 
13826
fi
 
13827
done
 
13828
 
 
13829
          MSGFMT_OPTS=
 
13830
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
 
13831
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
 
13832
          cat >conftest.foo <<_ACEOF
 
13833
 
 
13834
msgid ""
 
13835
msgstr ""
 
13836
"Content-Type: text/plain; charset=UTF-8\n"
 
13837
"Project-Id-Version: test 1.0\n"
 
13838
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
 
13839
"Last-Translator: test <foo@bar.xx>\n"
 
13840
"Language-Team: C <LL@li.org>\n"
 
13841
"MIME-Version: 1.0\n"
 
13842
"Content-Transfer-Encoding: 8bit\n"
 
13843
 
 
13844
_ACEOF
 
13845
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
 
13846
  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
 
13847
  ac_status=$?
 
13848
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13849
  test $ac_status = 0; }; then
 
13850
  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
13851
$as_echo "yes" >&6; }
 
13852
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13853
$as_echo "no" >&6; }
 
13854
echo "$as_me: failed input was:" >&5
 
13855
sed 's/^/| /' conftest.foo >&5
 
13856
fi
 
13857
 
 
13858
          # Extract the first word of "gmsgfmt", so it can be a program name with args.
 
13859
set dummy gmsgfmt; ac_word=$2
 
13860
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
13861
$as_echo_n "checking for $ac_word... " >&6; }
 
13862
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
 
13863
  $as_echo_n "(cached) " >&6
 
13864
else
 
13865
  case $GMSGFMT in
 
13866
  [\\/]* | ?:[\\/]*)
 
13867
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
 
13868
  ;;
 
13869
  *)
 
13870
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
13871
for as_dir in $PATH
 
13872
do
 
13873
  IFS=$as_save_IFS
 
13874
  test -z "$as_dir" && as_dir=.
 
13875
    for ac_exec_ext in '' $ac_executable_extensions; do
 
13876
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
13877
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
13878
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13879
    break 2
 
13880
  fi
 
13881
done
 
13882
  done
 
13883
IFS=$as_save_IFS
 
13884
 
 
13885
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
 
13886
  ;;
 
13887
esac
 
13888
fi
 
13889
GMSGFMT=$ac_cv_path_GMSGFMT
 
13890
if test -n "$GMSGFMT"; then
 
13891
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
 
13892
$as_echo "$GMSGFMT" >&6; }
 
13893
else
 
13894
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13895
$as_echo "no" >&6; }
 
13896
fi
 
13897
 
 
13898
 
 
13899
          # Extract the first word of "xgettext", so it can be a program name with args.
 
13900
set dummy xgettext; ac_word=$2
 
13901
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
13902
$as_echo_n "checking for $ac_word... " >&6; }
 
13903
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
 
13904
  $as_echo_n "(cached) " >&6
 
13905
else
 
13906
  case "$XGETTEXT" in
 
13907
  /*)
 
13908
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
 
13909
  ;;
 
13910
  *)
 
13911
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
 
13912
  for ac_dir in $PATH; do
 
13913
    test -z "$ac_dir" && ac_dir=.
 
13914
    if test -f $ac_dir/$ac_word; then
 
13915
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
 
13916
        ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
 
13917
        break
 
13918
      fi
 
13919
    fi
 
13920
  done
 
13921
  IFS="$ac_save_ifs"
 
13922
  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
 
13923
  ;;
 
13924
esac
 
13925
fi
 
13926
XGETTEXT="$ac_cv_path_XGETTEXT"
 
13927
if test "$XGETTEXT" != ":"; then
 
13928
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
 
13929
$as_echo "$XGETTEXT" >&6; }
 
13930
else
 
13931
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13932
$as_echo "no" >&6; }
 
13933
fi
 
13934
 
 
13935
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13936
/* end confdefs.h.  */
 
13937
 
 
13938
int
 
13939
main ()
 
13940
{
 
13941
extern int _nl_msg_cat_cntr;
 
13942
                         return _nl_msg_cat_cntr
 
13943
  ;
 
13944
  return 0;
 
13945
}
 
13946
_ACEOF
 
13947
if ac_fn_c_try_link "$LINENO"; then :
 
13948
  CATOBJEXT=.gmo
 
13949
             DATADIRNAME=share
 
13950
else
 
13951
  case $host in
 
13952
            *-*-solaris*)
 
13953
                                                                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
13954
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
13955
  CATOBJEXT=.gmo
 
13956
               DATADIRNAME=share
 
13957
else
 
13958
  CATOBJEXT=.mo
 
13959
               DATADIRNAME=lib
 
13960
fi
 
13961
 
 
13962
            ;;
 
13963
            *)
 
13964
            CATOBJEXT=.mo
 
13965
            DATADIRNAME=lib
 
13966
            ;;
 
13967
            esac
 
13968
fi
 
13969
rm -f core conftest.err conftest.$ac_objext \
 
13970
    conftest$ac_exeext conftest.$ac_ext
 
13971
          LIBS="$glib_save_LIBS"
 
13972
          INSTOBJEXT=.mo
 
13973
        else
 
13974
          gt_cv_have_gettext=no
 
13975
        fi
 
13976
      fi
 
13977
 
 
13978
fi
 
13979
 
 
13980
 
 
13981
 
 
13982
    if test "$gt_cv_have_gettext" = "yes" ; then
 
13983
 
 
13984
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
 
13985
 
 
13986
    fi
 
13987
 
 
13988
        if test "$XGETTEXT" != ":"; then
 
13989
                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
 
13990
        : ;
 
13991
      else
 
13992
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
 
13993
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
 
13994
        XGETTEXT=":"
 
13995
      fi
 
13996
    fi
 
13997
 
 
13998
    # We need to process the po/ directory.
 
13999
    POSUB=po
 
14000
 
 
14001
    ac_config_commands="$ac_config_commands default-1"
 
14002
 
 
14003
 
 
14004
                for lang in $ALL_LINGUAS; do
 
14005
      GMOFILES="$GMOFILES $lang.gmo"
 
14006
      POFILES="$POFILES $lang.po"
 
14007
    done
 
14008
 
 
14009
 
 
14010
 
 
14011
 
 
14012
 
 
14013
 
 
14014
 
 
14015
 
 
14016
 
 
14017
 
 
14018
 
 
14019
 
 
14020
 
 
14021
   if test "$gt_cv_have_gettext" = "yes"; then
 
14022
     if test "x$ALL_LINGUAS" = "x"; then
 
14023
       LINGUAS=
 
14024
     else
 
14025
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
 
14026
$as_echo_n "checking for catalogs to be installed... " >&6; }
 
14027
       NEW_LINGUAS=
 
14028
       for presentlang in $ALL_LINGUAS; do
 
14029
         useit=no
 
14030
         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
 
14031
           desiredlanguages="$LINGUAS"
 
14032
         else
 
14033
           desiredlanguages="$ALL_LINGUAS"
 
14034
         fi
 
14035
         for desiredlang in $desiredlanguages; do
 
14036
           # Use the presentlang catalog if desiredlang is
 
14037
           #   a. equal to presentlang, or
 
14038
           #   b. a variant of presentlang (because in this case,
 
14039
           #      presentlang can be used as a fallback for messages
 
14040
           #      which are not translated in the desiredlang catalog).
 
14041
           case "$desiredlang" in
 
14042
             "$presentlang"*) useit=yes;;
 
14043
           esac
 
14044
         done
 
14045
         if test $useit = yes; then
 
14046
           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
 
14047
         fi
 
14048
       done
 
14049
       LINGUAS=$NEW_LINGUAS
 
14050
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
 
14051
$as_echo "$LINGUAS" >&6; }
 
14052
     fi
 
14053
 
 
14054
          if test -n "$LINGUAS"; then
 
14055
       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
 
14056
     fi
 
14057
   fi
 
14058
 
 
14059
            MKINSTALLDIRS=
 
14060
   if test -n "$ac_aux_dir"; then
 
14061
     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
 
14062
   fi
 
14063
   if test -z "$MKINSTALLDIRS"; then
 
14064
     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
 
14065
   fi
 
14066
 
 
14067
 
 
14068
         test -d po || mkdir po
 
14069
   if test "x$srcdir" != "x."; then
 
14070
     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
 
14071
       posrcprefix="$srcdir/"
 
14072
     else
 
14073
       posrcprefix="../$srcdir/"
 
14074
     fi
 
14075
   else
 
14076
     posrcprefix="../"
 
14077
   fi
 
14078
   rm -f po/POTFILES
 
14079
   sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
 
14080
        < $srcdir/po/POTFILES.in > po/POTFILES
 
14081
 
 
14082
 
 
14083
# -----------------------------------------------------------
 
14084
# Vinagre plugin
 
14085
# -----------------------------------------------------------
 
14086
# Check whether --enable-vinagre was given.
 
14087
if test "${enable_vinagre+set}" = set; then :
 
14088
  enableval=$enable_vinagre;
 
14089
else
 
14090
  enable_vinagre=no
 
14091
fi
 
14092
 
 
14093
 
 
14094
if test "x$enable_vinagre" != "xno"; then
 
14095
 
 
14096
pkg_failed=no
 
14097
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for VINAGRE" >&5
 
14098
$as_echo_n "checking for VINAGRE... " >&6; }
 
14099
 
 
14100
if test -n "$VINAGRE_CFLAGS"; then
 
14101
    pkg_cv_VINAGRE_CFLAGS="$VINAGRE_CFLAGS"
 
14102
 elif test -n "$PKG_CONFIG"; then
 
14103
    if test -n "$PKG_CONFIG" && \
 
14104
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
 
14105
      vinagre-1.0
 
14106
      vte
 
14107
   \""; } >&5
 
14108
  ($PKG_CONFIG --exists --print-errors "
 
14109
      vinagre-1.0
 
14110
      vte
 
14111
   ") 2>&5
 
14112
  ac_status=$?
 
14113
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14114
  test $ac_status = 0; }; then
 
14115
  pkg_cv_VINAGRE_CFLAGS=`$PKG_CONFIG --cflags "
 
14116
      vinagre-1.0
 
14117
      vte
 
14118
   " 2>/dev/null`
 
14119
else
 
14120
  pkg_failed=yes
 
14121
fi
 
14122
 else
 
14123
    pkg_failed=untried
 
14124
fi
 
14125
if test -n "$VINAGRE_LIBS"; then
 
14126
    pkg_cv_VINAGRE_LIBS="$VINAGRE_LIBS"
 
14127
 elif test -n "$PKG_CONFIG"; then
 
14128
    if test -n "$PKG_CONFIG" && \
 
14129
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
 
14130
      vinagre-1.0
 
14131
      vte
 
14132
   \""; } >&5
 
14133
  ($PKG_CONFIG --exists --print-errors "
 
14134
      vinagre-1.0
 
14135
      vte
 
14136
   ") 2>&5
 
14137
  ac_status=$?
 
14138
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14139
  test $ac_status = 0; }; then
 
14140
  pkg_cv_VINAGRE_LIBS=`$PKG_CONFIG --libs "
 
14141
      vinagre-1.0
 
14142
      vte
 
14143
   " 2>/dev/null`
 
14144
else
 
14145
  pkg_failed=yes
 
14146
fi
 
14147
 else
 
14148
    pkg_failed=untried
 
14149
fi
 
14150
 
 
14151
 
 
14152
 
 
14153
if test $pkg_failed = yes; then
 
14154
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14155
$as_echo "no" >&6; }
 
14156
 
 
14157
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
14158
        _pkg_short_errors_supported=yes
 
14159
else
 
14160
        _pkg_short_errors_supported=no
 
14161
fi
 
14162
        if test $_pkg_short_errors_supported = yes; then
 
14163
                VINAGRE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
 
14164
      vinagre-1.0
 
14165
      vte
 
14166
   " 2>&1`
 
14167
        else
 
14168
                VINAGRE_PKG_ERRORS=`$PKG_CONFIG --print-errors "
 
14169
      vinagre-1.0
 
14170
      vte
 
14171
   " 2>&1`
 
14172
        fi
 
14173
        # Put the nasty error message in config.log where it belongs
 
14174
        echo "$VINAGRE_PKG_ERRORS" >&5
 
14175
 
 
14176
        have_vinagre="no"
 
14177
elif test $pkg_failed = untried; then
 
14178
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14179
$as_echo "no" >&6; }
 
14180
        have_vinagre="no"
 
14181
else
 
14182
        VINAGRE_CFLAGS=$pkg_cv_VINAGRE_CFLAGS
 
14183
        VINAGRE_LIBS=$pkg_cv_VINAGRE_LIBS
 
14184
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
14185
$as_echo "yes" >&6; }
 
14186
        have_vinagre="yes"
 
14187
fi
 
14188
 
 
14189
   if test "x$have_vinagre" = "xyes"; then
 
14190
 
 
14191
$as_echo "#define HAVE_VINAGRE 1" >>confdefs.h
 
14192
 
 
14193
   fi
 
14194
else
 
14195
   have_vinagre=no
 
14196
fi
 
14197
 
 
14198
if test "x$enable_vinagre" = "xyes" -a "x$have_vinagre" != "xyes"; then
 
14199
   as_fn_error $? "Could not find vinagre dependencies." "$LINENO" 5
 
14200
fi
 
14201
 if test "x$have_vinagre" = "xyes"; then
 
14202
  HAVE_VINAGRE_TRUE=
 
14203
  HAVE_VINAGRE_FALSE='#'
 
14204
else
 
14205
  HAVE_VINAGRE_TRUE='#'
 
14206
  HAVE_VINAGRE_FALSE=
 
14207
fi
 
14208
 
 
14209
 
 
14210
# -----------------------------------------------------------
 
14211
 
 
14212
 
 
14213
$as_echo "#define TUBE_SERVICE \"x-ssh-contact\"" >>confdefs.h
 
14214
 
 
14215
 
 
14216
ac_config_files="$ac_config_files Makefile po/Makefile.in src/Makefile src/vinagre/Makefile"
12019
14217
 
12020
14218
cat >confcache <<\_ACEOF
12021
14219
# This file is a shell script that caches the results of configure
12100
14298
 
12101
14299
ac_libobjs=
12102
14300
ac_ltlibobjs=
 
14301
U=
12103
14302
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12104
14303
  # 1. Remove the extension, and $U if already installed.
12105
14304
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12114
14313
LTLIBOBJS=$ac_ltlibobjs
12115
14314
 
12116
14315
 
 
14316
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
 
14317
  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
 
14318
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
14319
fi
12117
14320
 if test -n "$EXEEXT"; then
12118
14321
  am__EXEEXT_TRUE=
12119
14322
  am__EXEEXT_FALSE='#'
12122
14325
  am__EXEEXT_FALSE=
12123
14326
fi
12124
14327
 
12125
 
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12126
 
  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
12127
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12128
 
fi
12129
14328
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12130
 
  as_fn_error "conditional \"AMDEP\" was never defined.
12131
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12132
 
fi
12133
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12134
 
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
12135
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12136
 
fi
12137
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12138
 
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
12139
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12140
 
fi
12141
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12142
 
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
14329
  as_fn_error $? "conditional \"AMDEP\" was never defined.
 
14330
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
14331
fi
 
14332
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
14333
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
14334
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
14335
fi
 
14336
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
14337
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
14338
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
14339
fi
 
14340
 
 
14341
  ac_config_commands="$ac_config_commands po/stamp-it"
 
14342
 
 
14343
 
 
14344
if test -z "${HAVE_VINAGRE_TRUE}" && test -z "${HAVE_VINAGRE_FALSE}"; then
 
14345
  as_fn_error $? "conditional \"HAVE_VINAGRE\" was never defined.
12143
14346
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12144
14347
fi
12145
14348
 
12289
14492
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12290
14493
 
12291
14494
 
12292
 
# as_fn_error ERROR [LINENO LOG_FD]
12293
 
# ---------------------------------
 
14495
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
14496
# ----------------------------------------
12294
14497
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12295
14498
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12296
 
# script with status $?, using 1 if that was 0.
 
14499
# script with STATUS, using 1 if that was 0.
12297
14500
as_fn_error ()
12298
14501
{
12299
 
  as_status=$?; test $as_status -eq 0 && as_status=1
12300
 
  if test "$3"; then
12301
 
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12302
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
14502
  as_status=$1; test $as_status -eq 0 && as_status=1
 
14503
  if test "$4"; then
 
14504
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
14505
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12303
14506
  fi
12304
 
  $as_echo "$as_me: error: $1" >&2
 
14507
  $as_echo "$as_me: error: $2" >&2
12305
14508
  as_fn_exit $as_status
12306
14509
} # as_fn_error
12307
14510
 
12497
14700
      test -d "$as_dir" && break
12498
14701
    done
12499
14702
    test -z "$as_dirs" || eval "mkdir $as_dirs"
12500
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
14703
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
12501
14704
 
12502
14705
 
12503
14706
} # as_fn_mkdir_p
12550
14753
# report actual input values of CONFIG_FILES etc. instead of their
12551
14754
# values after options handling.
12552
14755
ac_log="
12553
 
This file was extended by ssh-contact $as_me 0.2, which was
12554
 
generated by GNU Autoconf 2.65.  Invocation command line was
 
14756
This file was extended by ssh-contact $as_me 0.6, which was
 
14757
generated by GNU Autoconf 2.67.  Invocation command line was
12555
14758
 
12556
14759
  CONFIG_FILES    = $CONFIG_FILES
12557
14760
  CONFIG_HEADERS  = $CONFIG_HEADERS
12610
14813
Configuration commands:
12611
14814
$config_commands
12612
14815
 
12613
 
Report bugs to the package provider."
 
14816
Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=Telepathy&component=ssh-contact>."
12614
14817
 
12615
14818
_ACEOF
12616
14819
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12617
14820
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12618
14821
ac_cs_version="\\
12619
 
ssh-contact config.status 0.2
12620
 
configured by $0, generated by GNU Autoconf 2.65,
 
14822
ssh-contact config.status 0.6
 
14823
configured by $0, generated by GNU Autoconf 2.67,
12621
14824
  with options \\"\$ac_cs_config\\"
12622
14825
 
12623
 
Copyright (C) 2009 Free Software Foundation, Inc.
 
14826
Copyright (C) 2010 Free Software Foundation, Inc.
12624
14827
This config.status script is free software; the Free Software Foundation
12625
14828
gives unlimited permission to copy, distribute and modify it."
12626
14829
 
12638
14841
while test $# != 0
12639
14842
do
12640
14843
  case $1 in
12641
 
  --*=*)
 
14844
  --*=?*)
12642
14845
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
12643
14846
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12644
14847
    ac_shift=:
12645
14848
    ;;
 
14849
  --*=)
 
14850
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
14851
    ac_optarg=
 
14852
    ac_shift=:
 
14853
    ;;
12646
14854
  *)
12647
14855
    ac_option=$1
12648
14856
    ac_optarg=$2
12664
14872
    $ac_shift
12665
14873
    case $ac_optarg in
12666
14874
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
14875
    '') as_fn_error $? "missing file argument" ;;
12667
14876
    esac
12668
14877
    as_fn_append CONFIG_FILES " '$ac_optarg'"
12669
14878
    ac_need_defaults=false;;
12676
14885
    ac_need_defaults=false;;
12677
14886
  --he | --h)
12678
14887
    # Conflict between --help and --header
12679
 
    as_fn_error "ambiguous option: \`$1'
 
14888
    as_fn_error $? "ambiguous option: \`$1'
12680
14889
Try \`$0 --help' for more information.";;
12681
14890
  --help | --hel | -h )
12682
14891
    $as_echo "$ac_cs_usage"; exit ;;
12685
14894
    ac_cs_silent=: ;;
12686
14895
 
12687
14896
  # This is an error.
12688
 
  -*) as_fn_error "unrecognized option: \`$1'
 
14897
  -*) as_fn_error $? "unrecognized option: \`$1'
12689
14898
Try \`$0 --help' for more information." ;;
12690
14899
 
12691
14900
  *) as_fn_append ac_config_targets " $1"
12986
15195
 
12987
15196
 
12988
15197
 
 
15198
 
12989
15199
_ACEOF
12990
15200
 
12991
15201
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12997
15207
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
12998
15208
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
12999
15209
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
 
15210
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
13000
15211
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
15212
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
13001
15213
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 
15214
    "src/vinagre/Makefile") CONFIG_FILES="$CONFIG_FILES src/vinagre/Makefile" ;;
 
15215
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
13002
15216
 
13003
 
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 
15217
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
13004
15218
  esac
13005
15219
done
13006
15220
 
13038
15252
{
13039
15253
  tmp=./conf$$-$RANDOM
13040
15254
  (umask 077 && mkdir "$tmp")
13041
 
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
 
15255
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13042
15256
 
13043
15257
# Set up the scripts for CONFIG_FILES section.
13044
15258
# No need to generate them if there are no CONFIG_FILES.
13055
15269
fi
13056
15270
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13057
15271
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13058
 
  ac_cs_awk_cr='\r'
 
15272
  ac_cs_awk_cr='\\r'
13059
15273
else
13060
15274
  ac_cs_awk_cr=$ac_cr
13061
15275
fi
13069
15283
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13070
15284
  echo "_ACEOF"
13071
15285
} >conf$$subs.sh ||
13072
 
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
13073
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
15286
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
15287
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13074
15288
ac_delim='%!_!# '
13075
15289
for ac_last_try in false false false false false :; do
13076
15290
  . ./conf$$subs.sh ||
13077
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
15291
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13078
15292
 
13079
15293
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13080
15294
  if test $ac_delim_n = $ac_delim_num; then
13081
15295
    break
13082
15296
  elif $ac_last_try; then
13083
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
15297
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13084
15298
  else
13085
15299
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13086
15300
  fi
13169
15383
else
13170
15384
  cat
13171
15385
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
13172
 
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
 
15386
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13173
15387
_ACEOF
13174
15388
 
13175
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
13176
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
15389
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
15390
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13177
15391
# trailing colons and then remove the whole line if VPATH becomes empty
13178
15392
# (actually we leave an empty line to preserve line numbers).
13179
15393
if test "x$srcdir" = x.; then
13180
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
13181
 
s/:*\$(srcdir):*/:/
13182
 
s/:*\${srcdir}:*/:/
13183
 
s/:*@srcdir@:*/:/
13184
 
s/^\([^=]*=[     ]*\):*/\1/
 
15394
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
15395
h
 
15396
s///
 
15397
s/^/:/
 
15398
s/[      ]*$/:/
 
15399
s/:\$(srcdir):/:/g
 
15400
s/:\${srcdir}:/:/g
 
15401
s/:@srcdir@:/:/g
 
15402
s/^:*//
13185
15403
s/:*$//
 
15404
x
 
15405
s/\(=[   ]*\).*/\1/
 
15406
G
 
15407
s/\n//
13186
15408
s/^[^=]*=[       ]*$//
13187
15409
}'
13188
15410
fi
13210
15432
  if test -z "$ac_t"; then
13211
15433
    break
13212
15434
  elif $ac_last_try; then
13213
 
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
 
15435
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
13214
15436
  else
13215
15437
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13216
15438
  fi
13295
15517
_ACAWK
13296
15518
_ACEOF
13297
15519
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13298
 
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
 
15520
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
13299
15521
fi # test -n "$CONFIG_HEADERS"
13300
15522
 
13301
15523
 
13308
15530
  esac
13309
15531
  case $ac_mode$ac_tag in
13310
15532
  :[FHL]*:*);;
13311
 
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
 
15533
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
13312
15534
  :[FH]-) ac_tag=-:-;;
13313
15535
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13314
15536
  esac
13336
15558
           [\\/$]*) false;;
13337
15559
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13338
15560
           esac ||
13339
 
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 
15561
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
13340
15562
      esac
13341
15563
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13342
15564
      as_fn_append ac_file_inputs " '$ac_f'"
13363
15585
 
13364
15586
    case $ac_tag in
13365
15587
    *:-:* | *:-) cat >"$tmp/stdin" \
13366
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
 
15588
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
13367
15589
    esac
13368
15590
    ;;
13369
15591
  esac
13500
15722
$ac_datarootdir_hack
13501
15723
"
13502
15724
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
13503
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
15725
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13504
15726
 
13505
15727
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13506
15728
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
13507
15729
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
13508
15730
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13509
 
which seems to be undefined.  Please make sure it is defined." >&5
 
15731
which seems to be undefined.  Please make sure it is defined" >&5
13510
15732
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13511
 
which seems to be undefined.  Please make sure it is defined." >&2;}
 
15733
which seems to be undefined.  Please make sure it is defined" >&2;}
13512
15734
 
13513
15735
  rm -f "$tmp/stdin"
13514
15736
  case $ac_file in
13515
15737
  -) cat "$tmp/out" && rm -f "$tmp/out";;
13516
15738
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
13517
15739
  esac \
13518
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
15740
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13519
15741
 ;;
13520
15742
  :H)
13521
15743
  #
13526
15748
      $as_echo "/* $configure_input  */" \
13527
15749
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
13528
15750
    } >"$tmp/config.h" \
13529
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5
 
15751
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13530
15752
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
13531
15753
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13532
15754
$as_echo "$as_me: $ac_file is unchanged" >&6;}
13533
15755
    else
13534
15756
      rm -f "$ac_file"
13535
15757
      mv "$tmp/config.h" "$ac_file" \
13536
 
        || as_fn_error "could not create $ac_file" "$LINENO" 5
 
15758
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13537
15759
    fi
13538
15760
  else
13539
15761
    $as_echo "/* $configure_input  */" \
13540
15762
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
13541
 
      || as_fn_error "could not create -" "$LINENO" 5
 
15763
      || as_fn_error $? "could not create -" "$LINENO" 5
13542
15764
  fi
13543
15765
# Compute "$ac_file"'s index in $config_headers.
13544
15766
_am_arg="$ac_file"
14313
16535
  chmod +x "$ofile"
14314
16536
 
14315
16537
 ;;
 
16538
    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
 
16539
        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
 
16540
      esac ;;
 
16541
    "po/stamp-it":C)
 
16542
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
 
16543
       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
 
16544
    fi
 
16545
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
 
16546
    >"po/stamp-it.tmp"
 
16547
    sed '/^#/d
 
16548
         s/^[[].*] *//
 
16549
         /^[    ]*$/d
 
16550
        '"s|^|  $ac_top_srcdir/|" \
 
16551
      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
 
16552
 
 
16553
    sed '/^POTFILES =/,/[^\\]$/ {
 
16554
                /^POTFILES =/!d
 
16555
                r po/POTFILES
 
16556
          }
 
16557
         ' "po/Makefile.in" >"po/Makefile"
 
16558
    rm -f "po/Makefile.tmp"
 
16559
    mv "po/stamp-it.tmp" "po/stamp-it"
 
16560
   ;;
14316
16561
 
14317
16562
  esac
14318
16563
done # for ac_tag
14323
16568
ac_clean_files=$ac_clean_files_save
14324
16569
 
14325
16570
test $ac_write_fail = 0 ||
14326
 
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
16571
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14327
16572
 
14328
16573
 
14329
16574
# configure is writing to config.log, and then calls config.status.
14344
16589
  exec 5>>config.log
14345
16590
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14346
16591
  # would make configure fail if this is the last instruction.
14347
 
  $ac_cs_success || as_fn_exit $?
 
16592
  $ac_cs_success || as_fn_exit 1
14348
16593
fi
14349
16594
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14350
16595
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5