~ubuntu-branches/ubuntu/jaunty/gpicview/jaunty

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Bazaar Package Importer
  • Author(s): Andrew Lee
  • Date: 2008-09-12 01:43:21 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20080912014321-zyxoac1aygvpdyjo
Tags: 0.1.10-1
* New upstream release
  - Solved assertion `GTK_IS_TOOLTIPS (tooltips)' failed problem
  - Added new translations
  - Fixed memory leaks
  - Fixed JPEG Rotation, rotation only in EXIF data
  - Fixed fullscreen toggles
  - Fixed order for file listing 
  - Security fixes CVE-2008-3904, CVE-2008-3791
  - Solved empty file problem in unsupported format
* Applied disable_ask_before_save.dpatch (Closes: #497005) 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# generated automatically by aclocal 1.10 -*- Autoconf -*-
 
1
# generated automatically by aclocal 1.10.1 -*- Autoconf -*-
2
2
 
3
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
 
# 2005, 2006  Free Software Foundation, Inc.
 
4
# 2005, 2006, 2007, 2008  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.
11
11
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12
12
# PARTICULAR PURPOSE.
13
13
 
14
 
m4_if(m4_PACKAGE_VERSION, [2.61],,
15
 
[m4_fatal([this file was generated for autoconf 2.61.
16
 
You have another version of autoconf.  If you want to use that,
17
 
you should regenerate the build system entirely.], [63])])
 
14
m4_ifndef([AC_AUTOCONF_VERSION],
 
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.
 
18
You have another version of autoconf.  It may work, but is not guaranteed to.
 
19
If you have problems, you may need to regenerate the build system entirely.
 
20
To do so, use the procedure documented by the package, typically `autoreconf'.])])
18
21
 
19
22
# Copyright (C) 1995-2002 Free Software Foundation, Inc.
20
23
# Copyright (C) 2001-2003,2004 Red Hat, Inc.
119
122
#-----------------
120
123
glib_DEFUN([GLIB_WITH_NLS],
121
124
  dnl NLS is obligatory
122
 
  [AC_REQUIRE([AC_CANONICAL_HOST])dnl
123
 
    USE_NLS=yes
 
125
  [USE_NLS=yes
124
126
    AC_SUBST(USE_NLS)
125
127
 
126
128
    gt_cv_have_gettext=no
452
454
 
453
455
# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
454
456
 
455
 
# serial 51 Debian 1.5.24-1ubuntu1 AC_PROG_LIBTOOL
 
457
# serial 52 Debian 1.5.26-4 AC_PROG_LIBTOOL
456
458
 
457
459
 
458
460
# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
540
542
AC_REQUIRE([AC_OBJEXT])dnl
541
543
AC_REQUIRE([AC_EXEEXT])dnl
542
544
dnl
543
 
 
544
545
AC_LIBTOOL_SYS_MAX_CMD_LEN
545
546
AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
546
547
AC_LIBTOOL_OBJDIR
642
643
  ;;
643
644
esac
644
645
 
 
646
_LT_REQUIRED_DARWIN_CHECKS
 
647
 
645
648
AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
646
649
AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
647
650
enable_win32_dll=yes, enable_win32_dll=no)
721
724
echo "$lt_simple_link_test_code" >conftest.$ac_ext
722
725
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
723
726
_lt_linker_boilerplate=`cat conftest.err`
724
 
$rm conftest*
 
727
$rm -r conftest*
725
728
])# _LT_LINKER_BOILERPLATE
726
729
 
 
730
# _LT_REQUIRED_DARWIN_CHECKS
 
731
# --------------------------
 
732
# Check for some things on darwin
 
733
AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS],[
 
734
  case $host_os in
 
735
    rhapsody* | darwin*)
 
736
    AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
 
737
    AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
 
738
 
 
739
    AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
 
740
      [lt_cv_apple_cc_single_mod=no
 
741
      if test -z "${LT_MULTI_MODULE}"; then
 
742
   # By default we will add the -single_module flag. You can override
 
743
   # by either setting the environment variable LT_MULTI_MODULE
 
744
   # non-empty at configure time, or by adding -multi_module to the
 
745
   # link flags.
 
746
   echo "int foo(void){return 1;}" > conftest.c
 
747
   $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
748
     -dynamiclib ${wl}-single_module conftest.c
 
749
   if test -f libconftest.dylib; then
 
750
     lt_cv_apple_cc_single_mod=yes
 
751
     rm -rf libconftest.dylib*
 
752
   fi
 
753
   rm conftest.c
 
754
      fi])
 
755
    AC_CACHE_CHECK([for -exported_symbols_list linker flag],
 
756
      [lt_cv_ld_exported_symbols_list],
 
757
      [lt_cv_ld_exported_symbols_list=no
 
758
      save_LDFLAGS=$LDFLAGS
 
759
      echo "_main" > conftest.sym
 
760
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
761
      AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
 
762
   [lt_cv_ld_exported_symbols_list=yes],
 
763
   [lt_cv_ld_exported_symbols_list=no])
 
764
   LDFLAGS="$save_LDFLAGS"
 
765
    ])
 
766
    case $host_os in
 
767
    rhapsody* | darwin1.[[0123]])
 
768
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
769
    darwin1.*)
 
770
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
771
    darwin*)
 
772
      # if running on 10.5 or later, the deployment target defaults
 
773
      # to the OS version, if on x86, and 10.4, the deployment
 
774
      # target defaults to 10.4. Don't you love it?
 
775
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
776
   10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
 
777
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
778
   10.[[012]]*)
 
779
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
780
   10.*)
 
781
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
782
      esac
 
783
    ;;
 
784
  esac
 
785
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
786
      _lt_dar_single_mod='$single_module'
 
787
    fi
 
788
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
789
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
790
    else
 
791
      _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
 
792
    fi
 
793
    if test "$DSYMUTIL" != ":"; then
 
794
      _lt_dsymutil="~$DSYMUTIL \$lib || :"
 
795
    else
 
796
      _lt_dsymutil=
 
797
    fi
 
798
    ;;
 
799
  esac
 
800
])
727
801
 
728
802
# _LT_AC_SYS_LIBPATH_AIX
729
803
# ----------------------
1048
1122
    *64-bit*)
1049
1123
      case $lt_cv_prog_gnu_ld in
1050
1124
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
1051
 
      *)    LD="${LD-ld} -64" ;;
 
1125
      *)
 
1126
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
1127
          LD="${LD-ld} -64"
 
1128
        fi
 
1129
        ;;
1052
1130
      esac
1053
1131
      ;;
1054
1132
    esac
1141
1219
       $2=yes
1142
1220
     fi
1143
1221
   fi
1144
 
   $rm conftest*
 
1222
   $rm -r conftest*
1145
1223
   LDFLAGS="$save_LDFLAGS"
1146
1224
])
1147
1225
 
1412
1490
    AC_CHECK_FUNC([shl_load],
1413
1491
          [lt_cv_dlopen="shl_load"],
1414
1492
      [AC_CHECK_LIB([dld], [shl_load],
1415
 
            [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],
 
1493
            [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
1416
1494
        [AC_CHECK_FUNC([dlopen],
1417
1495
              [lt_cv_dlopen="dlopen"],
1418
1496
          [AC_CHECK_LIB([dl], [dlopen],
1420
1498
            [AC_CHECK_LIB([svld], [dlopen],
1421
1499
                  [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
1422
1500
              [AC_CHECK_LIB([dld], [dld_link],
1423
 
                    [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
 
1501
                    [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
1424
1502
              ])
1425
1503
            ])
1426
1504
          ])
1737
1815
  soname_spec='${libname}${release}${shared_ext}$major'
1738
1816
  ;;
1739
1817
 
1740
 
aix4* | aix5*)
 
1818
aix[[4-9]]*)
1741
1819
  version_type=linux
1742
1820
  need_lib_prefix=no
1743
1821
  need_version=no
2270
2348
AC_MSG_RESULT([$dynamic_linker])
2271
2349
test "$dynamic_linker" = no && can_build_shared=no
2272
2350
 
 
2351
AC_CACHE_VAL([lt_cv_sys_lib_search_path_spec],
 
2352
[lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"])
 
2353
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
2354
AC_CACHE_VAL([lt_cv_sys_lib_dlsearch_path_spec],
 
2355
[lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"])
 
2356
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
2357
 
2273
2358
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
2274
2359
if test "$GCC" = yes; then
2275
2360
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
2769
2854
# whether `pass_all' will *always* work, you probably want this one.
2770
2855
 
2771
2856
case $host_os in
2772
 
aix4* | aix5*)
 
2857
aix[[4-9]]*)
2773
2858
  lt_cv_deplibs_check_method=pass_all
2774
2859
  ;;
2775
2860
 
3205
3290
  fi
3206
3291
  ;;
3207
3292
 
3208
 
aix4* | aix5*)
 
3293
aix[[4-9]]*)
3209
3294
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
3210
3295
    test "$enable_shared" = yes && enable_static=no
3211
3296
  fi
3262
3347
_LT_AC_TAGVAR(predeps, $1)=
3263
3348
_LT_AC_TAGVAR(postdeps, $1)=
3264
3349
_LT_AC_TAGVAR(compiler_lib_search_path, $1)=
 
3350
_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=
3265
3351
 
3266
3352
# Source file extension for C++ test sources.
3267
3353
ac_ext=cpp
3371
3457
    # FIXME: insert proper C++ library support
3372
3458
    _LT_AC_TAGVAR(ld_shlibs, $1)=no
3373
3459
    ;;
3374
 
  aix4* | aix5*)
 
3460
  aix[[4-9]]*)
3375
3461
    if test "$host_cpu" = ia64; then
3376
3462
      # On IA64, the linker does run time linking by default, so we don't
3377
3463
      # have to do anything special.
3384
3470
      # Test if we are trying to use run time linking or normal
3385
3471
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
3386
3472
      # need to do runtime linking.
3387
 
      case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
 
3473
      case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
3388
3474
        for ld_flag in $LDFLAGS; do
3389
3475
          case $ld_flag in
3390
3476
          *-brtl*)
3530
3616
    fi
3531
3617
  ;;
3532
3618
      darwin* | rhapsody*)
3533
 
        case $host_os in
3534
 
        rhapsody* | darwin1.[[012]])
3535
 
         _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
3536
 
         ;;
3537
 
       *) # Darwin 1.3 on
3538
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
3539
 
           _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
3540
 
         else
3541
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
3542
 
             10.[[012]])
3543
 
               _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
3544
 
               ;;
3545
 
             10.*)
3546
 
               _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
3547
 
               ;;
3548
 
           esac
3549
 
         fi
3550
 
         ;;
3551
 
        esac
3552
3619
      _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3553
3620
      _LT_AC_TAGVAR(hardcode_direct, $1)=no
3554
3621
      _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
3555
3622
      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
3556
3623
      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
3557
3624
      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3558
 
 
3559
 
    if test "$GXX" = yes ; then
3560
 
      lt_int_apple_cc_single_mod=no
 
3625
      _LT_AC_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
 
3626
      if test "$GXX" = yes ; then
3561
3627
      output_verbose_link_cmd='echo'
3562
 
      if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
3563
 
       lt_int_apple_cc_single_mod=yes
 
3628
      _LT_AC_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}"
 
3629
      _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
3630
      _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
 
3631
      _LT_AC_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
 
3632
      if test "$lt_cv_apple_cc_single_mod" != "yes"; then
 
3633
        _LT_AC_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
 
3634
        _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
3564
3635
      fi
3565
 
      if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
3566
 
       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
3567
 
      else
3568
 
          _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
3569
 
        fi
3570
 
        _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
3571
 
        # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
3572
 
          if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
3573
 
            _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3574
 
          else
3575
 
            _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3576
 
          fi
3577
 
            _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3578
3636
      else
3579
3637
      case $cc_basename in
3580
3638
        xlc*)
3825
3883
        _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
3826
3884
        _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
3827
3885
        ;;
3828
 
      pgCC*)
 
3886
      pgCC* | pgcpp*)
3829
3887
        # Portland Group C++ compiler
3830
3888
        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
3831
3889
        _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
4260
4318
# compiler output when linking a shared library.
4261
4319
# Parse the compiler output and extract the necessary
4262
4320
# objects, libraries and library flags.
4263
 
AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[
 
4321
AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],
 
4322
[AC_REQUIRE([LT_AC_PROG_SED])dnl
4264
4323
dnl we can't use the lt_simple_compile_test_code here,
4265
4324
dnl because it contains code intended for an executable,
4266
4325
dnl not a library.  It's possible we should let each
4385
4444
 
4386
4445
$rm -f confest.$objext
4387
4446
 
 
4447
_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=
 
4448
if test -n "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then
 
4449
  _LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_AC_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
 
4450
fi
 
4451
 
4388
4452
# PORTME: override above test on systems where it is broken
4389
4453
ifelse([$1],[CXX],
4390
4454
[case $host_os in
4441
4505
  ;;
4442
4506
esac
4443
4507
])
4444
 
 
4445
4508
case " $_LT_AC_TAGVAR(postdeps, $1) " in
4446
4509
*" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;;
4447
4510
esac
4526
4589
    postinstall_cmds='$RANLIB $lib'
4527
4590
  fi
4528
4591
  ;;
4529
 
aix4* | aix5*)
 
4592
aix[[4-9]]*)
4530
4593
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
4531
4594
    test "$enable_shared" = yes && enable_static=no
4532
4595
  fi
4703
4766
    _LT_AC_TAGVAR(predeps, $1) \
4704
4767
    _LT_AC_TAGVAR(postdeps, $1) \
4705
4768
    _LT_AC_TAGVAR(compiler_lib_search_path, $1) \
 
4769
    _LT_AC_TAGVAR(compiler_lib_search_dirs, $1) \
4706
4770
    _LT_AC_TAGVAR(archive_cmds, $1) \
4707
4771
    _LT_AC_TAGVAR(archive_expsym_cmds, $1) \
4708
4772
    _LT_AC_TAGVAR(postinstall_cmds, $1) \
4765
4829
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
4766
4830
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
4767
4831
#
4768
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
 
4832
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
4769
4833
# Free Software Foundation, Inc.
4770
4834
#
4771
4835
# This file is part of GNU Libtool:
5002
5066
# shared library.
5003
5067
postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1)
5004
5068
 
 
5069
# The directories searched by this compiler when creating a shared
 
5070
# library
 
5071
compiler_lib_search_dirs=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)
 
5072
 
5005
5073
# The library search path used internally by the compiler when linking
5006
5074
# a shared library.
5007
5075
compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1)
5351
5419
    echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
5352
5420
    cat conftest.$ac_ext >&5
5353
5421
  fi
5354
 
  rm -f conftest* conftst*
 
5422
  rm -rf conftest* conftst*
5355
5423
 
5356
5424
  # Do not use the global_symbol_pipe unless it works.
5357
5425
  if test "$pipe_works" = yes; then
5408
5476
      # built for inclusion in a dll (and should export symbols for example).
5409
5477
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
5410
5478
      # (--disable-auto-import) libraries
5411
 
      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
 
5479
      m4_if([$1], [GCJ], [],
 
5480
        [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
5412
5481
      ;;
5413
5482
    darwin* | rhapsody*)
5414
5483
      # PIC is the default on this platform
5445
5514
    esac
5446
5515
  else
5447
5516
    case $host_os in
5448
 
      aix4* | aix5*)
 
5517
      aix[[4-9]]*)
5449
5518
        # All AIX code is PIC.
5450
5519
        if test "$host_cpu" = ia64; then
5451
5520
          # AIX 5 now supports IA64 processor
5541
5610
            _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5542
5611
            _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
5543
5612
            ;;
5544
 
          pgCC*)
 
5613
          pgCC* | pgcpp*)
5545
5614
            # Portland Group C++ compiler.
5546
5615
            _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5547
5616
            _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
5692
5761
      # built for inclusion in a dll (and should export symbols for example).
5693
5762
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
5694
5763
      # (--disable-auto-import) libraries
5695
 
      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
 
5764
      m4_if([$1], [GCJ], [],
 
5765
        [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
5696
5766
      ;;
5697
5767
 
5698
5768
    darwin* | rhapsody*)
5762
5832
    mingw* | cygwin* | pw32* | os2*)
5763
5833
      # This hack is so that the source file can tell whether it is being
5764
5834
      # built for inclusion in a dll (and should export symbols for example).
5765
 
      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
 
5835
      m4_if([$1], [GCJ], [],
 
5836
        [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
5766
5837
      ;;
5767
5838
 
5768
5839
    hpux9* | hpux10* | hpux11*)
5899
5970
#
5900
5971
if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then
5901
5972
  AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works],
5902
 
    _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1),
 
5973
    _LT_AC_TAGVAR(lt_cv_prog_compiler_pic_works, $1),
5903
5974
    [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [],
5904
5975
    [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in
5905
5976
     "" | " "*) ;;
5923
5994
#
5924
5995
wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\"
5925
5996
AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
5926
 
  _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),
 
5997
  _LT_AC_TAGVAR(lt_cv_prog_compiler_static_works, $1),
5927
5998
  $lt_tmp_static_flag,
5928
5999
  [],
5929
6000
  [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
5939
6010
ifelse([$1],[CXX],[
5940
6011
  _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
5941
6012
  case $host_os in
5942
 
  aix4* | aix5*)
 
6013
  aix[[4-9]]*)
5943
6014
    # If we're using GNU nm, then we don't want the "-C" option.
5944
6015
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
5945
6016
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
5961
6032
    _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
5962
6033
  ;;
5963
6034
  esac
 
6035
  _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
5964
6036
],[
5965
6037
  runpath_var=
5966
6038
  _LT_AC_TAGVAR(allow_undefined_flag, $1)=
5991
6063
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
5992
6064
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
5993
6065
  # as well as any symbol that contains `d'.
5994
 
  _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_"
 
6066
  _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
5995
6067
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
5996
6068
  # platforms (ab)use it in PIC code, but their linkers get confused if
5997
6069
  # the symbol is explicitly referenced.  Since portable code cannot
5998
6070
  # rely on this symbol name, it's probably fine to never include it in
5999
6071
  # preloaded symbol tables.
 
6072
  # Exclude shared library initialization/finalization symbols.
 
6073
dnl Note also adjust exclude_expsyms for C++ above.
6000
6074
  extract_expsyms_cmds=
6001
6075
  # Just being paranoid about ensuring that cc_basename is set.
6002
6076
  _LT_CC_BASENAME([$compiler])
6046
6120
 
6047
6121
    # See if GNU ld supports shared libraries.
6048
6122
    case $host_os in
6049
 
    aix3* | aix4* | aix5*)
 
6123
    aix[[3-9]]*)
6050
6124
      # On AIX/PPC, the GNU linker is very broken
6051
6125
      if test "$host_cpu" != ia64; then
6052
6126
        _LT_AC_TAGVAR(ld_shlibs, $1)=no
6266
6340
      fi
6267
6341
      ;;
6268
6342
 
6269
 
    aix4* | aix5*)
 
6343
    aix[[4-9]]*)
6270
6344
      if test "$host_cpu" = ia64; then
6271
6345
        # On IA64, the linker does run time linking by default, so we don't
6272
6346
        # have to do anything special.
6286
6360
        # Test if we are trying to use run time linking or normal
6287
6361
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6288
6362
        # need to do runtime linking.
6289
 
        case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
 
6363
        case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
6290
6364
          for ld_flag in $LDFLAGS; do
6291
6365
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
6292
6366
            aix_use_runtimelinking=yes
6446
6520
      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
6447
6521
    if test "$GCC" = yes ; then
6448
6522
        output_verbose_link_cmd='echo'
6449
 
        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
6450
 
      _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
6451
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
6452
 
      _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
6453
 
      _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
6523
        _LT_AC_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}"
 
6524
        _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
6525
        _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
 
6526
        _LT_AC_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
6454
6527
    else
6455
6528
      case $cc_basename in
6456
6529
        xlc*)
7189
7262
fi[]dnl
7190
7263
])# PKG_CHECK_MODULES
7191
7264
 
7192
 
# Copyright (C) 2002, 2003, 2005, 2006  Free Software Foundation, Inc.
 
7265
# Copyright (C) 2002, 2003, 2005, 2006, 2007  Free Software Foundation, Inc.
7193
7266
#
7194
7267
# This file is free software; the Free Software Foundation
7195
7268
# gives unlimited permission to copy and/or distribute it,
7204
7277
[am__api_version='1.10'
7205
7278
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
7206
7279
dnl require some minimum version.  Point them to the right macro.
7207
 
m4_if([$1], [1.10], [],
 
7280
m4_if([$1], [1.10.1], [],
7208
7281
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
7209
7282
])
7210
7283
 
7220
7293
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
7221
7294
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
7222
7295
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
7223
 
[AM_AUTOMAKE_VERSION([1.10])dnl
7224
 
_AM_AUTOCONF_VERSION(m4_PACKAGE_VERSION)])
 
7296
[AM_AUTOMAKE_VERSION([1.10.1])dnl
 
7297
m4_ifndef([AC_AUTOCONF_VERSION],
 
7298
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
 
7299
_AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)])
7225
7300
 
7226
7301
# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
7227
7302
 
7516
7591
  # each Makefile.in and add a new line on top of each file to say so.
7517
7592
  # Grep'ing the whole file is not good either: AIX grep has a line
7518
7593
  # limit of 2048, but all sed's we know have understand at least 4000.
7519
 
  if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
 
7594
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
7520
7595
    dirpart=`AS_DIRNAME("$mf")`
7521
7596
  else
7522
7597
    continue
7576
7651
# Do all the work for Automake.                             -*- Autoconf -*-
7577
7652
 
7578
7653
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
7579
 
# 2005, 2006 Free Software Foundation, Inc.
 
7654
# 2005, 2006, 2008 Free Software Foundation, Inc.
7580
7655
#
7581
7656
# This file is free software; the Free Software Foundation
7582
7657
# gives unlimited permission to copy and/or distribute it,
7583
7658
# with or without modifications, as long as this notice is preserved.
7584
7659
 
7585
 
# serial 12
 
7660
# serial 13
7586
7661
 
7587
7662
# This macro actually does too much.  Some checks are only needed if
7588
7663
# your package does certain things.  But this isn't really a big deal.
7687
7762
# our stamp files there.
7688
7763
AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
7689
7764
[# Compute $1's index in $config_headers.
 
7765
_am_arg=$1
7690
7766
_am_stamp_count=1
7691
7767
for _am_header in $config_headers :; do
7692
7768
  case $_am_header in
7693
 
    $1 | $1:* )
 
7769
    $_am_arg | $_am_arg:* )
7694
7770
      break ;;
7695
7771
    * )
7696
7772
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7697
7773
  esac
7698
7774
done
7699
 
echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
 
7775
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
7700
7776
 
7701
7777
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
7702
7778
#
7997
8073
 
7998
8074
# _AM_SUBST_NOTMAKE(VARIABLE)
7999
8075
# ---------------------------
8000
 
# Prevent Automake from outputing VARIABLE = @VARIABLE@ in Makefile.in.
 
8076
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
8001
8077
# This macro is traced by Automake.
8002
8078
AC_DEFUN([_AM_SUBST_NOTMAKE])
8003
8079