"Fossies" - the Fresh Open Source Software Archive

Member "bison-3.4.1/m4/configmake.m4" (28 Mar 2019, 964 Bytes) of package /linux/misc/bison-3.4.1.tar.xz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "configmake.m4": 3.2.4_vs_3.3.

    1 # configmake.m4 serial 3
    2 dnl Copyright (C) 2010-2019 Free Software Foundation, Inc.
    3 dnl This file is free software; the Free Software Foundation
    4 dnl gives unlimited permission to copy and/or distribute it,
    5 dnl with or without modifications, as long as this notice is preserved.
    6 
    7 AC_PREREQ([2.60])
    8 
    9 # gl_CONFIGMAKE_PREP
   10 # ------------------
   11 # Guarantee all of the standard directory variables, even when used with
   12 # autoconf 2.63 (runstatedir wasn't supported before 2.70) or
   13 # automake 1.11 (runstatedir isn't supported even in 1.16.1).
   14 AC_DEFUN([gl_CONFIGMAKE_PREP],
   15 [
   16   if test "x$lispdir" = x; then
   17     AC_SUBST([lispdir], ['${datarootdir}/emacs/site-lisp'])
   18   fi
   19   dnl Added in autoconf 2.70.
   20   if test "x$runstatedir" = x; then
   21     AC_SUBST([runstatedir], ['${localstatedir}/run'])
   22   fi
   23 
   24   dnl Automake 1.11 provides pkglibexecdir merely without AC_SUBST.
   25   dnl This blind use of AC_SUBST is safe.
   26   AC_SUBST([pkglibexecdir], ['${libexecdir}/${PACKAGE}'])
   27 ])