~ubuntu-branches/ubuntu/trusty/xfce4-panel/trusty-proposed

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Package Import Robot
  • Author(s): Jackson Doak
  • Date: 2014-02-16 14:34:33 UTC
  • mfrom: (1.1.37)
  • Revision ID: package-import@ubuntu.com-20140216143433-dmwlwlhc7dn0bxqz
Tags: 4.11.0-0ubuntu1
* New upstream release.
* Update lintian override

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# generated automatically by aclocal 1.14.1 -*- Autoconf -*-
 
1
# generated automatically by aclocal 1.13.3 -*- Autoconf -*-
2
2
 
3
3
# Copyright (C) 1996-2013 Free Software Foundation, Inc.
4
4
 
2049
2049
  rm -rf conftest*
2050
2050
  ;;
2051
2051
 
2052
 
x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
 
2052
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
2053
2053
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
2054
2054
  # Find out which ABI we are using.
2055
2055
  echo 'int i;' > conftest.$ac_ext
2070
2070
                ;;
2071
2071
            esac
2072
2072
            ;;
2073
 
          powerpc64le-*)
2074
 
            LD="${LD-ld} -m elf32lppclinux"
2075
 
            ;;
2076
 
          powerpc64-*)
 
2073
          ppc64-*linux*|powerpc64-*linux*)
2077
2074
            LD="${LD-ld} -m elf32ppclinux"
2078
2075
            ;;
2079
2076
          s390x-*linux*)
2092
2089
          x86_64-*linux*)
2093
2090
            LD="${LD-ld} -m elf_x86_64"
2094
2091
            ;;
2095
 
          powerpcle-*)
2096
 
            LD="${LD-ld} -m elf64lppc"
2097
 
            ;;
2098
 
          powerpc-*)
 
2092
          ppc*-*linux*|powerpc*-*linux*)
2099
2093
            LD="${LD-ld} -m elf64ppc"
2100
2094
            ;;
2101
2095
          s390*-*linux*|s390*-*tpf*)
9346
9340
m4_ifndef([_LT_PROG_CXX],               [AC_DEFUN([_LT_PROG_CXX])])
9347
9341
 
9348
9342
# nls.m4 serial 5 (gettext-0.18)
9349
 
dnl Copyright (C) 1995-2003, 2005-2006, 2008-2013 Free Software Foundation,
 
9343
dnl Copyright (C) 1995-2003, 2005-2006, 2008-2010 Free Software Foundation,
9350
9344
dnl Inc.
9351
9345
dnl This file is free software; the Free Software Foundation
9352
9346
dnl gives unlimited permission to copy and/or distribute it,
9550
9544
# generated from the m4 files accompanying Automake X.Y.
9551
9545
# (This private macro should not be called outside this file.)
9552
9546
AC_DEFUN([AM_AUTOMAKE_VERSION],
9553
 
[am__api_version='1.14'
 
9547
[am__api_version='1.13'
9554
9548
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
9555
9549
dnl require some minimum version.  Point them to the right macro.
9556
 
m4_if([$1], [1.14.1], [],
 
9550
m4_if([$1], [1.13.3], [],
9557
9551
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
9558
9552
])
9559
9553
 
9569
9563
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
9570
9564
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
9571
9565
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
9572
 
[AM_AUTOMAKE_VERSION([1.14.1])dnl
 
9566
[AM_AUTOMAKE_VERSION([1.13.3])dnl
9573
9567
m4_ifndef([AC_AUTOCONF_VERSION],
9574
9568
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
9575
9569
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
9936
9930
# This macro actually does too much.  Some checks are only needed if
9937
9931
# your package does certain things.  But this isn't really a big deal.
9938
9932
 
9939
 
dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O.
9940
 
m4_define([AC_PROG_CC],
9941
 
m4_defn([AC_PROG_CC])
9942
 
[_AM_PROG_CC_C_O
9943
 
])
9944
 
 
9945
9933
# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
9946
9934
# AM_INIT_AUTOMAKE([OPTIONS])
9947
9935
# -----------------------------------------------
10050
10038
AC_CONFIG_COMMANDS_PRE(dnl
10051
10039
[m4_provide_if([_AM_COMPILER_EXEEXT],
10052
10040
  [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
10053
 
 
10054
 
# POSIX will say in a future version that running "rm -f" with no argument
10055
 
# is OK; and we want to be able to make that assumption in our Makefile
10056
 
# recipes.  So use an aggressive probe to check that the usage we want is
10057
 
# actually supported "in the wild" to an acceptable degree.
10058
 
# See automake bug#10828.
10059
 
# To make any issue more visible, cause the running configure to be aborted
10060
 
# by default if the 'rm' program in use doesn't match our expectations; the
10061
 
# user can still override this though.
10062
 
if rm -f && rm -fr && rm -rf; then : OK; else
10063
 
  cat >&2 <<'END'
10064
 
Oops!
10065
 
 
10066
 
Your 'rm' program seems unable to run without file operands specified
10067
 
on the command line, even when the '-f' option is present.  This is contrary
10068
 
to the behaviour of most rm programs out there, and not conforming with
10069
 
the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
10070
 
 
10071
 
Please tell bug-automake@gnu.org about your system, including the value
10072
 
of your $PATH and any error possibly output before this message.  This
10073
 
can help us improve future automake versions.
10074
 
 
10075
 
END
10076
 
  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
10077
 
    echo 'Configuration will proceed anyway, since you have set the' >&2
10078
 
    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
10079
 
    echo >&2
10080
 
  else
10081
 
    cat >&2 <<'END'
10082
 
Aborting the configuration process, to ensure you take notice of the issue.
10083
 
 
10084
 
You can download and install GNU coreutils to get an 'rm' implementation
10085
 
that behaves properly: <http://www.gnu.org/software/coreutils/>.
10086
 
 
10087
 
If you want to complete the configuration process using your problematic
10088
 
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
10089
 
to "yes", and re-run configure.
10090
 
 
10091
 
END
10092
 
    AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
10093
 
  fi
10094
 
fi])
 
10041
])
10095
10042
 
10096
10043
dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
10097
10044
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
10099
10046
m4_define([_AC_COMPILER_EXEEXT],
10100
10047
m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
10101
10048
 
 
10049
 
10102
10050
# When config.status generates a header, we must update the stamp-h file.
10103
10051
# This file resides in the same directory as the config header
10104
10052
# that is generated.  The stamp files are numbered to have different names.
10246
10194
rm -f confinc confmf
10247
10195
])
10248
10196
 
 
10197
# Copyright (C) 1999-2013 Free Software Foundation, Inc.
 
10198
#
 
10199
# This file is free software; the Free Software Foundation
 
10200
# gives unlimited permission to copy and/or distribute it,
 
10201
# with or without modifications, as long as this notice is preserved.
 
10202
 
 
10203
# AM_PROG_CC_C_O
 
10204
# --------------
 
10205
# Like AC_PROG_CC_C_O, but changed for automake.
 
10206
AC_DEFUN([AM_PROG_CC_C_O],
 
10207
[AC_REQUIRE([AC_PROG_CC_C_O])dnl
 
10208
AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
 
10209
AC_REQUIRE_AUX_FILE([compile])dnl
 
10210
# FIXME: we rely on the cache variable name because
 
10211
# there is no other way.
 
10212
set dummy $CC
 
10213
am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
 
10214
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
 
10215
if test "$am_t" != yes; then
 
10216
   # Losing compiler, so override with the script.
 
10217
   # FIXME: It is wrong to rewrite CC.
 
10218
   # But if we don't then we get into trouble of one sort or another.
 
10219
   # A longer-term fix would be to have automake use am__CC in this case,
 
10220
   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
 
10221
   CC="$am_aux_dir/compile $CC"
 
10222
fi
 
10223
dnl Make sure AC_PROG_CC is never called again, or it will override our
 
10224
dnl setting of CC.
 
10225
m4_define([AC_PROG_CC],
 
10226
          [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])])
 
10227
])
 
10228
 
10249
10229
# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
10250
10230
 
10251
10231
# Copyright (C) 1997-2013 Free Software Foundation, Inc.
10316
10296
AC_DEFUN([_AM_IF_OPTION],
10317
10297
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
10318
10298
 
10319
 
# Copyright (C) 1999-2013 Free Software Foundation, Inc.
10320
 
#
10321
 
# This file is free software; the Free Software Foundation
10322
 
# gives unlimited permission to copy and/or distribute it,
10323
 
# with or without modifications, as long as this notice is preserved.
10324
 
 
10325
 
# _AM_PROG_CC_C_O
10326
 
# ---------------
10327
 
# Like AC_PROG_CC_C_O, but changed for automake.  We rewrite AC_PROG_CC
10328
 
# to automatically call this.
10329
 
AC_DEFUN([_AM_PROG_CC_C_O],
10330
 
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
10331
 
AC_REQUIRE_AUX_FILE([compile])dnl
10332
 
AC_LANG_PUSH([C])dnl
10333
 
AC_CACHE_CHECK(
10334
 
  [whether $CC understands -c and -o together],
10335
 
  [am_cv_prog_cc_c_o],
10336
 
  [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
10337
 
  # Make sure it works both with $CC and with simple cc.
10338
 
  # Following AC_PROG_CC_C_O, we do the test twice because some
10339
 
  # compilers refuse to overwrite an existing .o file with -o,
10340
 
  # though they will create one.
10341
 
  am_cv_prog_cc_c_o=yes
10342
 
  for am_i in 1 2; do
10343
 
    if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
10344
 
         && test -f conftest2.$ac_objext; then
10345
 
      : OK
10346
 
    else
10347
 
      am_cv_prog_cc_c_o=no
10348
 
      break
10349
 
    fi
10350
 
  done
10351
 
  rm -f core conftest*
10352
 
  unset am_i])
10353
 
if test "$am_cv_prog_cc_c_o" != yes; then
10354
 
   # Losing compiler, so override with the script.
10355
 
   # FIXME: It is wrong to rewrite CC.
10356
 
   # But if we don't then we get into trouble of one sort or another.
10357
 
   # A longer-term fix would be to have automake use am__CC in this case,
10358
 
   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
10359
 
   CC="$am_aux_dir/compile $CC"
10360
 
fi
10361
 
AC_LANG_POP([C])])
10362
 
 
10363
 
# For backward compatibility.
10364
 
AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
10365
 
 
10366
10299
# Copyright (C) 2001-2013 Free Software Foundation, Inc.
10367
10300
#
10368
10301
# This file is free software; the Free Software Foundation
11085
11018
    AC_MSG_CHECKING([if $CC supports $flag])
11086
11019
    saved_CFLAGS="$CFLAGS"
11087
11020
    CFLAGS="$CFLAGS $flag"
11088
 
    AC_COMPILE_IFELSE([ ], [flag_supported=yes], [flag_supported=no])
 
11021
    AC_COMPILE_IFELSE([AC_LANG_SOURCE([ ])], [flag_supported=yes], [flag_supported=no])
11089
11022
    CFLAGS="$saved_CFLAGS"
11090
11023
    AC_MSG_RESULT([$flag_supported])
11091
11024
 
11119
11052
                              -Wdeclaration-after-statement \
11120
11053
                              -Wmissing-declarations \
11121
11054
                              -Wmissing-noreturn -Wshadow -Wpointer-arith \
11122
 
                              -Wcast-align -Wformat-security \
 
11055
                              -Wcast-align -Wformat -Wformat-security -Wformat-y2k \
11123
11056
                              -Winit-self -Wmissing-include-dirs -Wundef \
11124
 
                              -Wmissing-format-attribute -Wnested-externs"
11125
 
    CPPFLAGS="$CPPFLAGS -D_FORTIFY_SOURCE=2"
 
11057
                              -Wnested-externs"
 
11058
    CPPFLAGS="$CPPFLAGS"
11126
11059
 
11127
11060
    if test x`uname` = x"Linux"; then
11128
11061
      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -fstack-protector"
11189
11122
    saved_CFLAGS="$CFLAGS"
11190
11123
    CFLAGS="$CFLAGS $xdt_vis_test_cflags"
11191
11124
    AC_MSG_CHECKING([whether $CC supports the GNUC visibility attribute])
11192
 
    AC_COMPILE_IFELSE(AC_LANG_SOURCE(
 
11125
    AC_COMPILE_IFELSE([AC_LANG_SOURCE(
11193
11126
    [
11194
11127
      void test_default (void);
11195
11128
      void test_hidden (void);
11202
11135
        test_hidden ();
11203
11136
        return 0;
11204
11137
      }
11205
 
    ]),
 
11138
    ])],
11206
11139
    [
11207
11140
      have_gnuc_visibility=yes
11208
11141
      AC_MSG_RESULT([yes])