~ubuntu-branches/ubuntu/natty/isight-firmware-tools/natty

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Bazaar Package Importer
  • Author(s): Nobuhiro Iwamatsu
  • Date: 2009-06-25 14:32:46 UTC
  • mfrom: (7.1.1 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090625143246-dhrqqv7yo3m630ts
Tags: 1.4.2-1
* New upstream release
* Update Standards-Version
* Remove Japanese po. (06_japanese.po.dpatch)

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.10.2 -*- Autoconf -*-
2
2
 
3
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
4
# 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
13
13
 
14
14
m4_ifndef([AC_AUTOCONF_VERSION],
15
15
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16
 
m4_if(AC_AUTOCONF_VERSION, [2.61],,
17
 
[m4_warning([this file was generated for autoconf 2.61.
 
16
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.63],,
 
17
[m4_warning([this file was generated for autoconf 2.63.
18
18
You have another version of autoconf.  It may work, but is not guaranteed to.
19
19
If you have problems, you may need to regenerate the build system entirely.
20
20
To do so, use the procedure documented by the package, typically `autoreconf'.])])
506
506
    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
507
507
   INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
508
508
 
509
 
AC_SUBST(INTLTOOL_DESKTOP_RULE)
510
 
AC_SUBST(INTLTOOL_DIRECTORY_RULE)
511
 
AC_SUBST(INTLTOOL_KEYS_RULE)
512
 
AC_SUBST(INTLTOOL_PROP_RULE)
513
 
AC_SUBST(INTLTOOL_OAF_RULE)
514
 
AC_SUBST(INTLTOOL_PONG_RULE)
515
 
AC_SUBST(INTLTOOL_SERVER_RULE)
516
 
AC_SUBST(INTLTOOL_SHEET_RULE)
517
 
AC_SUBST(INTLTOOL_SOUNDLIST_RULE)
518
 
AC_SUBST(INTLTOOL_UI_RULE)
519
 
AC_SUBST(INTLTOOL_XAM_RULE)
520
 
AC_SUBST(INTLTOOL_KBD_RULE)
521
 
AC_SUBST(INTLTOOL_XML_RULE)
522
 
AC_SUBST(INTLTOOL_XML_NOMERGE_RULE)
523
 
AC_SUBST(INTLTOOL_CAVES_RULE)
524
 
AC_SUBST(INTLTOOL_SCHEMAS_RULE)
525
 
AC_SUBST(INTLTOOL_THEME_RULE)
526
 
AC_SUBST(INTLTOOL_SERVICE_RULE)
527
 
AC_SUBST(INTLTOOL_POLICY_RULE)
 
509
_IT_SUBST(INTLTOOL_DESKTOP_RULE)
 
510
_IT_SUBST(INTLTOOL_DIRECTORY_RULE)
 
511
_IT_SUBST(INTLTOOL_KEYS_RULE)
 
512
_IT_SUBST(INTLTOOL_PROP_RULE)
 
513
_IT_SUBST(INTLTOOL_OAF_RULE)
 
514
_IT_SUBST(INTLTOOL_PONG_RULE)
 
515
_IT_SUBST(INTLTOOL_SERVER_RULE)
 
516
_IT_SUBST(INTLTOOL_SHEET_RULE)
 
517
_IT_SUBST(INTLTOOL_SOUNDLIST_RULE)
 
518
_IT_SUBST(INTLTOOL_UI_RULE)
 
519
_IT_SUBST(INTLTOOL_XAM_RULE)
 
520
_IT_SUBST(INTLTOOL_KBD_RULE)
 
521
_IT_SUBST(INTLTOOL_XML_RULE)
 
522
_IT_SUBST(INTLTOOL_XML_NOMERGE_RULE)
 
523
_IT_SUBST(INTLTOOL_CAVES_RULE)
 
524
_IT_SUBST(INTLTOOL_SCHEMAS_RULE)
 
525
_IT_SUBST(INTLTOOL_THEME_RULE)
 
526
_IT_SUBST(INTLTOOL_SERVICE_RULE)
 
527
_IT_SUBST(INTLTOOL_POLICY_RULE)
528
528
 
529
529
# Check the gettext tools to make sure they are GNU
530
530
AC_PATH_PROG(XGETTEXT, xgettext)
541
541
    AC_MSG_ERROR([GNU gettext tools not found; required for intltool])
542
542
fi
543
543
 
544
 
AC_PATH_PROG(INTLTOOL_PERL, [perl])
 
544
AC_PATH_PROG(INTLTOOL_PERL, perl)
545
545
if test -z "$INTLTOOL_PERL"; then
546
 
   AC_MSG_ERROR([perl not found; required for intltool])
 
546
   AC_MSG_ERROR([perl not found])
547
547
fi
548
 
if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then
549
 
   AC_MSG_ERROR([perl 5.x required for intltool])
 
548
AC_MSG_CHECKING([for perl >= 5.8.1])
 
549
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
 
550
if test $? -ne 0; then
 
551
   AC_MSG_ERROR([perl 5.8.1 is required for intltool])
 
552
else
 
553
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
 
554
   AC_MSG_RESULT([$IT_PERL_VERSION])
550
555
fi
551
556
if test "x$2" != "xno-xml"; then
552
557
   AC_MSG_CHECKING([for XML::Parser])
602
607
dnl of config.status.
603
608
AC_CONFIG_COMMANDS_PRE([
604
609
  AC_CONFIG_COMMANDS([$1/stamp-it], [
605
 
    if [ ! grep "^# INTLTOOL_MAKEFILE$" "$1/Makefile.in" ]; then
 
610
    if [ ! grep "^# INTLTOOL_MAKEFILE$" "$1/Makefile.in" > /dev/null ]; then
606
611
       AC_MSG_ERROR([$1/Makefile.in.in was not created by intltoolize.])
607
612
    fi
608
613
    rm -f "$1/stamp-it" "$1/stamp-it.tmp" "$1/POTFILES" "$1/Makefile.tmp"
624
629
])dnl
625
630
])
626
631
 
 
632
# _IT_SUBST(VARIABLE)
 
633
# -------------------
 
634
# Abstract macro to do either _AM_SUBST_NOTMAKE or AC_SUBST
 
635
#
 
636
AC_DEFUN([_IT_SUBST],
 
637
[
 
638
AC_SUBST([$1])
 
639
m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])])
 
640
]
 
641
)
 
642
 
627
643
# deprecated macros
628
644
AU_ALIAS([AC_PROG_INTLTOOL], [IT_PROG_INTLTOOL])
629
645
# A hint is needed for aclocal from Automake <= 1.9.4:
820
836
fi[]dnl
821
837
])# PKG_CHECK_MODULES
822
838
 
823
 
# Copyright (C) 2002, 2003, 2005, 2006, 2007  Free Software Foundation, Inc.
 
839
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
824
840
#
825
841
# This file is free software; the Free Software Foundation
826
842
# gives unlimited permission to copy and/or distribute it,
835
851
[am__api_version='1.10'
836
852
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
837
853
dnl require some minimum version.  Point them to the right macro.
838
 
m4_if([$1], [1.10.1], [],
 
854
m4_if([$1], [1.10.2], [],
839
855
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
840
856
])
841
857
 
849
865
# AM_SET_CURRENT_AUTOMAKE_VERSION
850
866
# -------------------------------
851
867
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
852
 
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
 
868
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
853
869
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
854
 
[AM_AUTOMAKE_VERSION([1.10.1])dnl
 
870
[AM_AUTOMAKE_VERSION([1.10.2])dnl
855
871
m4_ifndef([AC_AUTOCONF_VERSION],
856
872
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
857
 
_AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)])
 
873
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
858
874
 
859
875
# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
860
876
 
1104
1120
 
1105
1121
# Generate code to set up dependency tracking.              -*- Autoconf -*-
1106
1122
 
1107
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
 
1123
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
1108
1124
# Free Software Foundation, Inc.
1109
1125
#
1110
1126
# This file is free software; the Free Software Foundation
1111
1127
# gives unlimited permission to copy and/or distribute it,
1112
1128
# with or without modifications, as long as this notice is preserved.
1113
1129
 
1114
 
#serial 3
 
1130
#serial 5
1115
1131
 
1116
1132
# _AM_OUTPUT_DEPENDENCY_COMMANDS
1117
1133
# ------------------------------
1118
1134
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
1119
 
[for mf in $CONFIG_FILES; do
1120
 
  # Strip MF so we end up with the name of the file.
1121
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
1122
 
  # Check whether this is an Automake generated Makefile or not.
1123
 
  # We used to match only the files named `Makefile.in', but
1124
 
  # some people rename them; so instead we look at the file content.
1125
 
  # Grep'ing the first line is not enough: some people post-process
1126
 
  # each Makefile.in and add a new line on top of each file to say so.
1127
 
  # Grep'ing the whole file is not good either: AIX grep has a line
1128
 
  # limit of 2048, but all sed's we know have understand at least 4000.
1129
 
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
1130
 
    dirpart=`AS_DIRNAME("$mf")`
1131
 
  else
1132
 
    continue
1133
 
  fi
1134
 
  # Extract the definition of DEPDIR, am__include, and am__quote
1135
 
  # from the Makefile without running `make'.
1136
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
1137
 
  test -z "$DEPDIR" && continue
1138
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
1139
 
  test -z "am__include" && continue
1140
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
1141
 
  # When using ansi2knr, U may be empty or an underscore; expand it
1142
 
  U=`sed -n 's/^U = //p' < "$mf"`
1143
 
  # Find all dependency output files, they are included files with
1144
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
1145
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
1146
 
  # expansion.
1147
 
  for file in `sed -n "
1148
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
1149
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
1150
 
    # Make sure the directory exists.
1151
 
    test -f "$dirpart/$file" && continue
1152
 
    fdir=`AS_DIRNAME(["$file"])`
1153
 
    AS_MKDIR_P([$dirpart/$fdir])
1154
 
    # echo "creating $dirpart/$file"
1155
 
    echo '# dummy' > "$dirpart/$file"
 
1135
[{
 
1136
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
1137
  # are listed without --file.  Let's play safe and only enable the eval
 
1138
  # if we detect the quoting.
 
1139
  case $CONFIG_FILES in
 
1140
  *\'*) eval set x "$CONFIG_FILES" ;;
 
1141
  *)   set x $CONFIG_FILES ;;
 
1142
  esac
 
1143
  shift
 
1144
  for mf
 
1145
  do
 
1146
    # Strip MF so we end up with the name of the file.
 
1147
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
1148
    # Check whether this is an Automake generated Makefile or not.
 
1149
    # We used to match only the files named `Makefile.in', but
 
1150
    # some people rename them; so instead we look at the file content.
 
1151
    # Grep'ing the first line is not enough: some people post-process
 
1152
    # each Makefile.in and add a new line on top of each file to say so.
 
1153
    # Grep'ing the whole file is not good either: AIX grep has a line
 
1154
    # limit of 2048, but all sed's we know have understand at least 4000.
 
1155
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
1156
      dirpart=`AS_DIRNAME("$mf")`
 
1157
    else
 
1158
      continue
 
1159
    fi
 
1160
    # Extract the definition of DEPDIR, am__include, and am__quote
 
1161
    # from the Makefile without running `make'.
 
1162
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
1163
    test -z "$DEPDIR" && continue
 
1164
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
1165
    test -z "am__include" && continue
 
1166
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
1167
    # When using ansi2knr, U may be empty or an underscore; expand it
 
1168
    U=`sed -n 's/^U = //p' < "$mf"`
 
1169
    # Find all dependency output files, they are included files with
 
1170
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
1171
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
1172
    # expansion.
 
1173
    for file in `sed -n "
 
1174
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
1175
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
1176
      # Make sure the directory exists.
 
1177
      test -f "$dirpart/$file" && continue
 
1178
      fdir=`AS_DIRNAME(["$file"])`
 
1179
      AS_MKDIR_P([$dirpart/$fdir])
 
1180
      # echo "creating $dirpart/$file"
 
1181
      echo '# dummy' > "$dirpart/$file"
 
1182
    done
1156
1183
  done
1157
 
done
 
1184
}
1158
1185
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
1159
1186
 
1160
1187
 
1425
1452
rm -f confinc confmf
1426
1453
])
1427
1454
 
1428
 
# Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005
 
1455
# Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005, 2008
1429
1456
# Free Software Foundation, Inc.
1430
1457
#
1431
1458
# This file is free software; the Free Software Foundation
1432
1459
# gives unlimited permission to copy and/or distribute it,
1433
1460
# with or without modifications, as long as this notice is preserved.
1434
1461
 
1435
 
# serial 5
 
1462
# serial 6
1436
1463
 
1437
1464
# AM_PROG_CC_C_O
1438
1465
# --------------
1444
1471
# FIXME: we rely on the cache variable name because
1445
1472
# there is no other way.
1446
1473
set dummy $CC
1447
 
ac_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
1448
 
if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
 
1474
am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
 
1475
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
 
1476
if test "$am_t" != yes; then
1449
1477
   # Losing compiler, so override with the script.
1450
1478
   # FIXME: It is wrong to rewrite CC.
1451
1479
   # But if we don't then we get into trouble of one sort or another.
1523
1551
 
1524
1552
# Helper functions for option handling.                     -*- Autoconf -*-
1525
1553
 
1526
 
# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
 
1554
# Copyright (C) 2001, 2002, 2003, 2005, 2008  Free Software Foundation, Inc.
1527
1555
#
1528
1556
# This file is free software; the Free Software Foundation
1529
1557
# gives unlimited permission to copy and/or distribute it,
1530
1558
# with or without modifications, as long as this notice is preserved.
1531
1559
 
1532
 
# serial 3
 
1560
# serial 4
1533
1561
 
1534
1562
# _AM_MANGLE_OPTION(NAME)
1535
1563
# -----------------------
1546
1574
# ----------------------------------
1547
1575
# OPTIONS is a space-separated list of Automake options.
1548
1576
AC_DEFUN([_AM_SET_OPTIONS],
1549
 
[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
 
1577
[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
1550
1578
 
1551
1579
# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
1552
1580
# -------------------------------------------