~ubuntu-branches/ubuntu/lucid/gupnp-tools/lucid

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Bazaar Package Importer
  • Author(s): Onkar Shinde
  • Date: 2009-02-16 22:17:19 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20090216221719-m23ajj6d2bhmyr40
Tags: 0.7-0ubuntu1
* New upstream release. (LP: #312551)
* debian/control
  - Added build dependency libglib2.0-dev (>= 2.12) as per upstream changes.
  - Added description for new tool.

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.10.1 -*- 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  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
 
14
22
# Copyright (C) 1995-2002 Free Software Foundation, Inc.
15
23
# Copyright (C) 2001-2003,2004 Red Hat, Inc.
16
24
#
446
454
 
447
455
# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
448
456
 
449
 
# serial 52 Debian 1.5.26-1ubuntu1 AC_PROG_LIBTOOL
 
457
# serial 52 Debian 1.5.26-4 AC_PROG_LIBTOOL
450
458
 
451
459
 
452
460
# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
7254
7262
fi[]dnl
7255
7263
])# PKG_CHECK_MODULES
7256
7264
 
7257
 
# Copyright (C) 2002, 2003, 2005  Free Software Foundation, Inc.
 
7265
# Copyright (C) 2002, 2003, 2005, 2006, 2007  Free Software Foundation, Inc.
7258
7266
#
7259
7267
# This file is free software; the Free Software Foundation
7260
7268
# gives unlimited permission to copy and/or distribute it,
7264
7272
# ----------------------------
7265
7273
# Automake X.Y traces this macro to ensure aclocal.m4 has been
7266
7274
# generated from the m4 files accompanying Automake X.Y.
7267
 
AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
 
7275
# (This private macro should not be called outside this file.)
 
7276
AC_DEFUN([AM_AUTOMAKE_VERSION],
 
7277
[am__api_version='1.10'
 
7278
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
 
7279
dnl require some minimum version.  Point them to the right macro.
 
7280
m4_if([$1], [1.10.1], [],
 
7281
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
 
7282
])
 
7283
 
 
7284
# _AM_AUTOCONF_VERSION(VERSION)
 
7285
# -----------------------------
 
7286
# aclocal traces this macro to find the Autoconf version.
 
7287
# This is a private macro too.  Using m4_define simplifies
 
7288
# the logic in aclocal, which can simply ignore this definition.
 
7289
m4_define([_AM_AUTOCONF_VERSION], [])
7268
7290
 
7269
7291
# AM_SET_CURRENT_AUTOMAKE_VERSION
7270
7292
# -------------------------------
7271
 
# Call AM_AUTOMAKE_VERSION so it can be traced.
 
7293
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
7272
7294
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
7273
7295
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
7274
 
         [AM_AUTOMAKE_VERSION([1.9.6])])
 
7296
[AM_AUTOMAKE_VERSION([1.10.1])dnl
 
7297
m4_ifndef([AC_AUTOCONF_VERSION],
 
7298
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
 
7299
_AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)])
7275
7300
 
7276
7301
# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
7277
7302
 
7328
7353
 
7329
7354
# AM_CONDITIONAL                                            -*- Autoconf -*-
7330
7355
 
7331
 
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
 
7356
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
7332
7357
# Free Software Foundation, Inc.
7333
7358
#
7334
7359
# This file is free software; the Free Software Foundation
7335
7360
# gives unlimited permission to copy and/or distribute it,
7336
7361
# with or without modifications, as long as this notice is preserved.
7337
7362
 
7338
 
# serial 7
 
7363
# serial 8
7339
7364
 
7340
7365
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
7341
7366
# -------------------------------------
7344
7369
[AC_PREREQ(2.52)dnl
7345
7370
 ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
7346
7371
        [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
7347
 
AC_SUBST([$1_TRUE])
7348
 
AC_SUBST([$1_FALSE])
 
7372
AC_SUBST([$1_TRUE])dnl
 
7373
AC_SUBST([$1_FALSE])dnl
 
7374
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
 
7375
_AM_SUBST_NOTMAKE([$1_FALSE])dnl
7349
7376
if $2; then
7350
7377
  $1_TRUE=
7351
7378
  $1_FALSE='#'
7359
7386
Usually this means the macro was only invoked conditionally.]])
7360
7387
fi])])
7361
7388
 
7362
 
 
7363
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
 
7389
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
7364
7390
# Free Software Foundation, Inc.
7365
7391
#
7366
7392
# This file is free software; the Free Software Foundation
7367
7393
# gives unlimited permission to copy and/or distribute it,
7368
7394
# with or without modifications, as long as this notice is preserved.
7369
7395
 
7370
 
# serial 8
 
7396
# serial 9
7371
7397
 
7372
7398
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
7373
7399
# written in clear, in which case automake, when reading aclocal.m4,
7395
7421
ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
7396
7422
       [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
7397
7423
       [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
 
7424
       [$1], UPC,  [depcc="$UPC"  am_compiler_list=],
7398
7425
       [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
7399
7426
                   [depcc="$$1"   am_compiler_list=])
7400
7427
 
7460
7487
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
7461
7488
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
7462
7489
         >/dev/null 2>conftest.err &&
 
7490
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
7463
7491
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
7464
7492
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
7465
7493
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
7512
7540
  AMDEPBACKSLASH='\'
7513
7541
fi
7514
7542
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
7515
 
AC_SUBST([AMDEPBACKSLASH])
 
7543
AC_SUBST([AMDEPBACKSLASH])dnl
 
7544
_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
7516
7545
])
7517
7546
 
7518
7547
# Generate code to set up dependency tracking.              -*- Autoconf -*-
7537
7566
  # some people rename them; so instead we look at the file content.
7538
7567
  # Grep'ing the first line is not enough: some people post-process
7539
7568
  # each Makefile.in and add a new line on top of each file to say so.
7540
 
  # So let's grep whole file.
7541
 
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
 
7569
  # Grep'ing the whole file is not good either: AIX grep has a line
 
7570
  # limit of 2048, but all sed's we know have understand at least 4000.
 
7571
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
7542
7572
    dirpart=`AS_DIRNAME("$mf")`
7543
7573
  else
7544
7574
    continue
7597
7627
 
7598
7628
# Do all the work for Automake.                             -*- Autoconf -*-
7599
7629
 
7600
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
7601
 
# Free Software Foundation, Inc.
 
7630
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
 
7631
# 2005, 2006, 2008 Free Software Foundation, Inc.
7602
7632
#
7603
7633
# This file is free software; the Free Software Foundation
7604
7634
# gives unlimited permission to copy and/or distribute it,
7605
7635
# with or without modifications, as long as this notice is preserved.
7606
7636
 
7607
 
# serial 12
 
7637
# serial 13
7608
7638
 
7609
7639
# This macro actually does too much.  Some checks are only needed if
7610
7640
# your package does certain things.  But this isn't really a big deal.
7621
7651
# arguments mandatory, and then we can depend on a new Autoconf
7622
7652
# release and drop the old call support.
7623
7653
AC_DEFUN([AM_INIT_AUTOMAKE],
7624
 
[AC_PREREQ([2.58])dnl
 
7654
[AC_PREREQ([2.60])dnl
7625
7655
dnl Autoconf wants to disallow AM_ names.  We explicitly allow
7626
7656
dnl the ones we care about.
7627
7657
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
7628
7658
AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
7629
7659
AC_REQUIRE([AC_PROG_INSTALL])dnl
7630
 
# test to see if srcdir already configured
7631
 
if test "`cd $srcdir && pwd`" != "`pwd`" &&
7632
 
   test -f $srcdir/config.status; then
7633
 
  AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
 
7660
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
7661
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
7662
  # is not polluted with repeated "-I."
 
7663
  AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
 
7664
  # test to see if srcdir already configured
 
7665
  if test -f $srcdir/config.status; then
 
7666
    AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
 
7667
  fi
7634
7668
fi
7635
7669
 
7636
7670
# test whether we have cygpath
7650
7684
 AC_SUBST([PACKAGE], [$1])dnl
7651
7685
 AC_SUBST([VERSION], [$2])],
7652
7686
[_AM_SET_OPTIONS([$1])dnl
 
7687
dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
 
7688
m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
 
7689
  [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
7653
7690
 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
7654
7691
 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
7655
7692
 
7685
7722
                  [_AM_DEPENDENCIES(CXX)],
7686
7723
                  [define([AC_PROG_CXX],
7687
7724
                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
 
7725
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
 
7726
                  [_AM_DEPENDENCIES(OBJC)],
 
7727
                  [define([AC_PROG_OBJC],
 
7728
                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
7688
7729
])
7689
7730
])
7690
7731
 
7698
7739
# our stamp files there.
7699
7740
AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
7700
7741
[# Compute $1's index in $config_headers.
 
7742
_am_arg=$1
7701
7743
_am_stamp_count=1
7702
7744
for _am_header in $config_headers :; do
7703
7745
  case $_am_header in
7704
 
    $1 | $1:* )
 
7746
    $_am_arg | $_am_arg:* )
7705
7747
      break ;;
7706
7748
    * )
7707
7749
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7708
7750
  esac
7709
7751
done
7710
 
echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
 
7752
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
7711
7753
 
7712
7754
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
7713
7755
#
7720
7762
# Define $install_sh.
7721
7763
AC_DEFUN([AM_PROG_INSTALL_SH],
7722
7764
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
7723
 
install_sh=${install_sh-"$am_aux_dir/install-sh"}
 
7765
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
7724
7766
AC_SUBST(install_sh)])
7725
7767
 
7726
7768
# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
7827
7869
 
7828
7870
# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
7829
7871
 
7830
 
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
 
7872
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
7831
7873
# Free Software Foundation, Inc.
7832
7874
#
7833
7875
# This file is free software; the Free Software Foundation
7834
7876
# gives unlimited permission to copy and/or distribute it,
7835
7877
# with or without modifications, as long as this notice is preserved.
7836
7878
 
7837
 
# serial 4
 
7879
# serial 5
7838
7880
 
7839
7881
# AM_MISSING_PROG(NAME, PROGRAM)
7840
7882
# ------------------------------
7850
7892
# If it does, set am_missing_run to use it, otherwise, to nothing.
7851
7893
AC_DEFUN([AM_MISSING_HAS_RUN],
7852
7894
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
 
7895
AC_REQUIRE_AUX_FILE([missing])dnl
7853
7896
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
7854
7897
# Use eval to expand $SHELL
7855
7898
if eval "$MISSING --run true"; then
7860
7903
fi
7861
7904
])
7862
7905
 
7863
 
# Copyright (C) 2003, 2004, 2005  Free Software Foundation, Inc.
 
7906
# Copyright (C) 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
7864
7907
#
7865
7908
# This file is free software; the Free Software Foundation
7866
7909
# gives unlimited permission to copy and/or distribute it,
7868
7911
 
7869
7912
# AM_PROG_MKDIR_P
7870
7913
# ---------------
7871
 
# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
7872
 
#
7873
 
# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
7874
 
# created by `make install' are always world readable, even if the
7875
 
# installer happens to have an overly restrictive umask (e.g. 077).
7876
 
# This was a mistake.  There are at least two reasons why we must not
7877
 
# use `-m 0755':
7878
 
#   - it causes special bits like SGID to be ignored,
7879
 
#   - it may be too restrictive (some setups expect 775 directories).
7880
 
#
7881
 
# Do not use -m 0755 and let people choose whatever they expect by
7882
 
# setting umask.
7883
 
#
7884
 
# We cannot accept any implementation of `mkdir' that recognizes `-p'.
7885
 
# Some implementations (such as Solaris 8's) are not thread-safe: if a
7886
 
# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
7887
 
# concurrently, both version can detect that a/ is missing, but only
7888
 
# one can create it and the other will error out.  Consequently we
7889
 
# restrict ourselves to GNU make (using the --version option ensures
7890
 
# this.)
 
7914
# Check for `mkdir -p'.
7891
7915
AC_DEFUN([AM_PROG_MKDIR_P],
7892
 
[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
7893
 
  # We used to keeping the `.' as first argument, in order to
7894
 
  # allow $(mkdir_p) to be used without argument.  As in
7895
 
  #   $(mkdir_p) $(somedir)
7896
 
  # where $(somedir) is conditionally defined.  However this is wrong
7897
 
  # for two reasons:
7898
 
  #  1. if the package is installed by a user who cannot write `.'
7899
 
  #     make install will fail,
7900
 
  #  2. the above comment should most certainly read
7901
 
  #     $(mkdir_p) $(DESTDIR)$(somedir)
7902
 
  #     so it does not work when $(somedir) is undefined and
7903
 
  #     $(DESTDIR) is not.
7904
 
  #  To support the latter case, we have to write
7905
 
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
7906
 
  #  so the `.' trick is pointless.
7907
 
  mkdir_p='mkdir -p --'
7908
 
else
7909
 
  # On NextStep and OpenStep, the `mkdir' command does not
7910
 
  # recognize any option.  It will interpret all options as
7911
 
  # directories to create, and then abort because `.' already
7912
 
  # exists.
7913
 
  for d in ./-p ./--version;
7914
 
  do
7915
 
    test -d $d && rmdir $d
7916
 
  done
7917
 
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
7918
 
  if test -f "$ac_aux_dir/mkinstalldirs"; then
7919
 
    mkdir_p='$(mkinstalldirs)'
7920
 
  else
7921
 
    mkdir_p='$(install_sh) -d'
7922
 
  fi
7923
 
fi
7924
 
AC_SUBST([mkdir_p])])
 
7916
[AC_PREREQ([2.60])dnl
 
7917
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
 
7918
dnl Automake 1.8 to 1.9.6 used to define mkdir_p.  We now use MKDIR_P,
 
7919
dnl while keeping a definition of mkdir_p for backward compatibility.
 
7920
dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
 
7921
dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
 
7922
dnl Makefile.ins that do not define MKDIR_P, so we do our own
 
7923
dnl adjustment using top_builddir (which is defined more often than
 
7924
dnl MKDIR_P).
 
7925
AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
 
7926
case $mkdir_p in
 
7927
  [[\\/$]]* | ?:[[\\/]]*) ;;
 
7928
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
7929
esac
 
7930
])
7925
7931
 
7926
7932
# Helper functions for option handling.                     -*- Autoconf -*-
7927
7933
 
8033
8039
if test "$cross_compiling" != no; then
8034
8040
  AC_CHECK_TOOL([STRIP], [strip], :)
8035
8041
fi
8036
 
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
 
8042
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
8037
8043
AC_SUBST([INSTALL_STRIP_PROGRAM])])
8038
8044
 
 
8045
# Copyright (C) 2006  Free Software Foundation, Inc.
 
8046
#
 
8047
# This file is free software; the Free Software Foundation
 
8048
# gives unlimited permission to copy and/or distribute it,
 
8049
# with or without modifications, as long as this notice is preserved.
 
8050
 
 
8051
# _AM_SUBST_NOTMAKE(VARIABLE)
 
8052
# ---------------------------
 
8053
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
 
8054
# This macro is traced by Automake.
 
8055
AC_DEFUN([_AM_SUBST_NOTMAKE])
 
8056
 
8039
8057
# Check how to create a tarball.                            -*- Autoconf -*-
8040
8058
 
8041
8059
# Copyright (C) 2004, 2005  Free Software Foundation, Inc.