~ubuntu-branches/ubuntu/utopic/xneur/utopic

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Bazaar Package Importer
  • Author(s): Alexander GQ Gerasiov
  • Date: 2009-08-21 15:46:47 UTC
  • mfrom: (1.1.5 upstream) (2.2.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090821154647-tkntx3xle87fnqoi
Tags: 0.9.5.1-2
* debian/* switching to CDBS.
* Added 05_nonewline_fix.patch: fix building with gcc4.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# generated automatically by aclocal 1.10.1 -*- Autoconf -*-
 
1
# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
2
2
 
3
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
 
# 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
 
4
# 2005  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_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'.])])
21
 
 
22
14
# iconv.m4 serial AM6 (gettext-0.17)
23
15
dnl Copyright (C) 2000-2002, 2007 Free Software Foundation, Inc.
24
16
dnl This file is free software; the Free Software Foundation
1021
1013
  AC_SUBST([$1])
1022
1014
])
1023
1015
 
1024
 
# Copyright (C) 2002, 2003, 2005, 2006, 2007  Free Software Foundation, Inc.
 
1016
# Copyright (C) 2002, 2003, 2005  Free Software Foundation, Inc.
1025
1017
#
1026
1018
# This file is free software; the Free Software Foundation
1027
1019
# gives unlimited permission to copy and/or distribute it,
1031
1023
# ----------------------------
1032
1024
# Automake X.Y traces this macro to ensure aclocal.m4 has been
1033
1025
# generated from the m4 files accompanying Automake X.Y.
1034
 
# (This private macro should not be called outside this file.)
1035
 
AC_DEFUN([AM_AUTOMAKE_VERSION],
1036
 
[am__api_version='1.10'
1037
 
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
1038
 
dnl require some minimum version.  Point them to the right macro.
1039
 
m4_if([$1], [1.10.1], [],
1040
 
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
1041
 
])
1042
 
 
1043
 
# _AM_AUTOCONF_VERSION(VERSION)
1044
 
# -----------------------------
1045
 
# aclocal traces this macro to find the Autoconf version.
1046
 
# This is a private macro too.  Using m4_define simplifies
1047
 
# the logic in aclocal, which can simply ignore this definition.
1048
 
m4_define([_AM_AUTOCONF_VERSION], [])
 
1026
AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
1049
1027
 
1050
1028
# AM_SET_CURRENT_AUTOMAKE_VERSION
1051
1029
# -------------------------------
1052
 
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
 
1030
# Call AM_AUTOMAKE_VERSION so it can be traced.
1053
1031
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
1054
1032
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
1055
 
[AM_AUTOMAKE_VERSION([1.10.1])dnl
1056
 
m4_ifndef([AC_AUTOCONF_VERSION],
1057
 
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
1058
 
_AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)])
 
1033
         [AM_AUTOMAKE_VERSION([1.9.6])])
1059
1034
 
1060
1035
# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
1061
1036
 
1112
1087
 
1113
1088
# AM_CONDITIONAL                                            -*- Autoconf -*-
1114
1089
 
1115
 
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
 
1090
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
1116
1091
# Free Software Foundation, Inc.
1117
1092
#
1118
1093
# This file is free software; the Free Software Foundation
1119
1094
# gives unlimited permission to copy and/or distribute it,
1120
1095
# with or without modifications, as long as this notice is preserved.
1121
1096
 
1122
 
# serial 8
 
1097
# serial 7
1123
1098
 
1124
1099
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
1125
1100
# -------------------------------------
1128
1103
[AC_PREREQ(2.52)dnl
1129
1104
 ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
1130
1105
        [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
1131
 
AC_SUBST([$1_TRUE])dnl
1132
 
AC_SUBST([$1_FALSE])dnl
1133
 
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
1134
 
_AM_SUBST_NOTMAKE([$1_FALSE])dnl
 
1106
AC_SUBST([$1_TRUE])
 
1107
AC_SUBST([$1_FALSE])
1135
1108
if $2; then
1136
1109
  $1_TRUE=
1137
1110
  $1_FALSE='#'
1145
1118
Usually this means the macro was only invoked conditionally.]])
1146
1119
fi])])
1147
1120
 
1148
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
 
1121
 
 
1122
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
1149
1123
# Free Software Foundation, Inc.
1150
1124
#
1151
1125
# This file is free software; the Free Software Foundation
1152
1126
# gives unlimited permission to copy and/or distribute it,
1153
1127
# with or without modifications, as long as this notice is preserved.
1154
1128
 
1155
 
# serial 9
 
1129
# serial 8
1156
1130
 
1157
1131
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
1158
1132
# written in clear, in which case automake, when reading aclocal.m4,
1180
1154
ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
1181
1155
       [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
1182
1156
       [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
1183
 
       [$1], UPC,  [depcc="$UPC"  am_compiler_list=],
1184
1157
       [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
1185
1158
                   [depcc="$$1"   am_compiler_list=])
1186
1159
 
1246
1219
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1247
1220
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
1248
1221
         >/dev/null 2>conftest.err &&
1249
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1250
1222
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1251
1223
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1252
1224
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1299
1271
  AMDEPBACKSLASH='\'
1300
1272
fi
1301
1273
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
1302
 
AC_SUBST([AMDEPBACKSLASH])dnl
1303
 
_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
 
1274
AC_SUBST([AMDEPBACKSLASH])
1304
1275
])
1305
1276
 
1306
1277
# Generate code to set up dependency tracking.              -*- Autoconf -*-
1325
1296
  # some people rename them; so instead we look at the file content.
1326
1297
  # Grep'ing the first line is not enough: some people post-process
1327
1298
  # each Makefile.in and add a new line on top of each file to say so.
1328
 
  # Grep'ing the whole file is not good either: AIX grep has a line
1329
 
  # limit of 2048, but all sed's we know have understand at least 4000.
1330
 
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
1299
  # So let's grep whole file.
 
1300
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
1331
1301
    dirpart=`AS_DIRNAME("$mf")`
1332
1302
  else
1333
1303
    continue
1374
1344
 
1375
1345
# Do all the work for Automake.                             -*- Autoconf -*-
1376
1346
 
1377
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
1378
 
# 2005, 2006, 2008 Free Software Foundation, Inc.
 
1347
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
 
1348
# Free Software Foundation, Inc.
1379
1349
#
1380
1350
# This file is free software; the Free Software Foundation
1381
1351
# gives unlimited permission to copy and/or distribute it,
1382
1352
# with or without modifications, as long as this notice is preserved.
1383
1353
 
1384
 
# serial 13
 
1354
# serial 12
1385
1355
 
1386
1356
# This macro actually does too much.  Some checks are only needed if
1387
1357
# your package does certain things.  But this isn't really a big deal.
1398
1368
# arguments mandatory, and then we can depend on a new Autoconf
1399
1369
# release and drop the old call support.
1400
1370
AC_DEFUN([AM_INIT_AUTOMAKE],
1401
 
[AC_PREREQ([2.60])dnl
 
1371
[AC_PREREQ([2.58])dnl
1402
1372
dnl Autoconf wants to disallow AM_ names.  We explicitly allow
1403
1373
dnl the ones we care about.
1404
1374
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
1405
1375
AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
1406
1376
AC_REQUIRE([AC_PROG_INSTALL])dnl
1407
 
if test "`cd $srcdir && pwd`" != "`pwd`"; then
1408
 
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
1409
 
  # is not polluted with repeated "-I."
1410
 
  AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
1411
 
  # test to see if srcdir already configured
1412
 
  if test -f $srcdir/config.status; then
1413
 
    AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
1414
 
  fi
 
1377
# test to see if srcdir already configured
 
1378
if test "`cd $srcdir && pwd`" != "`pwd`" &&
 
1379
   test -f $srcdir/config.status; then
 
1380
  AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
1415
1381
fi
1416
1382
 
1417
1383
# test whether we have cygpath
1431
1397
 AC_SUBST([PACKAGE], [$1])dnl
1432
1398
 AC_SUBST([VERSION], [$2])],
1433
1399
[_AM_SET_OPTIONS([$1])dnl
1434
 
dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
1435
 
m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
1436
 
  [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
1437
1400
 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
1438
1401
 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
1439
1402
 
1469
1432
                  [_AM_DEPENDENCIES(CXX)],
1470
1433
                  [define([AC_PROG_CXX],
1471
1434
                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
1472
 
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
1473
 
                  [_AM_DEPENDENCIES(OBJC)],
1474
 
                  [define([AC_PROG_OBJC],
1475
 
                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
1476
1435
])
1477
1436
])
1478
1437
 
1486
1445
# our stamp files there.
1487
1446
AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
1488
1447
[# Compute $1's index in $config_headers.
1489
 
_am_arg=$1
1490
1448
_am_stamp_count=1
1491
1449
for _am_header in $config_headers :; do
1492
1450
  case $_am_header in
1493
 
    $_am_arg | $_am_arg:* )
 
1451
    $1 | $1:* )
1494
1452
      break ;;
1495
1453
    * )
1496
1454
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
1497
1455
  esac
1498
1456
done
1499
 
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
 
1457
echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
1500
1458
 
1501
1459
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
1502
1460
#
1509
1467
# Define $install_sh.
1510
1468
AC_DEFUN([AM_PROG_INSTALL_SH],
1511
1469
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1512
 
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
 
1470
install_sh=${install_sh-"$am_aux_dir/install-sh"}
1513
1471
AC_SUBST(install_sh)])
1514
1472
 
1515
1473
# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
1585
1543
rm -f confinc confmf
1586
1544
])
1587
1545
 
1588
 
# Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005
1589
 
# Free Software Foundation, Inc.
 
1546
# Copyright (C) 1999, 2000, 2001, 2003, 2005  Free Software Foundation, Inc.
1590
1547
#
1591
1548
# This file is free software; the Free Software Foundation
1592
1549
# gives unlimited permission to copy and/or distribute it,
1593
1550
# with or without modifications, as long as this notice is preserved.
1594
1551
 
1595
 
# serial 5
 
1552
# serial 3
1596
1553
 
1597
1554
# AM_PROG_CC_C_O
1598
1555
# --------------
1600
1557
AC_DEFUN([AM_PROG_CC_C_O],
1601
1558
[AC_REQUIRE([AC_PROG_CC_C_O])dnl
1602
1559
AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1603
 
AC_REQUIRE_AUX_FILE([compile])dnl
1604
1560
# FIXME: we rely on the cache variable name because
1605
1561
# there is no other way.
1606
1562
set dummy $CC
1613
1569
   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
1614
1570
   CC="$am_aux_dir/compile $CC"
1615
1571
fi
1616
 
dnl Make sure AC_PROG_CC is never called again, or it will override our
1617
 
dnl setting of CC.
1618
 
m4_define([AC_PROG_CC],
1619
 
          [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])])
1620
1572
])
1621
1573
 
1622
1574
# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
1623
1575
 
1624
 
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
 
1576
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
1625
1577
# Free Software Foundation, Inc.
1626
1578
#
1627
1579
# This file is free software; the Free Software Foundation
1628
1580
# gives unlimited permission to copy and/or distribute it,
1629
1581
# with or without modifications, as long as this notice is preserved.
1630
1582
 
1631
 
# serial 5
 
1583
# serial 4
1632
1584
 
1633
1585
# AM_MISSING_PROG(NAME, PROGRAM)
1634
1586
# ------------------------------
1644
1596
# If it does, set am_missing_run to use it, otherwise, to nothing.
1645
1597
AC_DEFUN([AM_MISSING_HAS_RUN],
1646
1598
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1647
 
AC_REQUIRE_AUX_FILE([missing])dnl
1648
1599
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1649
1600
# Use eval to expand $SHELL
1650
1601
if eval "$MISSING --run true"; then
1655
1606
fi
1656
1607
])
1657
1608
 
1658
 
# Copyright (C) 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
 
1609
# Copyright (C) 2003, 2004, 2005  Free Software Foundation, Inc.
1659
1610
#
1660
1611
# This file is free software; the Free Software Foundation
1661
1612
# gives unlimited permission to copy and/or distribute it,
1663
1614
 
1664
1615
# AM_PROG_MKDIR_P
1665
1616
# ---------------
1666
 
# Check for `mkdir -p'.
 
1617
# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
 
1618
#
 
1619
# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
 
1620
# created by `make install' are always world readable, even if the
 
1621
# installer happens to have an overly restrictive umask (e.g. 077).
 
1622
# This was a mistake.  There are at least two reasons why we must not
 
1623
# use `-m 0755':
 
1624
#   - it causes special bits like SGID to be ignored,
 
1625
#   - it may be too restrictive (some setups expect 775 directories).
 
1626
#
 
1627
# Do not use -m 0755 and let people choose whatever they expect by
 
1628
# setting umask.
 
1629
#
 
1630
# We cannot accept any implementation of `mkdir' that recognizes `-p'.
 
1631
# Some implementations (such as Solaris 8's) are not thread-safe: if a
 
1632
# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
 
1633
# concurrently, both version can detect that a/ is missing, but only
 
1634
# one can create it and the other will error out.  Consequently we
 
1635
# restrict ourselves to GNU make (using the --version option ensures
 
1636
# this.)
1667
1637
AC_DEFUN([AM_PROG_MKDIR_P],
1668
 
[AC_PREREQ([2.60])dnl
1669
 
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
1670
 
dnl Automake 1.8 to 1.9.6 used to define mkdir_p.  We now use MKDIR_P,
1671
 
dnl while keeping a definition of mkdir_p for backward compatibility.
1672
 
dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
1673
 
dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
1674
 
dnl Makefile.ins that do not define MKDIR_P, so we do our own
1675
 
dnl adjustment using top_builddir (which is defined more often than
1676
 
dnl MKDIR_P).
1677
 
AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
1678
 
case $mkdir_p in
1679
 
  [[\\/$]]* | ?:[[\\/]]*) ;;
1680
 
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1681
 
esac
1682
 
])
 
1638
[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
 
1639
  # We used to keeping the `.' as first argument, in order to
 
1640
  # allow $(mkdir_p) to be used without argument.  As in
 
1641
  #   $(mkdir_p) $(somedir)
 
1642
  # where $(somedir) is conditionally defined.  However this is wrong
 
1643
  # for two reasons:
 
1644
  #  1. if the package is installed by a user who cannot write `.'
 
1645
  #     make install will fail,
 
1646
  #  2. the above comment should most certainly read
 
1647
  #     $(mkdir_p) $(DESTDIR)$(somedir)
 
1648
  #     so it does not work when $(somedir) is undefined and
 
1649
  #     $(DESTDIR) is not.
 
1650
  #  To support the latter case, we have to write
 
1651
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
 
1652
  #  so the `.' trick is pointless.
 
1653
  mkdir_p='mkdir -p --'
 
1654
else
 
1655
  # On NextStep and OpenStep, the `mkdir' command does not
 
1656
  # recognize any option.  It will interpret all options as
 
1657
  # directories to create, and then abort because `.' already
 
1658
  # exists.
 
1659
  for d in ./-p ./--version;
 
1660
  do
 
1661
    test -d $d && rmdir $d
 
1662
  done
 
1663
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
 
1664
  if test -f "$ac_aux_dir/mkinstalldirs"; then
 
1665
    mkdir_p='$(mkinstalldirs)'
 
1666
  else
 
1667
    mkdir_p='$(install_sh) -d'
 
1668
  fi
 
1669
fi
 
1670
AC_SUBST([mkdir_p])])
1683
1671
 
1684
1672
# Helper functions for option handling.                     -*- Autoconf -*-
1685
1673
 
1791
1779
if test "$cross_compiling" != no; then
1792
1780
  AC_CHECK_TOOL([STRIP], [strip], :)
1793
1781
fi
1794
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
1782
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1795
1783
AC_SUBST([INSTALL_STRIP_PROGRAM])])
1796
1784
 
1797
 
# Copyright (C) 2006  Free Software Foundation, Inc.
1798
 
#
1799
 
# This file is free software; the Free Software Foundation
1800
 
# gives unlimited permission to copy and/or distribute it,
1801
 
# with or without modifications, as long as this notice is preserved.
1802
 
 
1803
 
# _AM_SUBST_NOTMAKE(VARIABLE)
1804
 
# ---------------------------
1805
 
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
1806
 
# This macro is traced by Automake.
1807
 
AC_DEFUN([_AM_SUBST_NOTMAKE])
1808
 
 
1809
1785
# Check how to create a tarball.                            -*- Autoconf -*-
1810
1786
 
1811
1787
# Copyright (C) 2004, 2005  Free Software Foundation, Inc.