~ubuntu-branches/ubuntu/trusty/gnuradio/trusty

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Bazaar Package Importer
  • Author(s): Steve Langasek
  • Date: 2011-04-16 12:49:11 UTC
  • Revision ID: james.westby@ubuntu.com-20110416124911-1hidxslsprlfd3wa
Tags: 3.2.2.dfsg-1ubuntu6
* config/gr_fortran.m4: call LT_LANG(Fortran 77) instead of the 
  lower-level autoconf macro directly; otherwise we get a double-invocation
  that causes recent versions of autoconf to wind up with wrong language
  selection.
* update config/pkg.m4 to the current version and re-autoconf, fixing 
  a build failure from trying to find libraries not needed at all for 
  dynamic linking.  LP: #749214.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# generated automatically by aclocal 1.10.2 -*- Autoconf -*-
 
1
# generated automatically by aclocal 1.10.3 -*- 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, 2006, 2007, 2008, 2009  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.
13
13
 
14
14
m4_ifndef([AC_AUTOCONF_VERSION],
15
15
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16
 
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.63],,
17
 
[m4_warning([this file was generated for autoconf 2.63.
 
16
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.67],,
 
17
[m4_warning([this file was generated for autoconf 2.67.
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'.])])
34
34
[am__api_version='1.10'
35
35
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
36
36
dnl require some minimum version.  Point them to the right macro.
37
 
m4_if([$1], [1.10.2], [],
 
37
m4_if([$1], [1.10.3], [],
38
38
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
39
39
])
40
40
 
50
50
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
51
51
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
52
52
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
53
 
[AM_AUTOMAKE_VERSION([1.10.2])dnl
 
53
[AM_AUTOMAKE_VERSION([1.10.3])dnl
54
54
m4_ifndef([AC_AUTOCONF_VERSION],
55
55
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
56
56
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
165
165
Usually this means the macro was only invoked conditionally.]])
166
166
fi])])
167
167
 
168
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
 
168
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
169
169
# Free Software Foundation, Inc.
170
170
#
171
171
# This file is free software; the Free Software Foundation
172
172
# gives unlimited permission to copy and/or distribute it,
173
173
# with or without modifications, as long as this notice is preserved.
174
174
 
175
 
# serial 9
 
175
# serial 10
176
176
 
177
177
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
178
178
# written in clear, in which case automake, when reading aclocal.m4,
229
229
  if test "$am_compiler_list" = ""; then
230
230
     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
231
231
  fi
 
232
  am__universal=false
 
233
  m4_case([$1], [CC],
 
234
    [case " $depcc " in #(
 
235
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
236
     esac],
 
237
    [CXX],
 
238
    [case " $depcc " in #(
 
239
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
240
     esac])
 
241
 
232
242
  for depmode in $am_compiler_list; do
233
243
    # Setup a source with many dependencies, because some compilers
234
244
    # like to wrap large dependency lists on column 80 (with \), and
246
256
    done
247
257
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
248
258
 
 
259
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
260
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
261
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
262
    # versions had trouble with output in subdirs
 
263
    am__obj=sub/conftest.${OBJEXT-o}
 
264
    am__minus_obj="-o $am__obj"
249
265
    case $depmode in
 
266
    gcc)
 
267
      # This depmode causes a compiler race in universal mode.
 
268
      test "$am__universal" = false || continue
 
269
      ;;
250
270
    nosideeffect)
251
271
      # after this tag, mechanisms are not by side-effect, so they'll
252
272
      # only be used when explicitly requested
256
276
        break
257
277
      fi
258
278
      ;;
 
279
    msvisualcpp | msvcmsys)
 
280
      # This compiler won't grok `-c -o', but also, the minuso test has
 
281
      # not run yet.  These depmodes are late enough in the game, and
 
282
      # so weak that their functioning should not be impacted.
 
283
      am__obj=conftest.${OBJEXT-o}
 
284
      am__minus_obj=
 
285
      ;;
259
286
    none) break ;;
260
287
    esac
261
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
262
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
263
 
    # handle `-M -o', and we need to detect this.
264
288
    if depmode=$depmode \
265
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
289
       source=sub/conftest.c object=$am__obj \
266
290
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
267
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
291
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
268
292
         >/dev/null 2>conftest.err &&
269
293
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
270
294
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
271
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
295
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
272
296
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
273
297
      # icc doesn't choke on unknown options, it will just issue warnings
274
298
      # or remarks (even with -Werror).  So we grep stderr for any message
418
442
# Do all the work for Automake.                             -*- Autoconf -*-
419
443
 
420
444
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
421
 
# 2005, 2006, 2008 Free Software Foundation, Inc.
 
445
# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
422
446
#
423
447
# This file is free software; the Free Software Foundation
424
448
# gives unlimited permission to copy and/or distribute it,
492
516
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
493
517
AM_MISSING_PROG(AUTOHEADER, autoheader)
494
518
AM_MISSING_PROG(MAKEINFO, makeinfo)
495
 
AM_PROG_INSTALL_SH
496
 
AM_PROG_INSTALL_STRIP
 
519
AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
 
520
AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
497
521
AC_REQUIRE([AM_PROG_MKDIR_P])dnl
498
522
# We need awk for the "check" target.  The system "awk" is bad on
499
523
# some platforms.
839
863
    [am_cv_python_pythondir],
840
864
    [if test "x$prefix" = xNONE
841
865
     then
842
 
       py_prefix_arg=
 
866
       am_py_prefix=$ac_default_prefix
843
867
     else
844
 
       py_prefix_arg=",prefix='$prefix'"
 
868
       am_py_prefix=$prefix
845
869
     fi
846
 
     am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0$py_prefix_arg)" -n -q install $py_prefix_arg 2>/dev/null ||
847
 
     echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`])
 
870
     am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null ||
 
871
     echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
 
872
     case $am_cv_python_pythondir in
 
873
     $am_py_prefix*)
 
874
       am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
 
875
       am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
 
876
       ;;
 
877
     esac
 
878
    ])
848
879
  AC_SUBST([pythondir], [$am_cv_python_pythondir])
849
880
 
850
881
  dnl pkgpythondir -- $PACKAGE directory under pythondir.  Was
862
893
    [am_cv_python_pyexecdir],
863
894
    [if test "x$exec_prefix" = xNONE
864
895
     then
865
 
       py_exec_prefix_arg=$py_prefix_arg
 
896
       am_py_exec_prefix=$am_py_prefix
866
897
     else
867
 
       py_exec_prefix_arg=",prefix='$exec_prefix'"
 
898
       am_py_exec_prefix=$exec_prefix
868
899
     fi
869
 
     am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0$py_exec_prefix_arg)" -n -q install $py_exec_prefix_arg 2>/dev/null ||
870
 
     echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"`])
 
900
     am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null ||
 
901
     echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
 
902
     case $am_cv_python_pyexecdir in
 
903
     $am_py_exec_prefix*)
 
904
       am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
 
905
       am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
 
906
       ;;
 
907
     esac
 
908
    ])
871
909
  AC_SUBST([pyexecdir], [$am_cv_python_pyexecdir])
872
910
 
873
911
  dnl pkgpyexecdir -- $(pyexecdir)/$(PACKAGE)