~noskcaj/ubuntu/vivid/xfce4-fsguard-plugin/1.0.2

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Jackson Doak
  • Date: 2015-03-03 21:00:19 UTC
  • mfrom: (1.1.7)
  • Revision ID: noskcaj@ubuntu.com-20150303210019-pxzvm08z4hhni9uq
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
 
1
# generated automatically by aclocal 1.11.6 -*- Autoconf -*-
2
2
 
3
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
 
# 2005  Free Software Foundation, Inc.
 
4
# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
 
5
# Inc.
5
6
# This file is free software; the Free Software Foundation
6
7
# gives unlimited permission to copy and/or distribute it,
7
8
# with or without modifications, as long as this notice is preserved.
11
12
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12
13
# PARTICULAR PURPOSE.
13
14
 
 
15
m4_ifndef([AC_AUTOCONF_VERSION],
 
16
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
 
17
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.63],,
 
18
[m4_warning([this file was generated for autoconf 2.63.
 
19
You have another version of autoconf.  It may work, but is not guaranteed to.
 
20
If you have problems, you may need to regenerate the build system entirely.
 
21
To do so, use the procedure documented by the package, typically `autoreconf'.])])
 
22
 
14
23
# Copyright (C) 1995-2002 Free Software Foundation, Inc.
15
24
# Copyright (C) 2001-2003,2004 Red Hat, Inc.
16
25
#
328
337
dnl
329
338
glib_DEFUN([GLIB_GNU_GETTEXT],
330
339
  [AC_REQUIRE([AC_PROG_CC])dnl
331
 
   AC_REQUIRE([AC_HEADER_STDC])dnl
332
340
   
333
341
   GLIB_LC_MESSAGES
334
342
   GLIB_WITH_NLS
9254
9262
m4_ifndef([_LT_PROG_CXX],               [AC_DEFUN([_LT_PROG_CXX])])
9255
9263
 
9256
9264
# nls.m4 serial 5 (gettext-0.18)
9257
 
dnl Copyright (C) 1995-2003, 2005-2006, 2008-2010 Free Software Foundation,
 
9265
dnl Copyright (C) 1995-2003, 2005-2006, 2008-2014 Free Software Foundation,
9258
9266
dnl Inc.
9259
9267
dnl This file is free software; the Free Software Foundation
9260
9268
dnl gives unlimited permission to copy and/or distribute it,
9287
9295
])
9288
9296
 
9289
9297
# pkg.m4 - Macros to locate and utilise pkg-config.            -*- Autoconf -*-
 
9298
# serial 1 (pkg-config-0.24)
9290
9299
9291
9300
# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
9292
9301
#
9313
9322
# ----------------------------------
9314
9323
AC_DEFUN([PKG_PROG_PKG_CONFIG],
9315
9324
[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
9316
 
m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
9317
 
AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
 
9325
m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
 
9326
m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$])
 
9327
AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
 
9328
AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
 
9329
AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
 
9330
 
9318
9331
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
9319
9332
        AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
9320
9333
fi
9327
9340
                AC_MSG_RESULT([no])
9328
9341
                PKG_CONFIG=""
9329
9342
        fi
9330
 
                
9331
9343
fi[]dnl
9332
9344
])# PKG_PROG_PKG_CONFIG
9333
9345
 
9336
9348
# Check to see whether a particular set of modules exists.  Similar
9337
9349
# to PKG_CHECK_MODULES(), but does not set variables or print errors.
9338
9350
#
9339
 
#
9340
 
# Similar to PKG_CHECK_MODULES, make sure that the first instance of
9341
 
# this or PKG_CHECK_MODULES is called, or make sure to call
9342
 
# PKG_CHECK_EXISTS manually
 
9351
# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
 
9352
# only at the first occurence in configure.ac, so if the first place
 
9353
# it's called might be skipped (such as if it is within an "if", you
 
9354
# have to call PKG_CHECK_EXISTS manually
9343
9355
# --------------------------------------------------------------
9344
9356
AC_DEFUN([PKG_CHECK_EXISTS],
9345
9357
[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
9346
9358
if test -n "$PKG_CONFIG" && \
9347
9359
    AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
9348
 
  m4_ifval([$2], [$2], [:])
 
9360
  m4_default([$2], [:])
9349
9361
m4_ifvaln([$3], [else
9350
9362
  $3])dnl
9351
9363
fi])
9352
9364
 
9353
 
 
9354
9365
# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
9355
9366
# ---------------------------------------------
9356
9367
m4_define([_PKG_CONFIG],
9357
 
[if test -n "$PKG_CONFIG"; then
9358
 
    if test -n "$$1"; then
9359
 
        pkg_cv_[]$1="$$1"
9360
 
    else
9361
 
        PKG_CHECK_EXISTS([$3],
9362
 
                         [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
9363
 
                         [pkg_failed=yes])
9364
 
    fi
9365
 
else
9366
 
        pkg_failed=untried
 
9368
[if test -n "$$1"; then
 
9369
    pkg_cv_[]$1="$$1"
 
9370
 elif test -n "$PKG_CONFIG"; then
 
9371
    PKG_CHECK_EXISTS([$3],
 
9372
                     [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`
 
9373
                      test "x$?" != "x0" && pkg_failed=yes ],
 
9374
                     [pkg_failed=yes])
 
9375
 else
 
9376
    pkg_failed=untried
9367
9377
fi[]dnl
9368
9378
])# _PKG_CONFIG
9369
9379
 
9405
9415
See the pkg-config man page for more details.])
9406
9416
 
9407
9417
if test $pkg_failed = yes; then
 
9418
        AC_MSG_RESULT([no])
9408
9419
        _PKG_SHORT_ERRORS_SUPPORTED
9409
9420
        if test $_pkg_short_errors_supported = yes; then
9410
 
                $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"`
 
9421
                $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1`
9411
9422
        else 
9412
 
                $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
 
9423
                $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1`
9413
9424
        fi
9414
9425
        # Put the nasty error message in config.log where it belongs
9415
9426
        echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
9416
9427
 
9417
 
        ifelse([$4], , [AC_MSG_ERROR(dnl
 
9428
        m4_default([$4], [AC_MSG_ERROR(
9418
9429
[Package requirements ($2) were not met:
9419
9430
 
9420
9431
$$1_PKG_ERRORS
9422
9433
Consider adjusting the PKG_CONFIG_PATH environment variable if you
9423
9434
installed software in a non-standard prefix.
9424
9435
 
9425
 
_PKG_TEXT
9426
 
])],
9427
 
                [AC_MSG_RESULT([no])
9428
 
                $4])
 
9436
_PKG_TEXT])[]dnl
 
9437
        ])
9429
9438
elif test $pkg_failed = untried; then
9430
 
        ifelse([$4], , [AC_MSG_FAILURE(dnl
 
9439
        AC_MSG_RESULT([no])
 
9440
        m4_default([$4], [AC_MSG_FAILURE(
9431
9441
[The pkg-config script could not be found or is too old.  Make sure it
9432
9442
is in your PATH or set the PKG_CONFIG environment variable to the full
9433
9443
path to pkg-config.
9434
9444
 
9435
9445
_PKG_TEXT
9436
9446
 
9437
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.])],
9438
 
                [$4])
 
9447
To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl
 
9448
        ])
9439
9449
else
9440
9450
        $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
9441
9451
        $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
9442
9452
        AC_MSG_RESULT([yes])
9443
 
        ifelse([$3], , :, [$3])
 
9453
        $3
9444
9454
fi[]dnl
9445
9455
])# PKG_CHECK_MODULES
9446
9456
 
9447
 
# Copyright (C) 2002, 2003, 2005  Free Software Foundation, Inc.
 
9457
 
 
9458
# PKG_INSTALLDIR(DIRECTORY)
 
9459
# -------------------------
 
9460
# Substitutes the variable pkgconfigdir as the location where a module
 
9461
# should install pkg-config .pc files. By default the directory is
 
9462
# $libdir/pkgconfig, but the default can be changed by passing
 
9463
# DIRECTORY. The user can override through the --with-pkgconfigdir
 
9464
# parameter.
 
9465
AC_DEFUN([PKG_INSTALLDIR],
 
9466
[m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])])
 
9467
m4_pushdef([pkg_description],
 
9468
    [pkg-config installation directory @<:@]pkg_default[@:>@])
 
9469
AC_ARG_WITH([pkgconfigdir],
 
9470
    [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],,
 
9471
    [with_pkgconfigdir=]pkg_default)
 
9472
AC_SUBST([pkgconfigdir], [$with_pkgconfigdir])
 
9473
m4_popdef([pkg_default])
 
9474
m4_popdef([pkg_description])
 
9475
]) dnl PKG_INSTALLDIR
 
9476
 
 
9477
 
 
9478
# PKG_NOARCH_INSTALLDIR(DIRECTORY)
 
9479
# -------------------------
 
9480
# Substitutes the variable noarch_pkgconfigdir as the location where a
 
9481
# module should install arch-independent pkg-config .pc files. By
 
9482
# default the directory is $datadir/pkgconfig, but the default can be
 
9483
# changed by passing DIRECTORY. The user can override through the
 
9484
# --with-noarch-pkgconfigdir parameter.
 
9485
AC_DEFUN([PKG_NOARCH_INSTALLDIR],
 
9486
[m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])])
 
9487
m4_pushdef([pkg_description],
 
9488
    [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@])
 
9489
AC_ARG_WITH([noarch-pkgconfigdir],
 
9490
    [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],,
 
9491
    [with_noarch_pkgconfigdir=]pkg_default)
 
9492
AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir])
 
9493
m4_popdef([pkg_default])
 
9494
m4_popdef([pkg_description])
 
9495
]) dnl PKG_NOARCH_INSTALLDIR
 
9496
 
 
9497
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software
 
9498
# Foundation, Inc.
9448
9499
#
9449
9500
# This file is free software; the Free Software Foundation
9450
9501
# gives unlimited permission to copy and/or distribute it,
9451
9502
# with or without modifications, as long as this notice is preserved.
9452
9503
 
 
9504
# serial 1
 
9505
 
9453
9506
# AM_AUTOMAKE_VERSION(VERSION)
9454
9507
# ----------------------------
9455
9508
# Automake X.Y traces this macro to ensure aclocal.m4 has been
9456
9509
# generated from the m4 files accompanying Automake X.Y.
9457
 
AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
 
9510
# (This private macro should not be called outside this file.)
 
9511
AC_DEFUN([AM_AUTOMAKE_VERSION],
 
9512
[am__api_version='1.11'
 
9513
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
 
9514
dnl require some minimum version.  Point them to the right macro.
 
9515
m4_if([$1], [1.11.6], [],
 
9516
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
 
9517
])
 
9518
 
 
9519
# _AM_AUTOCONF_VERSION(VERSION)
 
9520
# -----------------------------
 
9521
# aclocal traces this macro to find the Autoconf version.
 
9522
# This is a private macro too.  Using m4_define simplifies
 
9523
# the logic in aclocal, which can simply ignore this definition.
 
9524
m4_define([_AM_AUTOCONF_VERSION], [])
9458
9525
 
9459
9526
# AM_SET_CURRENT_AUTOMAKE_VERSION
9460
9527
# -------------------------------
9461
 
# Call AM_AUTOMAKE_VERSION so it can be traced.
9462
 
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
 
9528
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
 
9529
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
9463
9530
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
9464
 
         [AM_AUTOMAKE_VERSION([1.9.6])])
 
9531
[AM_AUTOMAKE_VERSION([1.11.6])dnl
 
9532
m4_ifndef([AC_AUTOCONF_VERSION],
 
9533
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
 
9534
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
9465
9535
 
9466
9536
# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
9467
9537
 
9468
 
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 
9538
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
9469
9539
#
9470
9540
# This file is free software; the Free Software Foundation
9471
9541
# gives unlimited permission to copy and/or distribute it,
9472
9542
# with or without modifications, as long as this notice is preserved.
9473
9543
 
 
9544
# serial 1
 
9545
 
9474
9546
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
9475
9547
# $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
9476
9548
# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
9518
9590
 
9519
9591
# AM_CONDITIONAL                                            -*- Autoconf -*-
9520
9592
 
9521
 
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
 
9593
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
9522
9594
# Free Software Foundation, Inc.
9523
9595
#
9524
9596
# This file is free software; the Free Software Foundation
9525
9597
# gives unlimited permission to copy and/or distribute it,
9526
9598
# with or without modifications, as long as this notice is preserved.
9527
9599
 
9528
 
# serial 7
 
9600
# serial 9
9529
9601
 
9530
9602
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
9531
9603
# -------------------------------------
9534
9606
[AC_PREREQ(2.52)dnl
9535
9607
 ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
9536
9608
        [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
9537
 
AC_SUBST([$1_TRUE])
9538
 
AC_SUBST([$1_FALSE])
 
9609
AC_SUBST([$1_TRUE])dnl
 
9610
AC_SUBST([$1_FALSE])dnl
 
9611
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
 
9612
_AM_SUBST_NOTMAKE([$1_FALSE])dnl
 
9613
m4_define([_AM_COND_VALUE_$1], [$2])dnl
9539
9614
if $2; then
9540
9615
  $1_TRUE=
9541
9616
  $1_FALSE='#'
9549
9624
Usually this means the macro was only invoked conditionally.]])
9550
9625
fi])])
9551
9626
 
9552
 
 
9553
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
9554
 
# Free Software Foundation, Inc.
 
9627
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009,
 
9628
# 2010, 2011 Free Software Foundation, Inc.
9555
9629
#
9556
9630
# This file is free software; the Free Software Foundation
9557
9631
# gives unlimited permission to copy and/or distribute it,
9558
9632
# with or without modifications, as long as this notice is preserved.
9559
9633
 
9560
 
# serial 8
 
9634
# serial 12
9561
9635
 
9562
9636
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
9563
9637
# written in clear, in which case automake, when reading aclocal.m4,
9585
9659
ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
9586
9660
       [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
9587
9661
       [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
 
9662
       [$1], UPC,  [depcc="$UPC"  am_compiler_list=],
9588
9663
       [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
9589
9664
                   [depcc="$$1"   am_compiler_list=])
9590
9665
 
9596
9671
  # instance it was reported that on HP-UX the gcc test will end up
9597
9672
  # making a dummy file named `D' -- because `-MD' means `put the output
9598
9673
  # in D'.
 
9674
  rm -rf conftest.dir
9599
9675
  mkdir conftest.dir
9600
9676
  # Copy depcomp to subdir because otherwise we won't find it if we're
9601
9677
  # using a relative directory.
9613
9689
  if test "$am_compiler_list" = ""; then
9614
9690
     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
9615
9691
  fi
 
9692
  am__universal=false
 
9693
  m4_case([$1], [CC],
 
9694
    [case " $depcc " in #(
 
9695
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
9696
     esac],
 
9697
    [CXX],
 
9698
    [case " $depcc " in #(
 
9699
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
9700
     esac])
 
9701
 
9616
9702
  for depmode in $am_compiler_list; do
9617
9703
    # Setup a source with many dependencies, because some compilers
9618
9704
    # like to wrap large dependency lists on column 80 (with \), and
9630
9716
    done
9631
9717
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
9632
9718
 
 
9719
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
9720
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
9721
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
9722
    # versions had trouble with output in subdirs
 
9723
    am__obj=sub/conftest.${OBJEXT-o}
 
9724
    am__minus_obj="-o $am__obj"
9633
9725
    case $depmode in
 
9726
    gcc)
 
9727
      # This depmode causes a compiler race in universal mode.
 
9728
      test "$am__universal" = false || continue
 
9729
      ;;
9634
9730
    nosideeffect)
9635
9731
      # after this tag, mechanisms are not by side-effect, so they'll
9636
9732
      # only be used when explicitly requested
9640
9736
        break
9641
9737
      fi
9642
9738
      ;;
 
9739
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
 
9740
      # This compiler won't grok `-c -o', but also, the minuso test has
 
9741
      # not run yet.  These depmodes are late enough in the game, and
 
9742
      # so weak that their functioning should not be impacted.
 
9743
      am__obj=conftest.${OBJEXT-o}
 
9744
      am__minus_obj=
 
9745
      ;;
9643
9746
    none) break ;;
9644
9747
    esac
9645
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
9646
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
9647
 
    # handle `-M -o', and we need to detect this.
9648
9748
    if depmode=$depmode \
9649
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
9749
       source=sub/conftest.c object=$am__obj \
9650
9750
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
9651
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
9751
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
9652
9752
         >/dev/null 2>conftest.err &&
 
9753
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
9653
9754
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
9654
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
9755
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
9655
9756
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
9656
9757
      # icc doesn't choke on unknown options, it will just issue warnings
9657
9758
      # or remarks (even with -Werror).  So we grep stderr for any message
9700
9801
if test "x$enable_dependency_tracking" != xno; then
9701
9802
  am_depcomp="$ac_aux_dir/depcomp"
9702
9803
  AMDEPBACKSLASH='\'
 
9804
  am__nodep='_no'
9703
9805
fi
9704
9806
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
9705
 
AC_SUBST([AMDEPBACKSLASH])
 
9807
AC_SUBST([AMDEPBACKSLASH])dnl
 
9808
_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
 
9809
AC_SUBST([am__nodep])dnl
 
9810
_AM_SUBST_NOTMAKE([am__nodep])dnl
9706
9811
])
9707
9812
 
9708
9813
# Generate code to set up dependency tracking.              -*- Autoconf -*-
9709
9814
 
9710
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
 
9815
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
9711
9816
# Free Software Foundation, Inc.
9712
9817
#
9713
9818
# This file is free software; the Free Software Foundation
9714
9819
# gives unlimited permission to copy and/or distribute it,
9715
9820
# with or without modifications, as long as this notice is preserved.
9716
9821
 
9717
 
#serial 3
 
9822
#serial 5
9718
9823
 
9719
9824
# _AM_OUTPUT_DEPENDENCY_COMMANDS
9720
9825
# ------------------------------
9721
9826
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
9722
 
[for mf in $CONFIG_FILES; do
9723
 
  # Strip MF so we end up with the name of the file.
9724
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
9725
 
  # Check whether this is an Automake generated Makefile or not.
9726
 
  # We used to match only the files named `Makefile.in', but
9727
 
  # some people rename them; so instead we look at the file content.
9728
 
  # Grep'ing the first line is not enough: some people post-process
9729
 
  # each Makefile.in and add a new line on top of each file to say so.
9730
 
  # So let's grep whole file.
9731
 
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
9732
 
    dirpart=`AS_DIRNAME("$mf")`
9733
 
  else
9734
 
    continue
9735
 
  fi
9736
 
  # Extract the definition of DEPDIR, am__include, and am__quote
9737
 
  # from the Makefile without running `make'.
9738
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
9739
 
  test -z "$DEPDIR" && continue
9740
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
9741
 
  test -z "am__include" && continue
9742
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
9743
 
  # When using ansi2knr, U may be empty or an underscore; expand it
9744
 
  U=`sed -n 's/^U = //p' < "$mf"`
9745
 
  # Find all dependency output files, they are included files with
9746
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
9747
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
9748
 
  # expansion.
9749
 
  for file in `sed -n "
9750
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9751
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9752
 
    # Make sure the directory exists.
9753
 
    test -f "$dirpart/$file" && continue
9754
 
    fdir=`AS_DIRNAME(["$file"])`
9755
 
    AS_MKDIR_P([$dirpart/$fdir])
9756
 
    # echo "creating $dirpart/$file"
9757
 
    echo '# dummy' > "$dirpart/$file"
 
9827
[{
 
9828
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
9829
  # are listed without --file.  Let's play safe and only enable the eval
 
9830
  # if we detect the quoting.
 
9831
  case $CONFIG_FILES in
 
9832
  *\'*) eval set x "$CONFIG_FILES" ;;
 
9833
  *)   set x $CONFIG_FILES ;;
 
9834
  esac
 
9835
  shift
 
9836
  for mf
 
9837
  do
 
9838
    # Strip MF so we end up with the name of the file.
 
9839
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
9840
    # Check whether this is an Automake generated Makefile or not.
 
9841
    # We used to match only the files named `Makefile.in', but
 
9842
    # some people rename them; so instead we look at the file content.
 
9843
    # Grep'ing the first line is not enough: some people post-process
 
9844
    # each Makefile.in and add a new line on top of each file to say so.
 
9845
    # Grep'ing the whole file is not good either: AIX grep has a line
 
9846
    # limit of 2048, but all sed's we know have understand at least 4000.
 
9847
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
9848
      dirpart=`AS_DIRNAME("$mf")`
 
9849
    else
 
9850
      continue
 
9851
    fi
 
9852
    # Extract the definition of DEPDIR, am__include, and am__quote
 
9853
    # from the Makefile without running `make'.
 
9854
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
9855
    test -z "$DEPDIR" && continue
 
9856
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
9857
    test -z "am__include" && continue
 
9858
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
9859
    # When using ansi2knr, U may be empty or an underscore; expand it
 
9860
    U=`sed -n 's/^U = //p' < "$mf"`
 
9861
    # Find all dependency output files, they are included files with
 
9862
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
9863
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
9864
    # expansion.
 
9865
    for file in `sed -n "
 
9866
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
9867
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
9868
      # Make sure the directory exists.
 
9869
      test -f "$dirpart/$file" && continue
 
9870
      fdir=`AS_DIRNAME(["$file"])`
 
9871
      AS_MKDIR_P([$dirpart/$fdir])
 
9872
      # echo "creating $dirpart/$file"
 
9873
      echo '# dummy' > "$dirpart/$file"
 
9874
    done
9758
9875
  done
9759
 
done
 
9876
}
9760
9877
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
9761
9878
 
9762
9879
 
9787
9904
 
9788
9905
# Do all the work for Automake.                             -*- Autoconf -*-
9789
9906
 
9790
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
9791
 
# Free Software Foundation, Inc.
 
9907
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
 
9908
# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
9792
9909
#
9793
9910
# This file is free software; the Free Software Foundation
9794
9911
# gives unlimited permission to copy and/or distribute it,
9795
9912
# with or without modifications, as long as this notice is preserved.
9796
9913
 
9797
 
# serial 12
 
9914
# serial 16
9798
9915
 
9799
9916
# This macro actually does too much.  Some checks are only needed if
9800
9917
# your package does certain things.  But this isn't really a big deal.
9811
9928
# arguments mandatory, and then we can depend on a new Autoconf
9812
9929
# release and drop the old call support.
9813
9930
AC_DEFUN([AM_INIT_AUTOMAKE],
9814
 
[AC_PREREQ([2.58])dnl
 
9931
[AC_PREREQ([2.62])dnl
9815
9932
dnl Autoconf wants to disallow AM_ names.  We explicitly allow
9816
9933
dnl the ones we care about.
9817
9934
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
9818
9935
AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
9819
9936
AC_REQUIRE([AC_PROG_INSTALL])dnl
9820
 
# test to see if srcdir already configured
9821
 
if test "`cd $srcdir && pwd`" != "`pwd`" &&
9822
 
   test -f $srcdir/config.status; then
9823
 
  AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
 
9937
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
9938
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
9939
  # is not polluted with repeated "-I."
 
9940
  AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
 
9941
  # test to see if srcdir already configured
 
9942
  if test -f $srcdir/config.status; then
 
9943
    AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
 
9944
  fi
9824
9945
fi
9825
9946
 
9826
9947
# test whether we have cygpath
9840
9961
 AC_SUBST([PACKAGE], [$1])dnl
9841
9962
 AC_SUBST([VERSION], [$2])],
9842
9963
[_AM_SET_OPTIONS([$1])dnl
 
9964
dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
 
9965
m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
 
9966
  [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
9843
9967
 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
9844
9968
 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
9845
9969
 
9855
9979
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
9856
9980
AM_MISSING_PROG(AUTOHEADER, autoheader)
9857
9981
AM_MISSING_PROG(MAKEINFO, makeinfo)
9858
 
AM_PROG_INSTALL_SH
9859
 
AM_PROG_INSTALL_STRIP
 
9982
AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
 
9983
AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
9860
9984
AC_REQUIRE([AM_PROG_MKDIR_P])dnl
9861
9985
# We need awk for the "check" target.  The system "awk" is bad on
9862
9986
# some platforms.
9864
9988
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
9865
9989
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
9866
9990
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
9867
 
              [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
9868
 
                             [_AM_PROG_TAR([v7])])])
 
9991
              [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
 
9992
                             [_AM_PROG_TAR([v7])])])
9869
9993
_AM_IF_OPTION([no-dependencies],,
9870
9994
[AC_PROVIDE_IFELSE([AC_PROG_CC],
9871
 
                  [_AM_DEPENDENCIES(CC)],
9872
 
                  [define([AC_PROG_CC],
9873
 
                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
 
9995
                  [_AM_DEPENDENCIES(CC)],
 
9996
                  [define([AC_PROG_CC],
 
9997
                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
9874
9998
AC_PROVIDE_IFELSE([AC_PROG_CXX],
9875
 
                  [_AM_DEPENDENCIES(CXX)],
9876
 
                  [define([AC_PROG_CXX],
9877
 
                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
9878
 
])
9879
 
])
 
9999
                  [_AM_DEPENDENCIES(CXX)],
 
10000
                  [define([AC_PROG_CXX],
 
10001
                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
 
10002
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
 
10003
                  [_AM_DEPENDENCIES(OBJC)],
 
10004
                  [define([AC_PROG_OBJC],
 
10005
                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
 
10006
])
 
10007
_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
 
10008
dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
 
10009
dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This macro
 
10010
dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
 
10011
AC_CONFIG_COMMANDS_PRE(dnl
 
10012
[m4_provide_if([_AM_COMPILER_EXEEXT],
 
10013
  [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
 
10014
])
 
10015
 
 
10016
dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
 
10017
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
 
10018
dnl mangled by Autoconf and run in a shell conditional statement.
 
10019
m4_define([_AC_COMPILER_EXEEXT],
 
10020
m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
9880
10021
 
9881
10022
 
9882
10023
# When config.status generates a header, we must update the stamp-h file.
9888
10029
# our stamp files there.
9889
10030
AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
9890
10031
[# Compute $1's index in $config_headers.
 
10032
_am_arg=$1
9891
10033
_am_stamp_count=1
9892
10034
for _am_header in $config_headers :; do
9893
10035
  case $_am_header in
9894
 
    $1 | $1:* )
 
10036
    $_am_arg | $_am_arg:* )
9895
10037
      break ;;
9896
10038
    * )
9897
10039
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
9898
10040
  esac
9899
10041
done
9900
 
echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
 
10042
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
9901
10043
 
9902
 
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 
10044
# Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation,
 
10045
# Inc.
9903
10046
#
9904
10047
# This file is free software; the Free Software Foundation
9905
10048
# gives unlimited permission to copy and/or distribute it,
9906
10049
# with or without modifications, as long as this notice is preserved.
9907
10050
 
 
10051
# serial 1
 
10052
 
9908
10053
# AM_PROG_INSTALL_SH
9909
10054
# ------------------
9910
10055
# Define $install_sh.
9911
10056
AC_DEFUN([AM_PROG_INSTALL_SH],
9912
10057
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
9913
 
install_sh=${install_sh-"$am_aux_dir/install-sh"}
 
10058
if test x"${install_sh}" != xset; then
 
10059
  case $am_aux_dir in
 
10060
  *\ * | *\     *)
 
10061
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
10062
  *)
 
10063
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
10064
  esac
 
10065
fi
9914
10066
AC_SUBST(install_sh)])
9915
10067
 
9916
10068
# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
9937
10089
# Add --enable-maintainer-mode option to configure.         -*- Autoconf -*-
9938
10090
# From Jim Meyering
9939
10091
 
9940
 
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
9941
 
# Free Software Foundation, Inc.
 
10092
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008,
 
10093
# 2011 Free Software Foundation, Inc.
9942
10094
#
9943
10095
# This file is free software; the Free Software Foundation
9944
10096
# gives unlimited permission to copy and/or distribute it,
9945
10097
# with or without modifications, as long as this notice is preserved.
9946
10098
 
9947
 
# serial 4
 
10099
# serial 5
9948
10100
 
 
10101
# AM_MAINTAINER_MODE([DEFAULT-MODE])
 
10102
# ----------------------------------
 
10103
# Control maintainer-specific portions of Makefiles.
 
10104
# Default is to disable them, unless `enable' is passed literally.
 
10105
# For symmetry, `disable' may be passed as well.  Anyway, the user
 
10106
# can override the default with the --enable/--disable switch.
9949
10107
AC_DEFUN([AM_MAINTAINER_MODE],
9950
 
[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
9951
 
  dnl maintainer-mode is disabled by default
9952
 
  AC_ARG_ENABLE(maintainer-mode,
9953
 
[  --enable-maintainer-mode  enable make rules and dependencies not useful
 
10108
[m4_case(m4_default([$1], [disable]),
 
10109
       [enable], [m4_define([am_maintainer_other], [disable])],
 
10110
       [disable], [m4_define([am_maintainer_other], [enable])],
 
10111
       [m4_define([am_maintainer_other], [enable])
 
10112
        m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
 
10113
AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
 
10114
  dnl maintainer-mode's default is 'disable' unless 'enable' is passed
 
10115
  AC_ARG_ENABLE([maintainer-mode],
 
10116
[  --][am_maintainer_other][-maintainer-mode  am_maintainer_other make rules and dependencies not useful
9954
10117
                          (and sometimes confusing) to the casual installer],
9955
 
      USE_MAINTAINER_MODE=$enableval,
9956
 
      USE_MAINTAINER_MODE=no)
 
10118
      [USE_MAINTAINER_MODE=$enableval],
 
10119
      [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
9957
10120
  AC_MSG_RESULT([$USE_MAINTAINER_MODE])
9958
 
  AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
 
10121
  AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
9959
10122
  MAINT=$MAINTAINER_MODE_TRUE
9960
 
  AC_SUBST(MAINT)dnl
 
10123
  AC_SUBST([MAINT])dnl
9961
10124
]
9962
10125
)
9963
10126
 
9965
10128
 
9966
10129
# Check to see how 'make' treats includes.                  -*- Autoconf -*-
9967
10130
 
9968
 
# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
 
10131
# Copyright (C) 2001, 2002, 2003, 2005, 2009  Free Software Foundation, Inc.
9969
10132
#
9970
10133
# This file is free software; the Free Software Foundation
9971
10134
# gives unlimited permission to copy and/or distribute it,
9972
10135
# with or without modifications, as long as this notice is preserved.
9973
10136
 
9974
 
# serial 3
 
10137
# serial 4
9975
10138
 
9976
10139
# AM_MAKE_INCLUDE()
9977
10140
# -----------------
9980
10143
[am_make=${MAKE-make}
9981
10144
cat > confinc << 'END'
9982
10145
am__doit:
9983
 
        @echo done
 
10146
        @echo this is the am__doit target
9984
10147
.PHONY: am__doit
9985
10148
END
9986
10149
# If we don't find an include directive, just comment out the code.
9990
10153
_am_result=none
9991
10154
# First try GNU make style include.
9992
10155
echo "include confinc" > confmf
9993
 
# We grep out `Entering directory' and `Leaving directory'
9994
 
# messages which can occur if `w' ends up in MAKEFLAGS.
9995
 
# In particular we don't look at `^make:' because GNU make might
9996
 
# be invoked under some other name (usually "gmake"), in which
9997
 
# case it prints its new name instead of `make'.
9998
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
9999
 
   am__include=include
10000
 
   am__quote=
10001
 
   _am_result=GNU
10002
 
fi
 
10156
# Ignore all kinds of additional output from `make'.
 
10157
case `$am_make -s -f confmf 2> /dev/null` in #(
 
10158
*the\ am__doit\ target*)
 
10159
  am__include=include
 
10160
  am__quote=
 
10161
  _am_result=GNU
 
10162
  ;;
 
10163
esac
10003
10164
# Now try BSD make style include.
10004
10165
if test "$am__include" = "#"; then
10005
10166
   echo '.include "confinc"' > confmf
10006
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
10007
 
      am__include=.include
10008
 
      am__quote="\""
10009
 
      _am_result=BSD
10010
 
   fi
 
10167
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
10168
   *the\ am__doit\ target*)
 
10169
     am__include=.include
 
10170
     am__quote="\""
 
10171
     _am_result=BSD
 
10172
     ;;
 
10173
   esac
10011
10174
fi
10012
10175
AC_SUBST([am__include])
10013
10176
AC_SUBST([am__quote])
10017
10180
 
10018
10181
# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
10019
10182
 
10020
 
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
 
10183
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
10021
10184
# Free Software Foundation, Inc.
10022
10185
#
10023
10186
# This file is free software; the Free Software Foundation
10024
10187
# gives unlimited permission to copy and/or distribute it,
10025
10188
# with or without modifications, as long as this notice is preserved.
10026
10189
 
10027
 
# serial 4
 
10190
# serial 6
10028
10191
 
10029
10192
# AM_MISSING_PROG(NAME, PROGRAM)
10030
10193
# ------------------------------
10040
10203
# If it does, set am_missing_run to use it, otherwise, to nothing.
10041
10204
AC_DEFUN([AM_MISSING_HAS_RUN],
10042
10205
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
10043
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
10206
AC_REQUIRE_AUX_FILE([missing])dnl
 
10207
if test x"${MISSING+set}" != xset; then
 
10208
  case $am_aux_dir in
 
10209
  *\ * | *\     *)
 
10210
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
10211
  *)
 
10212
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
10213
  esac
 
10214
fi
10044
10215
# Use eval to expand $SHELL
10045
10216
if eval "$MISSING --run true"; then
10046
10217
  am_missing_run="$MISSING --run "
10050
10221
fi
10051
10222
])
10052
10223
 
10053
 
# Copyright (C) 2003, 2004, 2005  Free Software Foundation, Inc.
 
10224
# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
 
10225
# Inc.
10054
10226
#
10055
10227
# This file is free software; the Free Software Foundation
10056
10228
# gives unlimited permission to copy and/or distribute it,
10057
10229
# with or without modifications, as long as this notice is preserved.
10058
10230
 
 
10231
# serial 1
 
10232
 
10059
10233
# AM_PROG_MKDIR_P
10060
10234
# ---------------
10061
 
# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
10062
 
#
10063
 
# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
10064
 
# created by `make install' are always world readable, even if the
10065
 
# installer happens to have an overly restrictive umask (e.g. 077).
10066
 
# This was a mistake.  There are at least two reasons why we must not
10067
 
# use `-m 0755':
10068
 
#   - it causes special bits like SGID to be ignored,
10069
 
#   - it may be too restrictive (some setups expect 775 directories).
10070
 
#
10071
 
# Do not use -m 0755 and let people choose whatever they expect by
10072
 
# setting umask.
10073
 
#
10074
 
# We cannot accept any implementation of `mkdir' that recognizes `-p'.
10075
 
# Some implementations (such as Solaris 8's) are not thread-safe: if a
10076
 
# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
10077
 
# concurrently, both version can detect that a/ is missing, but only
10078
 
# one can create it and the other will error out.  Consequently we
10079
 
# restrict ourselves to GNU make (using the --version option ensures
10080
 
# this.)
 
10235
# Check for `mkdir -p'.
10081
10236
AC_DEFUN([AM_PROG_MKDIR_P],
10082
 
[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
10083
 
  # We used to keeping the `.' as first argument, in order to
10084
 
  # allow $(mkdir_p) to be used without argument.  As in
10085
 
  #   $(mkdir_p) $(somedir)
10086
 
  # where $(somedir) is conditionally defined.  However this is wrong
10087
 
  # for two reasons:
10088
 
  #  1. if the package is installed by a user who cannot write `.'
10089
 
  #     make install will fail,
10090
 
  #  2. the above comment should most certainly read
10091
 
  #     $(mkdir_p) $(DESTDIR)$(somedir)
10092
 
  #     so it does not work when $(somedir) is undefined and
10093
 
  #     $(DESTDIR) is not.
10094
 
  #  To support the latter case, we have to write
10095
 
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
10096
 
  #  so the `.' trick is pointless.
10097
 
  mkdir_p='mkdir -p --'
10098
 
else
10099
 
  # On NextStep and OpenStep, the `mkdir' command does not
10100
 
  # recognize any option.  It will interpret all options as
10101
 
  # directories to create, and then abort because `.' already
10102
 
  # exists.
10103
 
  for d in ./-p ./--version;
10104
 
  do
10105
 
    test -d $d && rmdir $d
10106
 
  done
10107
 
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
10108
 
  if test -f "$ac_aux_dir/mkinstalldirs"; then
10109
 
    mkdir_p='$(mkinstalldirs)'
10110
 
  else
10111
 
    mkdir_p='$(SHELL) $(install_sh) -d'
10112
 
  fi
10113
 
fi
10114
 
AC_SUBST([mkdir_p])])
 
10237
[AC_PREREQ([2.60])dnl
 
10238
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
 
10239
dnl Automake 1.8 to 1.9.6 used to define mkdir_p.  We now use MKDIR_P,
 
10240
dnl while keeping a definition of mkdir_p for backward compatibility.
 
10241
dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
 
10242
dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
 
10243
dnl Makefile.ins that do not define MKDIR_P, so we do our own
 
10244
dnl adjustment using top_builddir (which is defined more often than
 
10245
dnl MKDIR_P).
 
10246
AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
 
10247
case $mkdir_p in
 
10248
  [[\\/$]]* | ?:[[\\/]]*) ;;
 
10249
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
10250
esac
 
10251
])
10115
10252
 
10116
10253
# Helper functions for option handling.                     -*- Autoconf -*-
10117
10254
 
10118
 
# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
 
10255
# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
 
10256
# Foundation, Inc.
10119
10257
#
10120
10258
# This file is free software; the Free Software Foundation
10121
10259
# gives unlimited permission to copy and/or distribute it,
10122
10260
# with or without modifications, as long as this notice is preserved.
10123
10261
 
10124
 
# serial 3
 
10262
# serial 5
10125
10263
 
10126
10264
# _AM_MANGLE_OPTION(NAME)
10127
10265
# -----------------------
10129
10267
[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
10130
10268
 
10131
10269
# _AM_SET_OPTION(NAME)
10132
 
# ------------------------------
 
10270
# --------------------
10133
10271
# Set option NAME.  Presently that only means defining a flag for this option.
10134
10272
AC_DEFUN([_AM_SET_OPTION],
10135
10273
[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
10136
10274
 
10137
10275
# _AM_SET_OPTIONS(OPTIONS)
10138
 
# ----------------------------------
 
10276
# ------------------------
10139
10277
# OPTIONS is a space-separated list of Automake options.
10140
10278
AC_DEFUN([_AM_SET_OPTIONS],
10141
 
[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
 
10279
[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
10142
10280
 
10143
10281
# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
10144
10282
# -------------------------------------------
10146
10284
AC_DEFUN([_AM_IF_OPTION],
10147
10285
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
10148
10286
 
10149
 
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
10150
 
#
10151
 
# This file is free software; the Free Software Foundation
10152
 
# gives unlimited permission to copy and/or distribute it,
10153
 
# with or without modifications, as long as this notice is preserved.
 
10287
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
 
10288
#
 
10289
# This file is free software; the Free Software Foundation
 
10290
# gives unlimited permission to copy and/or distribute it,
 
10291
# with or without modifications, as long as this notice is preserved.
 
10292
 
 
10293
# serial 1
 
10294
 
 
10295
# AM_RUN_LOG(COMMAND)
 
10296
# -------------------
 
10297
# Run COMMAND, save the exit status in ac_status, and log it.
 
10298
# (This has been adapted from Autoconf's _AC_RUN_LOG macro.)
 
10299
AC_DEFUN([AM_RUN_LOG],
 
10300
[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
 
10301
   ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
 
10302
   ac_status=$?
 
10303
   echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
 
10304
   (exit $ac_status); }])
 
10305
 
 
10306
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
 
10307
#
 
10308
# This file is free software; the Free Software Foundation
 
10309
# gives unlimited permission to copy and/or distribute it,
 
10310
# with or without modifications, as long as this notice is preserved.
 
10311
 
 
10312
# serial 1
10154
10313
 
10155
10314
# AM_PROG_INSTALL_STRIP
10156
10315
# ---------------------
10171
10330
if test "$cross_compiling" != no; then
10172
10331
  AC_CHECK_TOOL([STRIP], [strip], :)
10173
10332
fi
10174
 
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
 
10333
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
10175
10334
AC_SUBST([INSTALL_STRIP_PROGRAM])])
10176
10335
 
 
10336
# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
 
10337
#
 
10338
# This file is free software; the Free Software Foundation
 
10339
# gives unlimited permission to copy and/or distribute it,
 
10340
# with or without modifications, as long as this notice is preserved.
 
10341
 
 
10342
# serial 3
 
10343
 
 
10344
# _AM_SUBST_NOTMAKE(VARIABLE)
 
10345
# ---------------------------
 
10346
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
 
10347
# This macro is traced by Automake.
 
10348
AC_DEFUN([_AM_SUBST_NOTMAKE])
 
10349
 
 
10350
# AM_SUBST_NOTMAKE(VARIABLE)
 
10351
# --------------------------
 
10352
# Public sister of _AM_SUBST_NOTMAKE.
 
10353
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
 
10354
 
10177
10355
# Check how to create a tarball.                            -*- Autoconf -*-
10178
10356
 
10179
 
# Copyright (C) 2004, 2005  Free Software Foundation, Inc.
 
10357
# Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.
10180
10358
#
10181
10359
# This file is free software; the Free Software Foundation
10182
10360
# gives unlimited permission to copy and/or distribute it,
10198
10376
# a tarball read from stdin.
10199
10377
#     $(am__untar) < result.tar
10200
10378
AC_DEFUN([_AM_PROG_TAR],
10201
 
[# Always define AMTAR for backward compatibility.
10202
 
AM_MISSING_PROG([AMTAR], [tar])
 
10379
[# Always define AMTAR for backward compatibility.  Yes, it's still used
 
10380
# in the wild :-(  We should find a proper way to deprecate it ...
 
10381
AC_SUBST([AMTAR], ['$${TAR-tar}'])
10203
10382
m4_if([$1], [v7],
10204
 
     [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
 
10383
     [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
10205
10384
     [m4_case([$1], [ustar],, [pax],,
10206
10385
              [m4_fatal([Unknown tar format])])
10207
10386
AC_MSG_CHECKING([how to create a $1 tar archive])
10270
10449
AC_SUBST([am__untar])
10271
10450
]) # _AM_PROG_TAR
10272
10451
 
10273
 
dnl $Id$
10274
 
dnl
10275
 
dnl Copyright (c) 2002-2006
 
10452
dnl Copyright (c) 2002-2015
10276
10453
dnl         The Xfce development team. All rights reserved.
10277
10454
dnl
10278
10455
dnl Written for Xfce by Benedikt Meurer <benny@xfce.org>.
10300
10477
 
10301
10478
 
10302
10479
dnl We need recent a autoconf version
10303
 
AC_PREREQ([2.53])
 
10480
AC_PREREQ([2.60])
10304
10481
 
10305
10482
 
10306
10483
 
10610
10787
])
10611
10788
 
10612
10789
 
10613
 
dnl $Id$
10614
 
dnl
10615
 
dnl Copyright (c) 2002-2006
 
10790
dnl Copyright (c) 2002-2015
10616
10791
dnl         The Xfce development team. All rights reserved.
10617
10792
dnl
10618
10793
dnl Written for Xfce by Benedikt Meurer <benny@xfce.org>.
10640
10815
 
10641
10816
 
10642
10817
dnl We need recent a autoconf version
10643
 
AC_PREREQ([2.53])
 
10818
AC_PREREQ([2.60])
10644
10819
 
10645
10820
 
10646
10821
dnl XDT_SUPPORTED_FLAGS(VAR, FLAGS)
10654
10829
    AC_MSG_CHECKING([if $CC supports $flag])
10655
10830
    saved_CFLAGS="$CFLAGS"
10656
10831
    CFLAGS="$CFLAGS $flag"
10657
 
    AC_COMPILE_IFELSE([ ], [flag_supported=yes], [flag_supported=no])
 
10832
    AC_COMPILE_IFELSE([AC_LANG_SOURCE([ ])], [flag_supported=yes], [flag_supported=no])
10658
10833
    CFLAGS="$saved_CFLAGS"
10659
10834
    AC_MSG_RESULT([$flag_supported])
10660
10835
 
10688
10863
                              -Wdeclaration-after-statement \
10689
10864
                              -Wmissing-declarations \
10690
10865
                              -Wmissing-noreturn -Wshadow -Wpointer-arith \
10691
 
                              -Wcast-align -Wformat-security \
 
10866
                              -Wcast-align -Wformat -Wformat-security -Wformat-y2k \
10692
10867
                              -Winit-self -Wmissing-include-dirs -Wundef \
10693
 
                              -Wmissing-format-attribute -Wnested-externs"
10694
 
    CPPFLAGS="$CPPFLAGS -D_FORTIFY_SOURCE=2"
 
10868
                              -Wnested-externs"
 
10869
    CPPFLAGS="$CPPFLAGS"
10695
10870
 
10696
10871
    if test x`uname` = x"Linux"; then
10697
10872
      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -fstack-protector"
10758
10933
    saved_CFLAGS="$CFLAGS"
10759
10934
    CFLAGS="$CFLAGS $xdt_vis_test_cflags"
10760
10935
    AC_MSG_CHECKING([whether $CC supports the GNUC visibility attribute])
10761
 
    AC_COMPILE_IFELSE(AC_LANG_SOURCE(
 
10936
    AC_COMPILE_IFELSE([AC_LANG_SOURCE(
10762
10937
    [
10763
10938
      void test_default (void);
10764
10939
      void test_hidden (void);
10771
10946
        test_hidden ();
10772
10947
        return 0;
10773
10948
      }
10774
 
    ]),
 
10949
    ])],
10775
10950
    [
10776
10951
      have_gnuc_visibility=yes
10777
10952
      AC_MSG_RESULT([yes])
10832
11007
  fi
10833
11008
])
10834
11009
 
10835
 
dnl $Id$
10836
 
dnl
10837
 
dnl Copyright (c) 2002-2006
 
11010
dnl Copyright (c) 2002-2015
10838
11011
dnl         The Xfce development team. All rights reserved.
10839
11012
dnl
10840
11013
dnl Written for Xfce by Benedikt Meurer <benny@xfce.org>.