~ubuntu-branches/ubuntu/trusty/unity-place-files/trusty

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2010-08-26 18:52:52 UTC
  • mto: This revision was merged to the branch mainline in revision 14.
  • Revision ID: james.westby@ubuntu.com-20100826185252-rtxst6inf3chd7po
Tags: upstream-0.5.18
ImportĀ upstreamĀ versionĀ 0.5.18

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.67 for unity-place-files 0.5.16.
 
3
# Generated by GNU Autoconf 2.67 for unity-place-files 0.5.18.
4
4
#
5
5
# Report bugs to <https://launchpad.net/unity-place-files>.
6
6
#
763
763
# Identity of this package.
764
764
PACKAGE_NAME='unity-place-files'
765
765
PACKAGE_TARNAME='unity-place-files'
766
 
PACKAGE_VERSION='0.5.16'
767
 
PACKAGE_STRING='unity-place-files 0.5.16'
 
766
PACKAGE_VERSION='0.5.18'
 
767
PACKAGE_STRING='unity-place-files 0.5.18'
768
768
PACKAGE_BUGREPORT='https://launchpad.net/unity-place-files'
769
769
PACKAGE_URL=''
770
770
 
808
808
am__EXEEXT_TRUE
809
809
LTLIBOBJS
810
810
LIBOBJS
 
811
DBUSSERVICEDIR
811
812
DATADIR
812
813
PREFIX
813
 
DBUSSERVICEDIR
 
814
HAVE_LOCALINSTALL_FALSE
 
815
HAVE_LOCALINSTALL_TRUE
814
816
ZEITGEIST_DAEMON_LIBS
815
817
ZEITGEIST_DAEMON_CFLAGS
816
818
PLACE_DAEMON_LIBS
818
820
PKG_CONFIG_LIBDIR
819
821
PKG_CONFIG_PATH
820
822
PKG_CONFIG
 
823
ALL_LINGUAS
 
824
INTLTOOL_PERL
 
825
MSGMERGE
 
826
INTLTOOL_POLICY_RULE
 
827
INTLTOOL_SERVICE_RULE
 
828
INTLTOOL_THEME_RULE
 
829
INTLTOOL_SCHEMAS_RULE
 
830
INTLTOOL_CAVES_RULE
 
831
INTLTOOL_XML_NOMERGE_RULE
 
832
INTLTOOL_XML_RULE
 
833
INTLTOOL_KBD_RULE
 
834
INTLTOOL_XAM_RULE
 
835
INTLTOOL_UI_RULE
 
836
INTLTOOL_SOUNDLIST_RULE
 
837
INTLTOOL_SHEET_RULE
 
838
INTLTOOL_SERVER_RULE
 
839
INTLTOOL_PONG_RULE
 
840
INTLTOOL_OAF_RULE
 
841
INTLTOOL_PROP_RULE
 
842
INTLTOOL_KEYS_RULE
 
843
INTLTOOL_DIRECTORY_RULE
 
844
INTLTOOL_DESKTOP_RULE
 
845
INTLTOOL_EXTRACT
 
846
INTLTOOL_MERGE
 
847
INTLTOOL_UPDATE
 
848
MKINSTALLDIRS
 
849
POSUB
 
850
POFILES
 
851
PO_IN_DATADIR_FALSE
 
852
PO_IN_DATADIR_TRUE
 
853
INTLLIBS
 
854
INSTOBJEXT
 
855
GMOFILES
 
856
DATADIRNAME
 
857
CATOBJEXT
 
858
CATALOGS
 
859
XGETTEXT
 
860
GMSGFMT
 
861
MSGFMT_OPTS
 
862
MSGFMT
 
863
USE_NLS
 
864
CONFIG_STATUS_DEPENDENCIES
 
865
GETTEXT_PACKAGE
821
866
OTOOL64
822
867
OTOOL
823
868
LIPO
941
986
enable_fast_install
942
987
with_gnu_ld
943
988
enable_libtool_lock
944
 
with_dbus_services
 
989
enable_nls
 
990
enable_localinstall
945
991
'
946
992
      ac_precious_vars='build_alias
947
993
host_alias
1501
1547
  # Omit some internal or obsolete options to make the list less imposing.
1502
1548
  # This message is too long to be a string in the A/UX 3.1 sh.
1503
1549
  cat <<_ACEOF
1504
 
\`configure' configures unity-place-files 0.5.16 to adapt to many kinds of systems.
 
1550
\`configure' configures unity-place-files 0.5.18 to adapt to many kinds of systems.
1505
1551
 
1506
1552
Usage: $0 [OPTION]... [VAR=VALUE]...
1507
1553
 
1572
1618
 
1573
1619
if test -n "$ac_init_help"; then
1574
1620
  case $ac_init_help in
1575
 
     short | recursive ) echo "Configuration of unity-place-files 0.5.16:";;
 
1621
     short | recursive ) echo "Configuration of unity-place-files 0.5.18:";;
1576
1622
   esac
1577
1623
  cat <<\_ACEOF
1578
1624
 
1591
1637
  --enable-fast-install[=PKGS]
1592
1638
                          optimize for fast installation [default=yes]
1593
1639
  --disable-libtool-lock  avoid locking (might break parallel builds)
 
1640
  --disable-nls           do not use Native Language Support
 
1641
  --enable-localinstall   Install all of the files locally instead of in
 
1642
                          system directories (for distcheck)
1594
1643
 
1595
1644
Optional Packages:
1596
1645
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1598
1647
  --with-pic              try to use only PIC/non-PIC objects [default=use
1599
1648
                          both]
1600
1649
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1601
 
  --with-dbus-services=DBUS_SERVICES
1602
 
                          specify a directory to store dbus service files.
1603
1650
 
1604
1651
Some influential environment variables:
1605
1652
  CC          C compiler command
1690
1737
test -n "$ac_init_help" && exit $ac_status
1691
1738
if $ac_init_version; then
1692
1739
  cat <<\_ACEOF
1693
 
unity-place-files configure 0.5.16
 
1740
unity-place-files configure 0.5.18
1694
1741
generated by GNU Autoconf 2.67
1695
1742
 
1696
1743
Copyright (C) 2010 Free Software Foundation, Inc.
1966
2013
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1967
2014
 
1968
2015
} # ac_fn_c_check_func
 
2016
 
 
2017
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 
2018
# -------------------------------------------------------
 
2019
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
2020
# the include files in INCLUDES and setting the cache variable VAR
 
2021
# accordingly.
 
2022
ac_fn_c_check_header_mongrel ()
 
2023
{
 
2024
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2025
  if eval "test \"\${$3+set}\"" = set; then :
 
2026
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2027
$as_echo_n "checking for $2... " >&6; }
 
2028
if eval "test \"\${$3+set}\"" = set; then :
 
2029
  $as_echo_n "(cached) " >&6
 
2030
fi
 
2031
eval ac_res=\$$3
 
2032
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2033
$as_echo "$ac_res" >&6; }
 
2034
else
 
2035
  # Is the header compilable?
 
2036
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
2037
$as_echo_n "checking $2 usability... " >&6; }
 
2038
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2039
/* end confdefs.h.  */
 
2040
$4
 
2041
#include <$2>
 
2042
_ACEOF
 
2043
if ac_fn_c_try_compile "$LINENO"; then :
 
2044
  ac_header_compiler=yes
 
2045
else
 
2046
  ac_header_compiler=no
 
2047
fi
 
2048
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2049
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
2050
$as_echo "$ac_header_compiler" >&6; }
 
2051
 
 
2052
# Is the header present?
 
2053
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
2054
$as_echo_n "checking $2 presence... " >&6; }
 
2055
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2056
/* end confdefs.h.  */
 
2057
#include <$2>
 
2058
_ACEOF
 
2059
if ac_fn_c_try_cpp "$LINENO"; then :
 
2060
  ac_header_preproc=yes
 
2061
else
 
2062
  ac_header_preproc=no
 
2063
fi
 
2064
rm -f conftest.err conftest.i conftest.$ac_ext
 
2065
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
2066
$as_echo "$ac_header_preproc" >&6; }
 
2067
 
 
2068
# So?  What about this header?
 
2069
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 
2070
  yes:no: )
 
2071
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
2072
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
2073
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2074
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2075
    ;;
 
2076
  no:yes:* )
 
2077
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
2078
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
2079
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
2080
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
2081
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
2082
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
2083
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
2084
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
2085
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2086
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2087
( $as_echo "## ------------------------------------------------------ ##
 
2088
## Report this to https://launchpad.net/unity-place-files ##
 
2089
## ------------------------------------------------------ ##"
 
2090
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
2091
    ;;
 
2092
esac
 
2093
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2094
$as_echo_n "checking for $2... " >&6; }
 
2095
if eval "test \"\${$3+set}\"" = set; then :
 
2096
  $as_echo_n "(cached) " >&6
 
2097
else
 
2098
  eval "$3=\$ac_header_compiler"
 
2099
fi
 
2100
eval ac_res=\$$3
 
2101
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2102
$as_echo "$ac_res" >&6; }
 
2103
fi
 
2104
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2105
 
 
2106
} # ac_fn_c_check_header_mongrel
1969
2107
cat >config.log <<_ACEOF
1970
2108
This file contains any messages produced by compilers while
1971
2109
running configure, to aid debugging if configure makes a mistake.
1972
2110
 
1973
 
It was created by unity-place-files $as_me 0.5.16, which was
 
2111
It was created by unity-place-files $as_me 0.5.18, which was
1974
2112
generated by GNU Autoconf 2.67.  Invocation command line was
1975
2113
 
1976
2114
  $ $0 $@
2787
2925
 
2788
2926
# Define the identity of the package.
2789
2927
 PACKAGE=unity-place-files
2790
 
 VERSION=0.5.16
 
2928
 VERSION=0.5.18
2791
2929
 
2792
2930
 
2793
2931
cat >>confdefs.h <<_ACEOF
2828
2966
 
2829
2967
 
2830
2968
 
 
2969
#####################################################
 
2970
# Silent build rules
 
2971
#####################################################
2831
2972
# Check whether --enable-silent-rules was given.
2832
2973
if test "${enable_silent_rules+set}" = set; then :
2833
2974
  enableval=$enable_silent_rules;
2846
2987
ac_config_headers="$ac_config_headers config.h"
2847
2988
 
2848
2989
 
 
2990
#####################################################
 
2991
# Init the other things we depend on
 
2992
#####################################################
2849
2993
 
2850
2994
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2851
2995
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4977
5121
else
4978
5122
  lt_cv_nm_interface="BSD nm"
4979
5123
  echo "int some_variable = 0;" > conftest.$ac_ext
4980
 
  (eval echo "\"\$as_me:4980: $ac_compile\"" >&5)
 
5124
  (eval echo "\"\$as_me:5124: $ac_compile\"" >&5)
4981
5125
  (eval "$ac_compile" 2>conftest.err)
4982
5126
  cat conftest.err >&5
4983
 
  (eval echo "\"\$as_me:4983: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
5127
  (eval echo "\"\$as_me:5127: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4984
5128
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4985
5129
  cat conftest.err >&5
4986
 
  (eval echo "\"\$as_me:4986: output\"" >&5)
 
5130
  (eval echo "\"\$as_me:5130: output\"" >&5)
4987
5131
  cat conftest.out >&5
4988
5132
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4989
5133
    lt_cv_nm_interface="MS dumpbin"
6188
6332
  ;;
6189
6333
*-*-irix6*)
6190
6334
  # Find out which ABI we are using.
6191
 
  echo '#line 6191 "configure"' > conftest.$ac_ext
 
6335
  echo '#line 6335 "configure"' > conftest.$ac_ext
6192
6336
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6193
6337
  (eval $ac_compile) 2>&5
6194
6338
  ac_status=$?
7467
7611
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7468
7612
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7469
7613
   -e 's:$: $lt_compiler_flag:'`
7470
 
   (eval echo "\"\$as_me:7470: $lt_compile\"" >&5)
 
7614
   (eval echo "\"\$as_me:7614: $lt_compile\"" >&5)
7471
7615
   (eval "$lt_compile" 2>conftest.err)
7472
7616
   ac_status=$?
7473
7617
   cat conftest.err >&5
7474
 
   echo "$as_me:7474: \$? = $ac_status" >&5
 
7618
   echo "$as_me:7618: \$? = $ac_status" >&5
7475
7619
   if (exit $ac_status) && test -s "$ac_outfile"; then
7476
7620
     # The compiler can only warn and ignore the option if not recognized
7477
7621
     # So say no if there are warnings other than the usual output.
7806
7950
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7807
7951
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7808
7952
   -e 's:$: $lt_compiler_flag:'`
7809
 
   (eval echo "\"\$as_me:7809: $lt_compile\"" >&5)
 
7953
   (eval echo "\"\$as_me:7953: $lt_compile\"" >&5)
7810
7954
   (eval "$lt_compile" 2>conftest.err)
7811
7955
   ac_status=$?
7812
7956
   cat conftest.err >&5
7813
 
   echo "$as_me:7813: \$? = $ac_status" >&5
 
7957
   echo "$as_me:7957: \$? = $ac_status" >&5
7814
7958
   if (exit $ac_status) && test -s "$ac_outfile"; then
7815
7959
     # The compiler can only warn and ignore the option if not recognized
7816
7960
     # So say no if there are warnings other than the usual output.
7911
8055
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7912
8056
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7913
8057
   -e 's:$: $lt_compiler_flag:'`
7914
 
   (eval echo "\"\$as_me:7914: $lt_compile\"" >&5)
 
8058
   (eval echo "\"\$as_me:8058: $lt_compile\"" >&5)
7915
8059
   (eval "$lt_compile" 2>out/conftest.err)
7916
8060
   ac_status=$?
7917
8061
   cat out/conftest.err >&5
7918
 
   echo "$as_me:7918: \$? = $ac_status" >&5
 
8062
   echo "$as_me:8062: \$? = $ac_status" >&5
7919
8063
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7920
8064
   then
7921
8065
     # The compiler can only warn and ignore the option if not recognized
7966
8110
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7967
8111
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7968
8112
   -e 's:$: $lt_compiler_flag:'`
7969
 
   (eval echo "\"\$as_me:7969: $lt_compile\"" >&5)
 
8113
   (eval echo "\"\$as_me:8113: $lt_compile\"" >&5)
7970
8114
   (eval "$lt_compile" 2>out/conftest.err)
7971
8115
   ac_status=$?
7972
8116
   cat out/conftest.err >&5
7973
 
   echo "$as_me:7973: \$? = $ac_status" >&5
 
8117
   echo "$as_me:8117: \$? = $ac_status" >&5
7974
8118
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7975
8119
   then
7976
8120
     # The compiler can only warn and ignore the option if not recognized
10350
10494
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10351
10495
  lt_status=$lt_dlunknown
10352
10496
  cat > conftest.$ac_ext <<_LT_EOF
10353
 
#line 10353 "configure"
 
10497
#line 10497 "configure"
10354
10498
#include "confdefs.h"
10355
10499
 
10356
10500
#if HAVE_DLFCN_H
10446
10590
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10447
10591
  lt_status=$lt_dlunknown
10448
10592
  cat > conftest.$ac_ext <<_LT_EOF
10449
 
#line 10449 "configure"
 
10593
#line 10593 "configure"
10450
10594
#include "confdefs.h"
10451
10595
 
10452
10596
#if HAVE_DLFCN_H
10675
10819
 
10676
10820
 
10677
10821
 
 
10822
#############################################
 
10823
# Gettext
 
10824
#############################################
 
10825
GETTEXT_PACKAGE="$PACKAGE"
 
10826
 
 
10827
CONFIG_STATUS_DEPENDENCIES='$(top_srcdir)/po/LINGUAS'
 
10828
 
 
10829
 
 
10830
cat >>confdefs.h <<_ACEOF
 
10831
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
 
10832
_ACEOF
 
10833
 
 
10834
 
 
10835
   for ac_header in locale.h
 
10836
do :
 
10837
  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
 
10838
if test "x$ac_cv_header_locale_h" = x""yes; then :
 
10839
  cat >>confdefs.h <<_ACEOF
 
10840
#define HAVE_LOCALE_H 1
 
10841
_ACEOF
 
10842
 
 
10843
fi
 
10844
 
 
10845
done
 
10846
 
 
10847
    if test $ac_cv_header_locale_h = yes; then
 
10848
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
 
10849
$as_echo_n "checking for LC_MESSAGES... " >&6; }
 
10850
if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
 
10851
  $as_echo_n "(cached) " >&6
 
10852
else
 
10853
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10854
/* end confdefs.h.  */
 
10855
#include <locale.h>
 
10856
int
 
10857
main ()
 
10858
{
 
10859
return LC_MESSAGES
 
10860
  ;
 
10861
  return 0;
 
10862
}
 
10863
_ACEOF
 
10864
if ac_fn_c_try_link "$LINENO"; then :
 
10865
  am_cv_val_LC_MESSAGES=yes
 
10866
else
 
10867
  am_cv_val_LC_MESSAGES=no
 
10868
fi
 
10869
rm -f core conftest.err conftest.$ac_objext \
 
10870
    conftest$ac_exeext conftest.$ac_ext
 
10871
fi
 
10872
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
 
10873
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
 
10874
    if test $am_cv_val_LC_MESSAGES = yes; then
 
10875
 
 
10876
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
 
10877
 
 
10878
    fi
 
10879
  fi
 
10880
     USE_NLS=yes
 
10881
 
 
10882
 
 
10883
    gt_cv_have_gettext=no
 
10884
 
 
10885
    CATOBJEXT=NONE
 
10886
    XGETTEXT=:
 
10887
    INTLLIBS=
 
10888
 
 
10889
    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
 
10890
if test "x$ac_cv_header_libintl_h" = x""yes; then :
 
10891
  gt_cv_func_dgettext_libintl="no"
 
10892
      libintl_extra_libs=""
 
10893
 
 
10894
      #
 
10895
      # First check in libc
 
10896
      #
 
10897
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
 
10898
$as_echo_n "checking for ngettext in libc... " >&6; }
 
10899
if test "${gt_cv_func_ngettext_libc+set}" = set; then :
 
10900
  $as_echo_n "(cached) " >&6
 
10901
else
 
10902
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10903
/* end confdefs.h.  */
 
10904
 
 
10905
#include <libintl.h>
 
10906
 
 
10907
int
 
10908
main ()
 
10909
{
 
10910
return !ngettext ("","", 1)
 
10911
  ;
 
10912
  return 0;
 
10913
}
 
10914
_ACEOF
 
10915
if ac_fn_c_try_link "$LINENO"; then :
 
10916
  gt_cv_func_ngettext_libc=yes
 
10917
else
 
10918
  gt_cv_func_ngettext_libc=no
 
10919
fi
 
10920
rm -f core conftest.err conftest.$ac_objext \
 
10921
    conftest$ac_exeext conftest.$ac_ext
 
10922
 
 
10923
fi
 
10924
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
 
10925
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
 
10926
 
 
10927
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
 
10928
              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
 
10929
$as_echo_n "checking for dgettext in libc... " >&6; }
 
10930
if test "${gt_cv_func_dgettext_libc+set}" = set; then :
 
10931
  $as_echo_n "(cached) " >&6
 
10932
else
 
10933
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10934
/* end confdefs.h.  */
 
10935
 
 
10936
#include <libintl.h>
 
10937
 
 
10938
int
 
10939
main ()
 
10940
{
 
10941
return !dgettext ("","")
 
10942
  ;
 
10943
  return 0;
 
10944
}
 
10945
_ACEOF
 
10946
if ac_fn_c_try_link "$LINENO"; then :
 
10947
  gt_cv_func_dgettext_libc=yes
 
10948
else
 
10949
  gt_cv_func_dgettext_libc=no
 
10950
fi
 
10951
rm -f core conftest.err conftest.$ac_objext \
 
10952
    conftest$ac_exeext conftest.$ac_ext
 
10953
 
 
10954
fi
 
10955
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
 
10956
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
 
10957
      fi
 
10958
 
 
10959
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
 
10960
        for ac_func in bind_textdomain_codeset
 
10961
do :
 
10962
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
10963
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
10964
  cat >>confdefs.h <<_ACEOF
 
10965
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
 
10966
_ACEOF
 
10967
 
 
10968
fi
 
10969
done
 
10970
 
 
10971
      fi
 
10972
 
 
10973
      #
 
10974
      # If we don't have everything we want, check in libintl
 
10975
      #
 
10976
      if test "$gt_cv_func_dgettext_libc" != "yes" \
 
10977
         || test "$gt_cv_func_ngettext_libc" != "yes" \
 
10978
         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
 
10979
 
 
10980
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
 
10981
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
 
10982
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
 
10983
  $as_echo_n "(cached) " >&6
 
10984
else
 
10985
  ac_check_lib_save_LIBS=$LIBS
 
10986
LIBS="-lintl  $LIBS"
 
10987
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10988
/* end confdefs.h.  */
 
10989
 
 
10990
/* Override any GCC internal prototype to avoid an error.
 
10991
   Use char because int might match the return type of a GCC
 
10992
   builtin and then its argument prototype would still apply.  */
 
10993
#ifdef __cplusplus
 
10994
extern "C"
 
10995
#endif
 
10996
char bindtextdomain ();
 
10997
int
 
10998
main ()
 
10999
{
 
11000
return bindtextdomain ();
 
11001
  ;
 
11002
  return 0;
 
11003
}
 
11004
_ACEOF
 
11005
if ac_fn_c_try_link "$LINENO"; then :
 
11006
  ac_cv_lib_intl_bindtextdomain=yes
 
11007
else
 
11008
  ac_cv_lib_intl_bindtextdomain=no
 
11009
fi
 
11010
rm -f core conftest.err conftest.$ac_objext \
 
11011
    conftest$ac_exeext conftest.$ac_ext
 
11012
LIBS=$ac_check_lib_save_LIBS
 
11013
fi
 
11014
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
 
11015
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
 
11016
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then :
 
11017
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
 
11018
$as_echo_n "checking for ngettext in -lintl... " >&6; }
 
11019
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
 
11020
  $as_echo_n "(cached) " >&6
 
11021
else
 
11022
  ac_check_lib_save_LIBS=$LIBS
 
11023
LIBS="-lintl  $LIBS"
 
11024
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11025
/* end confdefs.h.  */
 
11026
 
 
11027
/* Override any GCC internal prototype to avoid an error.
 
11028
   Use char because int might match the return type of a GCC
 
11029
   builtin and then its argument prototype would still apply.  */
 
11030
#ifdef __cplusplus
 
11031
extern "C"
 
11032
#endif
 
11033
char ngettext ();
 
11034
int
 
11035
main ()
 
11036
{
 
11037
return ngettext ();
 
11038
  ;
 
11039
  return 0;
 
11040
}
 
11041
_ACEOF
 
11042
if ac_fn_c_try_link "$LINENO"; then :
 
11043
  ac_cv_lib_intl_ngettext=yes
 
11044
else
 
11045
  ac_cv_lib_intl_ngettext=no
 
11046
fi
 
11047
rm -f core conftest.err conftest.$ac_objext \
 
11048
    conftest$ac_exeext conftest.$ac_ext
 
11049
LIBS=$ac_check_lib_save_LIBS
 
11050
fi
 
11051
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
 
11052
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
 
11053
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
 
11054
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
 
11055
$as_echo_n "checking for dgettext in -lintl... " >&6; }
 
11056
if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
 
11057
  $as_echo_n "(cached) " >&6
 
11058
else
 
11059
  ac_check_lib_save_LIBS=$LIBS
 
11060
LIBS="-lintl  $LIBS"
 
11061
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11062
/* end confdefs.h.  */
 
11063
 
 
11064
/* Override any GCC internal prototype to avoid an error.
 
11065
   Use char because int might match the return type of a GCC
 
11066
   builtin and then its argument prototype would still apply.  */
 
11067
#ifdef __cplusplus
 
11068
extern "C"
 
11069
#endif
 
11070
char dgettext ();
 
11071
int
 
11072
main ()
 
11073
{
 
11074
return dgettext ();
 
11075
  ;
 
11076
  return 0;
 
11077
}
 
11078
_ACEOF
 
11079
if ac_fn_c_try_link "$LINENO"; then :
 
11080
  ac_cv_lib_intl_dgettext=yes
 
11081
else
 
11082
  ac_cv_lib_intl_dgettext=no
 
11083
fi
 
11084
rm -f core conftest.err conftest.$ac_objext \
 
11085
    conftest$ac_exeext conftest.$ac_ext
 
11086
LIBS=$ac_check_lib_save_LIBS
 
11087
fi
 
11088
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
 
11089
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
 
11090
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then :
 
11091
  gt_cv_func_dgettext_libintl=yes
 
11092
fi
 
11093
 
 
11094
fi
 
11095
 
 
11096
fi
 
11097
 
 
11098
 
 
11099
        if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
 
11100
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
 
11101
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
 
11102
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
 
11103
$as_echo "" >&6; }
 
11104
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
 
11105
$as_echo_n "checking for ngettext in -lintl... " >&6; }
 
11106
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
 
11107
  $as_echo_n "(cached) " >&6
 
11108
else
 
11109
  ac_check_lib_save_LIBS=$LIBS
 
11110
LIBS="-lintl -liconv $LIBS"
 
11111
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11112
/* end confdefs.h.  */
 
11113
 
 
11114
/* Override any GCC internal prototype to avoid an error.
 
11115
   Use char because int might match the return type of a GCC
 
11116
   builtin and then its argument prototype would still apply.  */
 
11117
#ifdef __cplusplus
 
11118
extern "C"
 
11119
#endif
 
11120
char ngettext ();
 
11121
int
 
11122
main ()
 
11123
{
 
11124
return ngettext ();
 
11125
  ;
 
11126
  return 0;
 
11127
}
 
11128
_ACEOF
 
11129
if ac_fn_c_try_link "$LINENO"; then :
 
11130
  ac_cv_lib_intl_ngettext=yes
 
11131
else
 
11132
  ac_cv_lib_intl_ngettext=no
 
11133
fi
 
11134
rm -f core conftest.err conftest.$ac_objext \
 
11135
    conftest$ac_exeext conftest.$ac_ext
 
11136
LIBS=$ac_check_lib_save_LIBS
 
11137
fi
 
11138
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
 
11139
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
 
11140
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
 
11141
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
 
11142
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
 
11143
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
 
11144
  $as_echo_n "(cached) " >&6
 
11145
else
 
11146
  ac_check_lib_save_LIBS=$LIBS
 
11147
LIBS="-lintl -liconv $LIBS"
 
11148
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11149
/* end confdefs.h.  */
 
11150
 
 
11151
/* Override any GCC internal prototype to avoid an error.
 
11152
   Use char because int might match the return type of a GCC
 
11153
   builtin and then its argument prototype would still apply.  */
 
11154
#ifdef __cplusplus
 
11155
extern "C"
 
11156
#endif
 
11157
char dcgettext ();
 
11158
int
 
11159
main ()
 
11160
{
 
11161
return dcgettext ();
 
11162
  ;
 
11163
  return 0;
 
11164
}
 
11165
_ACEOF
 
11166
if ac_fn_c_try_link "$LINENO"; then :
 
11167
  ac_cv_lib_intl_dcgettext=yes
 
11168
else
 
11169
  ac_cv_lib_intl_dcgettext=no
 
11170
fi
 
11171
rm -f core conftest.err conftest.$ac_objext \
 
11172
    conftest$ac_exeext conftest.$ac_ext
 
11173
LIBS=$ac_check_lib_save_LIBS
 
11174
fi
 
11175
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
 
11176
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
 
11177
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then :
 
11178
  gt_cv_func_dgettext_libintl=yes
 
11179
                        libintl_extra_libs=-liconv
 
11180
else
 
11181
  :
 
11182
fi
 
11183
 
 
11184
else
 
11185
  :
 
11186
fi
 
11187
 
 
11188
        fi
 
11189
 
 
11190
        #
 
11191
        # If we found libintl, then check in it for bind_textdomain_codeset();
 
11192
        # we'll prefer libc if neither have bind_textdomain_codeset(),
 
11193
        # and both have dgettext and ngettext
 
11194
        #
 
11195
        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
 
11196
          glib_save_LIBS="$LIBS"
 
11197
          LIBS="$LIBS -lintl $libintl_extra_libs"
 
11198
          unset ac_cv_func_bind_textdomain_codeset
 
11199
          for ac_func in bind_textdomain_codeset
 
11200
do :
 
11201
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
11202
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
11203
  cat >>confdefs.h <<_ACEOF
 
11204
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
 
11205
_ACEOF
 
11206
 
 
11207
fi
 
11208
done
 
11209
 
 
11210
          LIBS="$glib_save_LIBS"
 
11211
 
 
11212
          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
 
11213
            gt_cv_func_dgettext_libc=no
 
11214
          else
 
11215
            if test "$gt_cv_func_dgettext_libc" = "yes" \
 
11216
                && test "$gt_cv_func_ngettext_libc" = "yes"; then
 
11217
              gt_cv_func_dgettext_libintl=no
 
11218
            fi
 
11219
          fi
 
11220
        fi
 
11221
      fi
 
11222
 
 
11223
      if test "$gt_cv_func_dgettext_libc" = "yes" \
 
11224
        || test "$gt_cv_func_dgettext_libintl" = "yes"; then
 
11225
        gt_cv_have_gettext=yes
 
11226
      fi
 
11227
 
 
11228
      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
 
11229
        INTLLIBS="-lintl $libintl_extra_libs"
 
11230
      fi
 
11231
 
 
11232
      if test "$gt_cv_have_gettext" = "yes"; then
 
11233
 
 
11234
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
 
11235
 
 
11236
        # Extract the first word of "msgfmt", so it can be a program name with args.
 
11237
set dummy msgfmt; ac_word=$2
 
11238
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11239
$as_echo_n "checking for $ac_word... " >&6; }
 
11240
if test "${ac_cv_path_MSGFMT+set}" = set; then :
 
11241
  $as_echo_n "(cached) " >&6
 
11242
else
 
11243
  case "$MSGFMT" in
 
11244
  /*)
 
11245
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
 
11246
  ;;
 
11247
  *)
 
11248
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
 
11249
  for ac_dir in $PATH; do
 
11250
    test -z "$ac_dir" && ac_dir=.
 
11251
    if test -f $ac_dir/$ac_word; then
 
11252
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
 
11253
        ac_cv_path_MSGFMT="$ac_dir/$ac_word"
 
11254
        break
 
11255
      fi
 
11256
    fi
 
11257
  done
 
11258
  IFS="$ac_save_ifs"
 
11259
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
 
11260
  ;;
 
11261
esac
 
11262
fi
 
11263
MSGFMT="$ac_cv_path_MSGFMT"
 
11264
if test "$MSGFMT" != "no"; then
 
11265
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
 
11266
$as_echo "$MSGFMT" >&6; }
 
11267
else
 
11268
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11269
$as_echo "no" >&6; }
 
11270
fi
 
11271
        if test "$MSGFMT" != "no"; then
 
11272
          glib_save_LIBS="$LIBS"
 
11273
          LIBS="$LIBS $INTLLIBS"
 
11274
          for ac_func in dcgettext
 
11275
do :
 
11276
  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
 
11277
if test "x$ac_cv_func_dcgettext" = x""yes; then :
 
11278
  cat >>confdefs.h <<_ACEOF
 
11279
#define HAVE_DCGETTEXT 1
 
11280
_ACEOF
 
11281
 
 
11282
fi
 
11283
done
 
11284
 
 
11285
          MSGFMT_OPTS=
 
11286
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
 
11287
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
 
11288
          cat >conftest.foo <<_ACEOF
 
11289
 
 
11290
msgid ""
 
11291
msgstr ""
 
11292
"Content-Type: text/plain; charset=UTF-8\n"
 
11293
"Project-Id-Version: test 1.0\n"
 
11294
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
 
11295
"Last-Translator: test <foo@bar.xx>\n"
 
11296
"Language-Team: C <LL@li.org>\n"
 
11297
"MIME-Version: 1.0\n"
 
11298
"Content-Transfer-Encoding: 8bit\n"
 
11299
 
 
11300
_ACEOF
 
11301
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
 
11302
  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
 
11303
  ac_status=$?
 
11304
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11305
  test $ac_status = 0; }; then
 
11306
  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
11307
$as_echo "yes" >&6; }
 
11308
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11309
$as_echo "no" >&6; }
 
11310
echo "$as_me: failed input was:" >&5
 
11311
sed 's/^/| /' conftest.foo >&5
 
11312
fi
 
11313
 
 
11314
          # Extract the first word of "gmsgfmt", so it can be a program name with args.
 
11315
set dummy gmsgfmt; ac_word=$2
 
11316
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11317
$as_echo_n "checking for $ac_word... " >&6; }
 
11318
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
 
11319
  $as_echo_n "(cached) " >&6
 
11320
else
 
11321
  case $GMSGFMT in
 
11322
  [\\/]* | ?:[\\/]*)
 
11323
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
 
11324
  ;;
 
11325
  *)
 
11326
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11327
for as_dir in $PATH
 
11328
do
 
11329
  IFS=$as_save_IFS
 
11330
  test -z "$as_dir" && as_dir=.
 
11331
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11332
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
11333
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
11334
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11335
    break 2
 
11336
  fi
 
11337
done
 
11338
  done
 
11339
IFS=$as_save_IFS
 
11340
 
 
11341
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
 
11342
  ;;
 
11343
esac
 
11344
fi
 
11345
GMSGFMT=$ac_cv_path_GMSGFMT
 
11346
if test -n "$GMSGFMT"; then
 
11347
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
 
11348
$as_echo "$GMSGFMT" >&6; }
 
11349
else
 
11350
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11351
$as_echo "no" >&6; }
 
11352
fi
 
11353
 
 
11354
 
 
11355
          # Extract the first word of "xgettext", so it can be a program name with args.
 
11356
set dummy xgettext; ac_word=$2
 
11357
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11358
$as_echo_n "checking for $ac_word... " >&6; }
 
11359
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
 
11360
  $as_echo_n "(cached) " >&6
 
11361
else
 
11362
  case "$XGETTEXT" in
 
11363
  /*)
 
11364
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
 
11365
  ;;
 
11366
  *)
 
11367
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
 
11368
  for ac_dir in $PATH; do
 
11369
    test -z "$ac_dir" && ac_dir=.
 
11370
    if test -f $ac_dir/$ac_word; then
 
11371
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
 
11372
        ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
 
11373
        break
 
11374
      fi
 
11375
    fi
 
11376
  done
 
11377
  IFS="$ac_save_ifs"
 
11378
  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
 
11379
  ;;
 
11380
esac
 
11381
fi
 
11382
XGETTEXT="$ac_cv_path_XGETTEXT"
 
11383
if test "$XGETTEXT" != ":"; then
 
11384
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
 
11385
$as_echo "$XGETTEXT" >&6; }
 
11386
else
 
11387
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11388
$as_echo "no" >&6; }
 
11389
fi
 
11390
 
 
11391
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11392
/* end confdefs.h.  */
 
11393
 
 
11394
int
 
11395
main ()
 
11396
{
 
11397
extern int _nl_msg_cat_cntr;
 
11398
                         return _nl_msg_cat_cntr
 
11399
  ;
 
11400
  return 0;
 
11401
}
 
11402
_ACEOF
 
11403
if ac_fn_c_try_link "$LINENO"; then :
 
11404
  CATOBJEXT=.gmo
 
11405
             DATADIRNAME=share
 
11406
else
 
11407
  case $host in
 
11408
            *-*-solaris*)
 
11409
                                                                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
11410
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
11411
  CATOBJEXT=.gmo
 
11412
               DATADIRNAME=share
 
11413
else
 
11414
  CATOBJEXT=.mo
 
11415
               DATADIRNAME=lib
 
11416
fi
 
11417
 
 
11418
            ;;
 
11419
            *)
 
11420
            CATOBJEXT=.mo
 
11421
            DATADIRNAME=lib
 
11422
            ;;
 
11423
            esac
 
11424
fi
 
11425
rm -f core conftest.err conftest.$ac_objext \
 
11426
    conftest$ac_exeext conftest.$ac_ext
 
11427
          LIBS="$glib_save_LIBS"
 
11428
          INSTOBJEXT=.mo
 
11429
        else
 
11430
          gt_cv_have_gettext=no
 
11431
        fi
 
11432
      fi
 
11433
 
 
11434
fi
 
11435
 
 
11436
 
 
11437
 
 
11438
    if test "$gt_cv_have_gettext" = "yes" ; then
 
11439
 
 
11440
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
 
11441
 
 
11442
    fi
 
11443
 
 
11444
        if test "$XGETTEXT" != ":"; then
 
11445
                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
 
11446
        : ;
 
11447
      else
 
11448
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
 
11449
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
 
11450
        XGETTEXT=":"
 
11451
      fi
 
11452
    fi
 
11453
 
 
11454
    # We need to process the po/ directory.
 
11455
    POSUB=po
 
11456
 
 
11457
    ac_config_commands="$ac_config_commands default-1"
 
11458
 
 
11459
 
 
11460
                for lang in $ALL_LINGUAS; do
 
11461
      GMOFILES="$GMOFILES $lang.gmo"
 
11462
      POFILES="$POFILES $lang.po"
 
11463
    done
 
11464
 
 
11465
 
 
11466
 
 
11467
 
 
11468
 
 
11469
 
 
11470
 
 
11471
 
 
11472
 
 
11473
 
 
11474
 
 
11475
 
 
11476
 
 
11477
   if test "$gt_cv_have_gettext" = "yes"; then
 
11478
     if test "x$ALL_LINGUAS" = "x"; then
 
11479
       LINGUAS=
 
11480
     else
 
11481
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
 
11482
$as_echo_n "checking for catalogs to be installed... " >&6; }
 
11483
       NEW_LINGUAS=
 
11484
       for presentlang in $ALL_LINGUAS; do
 
11485
         useit=no
 
11486
         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
 
11487
           desiredlanguages="$LINGUAS"
 
11488
         else
 
11489
           desiredlanguages="$ALL_LINGUAS"
 
11490
         fi
 
11491
         for desiredlang in $desiredlanguages; do
 
11492
           # Use the presentlang catalog if desiredlang is
 
11493
           #   a. equal to presentlang, or
 
11494
           #   b. a variant of presentlang (because in this case,
 
11495
           #      presentlang can be used as a fallback for messages
 
11496
           #      which are not translated in the desiredlang catalog).
 
11497
           case "$desiredlang" in
 
11498
             "$presentlang"*) useit=yes;;
 
11499
           esac
 
11500
         done
 
11501
         if test $useit = yes; then
 
11502
           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
 
11503
         fi
 
11504
       done
 
11505
       LINGUAS=$NEW_LINGUAS
 
11506
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
 
11507
$as_echo "$LINGUAS" >&6; }
 
11508
     fi
 
11509
 
 
11510
          if test -n "$LINGUAS"; then
 
11511
       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
 
11512
     fi
 
11513
   fi
 
11514
 
 
11515
            MKINSTALLDIRS=
 
11516
   if test -n "$ac_aux_dir"; then
 
11517
     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
 
11518
   fi
 
11519
   if test -z "$MKINSTALLDIRS"; then
 
11520
     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
 
11521
   fi
 
11522
 
 
11523
 
 
11524
         test -d po || mkdir po
 
11525
   if test "x$srcdir" != "x."; then
 
11526
     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
 
11527
       posrcprefix="$srcdir/"
 
11528
     else
 
11529
       posrcprefix="../$srcdir/"
 
11530
     fi
 
11531
   else
 
11532
     posrcprefix="../"
 
11533
   fi
 
11534
   rm -f po/POTFILES
 
11535
   sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
 
11536
        < $srcdir/po/POTFILES.in > po/POTFILES
 
11537
 
 
11538
 
 
11539
# AM_GNOME_GETTEXT above substs $DATADIRNAME
 
11540
# this is the directory where the *.{mo,gmo} files are installed
 
11541
localedir='${prefix}/${DATADIRNAME}/locale'
 
11542
 
 
11543
 
 
11544
 
 
11545
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
 
11546
$as_echo_n "checking whether NLS is requested... " >&6; }
 
11547
    # Check whether --enable-nls was given.
 
11548
if test "${enable_nls+set}" = set; then :
 
11549
  enableval=$enable_nls; USE_NLS=$enableval
 
11550
else
 
11551
  USE_NLS=yes
 
11552
fi
 
11553
 
 
11554
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
 
11555
$as_echo "$USE_NLS" >&6; }
 
11556
 
 
11557
 
 
11558
 
 
11559
 
 
11560
case "$am__api_version" in
 
11561
    1.01234)
 
11562
        as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
 
11563
    ;;
 
11564
    *)
 
11565
    ;;
 
11566
esac
 
11567
 
 
11568
if test -n "0.40.0"; then
 
11569
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.40.0" >&5
 
11570
$as_echo_n "checking for intltool >= 0.40.0... " >&6; }
 
11571
 
 
11572
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.40.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
 
11573
    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
 
11574
    INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
 
11575
 
 
11576
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
 
11577
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
 
11578
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
 
11579
        as_fn_error $? "Your intltool is too old.  You need intltool 0.40.0 or later." "$LINENO" 5
 
11580
fi
 
11581
 
 
11582
# Extract the first word of "intltool-update", so it can be a program name with args.
 
11583
set dummy intltool-update; ac_word=$2
 
11584
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11585
$as_echo_n "checking for $ac_word... " >&6; }
 
11586
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
 
11587
  $as_echo_n "(cached) " >&6
 
11588
else
 
11589
  case $INTLTOOL_UPDATE in
 
11590
  [\\/]* | ?:[\\/]*)
 
11591
  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
 
11592
  ;;
 
11593
  *)
 
11594
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11595
for as_dir in $PATH
 
11596
do
 
11597
  IFS=$as_save_IFS
 
11598
  test -z "$as_dir" && as_dir=.
 
11599
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11600
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
11601
    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
 
11602
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11603
    break 2
 
11604
  fi
 
11605
done
 
11606
  done
 
11607
IFS=$as_save_IFS
 
11608
 
 
11609
  ;;
 
11610
esac
 
11611
fi
 
11612
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
 
11613
if test -n "$INTLTOOL_UPDATE"; then
 
11614
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
 
11615
$as_echo "$INTLTOOL_UPDATE" >&6; }
 
11616
else
 
11617
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11618
$as_echo "no" >&6; }
 
11619
fi
 
11620
 
 
11621
 
 
11622
# Extract the first word of "intltool-merge", so it can be a program name with args.
 
11623
set dummy intltool-merge; ac_word=$2
 
11624
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11625
$as_echo_n "checking for $ac_word... " >&6; }
 
11626
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
 
11627
  $as_echo_n "(cached) " >&6
 
11628
else
 
11629
  case $INTLTOOL_MERGE in
 
11630
  [\\/]* | ?:[\\/]*)
 
11631
  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
 
11632
  ;;
 
11633
  *)
 
11634
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11635
for as_dir in $PATH
 
11636
do
 
11637
  IFS=$as_save_IFS
 
11638
  test -z "$as_dir" && as_dir=.
 
11639
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11640
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
11641
    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
 
11642
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11643
    break 2
 
11644
  fi
 
11645
done
 
11646
  done
 
11647
IFS=$as_save_IFS
 
11648
 
 
11649
  ;;
 
11650
esac
 
11651
fi
 
11652
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
 
11653
if test -n "$INTLTOOL_MERGE"; then
 
11654
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
 
11655
$as_echo "$INTLTOOL_MERGE" >&6; }
 
11656
else
 
11657
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11658
$as_echo "no" >&6; }
 
11659
fi
 
11660
 
 
11661
 
 
11662
# Extract the first word of "intltool-extract", so it can be a program name with args.
 
11663
set dummy intltool-extract; ac_word=$2
 
11664
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11665
$as_echo_n "checking for $ac_word... " >&6; }
 
11666
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
 
11667
  $as_echo_n "(cached) " >&6
 
11668
else
 
11669
  case $INTLTOOL_EXTRACT in
 
11670
  [\\/]* | ?:[\\/]*)
 
11671
  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
 
11672
  ;;
 
11673
  *)
 
11674
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11675
for as_dir in $PATH
 
11676
do
 
11677
  IFS=$as_save_IFS
 
11678
  test -z "$as_dir" && as_dir=.
 
11679
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11680
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
11681
    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
 
11682
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11683
    break 2
 
11684
  fi
 
11685
done
 
11686
  done
 
11687
IFS=$as_save_IFS
 
11688
 
 
11689
  ;;
 
11690
esac
 
11691
fi
 
11692
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
 
11693
if test -n "$INTLTOOL_EXTRACT"; then
 
11694
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
 
11695
$as_echo "$INTLTOOL_EXTRACT" >&6; }
 
11696
else
 
11697
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11698
$as_echo "no" >&6; }
 
11699
fi
 
11700
 
 
11701
 
 
11702
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
 
11703
    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
 
11704
fi
 
11705
 
 
11706
  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 $< $@'
 
11707
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 $< $@'
 
11708
     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 $< $@'
 
11709
     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 $< $@'
 
11710
      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
 
11711
     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 $< $@'
 
11712
   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 $< $@'
 
11713
    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 $< $@'
 
11714
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 $< $@'
 
11715
       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 $< $@'
 
11716
      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 $< $@'
 
11717
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
 
11718
      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 $< $@'
 
11719
      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 $< $@'
 
11720
    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 $< $@'
 
11721
  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 $< $@'
 
11722
    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 $< $@'
 
11723
    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 $< $@'
 
11724
   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 $< $@'
 
11725
 
 
11726
 
 
11727
 
 
11728
 
 
11729
 
 
11730
 
 
11731
 
 
11732
 
 
11733
 
 
11734
 
 
11735
 
 
11736
 
 
11737
 
 
11738
 
 
11739
 
 
11740
 
 
11741
 
 
11742
 
 
11743
 
 
11744
 
 
11745
 
 
11746
 
 
11747
 
 
11748
 
 
11749
 
 
11750
 
 
11751
 
 
11752
 
 
11753
 
 
11754
 
 
11755
 
 
11756
 
 
11757
 
 
11758
 
 
11759
 
 
11760
 
 
11761
 
 
11762
 
 
11763
 
 
11764
 
 
11765
 
 
11766
 
 
11767
 
 
11768
 
 
11769
 
 
11770
 
 
11771
 
 
11772
 
 
11773
 
 
11774
 
 
11775
 
 
11776
 
 
11777
 
 
11778
 
 
11779
 
 
11780
 
 
11781
 
 
11782
 
 
11783
 
 
11784
 
 
11785
 
 
11786
 
 
11787
 
 
11788
 
 
11789
 
 
11790
 
 
11791
 
 
11792
 
 
11793
 
 
11794
 
 
11795
 
 
11796
 
 
11797
 
 
11798
 
 
11799
 
 
11800
 
 
11801
 
 
11802
 
 
11803
 
 
11804
 
 
11805
 
 
11806
 
 
11807
 
 
11808
 
 
11809
 
 
11810
 
 
11811
 
 
11812
 
 
11813
 
 
11814
 
 
11815
 
 
11816
 
 
11817
 
 
11818
 
 
11819
 
 
11820
 
 
11821
 
 
11822
# Check the gettext tools to make sure they are GNU
 
11823
# Extract the first word of "xgettext", so it can be a program name with args.
 
11824
set dummy xgettext; ac_word=$2
 
11825
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11826
$as_echo_n "checking for $ac_word... " >&6; }
 
11827
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
 
11828
  $as_echo_n "(cached) " >&6
 
11829
else
 
11830
  case $XGETTEXT in
 
11831
  [\\/]* | ?:[\\/]*)
 
11832
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
 
11833
  ;;
 
11834
  *)
 
11835
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11836
for as_dir in $PATH
 
11837
do
 
11838
  IFS=$as_save_IFS
 
11839
  test -z "$as_dir" && as_dir=.
 
11840
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11841
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
11842
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
 
11843
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11844
    break 2
 
11845
  fi
 
11846
done
 
11847
  done
 
11848
IFS=$as_save_IFS
 
11849
 
 
11850
  ;;
 
11851
esac
 
11852
fi
 
11853
XGETTEXT=$ac_cv_path_XGETTEXT
 
11854
if test -n "$XGETTEXT"; then
 
11855
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
 
11856
$as_echo "$XGETTEXT" >&6; }
 
11857
else
 
11858
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11859
$as_echo "no" >&6; }
 
11860
fi
 
11861
 
 
11862
 
 
11863
# Extract the first word of "msgmerge", so it can be a program name with args.
 
11864
set dummy msgmerge; ac_word=$2
 
11865
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11866
$as_echo_n "checking for $ac_word... " >&6; }
 
11867
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
 
11868
  $as_echo_n "(cached) " >&6
 
11869
else
 
11870
  case $MSGMERGE in
 
11871
  [\\/]* | ?:[\\/]*)
 
11872
  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
 
11873
  ;;
 
11874
  *)
 
11875
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11876
for as_dir in $PATH
 
11877
do
 
11878
  IFS=$as_save_IFS
 
11879
  test -z "$as_dir" && as_dir=.
 
11880
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11881
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
11882
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
 
11883
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11884
    break 2
 
11885
  fi
 
11886
done
 
11887
  done
 
11888
IFS=$as_save_IFS
 
11889
 
 
11890
  ;;
 
11891
esac
 
11892
fi
 
11893
MSGMERGE=$ac_cv_path_MSGMERGE
 
11894
if test -n "$MSGMERGE"; then
 
11895
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
 
11896
$as_echo "$MSGMERGE" >&6; }
 
11897
else
 
11898
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11899
$as_echo "no" >&6; }
 
11900
fi
 
11901
 
 
11902
 
 
11903
# Extract the first word of "msgfmt", so it can be a program name with args.
 
11904
set dummy msgfmt; ac_word=$2
 
11905
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11906
$as_echo_n "checking for $ac_word... " >&6; }
 
11907
if test "${ac_cv_path_MSGFMT+set}" = set; then :
 
11908
  $as_echo_n "(cached) " >&6
 
11909
else
 
11910
  case $MSGFMT in
 
11911
  [\\/]* | ?:[\\/]*)
 
11912
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
 
11913
  ;;
 
11914
  *)
 
11915
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11916
for as_dir in $PATH
 
11917
do
 
11918
  IFS=$as_save_IFS
 
11919
  test -z "$as_dir" && as_dir=.
 
11920
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11921
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
11922
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
11923
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11924
    break 2
 
11925
  fi
 
11926
done
 
11927
  done
 
11928
IFS=$as_save_IFS
 
11929
 
 
11930
  ;;
 
11931
esac
 
11932
fi
 
11933
MSGFMT=$ac_cv_path_MSGFMT
 
11934
if test -n "$MSGFMT"; then
 
11935
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
 
11936
$as_echo "$MSGFMT" >&6; }
 
11937
else
 
11938
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11939
$as_echo "no" >&6; }
 
11940
fi
 
11941
 
 
11942
 
 
11943
# Extract the first word of "gmsgfmt", so it can be a program name with args.
 
11944
set dummy gmsgfmt; ac_word=$2
 
11945
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11946
$as_echo_n "checking for $ac_word... " >&6; }
 
11947
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
 
11948
  $as_echo_n "(cached) " >&6
 
11949
else
 
11950
  case $GMSGFMT in
 
11951
  [\\/]* | ?:[\\/]*)
 
11952
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
 
11953
  ;;
 
11954
  *)
 
11955
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11956
for as_dir in $PATH
 
11957
do
 
11958
  IFS=$as_save_IFS
 
11959
  test -z "$as_dir" && as_dir=.
 
11960
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11961
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
11962
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
11963
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11964
    break 2
 
11965
  fi
 
11966
done
 
11967
  done
 
11968
IFS=$as_save_IFS
 
11969
 
 
11970
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
 
11971
  ;;
 
11972
esac
 
11973
fi
 
11974
GMSGFMT=$ac_cv_path_GMSGFMT
 
11975
if test -n "$GMSGFMT"; then
 
11976
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
 
11977
$as_echo "$GMSGFMT" >&6; }
 
11978
else
 
11979
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11980
$as_echo "no" >&6; }
 
11981
fi
 
11982
 
 
11983
 
 
11984
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
 
11985
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
 
11986
fi
 
11987
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
 
11988
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
 
11989
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
 
11990
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
 
11991
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
 
11992
fi
 
11993
 
 
11994
# Extract the first word of "perl", so it can be a program name with args.
 
11995
set dummy perl; ac_word=$2
 
11996
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11997
$as_echo_n "checking for $ac_word... " >&6; }
 
11998
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
 
11999
  $as_echo_n "(cached) " >&6
 
12000
else
 
12001
  case $INTLTOOL_PERL in
 
12002
  [\\/]* | ?:[\\/]*)
 
12003
  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
 
12004
  ;;
 
12005
  *)
 
12006
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12007
for as_dir in $PATH
 
12008
do
 
12009
  IFS=$as_save_IFS
 
12010
  test -z "$as_dir" && as_dir=.
 
12011
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12012
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12013
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
 
12014
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12015
    break 2
 
12016
  fi
 
12017
done
 
12018
  done
 
12019
IFS=$as_save_IFS
 
12020
 
 
12021
  ;;
 
12022
esac
 
12023
fi
 
12024
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
 
12025
if test -n "$INTLTOOL_PERL"; then
 
12026
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
 
12027
$as_echo "$INTLTOOL_PERL" >&6; }
 
12028
else
 
12029
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12030
$as_echo "no" >&6; }
 
12031
fi
 
12032
 
 
12033
 
 
12034
if test -z "$INTLTOOL_PERL"; then
 
12035
   as_fn_error $? "perl not found" "$LINENO" 5
 
12036
fi
 
12037
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
 
12038
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
 
12039
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
 
12040
if test $? -ne 0; then
 
12041
   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
 
12042
else
 
12043
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
 
12044
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
 
12045
$as_echo "$IT_PERL_VERSION" >&6; }
 
12046
fi
 
12047
if test "x" != "xno-xml"; then
 
12048
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
 
12049
$as_echo_n "checking for XML::Parser... " >&6; }
 
12050
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
 
12051
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 
12052
$as_echo "ok" >&6; }
 
12053
   else
 
12054
       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
 
12055
   fi
 
12056
fi
 
12057
 
 
12058
# Substitute ALL_LINGUAS so we can use it in po/Makefile
 
12059
 
 
12060
 
 
12061
# Set DATADIRNAME correctly if it is not set yet
 
12062
# (copied from glib-gettext.m4)
 
12063
if test -z "$DATADIRNAME"; then
 
12064
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12065
/* end confdefs.h.  */
 
12066
 
 
12067
int
 
12068
main ()
 
12069
{
 
12070
extern int _nl_msg_cat_cntr;
 
12071
                       return _nl_msg_cat_cntr
 
12072
  ;
 
12073
  return 0;
 
12074
}
 
12075
_ACEOF
 
12076
if ac_fn_c_try_link "$LINENO"; then :
 
12077
  DATADIRNAME=share
 
12078
else
 
12079
  case $host in
 
12080
    *-*-solaris*)
 
12081
                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
12082
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
12083
  DATADIRNAME=share
 
12084
else
 
12085
  DATADIRNAME=lib
 
12086
fi
 
12087
 
 
12088
    ;;
 
12089
    *)
 
12090
    DATADIRNAME=lib
 
12091
    ;;
 
12092
    esac
 
12093
fi
 
12094
rm -f core conftest.err conftest.$ac_objext \
 
12095
    conftest$ac_exeext conftest.$ac_ext
 
12096
fi
 
12097
 
 
12098
 
 
12099
 
 
12100
 
 
12101
 
 
12102
 
10678
12103
 
10679
12104
cat >>confdefs.h <<_ACEOF
10680
12105
#define LOCALE_DIR "${PREFIX}/${DATADIRNAME}/locale"
10691
12116
_ACEOF
10692
12117
 
10693
12118
 
 
12119
#####################################################
 
12120
# Check for module and library dependancies
 
12121
#####################################################
10694
12122
GLIB_REQUIRED=2.22
10695
12123
 
10696
12124
 
10823
12251
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED
10824
12252
                  gobject-2.0 >= \$GLIB_REQUIRED
10825
12253
                  gio-2.0 >= \$GLIB_REQUIRED
 
12254
                  gio-unix-2.0 >= \$GLIB_REQUIRED
 
12255
                  dbus-glib-1 >= 0.88
10826
12256
                  gee-1.0
10827
12257
                  dee-1.0 >= 0.4.2
10828
12258
                  zeitgeist-1.0 >= 0.2.6
10829
 
                  unity >= 0.2.27\""; } >&5
 
12259
                  unity >= 0.2.29\""; } >&5
10830
12260
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED
10831
12261
                  gobject-2.0 >= $GLIB_REQUIRED
10832
12262
                  gio-2.0 >= $GLIB_REQUIRED
 
12263
                  gio-unix-2.0 >= $GLIB_REQUIRED
 
12264
                  dbus-glib-1 >= 0.88
10833
12265
                  gee-1.0
10834
12266
                  dee-1.0 >= 0.4.2
10835
12267
                  zeitgeist-1.0 >= 0.2.6
10836
 
                  unity >= 0.2.27") 2>&5
 
12268
                  unity >= 0.2.29") 2>&5
10837
12269
  ac_status=$?
10838
12270
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10839
12271
  test $ac_status = 0; }; then
10840
12272
  pkg_cv_PLACE_DAEMON_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED
10841
12273
                  gobject-2.0 >= $GLIB_REQUIRED
10842
12274
                  gio-2.0 >= $GLIB_REQUIRED
 
12275
                  gio-unix-2.0 >= $GLIB_REQUIRED
 
12276
                  dbus-glib-1 >= 0.88
10843
12277
                  gee-1.0
10844
12278
                  dee-1.0 >= 0.4.2
10845
12279
                  zeitgeist-1.0 >= 0.2.6
10846
 
                  unity >= 0.2.27" 2>/dev/null`
 
12280
                  unity >= 0.2.29" 2>/dev/null`
10847
12281
else
10848
12282
  pkg_failed=yes
10849
12283
fi
10857
12291
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED
10858
12292
                  gobject-2.0 >= \$GLIB_REQUIRED
10859
12293
                  gio-2.0 >= \$GLIB_REQUIRED
 
12294
                  gio-unix-2.0 >= \$GLIB_REQUIRED
 
12295
                  dbus-glib-1 >= 0.88
10860
12296
                  gee-1.0
10861
12297
                  dee-1.0 >= 0.4.2
10862
12298
                  zeitgeist-1.0 >= 0.2.6
10863
 
                  unity >= 0.2.27\""; } >&5
 
12299
                  unity >= 0.2.29\""; } >&5
10864
12300
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED
10865
12301
                  gobject-2.0 >= $GLIB_REQUIRED
10866
12302
                  gio-2.0 >= $GLIB_REQUIRED
 
12303
                  gio-unix-2.0 >= $GLIB_REQUIRED
 
12304
                  dbus-glib-1 >= 0.88
10867
12305
                  gee-1.0
10868
12306
                  dee-1.0 >= 0.4.2
10869
12307
                  zeitgeist-1.0 >= 0.2.6
10870
 
                  unity >= 0.2.27") 2>&5
 
12308
                  unity >= 0.2.29") 2>&5
10871
12309
  ac_status=$?
10872
12310
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10873
12311
  test $ac_status = 0; }; then
10874
12312
  pkg_cv_PLACE_DAEMON_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED
10875
12313
                  gobject-2.0 >= $GLIB_REQUIRED
10876
12314
                  gio-2.0 >= $GLIB_REQUIRED
 
12315
                  gio-unix-2.0 >= $GLIB_REQUIRED
 
12316
                  dbus-glib-1 >= 0.88
10877
12317
                  gee-1.0
10878
12318
                  dee-1.0 >= 0.4.2
10879
12319
                  zeitgeist-1.0 >= 0.2.6
10880
 
                  unity >= 0.2.27" 2>/dev/null`
 
12320
                  unity >= 0.2.29" 2>/dev/null`
10881
12321
else
10882
12322
  pkg_failed=yes
10883
12323
fi
10900
12340
                PLACE_DAEMON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= $GLIB_REQUIRED
10901
12341
                  gobject-2.0 >= $GLIB_REQUIRED
10902
12342
                  gio-2.0 >= $GLIB_REQUIRED
 
12343
                  gio-unix-2.0 >= $GLIB_REQUIRED
 
12344
                  dbus-glib-1 >= 0.88
10903
12345
                  gee-1.0
10904
12346
                  dee-1.0 >= 0.4.2
10905
12347
                  zeitgeist-1.0 >= 0.2.6
10906
 
                  unity >= 0.2.27" 2>&1`
 
12348
                  unity >= 0.2.29" 2>&1`
10907
12349
        else
10908
12350
                PLACE_DAEMON_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= $GLIB_REQUIRED
10909
12351
                  gobject-2.0 >= $GLIB_REQUIRED
10910
12352
                  gio-2.0 >= $GLIB_REQUIRED
 
12353
                  gio-unix-2.0 >= $GLIB_REQUIRED
 
12354
                  dbus-glib-1 >= 0.88
10911
12355
                  gee-1.0
10912
12356
                  dee-1.0 >= 0.4.2
10913
12357
                  zeitgeist-1.0 >= 0.2.6
10914
 
                  unity >= 0.2.27" 2>&1`
 
12358
                  unity >= 0.2.29" 2>&1`
10915
12359
        fi
10916
12360
        # Put the nasty error message in config.log where it belongs
10917
12361
        echo "$PLACE_DAEMON_PKG_ERRORS" >&5
10919
12363
        as_fn_error $? "Package requirements (glib-2.0 >= $GLIB_REQUIRED
10920
12364
                  gobject-2.0 >= $GLIB_REQUIRED
10921
12365
                  gio-2.0 >= $GLIB_REQUIRED
 
12366
                  gio-unix-2.0 >= $GLIB_REQUIRED
 
12367
                  dbus-glib-1 >= 0.88
10922
12368
                  gee-1.0
10923
12369
                  dee-1.0 >= 0.4.2
10924
12370
                  zeitgeist-1.0 >= 0.2.6
10925
 
                  unity >= 0.2.27) were not met:
 
12371
                  unity >= 0.2.29) were not met:
10926
12372
 
10927
12373
$PLACE_DAEMON_PKG_ERRORS
10928
12374
 
10958
12404
 
10959
12405
 
10960
12406
 
 
12407
#####################################################
 
12408
# Check minimum required version of Zeitgeist daemon
 
12409
#####################################################
10961
12410
 
10962
12411
pkg_failed=no
10963
12412
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ZEITGEIST_DAEMON" >&5
11048
12497
 
11049
12498
fi
11050
12499
 
11051
 
DBUSSERVICEDIR=`$PKG_CONFIG --variable=session_bus_services_dir dbus-1`
11052
 
 
11053
 
# Check whether --with-dbus-services was given.
11054
 
if test "${with_dbus_services+set}" = set; then :
11055
 
  withval=$with_dbus_services;
11056
 
                DBUSSERVICEDIR=$withval
11057
 
 
11058
 
 
11059
 
fi
11060
 
 
11061
 
 
11062
 
 
 
12500
#####################################################
 
12501
# local install for distcheck and stand-alone running
 
12502
#####################################################
 
12503
with_localinstall="no"
 
12504
# Check whether --enable-localinstall was given.
 
12505
if test "${enable_localinstall+set}" = set; then :
 
12506
  enableval=$enable_localinstall; with_localinstall=$enableval
 
12507
else
 
12508
  with_localinstall=no
 
12509
fi
 
12510
 
 
12511
 
 
12512
 if test "x$with_localinstall" = "xyes"; then
 
12513
  HAVE_LOCALINSTALL_TRUE=
 
12514
  HAVE_LOCALINSTALL_FALSE='#'
 
12515
else
 
12516
  HAVE_LOCALINSTALL_TRUE='#'
 
12517
  HAVE_LOCALINSTALL_FALSE=
 
12518
fi
 
12519
 
 
12520
 
 
12521
#####################################################
 
12522
# Expand variables needed for config.vala
 
12523
#####################################################
11063
12524
 
11064
12525
  EXP_VAR=PREFIX
11065
12526
  FROM_VAR=$prefix
11120
12581
 
11121
12582
 
11122
12583
 
11123
 
ac_config_files="$ac_config_files Makefile files.place data/Makefile src/Makefile src/config.vala"
 
12584
#####################################################
 
12585
# look for dbus service dir
 
12586
#####################################################
 
12587
if test "x$with_localinstall" = "xyes"; then
 
12588
        DBUSSERVICEDIR="${datadir}/dbus-1/services/"
 
12589
else
 
12590
        DBUSSERVICEDIR=`$PKG_CONFIG --variable=session_bus_services_dir dbus-1`
 
12591
fi
 
12592
 
 
12593
 
 
12594
#####################################################
 
12595
# Create the Makefiles
 
12596
#####################################################
 
12597
ac_config_files="$ac_config_files Makefile files.place data/Makefile src/Makefile src/config.vala po/Makefile.in"
11124
12598
 
11125
12599
cat >confcache <<\_ACEOF
11126
12600
# This file is a shell script that caches the results of configure
11241
12715
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11242
12716
fi
11243
12717
 
 
12718
  ac_config_commands="$ac_config_commands po/stamp-it"
 
12719
 
 
12720
 
 
12721
if test -z "${HAVE_LOCALINSTALL_TRUE}" && test -z "${HAVE_LOCALINSTALL_FALSE}"; then
 
12722
  as_fn_error $? "conditional \"HAVE_LOCALINSTALL\" was never defined.
 
12723
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
12724
fi
 
12725
 
11244
12726
: ${CONFIG_STATUS=./config.status}
11245
12727
ac_write_fail=0
11246
12728
ac_clean_files_save=$ac_clean_files
11648
13130
# report actual input values of CONFIG_FILES etc. instead of their
11649
13131
# values after options handling.
11650
13132
ac_log="
11651
 
This file was extended by unity-place-files $as_me 0.5.16, which was
 
13133
This file was extended by unity-place-files $as_me 0.5.18, which was
11652
13134
generated by GNU Autoconf 2.67.  Invocation command line was
11653
13135
 
11654
13136
  CONFIG_FILES    = $CONFIG_FILES
11714
13196
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11715
13197
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
11716
13198
ac_cs_version="\\
11717
 
unity-place-files config.status 0.5.16
 
13199
unity-place-files config.status 0.5.18
11718
13200
configured by $0, generated by GNU Autoconf 2.67,
11719
13201
  with options \\"\$ac_cs_config\\"
11720
13202
 
12090
13572
 
12091
13573
 
12092
13574
 
 
13575
 
12093
13576
_ACEOF
12094
13577
 
12095
13578
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12101
13584
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
12102
13585
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
12103
13586
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
 
13587
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
12104
13588
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12105
13589
    "files.place") CONFIG_FILES="$CONFIG_FILES files.place" ;;
12106
13590
    "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
12107
13591
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
12108
13592
    "src/config.vala") CONFIG_FILES="$CONFIG_FILES src/config.vala" ;;
 
13593
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
 
13594
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
12109
13595
 
12110
13596
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
12111
13597
  esac
13428
14914
  chmod +x "$ofile"
13429
14915
 
13430
14916
 ;;
 
14917
    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
 
14918
        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
 
14919
      esac ;;
 
14920
    "po/stamp-it":C)
 
14921
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
 
14922
       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
 
14923
    fi
 
14924
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
 
14925
    >"po/stamp-it.tmp"
 
14926
    sed '/^#/d
 
14927
         s/^[[].*] *//
 
14928
         /^[    ]*$/d
 
14929
        '"s|^|  $ac_top_srcdir/|" \
 
14930
      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
 
14931
 
 
14932
    sed '/^POTFILES =/,/[^\\]$/ {
 
14933
                /^POTFILES =/!d
 
14934
                r po/POTFILES
 
14935
          }
 
14936
         ' "po/Makefile.in" >"po/Makefile"
 
14937
    rm -f "po/Makefile.tmp"
 
14938
    mv "po/stamp-it.tmp" "po/stamp-it"
 
14939
   ;;
13431
14940
 
13432
14941
  esac
13433
14942
done # for ac_tag
13467
14976
fi
13468
14977
 
13469
14978
 
 
14979
#####################################################
 
14980
# Output the results
 
14981
#####################################################
13470
14982
{ $as_echo "$as_me:${as_lineno-$LINENO}:
13471
14983
 
13472
14984
  Unity Files Place Daemon $VERSION
13474
14986
 
13475
14987
  Prefix         : ${prefix}
13476
14988
 
 
14989
  Local install  : ${with_localinstall}
 
14990
 
13477
14991
  Extra CFlags   : ${CPPFLAGS} $MAINTAINER_CFLAGS
13478
14992
  Extra ValaFlags: ${CPPFLAGS} $MAINTAINER_VALAFLAGS
13479
14993
" >&5
13484
14998
 
13485
14999
  Prefix         : ${prefix}
13486
15000
 
 
15001
  Local install  : ${with_localinstall}
 
15002
 
13487
15003
  Extra CFlags   : ${CPPFLAGS} $MAINTAINER_CFLAGS
13488
15004
  Extra ValaFlags: ${CPPFLAGS} $MAINTAINER_VALAFLAGS
13489
15005
" >&6;}