projects
/
gnulib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
daa689e
)
s/ifval/m4_ifval/ to accommodate new autoconf.
author
Jim Meyering
<jim@meyering.net>
Thu, 30 Nov 2000 07:44:58 +0000
(07:44 +0000)
committer
Jim Meyering
<jim@meyering.net>
Thu, 30 Nov 2000 07:44:58 +0000
(07:44 +0000)
m4/getloadavg.m4
patch
|
blob
|
history
diff --git
a/m4/getloadavg.m4
b/m4/getloadavg.m4
index
edcce0d
..
9116738
100644
(file)
--- a/
m4/getloadavg.m4
+++ b/
m4/getloadavg.m4
@@
-1,4
+1,4
@@
-#serial
7
+#serial
8
# A replacement for autoconf's macro by the same name. This version
# accepts an optional argument specifying the name of the $srcdir-relative
# A replacement for autoconf's macro by the same name. This version
# accepts an optional argument specifying the name of the $srcdir-relative
@@
-15,7
+15,7
@@
AC_DEFUN([AC_FUNC_GETLOADAVG],
# By default, expect to find getloadavg.c in $srcdir/.
ac_lib_dir_getloadavg=$srcdir
# But if there's an argument, DIR, expect to find getloadavg.c in $srcdir/DIR.
# By default, expect to find getloadavg.c in $srcdir/.
ac_lib_dir_getloadavg=$srcdir
# But if there's an argument, DIR, expect to find getloadavg.c in $srcdir/DIR.
-ifval([$1], [ac_lib_dir_getloadavg=$srcdir/$1])
+
m4_
ifval([$1], [ac_lib_dir_getloadavg=$srcdir/$1])
# Make sure getloadavg.c is where it belongs, at ./configure-time.
test -f $ac_lib_dir_getloadavg/getloadavg.c \
|| AC_MSG_ERROR([getloadavg.c is not in $ac_lib_dir_getloadavg])
# Make sure getloadavg.c is where it belongs, at ./configure-time.
test -f $ac_lib_dir_getloadavg/getloadavg.c \
|| AC_MSG_ERROR([getloadavg.c is not in $ac_lib_dir_getloadavg])