/[autoconf]/autoconf/aclocal.m4
ViewVC logotype

Diff of /autoconf/aclocal.m4

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

revision 1.35 by akim, Thu Feb 20 16:57:46 2003 UTC revision 1.36 by akim, Tue Apr 1 07:24:39 2003 UTC
# Line 1  Line 1 
1  # generated automatically by aclocal 1.7.2 -*- Autoconf -*-  # generated automatically by aclocal 1.7a -*- Autoconf -*-
2    
3  # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002  # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002
4  # Free Software Foundation, Inc.  # Free Software Foundation, Inc.
# Line 16  Line 16 
16  # This macro actually does too much some checks are only needed if  # This macro actually does too much some checks are only needed if
17  # your package does certain things.  But this isn't really a big deal.  # your package does certain things.  But this isn't really a big deal.
18    
19  # Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002  # Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
20  # Free Software Foundation, Inc.  # Free Software Foundation, Inc.
21    
22  # This program is free software; you can redistribute it and/or modify  # This program is free software; you can redistribute it and/or modify
# Line 34  Line 34 
34  # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
35  # 02111-1307, USA.  # 02111-1307, USA.
36    
37  # serial 8  # serial 9
38    
39  # 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
40  # written in clear, in which case automake, when reading aclocal.m4,  # written in clear, in which case automake, when reading aclocal.m4,
# Line 86  m4_ifval([$2], Line 86  m4_ifval([$2],
86   AC_SUBST([PACKAGE], [$1])dnl   AC_SUBST([PACKAGE], [$1])dnl
87   AC_SUBST([VERSION], [$2])],   AC_SUBST([VERSION], [$2])],
88  [_AM_SET_OPTIONS([$1])dnl  [_AM_SET_OPTIONS([$1])dnl
89   AC_SUBST([PACKAGE], [AC_PACKAGE_TARNAME])dnl   AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
90   AC_SUBST([VERSION], [AC_PACKAGE_VERSION])])dnl   AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
91    
92  _AM_IF_OPTION([no-define],,  _AM_IF_OPTION([no-define],,
93  [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])  [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
# Line 108  AM_PROG_INSTALL_STRIP Line 108  AM_PROG_INSTALL_STRIP
108  # some platforms.  # some platforms.
109  AC_REQUIRE([AC_PROG_AWK])dnl  AC_REQUIRE([AC_PROG_AWK])dnl
110  AC_REQUIRE([AC_PROG_MAKE_SET])dnl  AC_REQUIRE([AC_PROG_MAKE_SET])dnl
111    AC_REQUIRE([AM_SET_LEADING_DOT])dnl
112    
113  _AM_IF_OPTION([no-dependencies],,  _AM_IF_OPTION([no-dependencies],,
114  [AC_PROVIDE_IFELSE([AC_PROG_CC],  [AC_PROVIDE_IFELSE([AC_PROG_CC],
# Line 130  AC_PROVIDE_IFELSE([AC_PROG_CXX], Line 131  AC_PROVIDE_IFELSE([AC_PROG_CXX],
131  # loop where config.status creates the headers, so we can generate  # loop where config.status creates the headers, so we can generate
132  # our stamp files there.  # our stamp files there.
133  AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],  AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
134  [_am_stamp_count=`expr ${_am_stamp_count-0} + 1`  [# Compute $1's index in $config_headers.
135    _am_stamp_count=1
136    for _am_header in $config_headers :; do
137      case $_am_header in
138        $1 | $1:* )
139          break ;;
140        * )
141          _am_stamp_count=`expr $_am_stamp_count + 1` ;;
142      esac
143    done
144  echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])  echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
145    
146  # Copyright 2002  Free Software Foundation, Inc.  # Copyright 2002  Free Software Foundation, Inc.
# Line 153  echo "timestamp for $1" >`AS_DIRNAME([$1 Line 163  echo "timestamp for $1" >`AS_DIRNAME([$1
163  # ----------------------------  # ----------------------------
164  # Automake X.Y traces this macro to ensure aclocal.m4 has been  # Automake X.Y traces this macro to ensure aclocal.m4 has been
165  # generated from the m4 files accompanying Automake X.Y.  # generated from the m4 files accompanying Automake X.Y.
166  AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.7"])  AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.7a"])
167    
168  # AM_SET_CURRENT_AUTOMAKE_VERSION  # AM_SET_CURRENT_AUTOMAKE_VERSION
169  # -------------------------------  # -------------------------------
170  # Call AM_AUTOMAKE_VERSION so it can be traced.  # Call AM_AUTOMAKE_VERSION so it can be traced.
171  # This function is AC_REQUIREd by AC_INIT_AUTOMAKE.  # This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
172  AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],  AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
173           [AM_AUTOMAKE_VERSION([1.7.2])])           [AM_AUTOMAKE_VERSION([1.7a])])
174    
175  # Helper functions for option handling.                    -*- Autoconf -*-  # Helper functions for option handling.                    -*- Autoconf -*-
176    
# Line 446  fi Line 456  fi
456  INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"  INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
457  AC_SUBST([INSTALL_STRIP_PROGRAM])])  AC_SUBST([INSTALL_STRIP_PROGRAM])])
458    
459  # serial 4                                              -*- Autoconf -*-  #                                                          -*- Autoconf -*-
460    # Copyright (C) 2003  Free Software Foundation, Inc.
461    
462  # Copyright 1999, 2000, 2001 Free Software Foundation, Inc.  # This program is free software; you can redistribute it and/or modify
463    # it under the terms of the GNU General Public License as published by
464    # the Free Software Foundation; either version 2, or (at your option)
465    # any later version.
466    
467    # This program is distributed in the hope that it will be useful,
468    # but WITHOUT ANY WARRANTY; without even the implied warranty of
469    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
470    # GNU General Public License for more details.
471    
472    # You should have received a copy of the GNU General Public License
473    # along with this program; if not, write to the Free Software
474    # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
475    # 02111-1307, USA.
476    
477    # serial 1
478    
479    # Check whether the underlying file-system supports filenames
480    # with a leading dot.  For instance MS-DOS doesn't.
481    AC_DEFUN([AM_SET_LEADING_DOT],
482    [rm -rf .tst 2>/dev/null
483    mkdir .tst 2>/dev/null
484    if test -d .tst; then
485      am__leading_dot=.
486    else
487      am__leading_dot=_
488    fi
489    rmdir .tst 2>/dev/null
490    AC_SUBST([am__leading_dot])])
491    
492    # serial 5                                              -*- Autoconf -*-
493    
494    # Copyright (C) 1999, 2000, 2001, 2002, 2003  Free Software Foundation, Inc.
495    
496  # This program is free software; you can redistribute it and/or modify  # This program is free software; you can redistribute it and/or modify
497  # it under the terms of the GNU General Public License as published by  # it under the terms of the GNU General Public License as published by
# Line 540  AC_CACHE_CHECK([dependency style of $dep Line 583  AC_CACHE_CHECK([dependency style of $dep
583      if depmode=$depmode \      if depmode=$depmode \
584         source=conftest.c object=conftest.o \         source=conftest.c object=conftest.o \
585         depfile=conftest.Po tmpdepfile=conftest.TPo \         depfile=conftest.Po tmpdepfile=conftest.TPo \
586         $SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 &&         $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \
587             >/dev/null 2>conftest.err &&
588         grep conftest.h conftest.Po > /dev/null 2>&1 &&         grep conftest.h conftest.Po > /dev/null 2>&1 &&
589         ${MAKE-make} -s -f confmf > /dev/null 2>&1; then         ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
590        am_cv_$1_dependencies_compiler_type=$depmode        # icc doesn't choke on unknown options, it will just issue warnings
591        break        # (even with -Werror).  So we grep stderr for any message
592          # that says an option was ignored.
593          if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
594            am_cv_$1_dependencies_compiler_type=$depmode
595            break
596          fi
597      fi      fi
598    done    done
599    
# Line 566  AM_CONDITIONAL([am__fastdep$1], [ Line 615  AM_CONDITIONAL([am__fastdep$1], [
615  # Choose a directory name for dependency files.  # Choose a directory name for dependency files.
616  # This macro is AC_REQUIREd in _AM_DEPENDENCIES  # This macro is AC_REQUIREd in _AM_DEPENDENCIES
617  AC_DEFUN([AM_SET_DEPDIR],  AC_DEFUN([AM_SET_DEPDIR],
618  [rm -f .deps 2>/dev/null  [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
619  mkdir .deps 2>/dev/null  AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
 if test -d .deps; then  
   DEPDIR=.deps  
 else  
   # MS-DOS does not allow filenames that begin with a dot.  
   DEPDIR=_deps  
 fi  
 rmdir .deps 2>/dev/null  
 AC_SUBST([DEPDIR])  
620  ])  ])
621    
622    
# Line 814  if test x"$M4" != x; then Line 855  if test x"$M4" != x; then
855  fi])])  fi])])
856    
857    
858  # Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002  # Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
859  #   Free Software Foundation, Inc.  #   Free Software Foundation, Inc.
860    
861  # This program is free software; you can redistribute it and/or modify  # This program is free software; you can redistribute it and/or modify
# Line 837  fi])]) Line 878  fi])])
878  # AM_PATH_LISPDIR  # AM_PATH_LISPDIR
879  # ---------------  # ---------------
880  AC_DEFUN([AM_PATH_LISPDIR],  AC_DEFUN([AM_PATH_LISPDIR],
881  [AC_ARG_WITH(lispdir,  [AC_ARG_WITH([lispdir],
882   [  --with-lispdir          Override the default lisp directory ],   [  --with-lispdir          Override the default lisp directory ],
883   [ lispdir="$withval"   [ lispdir="$withval"
884     AC_MSG_CHECKING([where .elc files should go])     AC_MSG_CHECKING([where .elc files should go])
# Line 846  AC_DEFUN([AM_PATH_LISPDIR], Line 887  AC_DEFUN([AM_PATH_LISPDIR],
887   # If set to t, that means we are running in a shell under Emacs.   # If set to t, that means we are running in a shell under Emacs.
888   # If you have an Emacs named "t", then use the full path.   # If you have an Emacs named "t", then use the full path.
889   test x"$EMACS" = xt && EMACS=   test x"$EMACS" = xt && EMACS=
890   AC_CHECK_PROGS(EMACS, emacs xemacs, no)   AC_CHECK_PROGS([EMACS], [emacs xemacs], [no])
891     AC_ARG_VAR([EMACS], [the Emacs editor command])
892     AC_ARG_VAR([EMACSLOADPATH], [the Emacs library search path])
893   if test $EMACS != "no"; then   if test $EMACS != "no"; then
894     if test x${lispdir+set} != xset; then     if test x${lispdir+set} != xset; then
895       AC_CACHE_CHECK([where .elc files should go], [am_cv_lispdir],       AC_CACHE_CHECK([where .elc files should go], [am_cv_lispdir],
# Line 870  AC_DEFUN([AM_PATH_LISPDIR], Line 913  AC_DEFUN([AM_PATH_LISPDIR],
913     fi     fi
914   fi   fi
915  ])  ])
916  AC_SUBST(lispdir)  AC_SUBST([lispdir])
917  ])# AM_PATH_LISPDIR  ])# AM_PATH_LISPDIR
918    
919  AU_DEFUN([ud_PATH_LISPDIR], [AM_PATH_LISPDIR])  AU_DEFUN([ud_PATH_LISPDIR], [AM_PATH_LISPDIR])

Legend:
Removed from v.1.35  
changed lines
  Added in v.1.36

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26