~xubuntu-dev/libxfce4util/maverick

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Lionel Le Folgoc
  • Date: 2010-05-23 18:00:15 UTC
  • Revision ID: mrpouit@ubuntu.com-20100523180015-0ddtdmn4xstvm2y8
* Merge from debian testing, remaining Ubuntu changes:
  - debian/control: use our Vcs-* fields.
  - debian/patches:
    + xubuntu_desktop-x-ubuntu-gettext.patch: display translations for
      "X-Ubuntu-Gettext-Domain" desktop files
    + series:
      . don't apply 01_add-desktop-base-in-config-dirs.patch
      . refreshed.
* New upstream release.
* debian/control:
  - bump standards version to 3.8.4.
  - add build-dep on intltool. 
  - drop quilt and chrpath build-deps.
  - bump debhelper build-deps for overrides.
* debian/rules:
  - switch to debhelper 7.
* switch to 3.0 (quilt) source format.
* debian/watch edited to track Xfce archive reorganisation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# generated automatically by aclocal 1.10.1 -*- Autoconf -*-
 
1
# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
2
2
 
3
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
 
# 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
 
4
# 2005, 2006, 2007, 2008, 2009  Free Software Foundation, Inc.
5
5
# This file is free software; the Free Software Foundation
6
6
# gives unlimited permission to copy and/or distribute it,
7
7
# with or without modifications, as long as this notice is preserved.
13
13
 
14
14
m4_ifndef([AC_AUTOCONF_VERSION],
15
15
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16
 
m4_if(AC_AUTOCONF_VERSION, [2.61],,
17
 
[m4_warning([this file was generated for autoconf 2.61.
 
16
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],,
 
17
[m4_warning([this file was generated for autoconf 2.65.
18
18
You have another version of autoconf.  It may work, but is not guaranteed to.
19
19
If you have problems, you may need to regenerate the build system entirely.
20
20
To do so, use the procedure documented by the package, typically `autoreconf'.])])
462
462
[
463
463
  AC_BEFORE([AC_PROG_LIBTOOL],[$0])dnl setup libtool first
464
464
  AC_BEFORE([AM_PROG_LIBTOOL],[$0])dnl setup libtool first
 
465
 
 
466
  dnl check for tools we added during development
 
467
  AC_PATH_PROG([GTKDOC_CHECK],[gtkdoc-check])
 
468
  AC_PATH_PROGS([GTKDOC_REBASE],[gtkdoc-rebase],[true])
 
469
  AC_PATH_PROG([GTKDOC_MKPDF],[gtkdoc-mkpdf])
 
470
 
465
471
  dnl for overriding the documentation installation directory
466
472
  AC_ARG_WITH([html-dir],
467
473
    AS_HELP_STRING([--with-html-dir=PATH], [path to installed docs]),,
480
486
      [PKG_CHECK_EXISTS([gtk-doc],,
481
487
                        AC_MSG_ERROR([gtk-doc not installed and --enable-gtk-doc requested]))],
482
488
      [PKG_CHECK_EXISTS([gtk-doc >= $1],,
483
 
                        AC_MSG_ERROR([You need to have gtk-doc >= $1 installed to build gtk-doc]))])
 
489
                        AC_MSG_ERROR([You need to have gtk-doc >= $1 installed to build $PACKAGE_NAME]))])
484
490
  fi
485
491
 
486
492
  AC_MSG_CHECKING([whether to build gtk-doc documentation])
487
493
  AC_MSG_RESULT($enable_gtk_doc)
488
494
 
489
 
  AC_PATH_PROGS(GTKDOC_CHECK,gtkdoc-check,)
 
495
  dnl enable/disable output formats
 
496
  AC_ARG_ENABLE([gtk-doc-html],
 
497
    AS_HELP_STRING([--enable-gtk-doc-html],
 
498
                   [build documentation in html format [[default=yes]]]),,
 
499
    [enable_gtk_doc_html=yes])
 
500
    AC_ARG_ENABLE([gtk-doc-pdf],
 
501
      AS_HELP_STRING([--enable-gtk-doc-pdf],
 
502
                     [build documentation in pdf format [[default=no]]]),,
 
503
      [enable_gtk_doc_pdf=no])
 
504
 
 
505
  if test -z "$GTKDOC_MKPDF"; then
 
506
    enable_gtk_doc_pdf=no
 
507
  fi
 
508
 
490
509
 
491
510
  AM_CONDITIONAL([ENABLE_GTK_DOC], [test x$enable_gtk_doc = xyes])
 
511
  AM_CONDITIONAL([GTK_DOC_BUILD_HTML], [test x$enable_gtk_doc_html = xyes])
 
512
  AM_CONDITIONAL([GTK_DOC_BUILD_PDF], [test x$enable_gtk_doc_pdf = xyes])
492
513
  AM_CONDITIONAL([GTK_DOC_USE_LIBTOOL], [test -n "$LIBTOOL"])
493
 
])
 
514
  AM_CONDITIONAL([GTK_DOC_USE_REBASE], [test -n "$GTKDOC_REBASE"])
 
515
])
 
516
 
 
517
 
 
518
dnl IT_PROG_INTLTOOL([MINIMUM-VERSION], [no-xml])
 
519
# serial 40 IT_PROG_INTLTOOL
 
520
AC_DEFUN([IT_PROG_INTLTOOL], [
 
521
AC_PREREQ([2.50])dnl
 
522
AC_REQUIRE([AM_NLS])dnl
 
523
 
 
524
case "$am__api_version" in
 
525
    1.[01234])
 
526
        AC_MSG_ERROR([Automake 1.5 or newer is required to use intltool])
 
527
    ;;
 
528
    *)
 
529
    ;;
 
530
esac
 
531
 
 
532
if test -n "$1"; then
 
533
    AC_MSG_CHECKING([for intltool >= $1])
 
534
 
 
535
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo $1 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
 
536
    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
 
537
    [INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
 
538
    ]
 
539
    AC_MSG_RESULT([$INTLTOOL_APPLIED_VERSION found])
 
540
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
 
541
        AC_MSG_ERROR([Your intltool is too old.  You need intltool $1 or later.])
 
542
fi
 
543
 
 
544
AC_PATH_PROG(INTLTOOL_UPDATE, [intltool-update])
 
545
AC_PATH_PROG(INTLTOOL_MERGE, [intltool-merge])
 
546
AC_PATH_PROG(INTLTOOL_EXTRACT, [intltool-extract])
 
547
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
 
548
    AC_MSG_ERROR([The intltool scripts were not found. Please install intltool.])
 
549
fi
 
550
 
 
551
  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 $< [$]@' 
 
552
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 $< [$]@' 
 
553
     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 $< [$]@' 
 
554
     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 $< [$]@' 
 
555
      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< [$]@'
 
556
     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 $< [$]@' 
 
557
   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 $< [$]@' 
 
558
    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 $< [$]@' 
 
559
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 $< [$]@' 
 
560
       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 $< [$]@' 
 
561
      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 $< [$]@' 
 
562
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< [$]@' 
 
563
      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 $< [$]@' 
 
564
      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 $< [$]@' 
 
565
    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 $< [$]@' 
 
566
  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 $< [$]@' 
 
567
    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 $< [$]@' 
 
568
    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 $< [$]@'
 
569
   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 $< [$]@'
 
570
 
 
571
_IT_SUBST(INTLTOOL_DESKTOP_RULE)
 
572
_IT_SUBST(INTLTOOL_DIRECTORY_RULE)
 
573
_IT_SUBST(INTLTOOL_KEYS_RULE)
 
574
_IT_SUBST(INTLTOOL_PROP_RULE)
 
575
_IT_SUBST(INTLTOOL_OAF_RULE)
 
576
_IT_SUBST(INTLTOOL_PONG_RULE)
 
577
_IT_SUBST(INTLTOOL_SERVER_RULE)
 
578
_IT_SUBST(INTLTOOL_SHEET_RULE)
 
579
_IT_SUBST(INTLTOOL_SOUNDLIST_RULE)
 
580
_IT_SUBST(INTLTOOL_UI_RULE)
 
581
_IT_SUBST(INTLTOOL_XAM_RULE)
 
582
_IT_SUBST(INTLTOOL_KBD_RULE)
 
583
_IT_SUBST(INTLTOOL_XML_RULE)
 
584
_IT_SUBST(INTLTOOL_XML_NOMERGE_RULE)
 
585
_IT_SUBST(INTLTOOL_CAVES_RULE)
 
586
_IT_SUBST(INTLTOOL_SCHEMAS_RULE)
 
587
_IT_SUBST(INTLTOOL_THEME_RULE)
 
588
_IT_SUBST(INTLTOOL_SERVICE_RULE)
 
589
_IT_SUBST(INTLTOOL_POLICY_RULE)
 
590
 
 
591
# Check the gettext tools to make sure they are GNU
 
592
AC_PATH_PROG(XGETTEXT, xgettext)
 
593
AC_PATH_PROG(MSGMERGE, msgmerge)
 
594
AC_PATH_PROG(MSGFMT, msgfmt)
 
595
AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
 
596
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
 
597
    AC_MSG_ERROR([GNU gettext tools not found; required for intltool])
 
598
fi
 
599
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
 
600
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
 
601
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
 
602
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
 
603
    AC_MSG_ERROR([GNU gettext tools not found; required for intltool])
 
604
fi
 
605
 
 
606
AC_PATH_PROG(INTLTOOL_PERL, perl)
 
607
if test -z "$INTLTOOL_PERL"; then
 
608
   AC_MSG_ERROR([perl not found])
 
609
fi
 
610
AC_MSG_CHECKING([for perl >= 5.8.1])
 
611
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
 
612
if test $? -ne 0; then
 
613
   AC_MSG_ERROR([perl 5.8.1 is required for intltool])
 
614
else
 
615
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
 
616
   AC_MSG_RESULT([$IT_PERL_VERSION])
 
617
fi
 
618
if test "x$2" != "xno-xml"; then
 
619
   AC_MSG_CHECKING([for XML::Parser])
 
620
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
 
621
       AC_MSG_RESULT([ok])
 
622
   else
 
623
       AC_MSG_ERROR([XML::Parser perl module is required for intltool])
 
624
   fi
 
625
fi
 
626
 
 
627
# Substitute ALL_LINGUAS so we can use it in po/Makefile
 
628
AC_SUBST(ALL_LINGUAS)
 
629
 
 
630
# Set DATADIRNAME correctly if it is not set yet
 
631
# (copied from glib-gettext.m4)
 
632
if test -z "$DATADIRNAME"; then
 
633
  AC_LINK_IFELSE(
 
634
    [AC_LANG_PROGRAM([[]],
 
635
                     [[extern int _nl_msg_cat_cntr;
 
636
                       return _nl_msg_cat_cntr]])],
 
637
    [DATADIRNAME=share],
 
638
    [case $host in
 
639
    *-*-solaris*)
 
640
    dnl On Solaris, if bind_textdomain_codeset is in libc,
 
641
    dnl GNU format message catalog is always supported,
 
642
    dnl since both are added to the libc all together.
 
643
    dnl Hence, we'd like to go with DATADIRNAME=share
 
644
    dnl in this case.
 
645
    AC_CHECK_FUNC(bind_textdomain_codeset,
 
646
      [DATADIRNAME=share], [DATADIRNAME=lib])
 
647
    ;;
 
648
    *)
 
649
    [DATADIRNAME=lib]
 
650
    ;;
 
651
    esac])
 
652
fi
 
653
AC_SUBST(DATADIRNAME)
 
654
 
 
655
IT_PO_SUBDIR([po])
 
656
 
 
657
])
 
658
 
 
659
 
 
660
# IT_PO_SUBDIR(DIRNAME)
 
661
# ---------------------
 
662
# All po subdirs have to be declared with this macro; the subdir "po" is
 
663
# declared by IT_PROG_INTLTOOL.
 
664
#
 
665
AC_DEFUN([IT_PO_SUBDIR],
 
666
[AC_PREREQ([2.53])dnl We use ac_top_srcdir inside AC_CONFIG_COMMANDS.
 
667
dnl
 
668
dnl The following CONFIG_COMMANDS should be executed at the very end
 
669
dnl of config.status.
 
670
AC_CONFIG_COMMANDS_PRE([
 
671
  AC_CONFIG_COMMANDS([$1/stamp-it], [
 
672
    if [ ! grep "^# INTLTOOL_MAKEFILE$" "$1/Makefile.in" > /dev/null ]; then
 
673
       AC_MSG_ERROR([$1/Makefile.in.in was not created by intltoolize.])
 
674
    fi
 
675
    rm -f "$1/stamp-it" "$1/stamp-it.tmp" "$1/POTFILES" "$1/Makefile.tmp"
 
676
    >"$1/stamp-it.tmp"
 
677
    [sed '/^#/d
 
678
         s/^[[].*] *//
 
679
         /^[    ]*$/d
 
680
        '"s|^|  $ac_top_srcdir/|" \
 
681
      "$srcdir/$1/POTFILES.in" | sed '$!s/$/ \\/' >"$1/POTFILES"
 
682
    ]
 
683
    [sed '/^POTFILES =/,/[^\\]$/ {
 
684
                /^POTFILES =/!d
 
685
                r $1/POTFILES
 
686
          }
 
687
         ' "$1/Makefile.in" >"$1/Makefile"]
 
688
    rm -f "$1/Makefile.tmp"
 
689
    mv "$1/stamp-it.tmp" "$1/stamp-it"
 
690
  ])
 
691
])dnl
 
692
])
 
693
 
 
694
# _IT_SUBST(VARIABLE)
 
695
# -------------------
 
696
# Abstract macro to do either _AM_SUBST_NOTMAKE or AC_SUBST
 
697
#
 
698
AC_DEFUN([_IT_SUBST],
 
699
[
 
700
AC_SUBST([$1])
 
701
m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])])
 
702
]
 
703
)
 
704
 
 
705
# deprecated macros
 
706
AU_ALIAS([AC_PROG_INTLTOOL], [IT_PROG_INTLTOOL])
 
707
# A hint is needed for aclocal from Automake <= 1.9.4:
 
708
# AC_DEFUN([AC_PROG_INTLTOOL], ...)
 
709
 
494
710
 
495
711
# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
496
712
#
868
1084
# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])
869
1085
# ---------------------------------------------------
870
1086
m4_define([lt_decl_varnames_tagged],
871
 
[_$0(m4_quote(m4_default([$1], [[, ]])),
872
 
     m4_quote(m4_if([$2], [],
873
 
                     m4_quote(lt_decl_tag_varnames),
874
 
                  m4_quote(m4_shift($@)))),
875
 
     m4_split(m4_normalize(m4_quote(_LT_TAGS))))])
876
 
m4_define([_lt_decl_varnames_tagged], [lt_combine([$1], [$2], [_], $3)])
 
1087
[m4_assert([$# <= 2])dnl
 
1088
_$0(m4_quote(m4_default([$1], [[, ]])),
 
1089
    m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]),
 
1090
    m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))])
 
1091
m4_define([_lt_decl_varnames_tagged],
 
1092
[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])])
877
1093
 
878
1094
 
879
1095
# lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
1433
1649
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
1434
1650
    darwin1.*)
1435
1651
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
1436
 
    darwin*) # darwin 5.x on 
 
1652
    darwin*) # darwin 5.x on
1437
1653
      # if running on 10.5 or later, the deployment target defaults
1438
1654
      # to the OS version, if on x86, and 10.4, the deployment
1439
 
      # target defaults to 10.4. Don't you love it? 
 
1655
      # target defaults to 10.4. Don't you love it?
1440
1656
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
1441
1657
        10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
1442
1658
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
1478
1694
  _LT_TAGVAR(whole_archive_flag_spec, $1)=''
1479
1695
  _LT_TAGVAR(link_all_deplibs, $1)=yes
1480
1696
  _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
1481
 
  if test "$GCC" = "yes"; then
 
1697
  case $cc_basename in
 
1698
     ifort*) _lt_dar_can_shared=yes ;;
 
1699
     *) _lt_dar_can_shared=$GCC ;;
 
1700
  esac
 
1701
  if test "$_lt_dar_can_shared" = "yes"; then
1482
1702
    output_verbose_link_cmd=echo
1483
1703
    _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
1484
1704
    _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
2000
2220
    lt_cv_sys_max_cmd_len=-1;
2001
2221
    ;;
2002
2222
 
2003
 
  cygwin* | mingw*)
 
2223
  cygwin* | mingw* | cegcc*)
2004
2224
    # On Win9x/ME, this test blows up -- it succeeds, but takes
2005
2225
    # about 5 minutes as the teststring grows exponentially.
2006
2226
    # Worse, since 9x/ME are not pre-emptively multitasking,
2168
2388
#  endif
2169
2389
#endif
2170
2390
 
2171
 
#ifdef __cplusplus
2172
 
extern "C" void exit (int);
2173
 
#endif
2174
 
 
2175
2391
void fnord() { int i=42;}
2176
2392
int main ()
2177
2393
{
2187
2403
  else
2188
2404
    puts (dlerror ());
2189
2405
 
2190
 
    exit (status);
 
2406
  return status;
2191
2407
}]
2192
2408
_LT_EOF
2193
2409
  if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
2226
2442
    lt_cv_dlopen_self=yes
2227
2443
    ;;
2228
2444
 
2229
 
  mingw* | pw32*)
 
2445
  mingw* | pw32* | cegcc*)
2230
2446
    lt_cv_dlopen="LoadLibrary"
2231
2447
    lt_cv_dlopen_libs=
2232
2448
    ;;
2523
2739
[AC_REQUIRE([AC_CANONICAL_HOST])dnl
2524
2740
m4_require([_LT_DECL_EGREP])dnl
2525
2741
m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 
2742
m4_require([_LT_DECL_OBJDUMP])dnl
2526
2743
m4_require([_LT_DECL_SED])dnl
2527
2744
AC_MSG_CHECKING([dynamic linker characteristics])
2528
2745
m4_if([$1],
2687
2904
  # libtool to hard-code these into programs
2688
2905
  ;;
2689
2906
 
2690
 
cygwin* | mingw* | pw32*)
 
2907
cygwin* | mingw* | pw32* | cegcc*)
2691
2908
  version_type=windows
2692
2909
  shrext_cmds=".dll"
2693
2910
  need_version=no
2694
2911
  need_lib_prefix=no
2695
2912
 
2696
2913
  case $GCC,$host_os in
2697
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
 
2914
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
2698
2915
    library_names_spec='$libname.dll.a'
2699
2916
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
2700
2917
    postinstall_cmds='base_file=`basename \${file}`~
2717
2934
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
2718
2935
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
2719
2936
      ;;
2720
 
    mingw*)
 
2937
    mingw* | cegcc*)
2721
2938
      # MinGW DLLs use traditional 'lib' prefix
2722
2939
      soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
2723
2940
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
2972
3189
  dynamic_linker='GNU/Linux ld.so'
2973
3190
  ;;
2974
3191
 
2975
 
netbsdelf*-gnu)
2976
 
  version_type=linux
2977
 
  need_lib_prefix=no
2978
 
  need_version=no
2979
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
2980
 
  soname_spec='${libname}${release}${shared_ext}$major'
2981
 
  shlibpath_var=LD_LIBRARY_PATH
2982
 
  shlibpath_overrides_runpath=no
2983
 
  hardcode_into_libs=yes
2984
 
  dynamic_linker='NetBSD ld.elf_so'
2985
 
  ;;
2986
 
 
2987
3192
netbsd*)
2988
3193
  version_type=sunos
2989
3194
  need_lib_prefix=no
3155
3360
  version_type=linux
3156
3361
  need_lib_prefix=no
3157
3362
  need_version=no
3158
 
  library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
3363
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3159
3364
  shlibpath_var=LD_LIBRARY_PATH
3160
3365
  shlibpath_overrides_runpath=no
3161
3366
  hardcode_into_libs=yes
3179
3384
if test "$GCC" = yes; then
3180
3385
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
3181
3386
fi
3182
 
 
 
3387
 
3183
3388
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
3184
3389
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
3185
3390
fi
3456
3661
#  -- PORTME fill in with the dynamic library characteristics
3457
3662
m4_defun([_LT_CHECK_MAGIC_METHOD],
3458
3663
[m4_require([_LT_DECL_EGREP])
 
3664
m4_require([_LT_DECL_OBJDUMP])
3459
3665
AC_CACHE_CHECK([how to recognize dependent libraries],
3460
3666
lt_cv_deplibs_check_method,
3461
3667
[lt_cv_file_magic_cmd='$MAGIC_CMD'
3506
3712
  fi
3507
3713
  ;;
3508
3714
 
 
3715
cegcc)
 
3716
  # use the weaker test based on 'objdump'. See mingw*.
 
3717
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 
3718
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
3719
  ;;
 
3720
 
3509
3721
darwin* | rhapsody*)
3510
3722
  lt_cv_deplibs_check_method=pass_all
3511
3723
  ;;
3568
3780
  lt_cv_deplibs_check_method=pass_all
3569
3781
  ;;
3570
3782
 
3571
 
netbsd* | netbsdelf*-gnu)
 
3783
netbsd*)
3572
3784
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
3573
3785
    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3574
3786
  else
3817
4029
aix*)
3818
4030
  symcode='[[BCDT]]'
3819
4031
  ;;
3820
 
cygwin* | mingw* | pw32*)
 
4032
cygwin* | mingw* | pw32* | cegcc*)
3821
4033
  symcode='[[ABCDGISTW]]'
3822
4034
  ;;
3823
4035
hpux*)
4063
4275
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
4064
4276
      # PIC is the default for these OSes.
4065
4277
      ;;
4066
 
    mingw* | cygwin* | os2* | pw32*)
 
4278
    mingw* | cygwin* | os2* | pw32* | cegcc*)
4067
4279
      # This hack is so that the source file can tell whether it is being
4068
4280
      # built for inclusion in a dll (and should export symbols for example).
4069
4281
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
4090
4302
      fi
4091
4303
      ;;
4092
4304
    hpux*)
4093
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
4094
 
      # not for PA HP-UX.
 
4305
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
4306
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
4307
      # sets the default TLS model and affects inlining.
4095
4308
      case $host_cpu in
4096
 
      hppa*64*|ia64*)
 
4309
      hppa*64*)
4097
4310
        ;;
4098
4311
      *)
4099
4312
        _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4191
4404
            _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
4192
4405
            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4193
4406
            ;;
4194
 
          icpc* | ecpc* )
4195
 
            # Intel C++
 
4407
          ecpc* )
 
4408
            # old Intel C++ for x86_64 which still supported -KPIC.
4196
4409
            _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4197
4410
            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4198
4411
            _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4199
4412
            ;;
 
4413
          icpc* )
 
4414
            # Intel C++, used to be incompatible with GCC.
 
4415
            # ICC 10 doesn't accept -KPIC any more.
 
4416
            _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
4417
            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 
4418
            _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
 
4419
            ;;
4200
4420
          pgCC* | pgcpp*)
4201
4421
            # Portland Group C++ compiler
4202
4422
            _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4241
4461
            ;;
4242
4462
        esac
4243
4463
        ;;
4244
 
      netbsd* | netbsdelf*-gnu)
 
4464
      netbsd*)
4245
4465
        ;;
4246
4466
      *qnx* | *nto*)
4247
4467
        # QNX uses GNU C++, but need to define -shared option too, otherwise
4362
4582
      # PIC is the default for these OSes.
4363
4583
      ;;
4364
4584
 
4365
 
    mingw* | cygwin* | pw32* | os2*)
 
4585
    mingw* | cygwin* | pw32* | os2* | cegcc*)
4366
4586
      # This hack is so that the source file can tell whether it is being
4367
4587
      # built for inclusion in a dll (and should export symbols for example).
4368
4588
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
4378
4598
      ;;
4379
4599
 
4380
4600
    hpux*)
4381
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
4382
 
      # not for PA HP-UX.
 
4601
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
4602
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
4603
      # sets the default TLS model and affects inlining.
4383
4604
      case $host_cpu in
4384
 
      hppa*64*|ia64*)
 
4605
      hppa*64*)
4385
4606
        # +Z the default
4386
4607
        ;;
4387
4608
      *)
4431
4652
      fi
4432
4653
      ;;
4433
4654
 
4434
 
    mingw* | cygwin* | pw32* | os2*)
 
4655
    mingw* | cygwin* | pw32* | os2* | cegcc*)
4435
4656
      # This hack is so that the source file can tell whether it is being
4436
4657
      # built for inclusion in a dll (and should export symbols for example).
4437
4658
      m4_if([$1], [GCJ], [],
4462
4683
 
4463
4684
    linux* | k*bsd*-gnu)
4464
4685
      case $cc_basename in
4465
 
      icc* | ecc* | ifort*)
 
4686
      # old Intel for x86_64 which still supported -KPIC.
 
4687
      ecc*)
4466
4688
        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4467
4689
        _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4468
4690
        _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4469
4691
        ;;
 
4692
      # icc used to be incompatible with GCC.
 
4693
      # ICC 10 doesn't accept -KPIC any more.
 
4694
      icc* | ifort*)
 
4695
        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
4696
        _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 
4697
        _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
 
4698
        ;;
 
4699
      # Lahey Fortran 8.1.
 
4700
      lf95*)
 
4701
        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
4702
        _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
 
4703
        _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
 
4704
        ;;
4470
4705
      pgcc* | pgf77* | pgf90* | pgf95*)
4471
4706
        # Portland Group compilers (*not* the Pentium gcc compiler,
4472
4707
        # which looks to be a dead project)
4648
4883
  pw32*)
4649
4884
    _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
4650
4885
  ;;
4651
 
  cygwin* | mingw*)
 
4886
  cygwin* | mingw* | cegcc*)
4652
4887
    _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
4653
4888
  ;;
4654
 
  linux* | k*bsd*-gnu)
4655
 
    _LT_TAGVAR(link_all_deplibs, $1)=no
4656
 
  ;;
4657
4889
  *)
4658
4890
    _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
4659
4891
  ;;
4703
4935
  extract_expsyms_cmds=
4704
4936
 
4705
4937
  case $host_os in
4706
 
  cygwin* | mingw* | pw32*)
 
4938
  cygwin* | mingw* | pw32* | cegcc*)
4707
4939
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
4708
4940
    # When not using gcc, we currently assume that we are using
4709
4941
    # Microsoft Visual C++.
4790
5022
      fi
4791
5023
      ;;
4792
5024
 
4793
 
    cygwin* | mingw* | pw32*)
 
5025
    cygwin* | mingw* | pw32* | cegcc*)
4794
5026
      # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
4795
5027
      # as there is no search path for DLLs.
4796
5028
      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
4856
5088
          tmp_addflag=' -i_dynamic -nofor_main' ;;
4857
5089
        ifc* | ifort*)                  # Intel Fortran compiler
4858
5090
          tmp_addflag=' -nofor_main' ;;
 
5091
        lf95*)                          # Lahey Fortran 8.1
 
5092
          _LT_TAGVAR(whole_archive_flag_spec, $1)=
 
5093
          tmp_sharedflag='--shared' ;;
4859
5094
        xl[[cC]]*)                      # IBM XL C 8.0 on PPC (deal with xlf below)
4860
5095
          tmp_sharedflag='-qmkshrobj'
4861
5096
          tmp_addflag= ;;
4897
5132
      fi
4898
5133
      ;;
4899
5134
 
4900
 
    netbsd* | netbsdelf*-gnu)
 
5135
    netbsd*)
4901
5136
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
4902
5137
        _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
4903
5138
        wlarc=
5072
5307
        if test "$aix_use_runtimelinking" = yes; then
5073
5308
          shared_flag="$shared_flag "'${wl}-G'
5074
5309
        fi
5075
 
        _LT_TAGVAR(link_all_deplibs, $1)=no
5076
5310
      else
5077
5311
        # not using gcc
5078
5312
        if test "$host_cpu" = ia64; then
5088
5322
        fi
5089
5323
      fi
5090
5324
 
 
5325
      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
5091
5326
      # It seems that -bexpall does not export symbols beginning with
5092
5327
      # underscore (_), so it is better to generate a list of symbols to export.
5093
5328
      _LT_TAGVAR(always_export_symbols, $1)=yes
5142
5377
      _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
5143
5378
      ;;
5144
5379
 
5145
 
    cygwin* | mingw* | pw32*)
 
5380
    cygwin* | mingw* | pw32* | cegcc*)
5146
5381
      # When not using gcc, we currently assume that we are using
5147
5382
      # Microsoft Visual C++.
5148
5383
      # hardcode_libdir_flag_spec is actually meaningless, as there is
5246
5481
          _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
5247
5482
          ;;
5248
5483
        ia64*)
5249
 
          _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
5484
          _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
5250
5485
          ;;
5251
5486
        *)
5252
5487
          _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
5310
5545
      _LT_TAGVAR(link_all_deplibs, $1)=yes
5311
5546
      ;;
5312
5547
 
5313
 
    netbsd* | netbsdelf*-gnu)
 
5548
    netbsd*)
5314
5549
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
5315
5550
        _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
5316
5551
      else
6027
6262
          fi
6028
6263
        fi
6029
6264
 
 
6265
        _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
6030
6266
        # It seems that -bexpall does not export symbols beginning with
6031
6267
        # underscore (_), so it is better to generate a list of symbols to
6032
6268
        # export.
6085
6321
        esac
6086
6322
        ;;
6087
6323
 
6088
 
      cygwin* | mingw* | pw32*)
 
6324
      cygwin* | mingw* | pw32* | cegcc*)
6089
6325
        # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
6090
6326
        # as there is no search path for DLLs.
6091
6327
        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
7466
7702
])
7467
7703
 
7468
7704
 
 
7705
# _LT_DECL_OBJDUMP
 
7706
# --------------
 
7707
# If we don't have a new enough Autoconf to choose the best objdump
 
7708
# available, choose the one first in the user's PATH.
 
7709
m4_defun([_LT_DECL_OBJDUMP],
 
7710
[AC_CHECK_TOOL(OBJDUMP, objdump, false)
 
7711
test -z "$OBJDUMP" && OBJDUMP=objdump
 
7712
_LT_DECL([], [OBJDUMP], [1], [An object symbol dumper])
 
7713
AC_SUBST([OBJDUMP])
 
7714
])
 
7715
 
 
7716
 
7469
7717
# _LT_DECL_SED
7470
7718
# ------------
7471
7719
# Check for a fully-functional sed program, that truncates
7926
8174
[enable_win32_dll=yes
7927
8175
 
7928
8176
case $host in
7929
 
*-*-cygwin* | *-*-mingw* | *-*-pw32*)
 
8177
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
7930
8178
  AC_CHECK_TOOL(AS, as, false)
7931
8179
  AC_CHECK_TOOL(DLLTOOL, dlltool, false)
7932
8180
  AC_CHECK_TOOL(OBJDUMP, objdump, false)
8167
8415
 
8168
8416
# ltsugar.m4 -- libtool m4 base layer.                         -*-Autoconf-*-
8169
8417
#
8170
 
#   Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc.
8171
 
#   Written by Gary V. Vaughan, 2004
 
8418
# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
 
8419
# Written by Gary V. Vaughan, 2004
8172
8420
#
8173
8421
# This file is free software; the Free Software Foundation gives
8174
8422
# unlimited permission to copy and/or distribute it, with or without
8175
8423
# modifications, as long as this notice is preserved.
8176
8424
 
8177
 
# serial 5 ltsugar.m4
 
8425
# serial 6 ltsugar.m4
8178
8426
 
8179
8427
# This is to help aclocal find these macros, as it can't see m4_define.
8180
8428
AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
8230
8478
# Produce a SEP delimited list of all paired combinations of elements of
8231
8479
# PREFIX-LIST with SUFFIX1 through SUFFIXn.  Each element of the list
8232
8480
# has the form PREFIXmINFIXSUFFIXn.
 
8481
# Needed until we can rely on m4_combine added in Autoconf 2.62.
8233
8482
m4_define([lt_combine],
8234
 
[m4_if([$2], [], [],
8235
 
  [m4_if([$4], [], [],
8236
 
    [lt_join(m4_quote(m4_default([$1], [[, ]])),
8237
 
      lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_prefix, [$2],
8238
 
                   [m4_foreach(_Lt_suffix, lt_car([m4_shiftn(3, $@)]),
8239
 
                               [_Lt_prefix[]$3[]_Lt_suffix ])])))))])])dnl
8240
 
])
 
8483
[m4_if(m4_eval([$# > 3]), [1],
 
8484
       [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl
 
8485
[[m4_foreach([_Lt_prefix], [$2],
 
8486
             [m4_foreach([_Lt_suffix],
 
8487
                ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[,
 
8488
        [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])])
8241
8489
 
8242
8490
 
8243
8491
# lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ])
8300
8548
 
8301
8549
# Generated from ltversion.in.
8302
8550
 
8303
 
# serial 2976 ltversion.m4
 
8551
# serial 3017 ltversion.m4
8304
8552
# This file is part of GNU Libtool
8305
8553
 
8306
 
m4_define([LT_PACKAGE_VERSION], [2.2.4])
8307
 
m4_define([LT_PACKAGE_REVISION], [1.2976])
 
8554
m4_define([LT_PACKAGE_VERSION], [2.2.6b])
 
8555
m4_define([LT_PACKAGE_REVISION], [1.3017])
8308
8556
 
8309
8557
AC_DEFUN([LTVERSION_VERSION],
8310
 
[macro_version='2.2.4'
8311
 
macro_revision='1.2976'
 
8558
[macro_version='2.2.6b'
 
8559
macro_revision='1.3017'
8312
8560
_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
8313
8561
_LT_DECL(, macro_revision, 0)
8314
8562
])
8406
8654
m4_ifndef([AC_LIBTOOL_CONFIG],          [AC_DEFUN([AC_LIBTOOL_CONFIG])])
8407
8655
m4_ifndef([_LT_AC_FILE_LTDLL_C],        [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
8408
8656
 
 
8657
# nls.m4 serial 5 (gettext-0.18)
 
8658
dnl Copyright (C) 1995-2003, 2005-2006, 2008-2010 Free Software Foundation,
 
8659
dnl Inc.
 
8660
dnl This file is free software; the Free Software Foundation
 
8661
dnl gives unlimited permission to copy and/or distribute it,
 
8662
dnl with or without modifications, as long as this notice is preserved.
 
8663
dnl
 
8664
dnl This file can can be used in projects which are not available under
 
8665
dnl the GNU General Public License or the GNU Library General Public
 
8666
dnl License but which still want to provide support for the GNU gettext
 
8667
dnl functionality.
 
8668
dnl Please note that the actual code of the GNU gettext library is covered
 
8669
dnl by the GNU Library General Public License, and the rest of the GNU
 
8670
dnl gettext package package is covered by the GNU General Public License.
 
8671
dnl They are *not* in the public domain.
 
8672
 
 
8673
dnl Authors:
 
8674
dnl   Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
 
8675
dnl   Bruno Haible <haible@clisp.cons.org>, 2000-2003.
 
8676
 
 
8677
AC_PREREQ([2.50])
 
8678
 
 
8679
AC_DEFUN([AM_NLS],
 
8680
[
 
8681
  AC_MSG_CHECKING([whether NLS is requested])
 
8682
  dnl Default is enabled NLS
 
8683
  AC_ARG_ENABLE([nls],
 
8684
    [  --disable-nls           do not use Native Language Support],
 
8685
    USE_NLS=$enableval, USE_NLS=yes)
 
8686
  AC_MSG_RESULT([$USE_NLS])
 
8687
  AC_SUBST([USE_NLS])
 
8688
])
 
8689
 
8409
8690
# pkg.m4 - Macros to locate and utilise pkg-config.            -*- Autoconf -*-
8410
8691
8411
8692
# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
8474
8755
# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
8475
8756
# ---------------------------------------------
8476
8757
m4_define([_PKG_CONFIG],
8477
 
[if test -n "$PKG_CONFIG"; then
8478
 
    if test -n "$$1"; then
8479
 
        pkg_cv_[]$1="$$1"
8480
 
    else
8481
 
        PKG_CHECK_EXISTS([$3],
8482
 
                         [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
8483
 
                         [pkg_failed=yes])
8484
 
    fi
8485
 
else
8486
 
        pkg_failed=untried
 
8758
[if test -n "$$1"; then
 
8759
    pkg_cv_[]$1="$$1"
 
8760
 elif test -n "$PKG_CONFIG"; then
 
8761
    PKG_CHECK_EXISTS([$3],
 
8762
                     [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
 
8763
                     [pkg_failed=yes])
 
8764
 else
 
8765
    pkg_failed=untried
8487
8766
fi[]dnl
8488
8767
])# _PKG_CONFIG
8489
8768
 
8527
8806
if test $pkg_failed = yes; then
8528
8807
        _PKG_SHORT_ERRORS_SUPPORTED
8529
8808
        if test $_pkg_short_errors_supported = yes; then
8530
 
                $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"`
 
8809
                $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
8531
8810
        else 
8532
 
                $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
 
8811
                $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1`
8533
8812
        fi
8534
8813
        # Put the nasty error message in config.log where it belongs
8535
8814
        echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
8564
8843
fi[]dnl
8565
8844
])# PKG_CHECK_MODULES
8566
8845
 
8567
 
# Copyright (C) 2002, 2003, 2005, 2006, 2007  Free Software Foundation, Inc.
 
8846
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
8568
8847
#
8569
8848
# This file is free software; the Free Software Foundation
8570
8849
# gives unlimited permission to copy and/or distribute it,
8576
8855
# generated from the m4 files accompanying Automake X.Y.
8577
8856
# (This private macro should not be called outside this file.)
8578
8857
AC_DEFUN([AM_AUTOMAKE_VERSION],
8579
 
[am__api_version='1.10'
 
8858
[am__api_version='1.11'
8580
8859
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
8581
8860
dnl require some minimum version.  Point them to the right macro.
8582
 
m4_if([$1], [1.10.1], [],
 
8861
m4_if([$1], [1.11.1], [],
8583
8862
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
8584
8863
])
8585
8864
 
8593
8872
# AM_SET_CURRENT_AUTOMAKE_VERSION
8594
8873
# -------------------------------
8595
8874
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
8596
 
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
 
8875
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
8597
8876
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
8598
 
[AM_AUTOMAKE_VERSION([1.10.1])dnl
 
8877
[AM_AUTOMAKE_VERSION([1.11.1])dnl
8599
8878
m4_ifndef([AC_AUTOCONF_VERSION],
8600
8879
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
8601
 
_AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)])
 
8880
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
8602
8881
 
8603
8882
# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
8604
8883
 
8655
8934
 
8656
8935
# AM_CONDITIONAL                                            -*- Autoconf -*-
8657
8936
 
8658
 
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
 
8937
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
8659
8938
# Free Software Foundation, Inc.
8660
8939
#
8661
8940
# This file is free software; the Free Software Foundation
8662
8941
# gives unlimited permission to copy and/or distribute it,
8663
8942
# with or without modifications, as long as this notice is preserved.
8664
8943
 
8665
 
# serial 8
 
8944
# serial 9
8666
8945
 
8667
8946
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
8668
8947
# -------------------------------------
8675
8954
AC_SUBST([$1_FALSE])dnl
8676
8955
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
8677
8956
_AM_SUBST_NOTMAKE([$1_FALSE])dnl
 
8957
m4_define([_AM_COND_VALUE_$1], [$2])dnl
8678
8958
if $2; then
8679
8959
  $1_TRUE=
8680
8960
  $1_FALSE='#'
8688
8968
Usually this means the macro was only invoked conditionally.]])
8689
8969
fi])])
8690
8970
 
8691
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
 
8971
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
8692
8972
# Free Software Foundation, Inc.
8693
8973
#
8694
8974
# This file is free software; the Free Software Foundation
8695
8975
# gives unlimited permission to copy and/or distribute it,
8696
8976
# with or without modifications, as long as this notice is preserved.
8697
8977
 
8698
 
# serial 9
 
8978
# serial 10
8699
8979
 
8700
8980
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
8701
8981
# written in clear, in which case automake, when reading aclocal.m4,
8752
9032
  if test "$am_compiler_list" = ""; then
8753
9033
     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
8754
9034
  fi
 
9035
  am__universal=false
 
9036
  m4_case([$1], [CC],
 
9037
    [case " $depcc " in #(
 
9038
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
9039
     esac],
 
9040
    [CXX],
 
9041
    [case " $depcc " in #(
 
9042
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
9043
     esac])
 
9044
 
8755
9045
  for depmode in $am_compiler_list; do
8756
9046
    # Setup a source with many dependencies, because some compilers
8757
9047
    # like to wrap large dependency lists on column 80 (with \), and
8769
9059
    done
8770
9060
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
8771
9061
 
 
9062
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
9063
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
9064
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
9065
    # versions had trouble with output in subdirs
 
9066
    am__obj=sub/conftest.${OBJEXT-o}
 
9067
    am__minus_obj="-o $am__obj"
8772
9068
    case $depmode in
 
9069
    gcc)
 
9070
      # This depmode causes a compiler race in universal mode.
 
9071
      test "$am__universal" = false || continue
 
9072
      ;;
8773
9073
    nosideeffect)
8774
9074
      # after this tag, mechanisms are not by side-effect, so they'll
8775
9075
      # only be used when explicitly requested
8779
9079
        break
8780
9080
      fi
8781
9081
      ;;
 
9082
    msvisualcpp | msvcmsys)
 
9083
      # This compiler won't grok `-c -o', but also, the minuso test has
 
9084
      # not run yet.  These depmodes are late enough in the game, and
 
9085
      # so weak that their functioning should not be impacted.
 
9086
      am__obj=conftest.${OBJEXT-o}
 
9087
      am__minus_obj=
 
9088
      ;;
8782
9089
    none) break ;;
8783
9090
    esac
8784
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
8785
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
8786
 
    # handle `-M -o', and we need to detect this.
8787
9091
    if depmode=$depmode \
8788
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
9092
       source=sub/conftest.c object=$am__obj \
8789
9093
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
8790
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
9094
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
8791
9095
         >/dev/null 2>conftest.err &&
8792
9096
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
8793
9097
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
8794
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
9098
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
8795
9099
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
8796
9100
      # icc doesn't choke on unknown options, it will just issue warnings
8797
9101
      # or remarks (even with -Werror).  So we grep stderr for any message
8848
9152
 
8849
9153
# Generate code to set up dependency tracking.              -*- Autoconf -*-
8850
9154
 
8851
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
 
9155
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
8852
9156
# Free Software Foundation, Inc.
8853
9157
#
8854
9158
# This file is free software; the Free Software Foundation
8855
9159
# gives unlimited permission to copy and/or distribute it,
8856
9160
# with or without modifications, as long as this notice is preserved.
8857
9161
 
8858
 
#serial 3
 
9162
#serial 5
8859
9163
 
8860
9164
# _AM_OUTPUT_DEPENDENCY_COMMANDS
8861
9165
# ------------------------------
8862
9166
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
8863
 
[for mf in $CONFIG_FILES; do
8864
 
  # Strip MF so we end up with the name of the file.
8865
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
8866
 
  # Check whether this is an Automake generated Makefile or not.
8867
 
  # We used to match only the files named `Makefile.in', but
8868
 
  # some people rename them; so instead we look at the file content.
8869
 
  # Grep'ing the first line is not enough: some people post-process
8870
 
  # each Makefile.in and add a new line on top of each file to say so.
8871
 
  # Grep'ing the whole file is not good either: AIX grep has a line
8872
 
  # limit of 2048, but all sed's we know have understand at least 4000.
8873
 
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
8874
 
    dirpart=`AS_DIRNAME("$mf")`
8875
 
  else
8876
 
    continue
8877
 
  fi
8878
 
  # Extract the definition of DEPDIR, am__include, and am__quote
8879
 
  # from the Makefile without running `make'.
8880
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8881
 
  test -z "$DEPDIR" && continue
8882
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
8883
 
  test -z "am__include" && continue
8884
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8885
 
  # When using ansi2knr, U may be empty or an underscore; expand it
8886
 
  U=`sed -n 's/^U = //p' < "$mf"`
8887
 
  # Find all dependency output files, they are included files with
8888
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
8889
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
8890
 
  # expansion.
8891
 
  for file in `sed -n "
8892
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8893
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8894
 
    # Make sure the directory exists.
8895
 
    test -f "$dirpart/$file" && continue
8896
 
    fdir=`AS_DIRNAME(["$file"])`
8897
 
    AS_MKDIR_P([$dirpart/$fdir])
8898
 
    # echo "creating $dirpart/$file"
8899
 
    echo '# dummy' > "$dirpart/$file"
 
9167
[{
 
9168
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
9169
  # are listed without --file.  Let's play safe and only enable the eval
 
9170
  # if we detect the quoting.
 
9171
  case $CONFIG_FILES in
 
9172
  *\'*) eval set x "$CONFIG_FILES" ;;
 
9173
  *)   set x $CONFIG_FILES ;;
 
9174
  esac
 
9175
  shift
 
9176
  for mf
 
9177
  do
 
9178
    # Strip MF so we end up with the name of the file.
 
9179
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
9180
    # Check whether this is an Automake generated Makefile or not.
 
9181
    # We used to match only the files named `Makefile.in', but
 
9182
    # some people rename them; so instead we look at the file content.
 
9183
    # Grep'ing the first line is not enough: some people post-process
 
9184
    # each Makefile.in and add a new line on top of each file to say so.
 
9185
    # Grep'ing the whole file is not good either: AIX grep has a line
 
9186
    # limit of 2048, but all sed's we know have understand at least 4000.
 
9187
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
9188
      dirpart=`AS_DIRNAME("$mf")`
 
9189
    else
 
9190
      continue
 
9191
    fi
 
9192
    # Extract the definition of DEPDIR, am__include, and am__quote
 
9193
    # from the Makefile without running `make'.
 
9194
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
9195
    test -z "$DEPDIR" && continue
 
9196
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
9197
    test -z "am__include" && continue
 
9198
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
9199
    # When using ansi2knr, U may be empty or an underscore; expand it
 
9200
    U=`sed -n 's/^U = //p' < "$mf"`
 
9201
    # Find all dependency output files, they are included files with
 
9202
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
9203
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
9204
    # expansion.
 
9205
    for file in `sed -n "
 
9206
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
9207
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
9208
      # Make sure the directory exists.
 
9209
      test -f "$dirpart/$file" && continue
 
9210
      fdir=`AS_DIRNAME(["$file"])`
 
9211
      AS_MKDIR_P([$dirpart/$fdir])
 
9212
      # echo "creating $dirpart/$file"
 
9213
      echo '# dummy' > "$dirpart/$file"
 
9214
    done
8900
9215
  done
8901
 
done
 
9216
}
8902
9217
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
8903
9218
 
8904
9219
 
8930
9245
# Do all the work for Automake.                             -*- Autoconf -*-
8931
9246
 
8932
9247
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
8933
 
# 2005, 2006, 2008 Free Software Foundation, Inc.
 
9248
# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
8934
9249
#
8935
9250
# This file is free software; the Free Software Foundation
8936
9251
# gives unlimited permission to copy and/or distribute it,
8937
9252
# with or without modifications, as long as this notice is preserved.
8938
9253
 
8939
 
# serial 13
 
9254
# serial 16
8940
9255
 
8941
9256
# This macro actually does too much.  Some checks are only needed if
8942
9257
# your package does certain things.  But this isn't really a big deal.
8953
9268
# arguments mandatory, and then we can depend on a new Autoconf
8954
9269
# release and drop the old call support.
8955
9270
AC_DEFUN([AM_INIT_AUTOMAKE],
8956
 
[AC_PREREQ([2.60])dnl
 
9271
[AC_PREREQ([2.62])dnl
8957
9272
dnl Autoconf wants to disallow AM_ names.  We explicitly allow
8958
9273
dnl the ones we care about.
8959
9274
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
9004
9319
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
9005
9320
AM_MISSING_PROG(AUTOHEADER, autoheader)
9006
9321
AM_MISSING_PROG(MAKEINFO, makeinfo)
9007
 
AM_PROG_INSTALL_SH
9008
 
AM_PROG_INSTALL_STRIP
 
9322
AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
 
9323
AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
9009
9324
AC_REQUIRE([AM_PROG_MKDIR_P])dnl
9010
9325
# We need awk for the "check" target.  The system "awk" is bad on
9011
9326
# some platforms.
9013
9328
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
9014
9329
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
9015
9330
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
9016
 
              [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
9017
 
                             [_AM_PROG_TAR([v7])])])
 
9331
              [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
 
9332
                             [_AM_PROG_TAR([v7])])])
9018
9333
_AM_IF_OPTION([no-dependencies],,
9019
9334
[AC_PROVIDE_IFELSE([AC_PROG_CC],
9020
 
                  [_AM_DEPENDENCIES(CC)],
9021
 
                  [define([AC_PROG_CC],
9022
 
                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
 
9335
                  [_AM_DEPENDENCIES(CC)],
 
9336
                  [define([AC_PROG_CC],
 
9337
                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
9023
9338
AC_PROVIDE_IFELSE([AC_PROG_CXX],
9024
 
                  [_AM_DEPENDENCIES(CXX)],
9025
 
                  [define([AC_PROG_CXX],
9026
 
                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
 
9339
                  [_AM_DEPENDENCIES(CXX)],
 
9340
                  [define([AC_PROG_CXX],
 
9341
                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
9027
9342
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
9028
 
                  [_AM_DEPENDENCIES(OBJC)],
9029
 
                  [define([AC_PROG_OBJC],
9030
 
                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
9031
 
])
9032
 
])
 
9343
                  [_AM_DEPENDENCIES(OBJC)],
 
9344
                  [define([AC_PROG_OBJC],
 
9345
                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
 
9346
])
 
9347
_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
 
9348
dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
 
9349
dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This macro
 
9350
dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
 
9351
AC_CONFIG_COMMANDS_PRE(dnl
 
9352
[m4_provide_if([_AM_COMPILER_EXEEXT],
 
9353
  [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
 
9354
])
 
9355
 
 
9356
dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
 
9357
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
 
9358
dnl mangled by Autoconf and run in a shell conditional statement.
 
9359
m4_define([_AC_COMPILER_EXEEXT],
 
9360
m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
9033
9361
 
9034
9362
 
9035
9363
# When config.status generates a header, we must update the stamp-h file.
9053
9381
done
9054
9382
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
9055
9383
 
9056
 
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 
9384
# Copyright (C) 2001, 2003, 2005, 2008  Free Software Foundation, Inc.
9057
9385
#
9058
9386
# This file is free software; the Free Software Foundation
9059
9387
# gives unlimited permission to copy and/or distribute it,
9064
9392
# Define $install_sh.
9065
9393
AC_DEFUN([AM_PROG_INSTALL_SH],
9066
9394
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
9067
 
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
 
9395
if test x"${install_sh}" != xset; then
 
9396
  case $am_aux_dir in
 
9397
  *\ * | *\     *)
 
9398
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
9399
  *)
 
9400
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
9401
  esac
 
9402
fi
9068
9403
AC_SUBST(install_sh)])
9069
9404
 
9070
9405
# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
9091
9426
# Add --enable-maintainer-mode option to configure.         -*- Autoconf -*-
9092
9427
# From Jim Meyering
9093
9428
 
9094
 
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
 
9429
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
9095
9430
# Free Software Foundation, Inc.
9096
9431
#
9097
9432
# This file is free software; the Free Software Foundation
9098
9433
# gives unlimited permission to copy and/or distribute it,
9099
9434
# with or without modifications, as long as this notice is preserved.
9100
9435
 
9101
 
# serial 4
 
9436
# serial 5
9102
9437
 
 
9438
# AM_MAINTAINER_MODE([DEFAULT-MODE])
 
9439
# ----------------------------------
 
9440
# Control maintainer-specific portions of Makefiles.
 
9441
# Default is to disable them, unless `enable' is passed literally.
 
9442
# For symmetry, `disable' may be passed as well.  Anyway, the user
 
9443
# can override the default with the --enable/--disable switch.
9103
9444
AC_DEFUN([AM_MAINTAINER_MODE],
9104
 
[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
9105
 
  dnl maintainer-mode is disabled by default
9106
 
  AC_ARG_ENABLE(maintainer-mode,
9107
 
[  --enable-maintainer-mode  enable make rules and dependencies not useful
 
9445
[m4_case(m4_default([$1], [disable]),
 
9446
       [enable], [m4_define([am_maintainer_other], [disable])],
 
9447
       [disable], [m4_define([am_maintainer_other], [enable])],
 
9448
       [m4_define([am_maintainer_other], [enable])
 
9449
        m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
 
9450
AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
 
9451
  dnl maintainer-mode's default is 'disable' unless 'enable' is passed
 
9452
  AC_ARG_ENABLE([maintainer-mode],
 
9453
[  --][am_maintainer_other][-maintainer-mode  am_maintainer_other make rules and dependencies not useful
9108
9454
                          (and sometimes confusing) to the casual installer],
9109
 
      USE_MAINTAINER_MODE=$enableval,
9110
 
      USE_MAINTAINER_MODE=no)
 
9455
      [USE_MAINTAINER_MODE=$enableval],
 
9456
      [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
9111
9457
  AC_MSG_RESULT([$USE_MAINTAINER_MODE])
9112
 
  AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
 
9458
  AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
9113
9459
  MAINT=$MAINTAINER_MODE_TRUE
9114
 
  AC_SUBST(MAINT)dnl
 
9460
  AC_SUBST([MAINT])dnl
9115
9461
]
9116
9462
)
9117
9463
 
9119
9465
 
9120
9466
# Check to see how 'make' treats includes.                  -*- Autoconf -*-
9121
9467
 
9122
 
# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
 
9468
# Copyright (C) 2001, 2002, 2003, 2005, 2009  Free Software Foundation, Inc.
9123
9469
#
9124
9470
# This file is free software; the Free Software Foundation
9125
9471
# gives unlimited permission to copy and/or distribute it,
9126
9472
# with or without modifications, as long as this notice is preserved.
9127
9473
 
9128
 
# serial 3
 
9474
# serial 4
9129
9475
 
9130
9476
# AM_MAKE_INCLUDE()
9131
9477
# -----------------
9134
9480
[am_make=${MAKE-make}
9135
9481
cat > confinc << 'END'
9136
9482
am__doit:
9137
 
        @echo done
 
9483
        @echo this is the am__doit target
9138
9484
.PHONY: am__doit
9139
9485
END
9140
9486
# If we don't find an include directive, just comment out the code.
9144
9490
_am_result=none
9145
9491
# First try GNU make style include.
9146
9492
echo "include confinc" > confmf
9147
 
# We grep out `Entering directory' and `Leaving directory'
9148
 
# messages which can occur if `w' ends up in MAKEFLAGS.
9149
 
# In particular we don't look at `^make:' because GNU make might
9150
 
# be invoked under some other name (usually "gmake"), in which
9151
 
# case it prints its new name instead of `make'.
9152
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
9153
 
   am__include=include
9154
 
   am__quote=
9155
 
   _am_result=GNU
9156
 
fi
 
9493
# Ignore all kinds of additional output from `make'.
 
9494
case `$am_make -s -f confmf 2> /dev/null` in #(
 
9495
*the\ am__doit\ target*)
 
9496
  am__include=include
 
9497
  am__quote=
 
9498
  _am_result=GNU
 
9499
  ;;
 
9500
esac
9157
9501
# Now try BSD make style include.
9158
9502
if test "$am__include" = "#"; then
9159
9503
   echo '.include "confinc"' > confmf
9160
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
9161
 
      am__include=.include
9162
 
      am__quote="\""
9163
 
      _am_result=BSD
9164
 
   fi
 
9504
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
9505
   *the\ am__doit\ target*)
 
9506
     am__include=.include
 
9507
     am__quote="\""
 
9508
     _am_result=BSD
 
9509
     ;;
 
9510
   esac
9165
9511
fi
9166
9512
AC_SUBST([am__include])
9167
9513
AC_SUBST([am__quote])
9169
9515
rm -f confinc confmf
9170
9516
])
9171
9517
 
9172
 
# Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005
 
9518
# Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005, 2008
9173
9519
# Free Software Foundation, Inc.
9174
9520
#
9175
9521
# This file is free software; the Free Software Foundation
9176
9522
# gives unlimited permission to copy and/or distribute it,
9177
9523
# with or without modifications, as long as this notice is preserved.
9178
9524
 
9179
 
# serial 5
 
9525
# serial 6
9180
9526
 
9181
9527
# AM_PROG_CC_C_O
9182
9528
# --------------
9188
9534
# FIXME: we rely on the cache variable name because
9189
9535
# there is no other way.
9190
9536
set dummy $CC
9191
 
ac_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
9192
 
if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
 
9537
am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
 
9538
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
 
9539
if test "$am_t" != yes; then
9193
9540
   # Losing compiler, so override with the script.
9194
9541
   # FIXME: It is wrong to rewrite CC.
9195
9542
   # But if we don't then we get into trouble of one sort or another.
9205
9552
 
9206
9553
# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
9207
9554
 
9208
 
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
 
9555
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
9209
9556
# Free Software Foundation, Inc.
9210
9557
#
9211
9558
# This file is free software; the Free Software Foundation
9212
9559
# gives unlimited permission to copy and/or distribute it,
9213
9560
# with or without modifications, as long as this notice is preserved.
9214
9561
 
9215
 
# serial 5
 
9562
# serial 6
9216
9563
 
9217
9564
# AM_MISSING_PROG(NAME, PROGRAM)
9218
9565
# ------------------------------
9229
9576
AC_DEFUN([AM_MISSING_HAS_RUN],
9230
9577
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
9231
9578
AC_REQUIRE_AUX_FILE([missing])dnl
9232
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
9579
if test x"${MISSING+set}" != xset; then
 
9580
  case $am_aux_dir in
 
9581
  *\ * | *\     *)
 
9582
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
9583
  *)
 
9584
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
9585
  esac
 
9586
fi
9233
9587
# Use eval to expand $SHELL
9234
9588
if eval "$MISSING --run true"; then
9235
9589
  am_missing_run="$MISSING --run "
9267
9621
 
9268
9622
# Helper functions for option handling.                     -*- Autoconf -*-
9269
9623
 
9270
 
# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
 
9624
# Copyright (C) 2001, 2002, 2003, 2005, 2008  Free Software Foundation, Inc.
9271
9625
#
9272
9626
# This file is free software; the Free Software Foundation
9273
9627
# gives unlimited permission to copy and/or distribute it,
9274
9628
# with or without modifications, as long as this notice is preserved.
9275
9629
 
9276
 
# serial 3
 
9630
# serial 4
9277
9631
 
9278
9632
# _AM_MANGLE_OPTION(NAME)
9279
9633
# -----------------------
9290
9644
# ----------------------------------
9291
9645
# OPTIONS is a space-separated list of Automake options.
9292
9646
AC_DEFUN([_AM_SET_OPTIONS],
9293
 
[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
 
9647
[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
9294
9648
 
9295
9649
# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
9296
9650
# -------------------------------------------
9300
9654
 
9301
9655
# Check to make sure that the build environment is sane.    -*- Autoconf -*-
9302
9656
 
9303
 
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
 
9657
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
9304
9658
# Free Software Foundation, Inc.
9305
9659
#
9306
9660
# This file is free software; the Free Software Foundation
9307
9661
# gives unlimited permission to copy and/or distribute it,
9308
9662
# with or without modifications, as long as this notice is preserved.
9309
9663
 
9310
 
# serial 4
 
9664
# serial 5
9311
9665
 
9312
9666
# AM_SANITY_CHECK
9313
9667
# ---------------
9316
9670
# Just in case
9317
9671
sleep 1
9318
9672
echo timestamp > conftest.file
 
9673
# Reject unsafe characters in $srcdir or the absolute working directory
 
9674
# name.  Accept space and tab only in the latter.
 
9675
am_lf='
 
9676
'
 
9677
case `pwd` in
 
9678
  *[[\\\"\#\$\&\'\`$am_lf]]*)
 
9679
    AC_MSG_ERROR([unsafe absolute working directory name]);;
 
9680
esac
 
9681
case $srcdir in
 
9682
  *[[\\\"\#\$\&\'\`$am_lf\ \    ]]*)
 
9683
    AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
 
9684
esac
 
9685
 
9319
9686
# Do `set' in a subshell so we don't clobber the current shell's
9320
9687
# arguments.  Must try -L first in case configure is actually a
9321
9688
# symlink; some systems play weird games with the mod time of symlinks
9322
9689
# (eg FreeBSD returns the mod time of the symlink's containing
9323
9690
# directory).
9324
9691
if (
9325
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
9692
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
9326
9693
   if test "$[*]" = "X"; then
9327
9694
      # -L didn't work.
9328
 
      set X `ls -t $srcdir/configure conftest.file`
 
9695
      set X `ls -t "$srcdir/configure" conftest.file`
9329
9696
   fi
9330
9697
   rm -f conftest.file
9331
9698
   if test "$[*]" != "X $srcdir/configure conftest.file" \
9378
9745
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
9379
9746
AC_SUBST([INSTALL_STRIP_PROGRAM])])
9380
9747
 
9381
 
# Copyright (C) 2006  Free Software Foundation, Inc.
 
9748
# Copyright (C) 2006, 2008  Free Software Foundation, Inc.
9382
9749
#
9383
9750
# This file is free software; the Free Software Foundation
9384
9751
# gives unlimited permission to copy and/or distribute it,
9385
9752
# with or without modifications, as long as this notice is preserved.
9386
9753
 
 
9754
# serial 2
 
9755
 
9387
9756
# _AM_SUBST_NOTMAKE(VARIABLE)
9388
9757
# ---------------------------
9389
9758
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
9390
9759
# This macro is traced by Automake.
9391
9760
AC_DEFUN([_AM_SUBST_NOTMAKE])
9392
9761
 
 
9762
# AM_SUBST_NOTMAKE(VARIABLE)
 
9763
# ---------------------------
 
9764
# Public sister of _AM_SUBST_NOTMAKE.
 
9765
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
 
9766
 
9393
9767
# Check how to create a tarball.                            -*- Autoconf -*-
9394
9768
 
9395
9769
# Copyright (C) 2004, 2005  Free Software Foundation, Inc.
9486
9860
AC_SUBST([am__untar])
9487
9861
]) # _AM_PROG_TAR
9488
9862
 
9489
 
dnl $Id: xdt-depends.m4 21591 2006-05-08 09:10:26Z benny $
 
9863
dnl $Id$
9490
9864
dnl
9491
9865
dnl Copyright (c) 2002-2006
9492
9866
dnl         The Xfce development team. All rights reserved.
9916
10290
])
9917
10291
 
9918
10292
 
9919
 
dnl $Id: xdt-i18n.m4 24486 2007-01-15 17:47:49Z benny $
 
10293
dnl $Id$
9920
10294
dnl
9921
10295
dnl Copyright (c) 2002-2006
9922
10296
dnl         The Xfce development team. All rights reserved.