/[CvsGraph]/cvsgraph/aclocal.m4
ViewVC logotype

Diff of /cvsgraph/aclocal.m4

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1.2.1, Mon Nov 13 20:43:12 2006 UTC revision 1.1.2.2, Wed May 21 11:31:12 2008 UTC
# Line 1  Line 1 
1  # generated automatically by aclocal 1.9.6 -*- Autoconf -*-  # generated automatically by aclocal 1.10 -*- Autoconf -*-
2    
3  # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,  # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4  # 2005  Free Software Foundation, Inc.  # 2005, 2006  Free Software Foundation, Inc.
5  # This file is free software; the Free Software Foundation  # This file is free software; the Free Software Foundation
6  # gives unlimited permission to copy and/or distribute it,  # gives unlimited permission to copy and/or distribute it,
7  # with or without modifications, as long as this notice is preserved.  # with or without modifications, as long as this notice is preserved.
# Line 11  Line 11 
11  # even the implied warranty of MERCHANTABILITY or FITNESS FOR A  # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12  # PARTICULAR PURPOSE.  # PARTICULAR PURPOSE.
13    
14  # Copyright (C) 2002, 2003, 2005  Free Software Foundation, Inc.  m4_if(m4_PACKAGE_VERSION, [2.61],,
15    [m4_fatal([this file was generated for autoconf 2.61.
16    You have another version of autoconf.  If you want to use that,
17    you should regenerate the build system entirely.], [63])])
18    
19    # Copyright (C) 2002, 2003, 2005, 2006  Free Software Foundation, Inc.
20  #  #
21  # This file is free software; the Free Software Foundation  # This file is free software; the Free Software Foundation
22  # gives unlimited permission to copy and/or distribute it,  # gives unlimited permission to copy and/or distribute it,
# Line 21  Line 26 
26  # ----------------------------  # ----------------------------
27  # Automake X.Y traces this macro to ensure aclocal.m4 has been  # Automake X.Y traces this macro to ensure aclocal.m4 has been
28  # generated from the m4 files accompanying Automake X.Y.  # generated from the m4 files accompanying Automake X.Y.
29  AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])  # (This private macro should not be called outside this file.)
30    AC_DEFUN([AM_AUTOMAKE_VERSION],
31    [am__api_version='1.10'
32    dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
33    dnl require some minimum version.  Point them to the right macro.
34    m4_if([$1], [1.10], [],
35          [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
36    ])
37    
38    # _AM_AUTOCONF_VERSION(VERSION)
39    # -----------------------------
40    # aclocal traces this macro to find the Autoconf version.
41    # This is a private macro too.  Using m4_define simplifies
42    # the logic in aclocal, which can simply ignore this definition.
43    m4_define([_AM_AUTOCONF_VERSION], [])
44    
45  # AM_SET_CURRENT_AUTOMAKE_VERSION  # AM_SET_CURRENT_AUTOMAKE_VERSION
46  # -------------------------------  # -------------------------------
47  # Call AM_AUTOMAKE_VERSION so it can be traced.  # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
48  # This function is AC_REQUIREd by AC_INIT_AUTOMAKE.  # This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
49  AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],  AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
50           [AM_AUTOMAKE_VERSION([1.9.6])])  [AM_AUTOMAKE_VERSION([1.10])dnl
51    _AM_AUTOCONF_VERSION(m4_PACKAGE_VERSION)])
52    
53  # AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-  # AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
54    
# Line 85  Line 105 
105    
106  # AM_CONDITIONAL                                            -*- Autoconf -*-  # AM_CONDITIONAL                                            -*- Autoconf -*-
107    
108  # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005  # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
109  # Free Software Foundation, Inc.  # Free Software Foundation, Inc.
110  #  #
111  # This file is free software; the Free Software Foundation  # This file is free software; the Free Software Foundation
112  # gives unlimited permission to copy and/or distribute it,  # gives unlimited permission to copy and/or distribute it,
113  # with or without modifications, as long as this notice is preserved.  # with or without modifications, as long as this notice is preserved.
114    
115  # serial 7  # serial 8
116    
117  # AM_CONDITIONAL(NAME, SHELL-CONDITION)  # AM_CONDITIONAL(NAME, SHELL-CONDITION)
118  # -------------------------------------  # -------------------------------------
# Line 101  Line 121 
121  [AC_PREREQ(2.52)dnl  [AC_PREREQ(2.52)dnl
122   ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],   ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
123          [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl          [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
124  AC_SUBST([$1_TRUE])  AC_SUBST([$1_TRUE])dnl
125  AC_SUBST([$1_FALSE])  AC_SUBST([$1_FALSE])dnl
126    _AM_SUBST_NOTMAKE([$1_TRUE])dnl
127    _AM_SUBST_NOTMAKE([$1_FALSE])dnl
128  if $2; then  if $2; then
129    $1_TRUE=    $1_TRUE=
130    $1_FALSE='#'    $1_FALSE='#'
# Line 116  Line 138 
138  Usually this means the macro was only invoked conditionally.]])  Usually this means the macro was only invoked conditionally.]])
139  fi])])  fi])])
140    
141    # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005  
142  # Free Software Foundation, Inc.  # Free Software Foundation, Inc.
143  #  #
144  # This file is free software; the Free Software Foundation  # This file is free software; the Free Software Foundation
145  # gives unlimited permission to copy and/or distribute it,  # gives unlimited permission to copy and/or distribute it,
146  # with or without modifications, as long as this notice is preserved.  # with or without modifications, as long as this notice is preserved.
147    
148  # serial 8  # serial 9
149    
150  # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be  # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
151  # written in clear, in which case automake, when reading aclocal.m4,  # written in clear, in which case automake, when reading aclocal.m4,
# Line 152  Line 173 
173  ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],  ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
174         [$1], CXX,  [depcc="$CXX"  am_compiler_list=],         [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
175         [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],         [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
176           [$1], UPC,  [depcc="$UPC"  am_compiler_list=],
177         [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],         [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
178                     [depcc="$$1"   am_compiler_list=])                     [depcc="$$1"   am_compiler_list=])
179    
# Line 217  Line 239 
239         depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \         depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
240         $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \         $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
241           >/dev/null 2>conftest.err &&           >/dev/null 2>conftest.err &&
242           grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
243         grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&         grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
244         grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&         grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
245         ${MAKE-make} -s -f confmf > /dev/null 2>&1; then         ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
# Line 269  Line 292 
292    AMDEPBACKSLASH='\'    AMDEPBACKSLASH='\'
293  fi  fi
294  AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])  AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
295  AC_SUBST([AMDEPBACKSLASH])  AC_SUBST([AMDEPBACKSLASH])dnl
296    _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
297  ])  ])
298    
299  # Generate code to set up dependency tracking.              -*- Autoconf -*-  # Generate code to set up dependency tracking.              -*- Autoconf -*-
# Line 294  Line 318 
318    # some people rename them; so instead we look at the file content.    # some people rename them; so instead we look at the file content.
319    # Grep'ing the first line is not enough: some people post-process    # Grep'ing the first line is not enough: some people post-process
320    # each Makefile.in and add a new line on top of each file to say so.    # each Makefile.in and add a new line on top of each file to say so.
321    # So let's grep whole file.    # Grep'ing the whole file is not good either: AIX grep has a line
322    if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then    # limit of 2048, but all sed's we know have understand at least 4000.
323      if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
324      dirpart=`AS_DIRNAME("$mf")`      dirpart=`AS_DIRNAME("$mf")`
325    else    else
326      continue      continue
# Line 342  Line 367 
367    
368  # Do all the work for Automake.                             -*- Autoconf -*-  # Do all the work for Automake.                             -*- Autoconf -*-
369    
370  # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005  # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
371  # Free Software Foundation, Inc.  # 2005, 2006 Free Software Foundation, Inc.
372  #  #
373  # This file is free software; the Free Software Foundation  # This file is free software; the Free Software Foundation
374  # gives unlimited permission to copy and/or distribute it,  # gives unlimited permission to copy and/or distribute it,
# Line 366  Line 391 
391  # arguments mandatory, and then we can depend on a new Autoconf  # arguments mandatory, and then we can depend on a new Autoconf
392  # release and drop the old call support.  # release and drop the old call support.
393  AC_DEFUN([AM_INIT_AUTOMAKE],  AC_DEFUN([AM_INIT_AUTOMAKE],
394  [AC_PREREQ([2.58])dnl  [AC_PREREQ([2.60])dnl
395  dnl Autoconf wants to disallow AM_ names.  We explicitly allow  dnl Autoconf wants to disallow AM_ names.  We explicitly allow
396  dnl the ones we care about.  dnl the ones we care about.
397  m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl  m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
398  AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl  AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
399  AC_REQUIRE([AC_PROG_INSTALL])dnl  AC_REQUIRE([AC_PROG_INSTALL])dnl
400  # test to see if srcdir already configured  if test "`cd $srcdir && pwd`" != "`pwd`"; then
401  if test "`cd $srcdir && pwd`" != "`pwd`" &&    # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
402     test -f $srcdir/config.status; then    # is not polluted with repeated "-I."
403    AC_MSG_ERROR([source directory already configured; run "make distclean" there first])    AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
404      # test to see if srcdir already configured
405      if test -f $srcdir/config.status; then
406        AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
407      fi
408  fi  fi
409    
410  # test whether we have cygpath  # test whether we have cygpath
# Line 395  Line 424 
424   AC_SUBST([PACKAGE], [$1])dnl   AC_SUBST([PACKAGE], [$1])dnl
425   AC_SUBST([VERSION], [$2])],   AC_SUBST([VERSION], [$2])],
426  [_AM_SET_OPTIONS([$1])dnl  [_AM_SET_OPTIONS([$1])dnl
427    dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
428    m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
429      [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
430   AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl   AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
431   AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl   AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
432    
# Line 430  Line 462 
462                    [_AM_DEPENDENCIES(CXX)],                    [_AM_DEPENDENCIES(CXX)],
463                    [define([AC_PROG_CXX],                    [define([AC_PROG_CXX],
464                            defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl                            defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
465    AC_PROVIDE_IFELSE([AC_PROG_OBJC],
466                      [_AM_DEPENDENCIES(OBJC)],
467                      [define([AC_PROG_OBJC],
468                              defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
469  ])  ])
470  ])  ])
471    
# Line 465  Line 501 
501  # Define $install_sh.  # Define $install_sh.
502  AC_DEFUN([AM_PROG_INSTALL_SH],  AC_DEFUN([AM_PROG_INSTALL_SH],
503  [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl  [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
504  install_sh=${install_sh-"$am_aux_dir/install-sh"}  install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
505  AC_SUBST(install_sh)])  AC_SUBST(install_sh)])
506    
507  # Copyright (C) 2003, 2005  Free Software Foundation, Inc.  # Copyright (C) 2003, 2005  Free Software Foundation, Inc.
# Line 543  Line 579 
579    
580  # Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-  # Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
581    
582  # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005  # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
583  # Free Software Foundation, Inc.  # Free Software Foundation, Inc.
584  #  #
585  # This file is free software; the Free Software Foundation  # This file is free software; the Free Software Foundation
586  # gives unlimited permission to copy and/or distribute it,  # gives unlimited permission to copy and/or distribute it,
587  # with or without modifications, as long as this notice is preserved.  # with or without modifications, as long as this notice is preserved.
588    
589  # serial 4  # serial 5
590    
591  # AM_MISSING_PROG(NAME, PROGRAM)  # AM_MISSING_PROG(NAME, PROGRAM)
592  # ------------------------------  # ------------------------------
# Line 566  Line 602 
602  # If it does, set am_missing_run to use it, otherwise, to nothing.  # If it does, set am_missing_run to use it, otherwise, to nothing.
603  AC_DEFUN([AM_MISSING_HAS_RUN],  AC_DEFUN([AM_MISSING_HAS_RUN],
604  [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl  [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
605    AC_REQUIRE_AUX_FILE([missing])dnl
606  test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"  test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
607  # Use eval to expand $SHELL  # Use eval to expand $SHELL
608  if eval "$MISSING --run true"; then  if eval "$MISSING --run true"; then
# Line 576  Line 613 
613  fi  fi
614  ])  ])
615    
616  # Copyright (C) 2003, 2004, 2005  Free Software Foundation, Inc.  # Copyright (C) 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
617  #  #
618  # This file is free software; the Free Software Foundation  # This file is free software; the Free Software Foundation
619  # gives unlimited permission to copy and/or distribute it,  # gives unlimited permission to copy and/or distribute it,
# Line 584  Line 621 
621    
622  # AM_PROG_MKDIR_P  # AM_PROG_MKDIR_P
623  # ---------------  # ---------------
624  # Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.  # Check for `mkdir -p'.
 #  
 # Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories  
 # created by `make install' are always world readable, even if the  
 # installer happens to have an overly restrictive umask (e.g. 077).  
 # This was a mistake.  There are at least two reasons why we must not  
 # use `-m 0755':  
 #   - it causes special bits like SGID to be ignored,  
 #   - it may be too restrictive (some setups expect 775 directories).  
 #  
 # Do not use -m 0755 and let people choose whatever they expect by  
 # setting umask.  
 #  
 # We cannot accept any implementation of `mkdir' that recognizes `-p'.  
 # Some implementations (such as Solaris 8's) are not thread-safe: if a  
 # parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'  
 # concurrently, both version can detect that a/ is missing, but only  
 # one can create it and the other will error out.  Consequently we  
 # restrict ourselves to GNU make (using the --version option ensures  
 # this.)  
625  AC_DEFUN([AM_PROG_MKDIR_P],  AC_DEFUN([AM_PROG_MKDIR_P],
626  [if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then  [AC_PREREQ([2.60])dnl
627    # We used to keeping the `.' as first argument, in order to  AC_REQUIRE([AC_PROG_MKDIR_P])dnl
628    # allow $(mkdir_p) to be used without argument.  As in  dnl Automake 1.8 to 1.9.6 used to define mkdir_p.  We now use MKDIR_P,
629    #   $(mkdir_p) $(somedir)  dnl while keeping a definition of mkdir_p for backward compatibility.
630    # where $(somedir) is conditionally defined.  However this is wrong  dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
631    # for two reasons:  dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
632    #  1. if the package is installed by a user who cannot write `.'  dnl Makefile.ins that do not define MKDIR_P, so we do our own
633    #     make install will fail,  dnl adjustment using top_builddir (which is defined more often than
634    #  2. the above comment should most certainly read  dnl MKDIR_P).
635    #     $(mkdir_p) $(DESTDIR)$(somedir)  AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
636    #     so it does not work when $(somedir) is undefined and  case $mkdir_p in
637    #     $(DESTDIR) is not.    [[\\/$]]* | ?:[[\\/]]*) ;;
638    #  To support the latter case, we have to write    */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
639    #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),  esac
640    #  so the `.' trick is pointless.  ])
   mkdir_p='mkdir -p --'  
 else  
   # On NextStep and OpenStep, the `mkdir' command does not  
   # recognize any option.  It will interpret all options as  
   # directories to create, and then abort because `.' already  
   # exists.  
   for d in ./-p ./--version;  
   do  
     test -d $d && rmdir $d  
   done  
   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.  
   if test -f "$ac_aux_dir/mkinstalldirs"; then  
     mkdir_p='$(mkinstalldirs)'  
   else  
     mkdir_p='$(install_sh) -d'  
   fi  
 fi  
 AC_SUBST([mkdir_p])])  
641    
642  # Helper functions for option handling.                     -*- Autoconf -*-  # Helper functions for option handling.                     -*- Autoconf -*-
643    
# Line 749  Line 749 
749  if test "$cross_compiling" != no; then  if test "$cross_compiling" != no; then
750    AC_CHECK_TOOL([STRIP], [strip], :)    AC_CHECK_TOOL([STRIP], [strip], :)
751  fi  fi
752  INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"  INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
753  AC_SUBST([INSTALL_STRIP_PROGRAM])])  AC_SUBST([INSTALL_STRIP_PROGRAM])])
754    
755    # Copyright (C) 2006  Free Software Foundation, Inc.
756    #
757    # This file is free software; the Free Software Foundation
758    # gives unlimited permission to copy and/or distribute it,
759    # with or without modifications, as long as this notice is preserved.
760    
761    # _AM_SUBST_NOTMAKE(VARIABLE)
762    # ---------------------------
763    # Prevent Automake from outputing VARIABLE = @VARIABLE@ in Makefile.in.
764    # This macro is traced by Automake.
765    AC_DEFUN([_AM_SUBST_NOTMAKE])
766    
767  # Check how to create a tarball.                            -*- Autoconf -*-  # Check how to create a tarball.                            -*- Autoconf -*-
768    
769  # Copyright (C) 2004, 2005  Free Software Foundation, Inc.  # Copyright (C) 2004, 2005  Free Software Foundation, Inc.

Legend:
Removed from v.1.1.2.1  
changed lines
  Added in v.1.1.2.2

  ViewVC Help
Powered by ViewVC 1.1.0 with CvsGraph 1.7.0