overquote to pacify automake1.8
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13338 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -2,7 +2,7 @@ dnl
|
|||||||
dnl $Id$
|
dnl $Id$
|
||||||
dnl
|
dnl
|
||||||
|
|
||||||
AC_DEFUN(rk_AIX,[
|
AC_DEFUN([rk_AIX],[
|
||||||
|
|
||||||
aix=no
|
aix=no
|
||||||
case "$host" in
|
case "$host" in
|
||||||
|
@@ -4,7 +4,7 @@ dnl Figure what authentication modules should be built
|
|||||||
dnl
|
dnl
|
||||||
dnl rk_AUTH_MODULES(module-list)
|
dnl rk_AUTH_MODULES(module-list)
|
||||||
|
|
||||||
AC_DEFUN(rk_AUTH_MODULES,[
|
AC_DEFUN([rk_AUTH_MODULES],[
|
||||||
AC_MSG_CHECKING([which authentication modules should be built])
|
AC_MSG_CHECKING([which authentication modules should be built])
|
||||||
|
|
||||||
z='m4_ifval([$1], $1, [sia pam afskauthlib])'
|
z='m4_ifval([$1], $1, [sia pam afskauthlib])'
|
||||||
|
@@ -2,7 +2,7 @@ dnl $Id$
|
|||||||
dnl
|
dnl
|
||||||
dnl test if getaddrinfo can handle numeric services
|
dnl test if getaddrinfo can handle numeric services
|
||||||
|
|
||||||
AC_DEFUN(rk_BROKEN_GETADDRINFO,[
|
AC_DEFUN([rk_BROKEN_GETADDRINFO],[
|
||||||
AC_CACHE_CHECK([if getaddrinfo handles numeric services], ac_cv_func_getaddrinfo_numserv,
|
AC_CACHE_CHECK([if getaddrinfo handles numeric services], ac_cv_func_getaddrinfo_numserv,
|
||||||
AC_TRY_RUN([[#include <stdio.h>
|
AC_TRY_RUN([[#include <stdio.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
@@ -2,7 +2,7 @@ dnl $Id$
|
|||||||
dnl
|
dnl
|
||||||
dnl test for broken AIX getnameinfo
|
dnl test for broken AIX getnameinfo
|
||||||
|
|
||||||
AC_DEFUN(rk_BROKEN_GETNAMEINFO,[
|
AC_DEFUN([rk_BROKEN_GETNAMEINFO],[
|
||||||
AC_CACHE_CHECK([if getnameinfo is broken], ac_cv_func_getnameinfo_broken,
|
AC_CACHE_CHECK([if getnameinfo is broken], ac_cv_func_getnameinfo_broken,
|
||||||
AC_TRY_RUN([[#include <stdio.h>
|
AC_TRY_RUN([[#include <stdio.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
@@ -2,7 +2,7 @@ dnl $Id$
|
|||||||
dnl
|
dnl
|
||||||
dnl check for glob(3)
|
dnl check for glob(3)
|
||||||
dnl
|
dnl
|
||||||
AC_DEFUN(AC_BROKEN_GLOB,[
|
AC_DEFUN([AC_BROKEN_GLOB],[
|
||||||
AC_CACHE_CHECK(for working glob, ac_cv_func_glob_working,
|
AC_CACHE_CHECK(for working glob, ac_cv_func_glob_working,
|
||||||
ac_cv_func_glob_working=yes
|
ac_cv_func_glob_working=yes
|
||||||
AC_TRY_LINK([
|
AC_TRY_LINK([
|
||||||
|
@@ -3,7 +3,7 @@ dnl $Id$
|
|||||||
dnl
|
dnl
|
||||||
dnl Test for realloc that doesn't handle NULL as first parameter
|
dnl Test for realloc that doesn't handle NULL as first parameter
|
||||||
dnl
|
dnl
|
||||||
AC_DEFUN(rk_BROKEN_REALLOC, [
|
AC_DEFUN([rk_BROKEN_REALLOC], [
|
||||||
AC_CACHE_CHECK(if realloc if broken, ac_cv_func_realloc_broken, [
|
AC_CACHE_CHECK(if realloc if broken, ac_cv_func_realloc_broken, [
|
||||||
ac_cv_func_realloc_broken=no
|
ac_cv_func_realloc_broken=no
|
||||||
AC_TRY_RUN([
|
AC_TRY_RUN([
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
dnl $Id$
|
dnl $Id$
|
||||||
dnl
|
dnl
|
||||||
AC_DEFUN(AC_BROKEN_SNPRINTF, [
|
AC_DEFUN([AC_BROKEN_SNPRINTF], [
|
||||||
AC_CACHE_CHECK(for working snprintf,ac_cv_func_snprintf_working,
|
AC_CACHE_CHECK(for working snprintf,ac_cv_func_snprintf_working,
|
||||||
ac_cv_func_snprintf_working=yes
|
ac_cv_func_snprintf_working=yes
|
||||||
AC_TRY_RUN([
|
AC_TRY_RUN([
|
||||||
@@ -21,7 +21,7 @@ AC_NEED_PROTO([#include <stdio.h>],snprintf)
|
|||||||
fi
|
fi
|
||||||
])
|
])
|
||||||
|
|
||||||
AC_DEFUN(AC_BROKEN_VSNPRINTF,[
|
AC_DEFUN([AC_BROKEN_VSNPRINTF],[
|
||||||
AC_CACHE_CHECK(for working vsnprintf,ac_cv_func_vsnprintf_working,
|
AC_CACHE_CHECK(for working vsnprintf,ac_cv_func_vsnprintf_working,
|
||||||
ac_cv_func_vsnprintf_working=yes
|
ac_cv_func_vsnprintf_working=yes
|
||||||
AC_TRY_RUN([
|
AC_TRY_RUN([
|
||||||
|
@@ -6,7 +6,7 @@ dnl
|
|||||||
dnl Test for __attribute__
|
dnl Test for __attribute__
|
||||||
dnl
|
dnl
|
||||||
|
|
||||||
AC_DEFUN(AC_C___ATTRIBUTE__, [
|
AC_DEFUN([AC_C___ATTRIBUTE__], [
|
||||||
AC_MSG_CHECKING(for __attribute__)
|
AC_MSG_CHECKING(for __attribute__)
|
||||||
AC_CACHE_VAL(ac_cv___attribute__, [
|
AC_CACHE_VAL(ac_cv___attribute__, [
|
||||||
AC_TRY_COMPILE([
|
AC_TRY_COMPILE([
|
||||||
|
@@ -6,7 +6,7 @@ dnl
|
|||||||
dnl Test for __FUNCTION__
|
dnl Test for __FUNCTION__
|
||||||
dnl
|
dnl
|
||||||
|
|
||||||
AC_DEFUN(AC_C___FUNCTION__, [
|
AC_DEFUN([AC_C___FUNCTION__], [
|
||||||
AC_MSG_CHECKING(for __FUNCTION__)
|
AC_MSG_CHECKING(for __FUNCTION__)
|
||||||
AC_CACHE_VAL(ac_cv___function__, [
|
AC_CACHE_VAL(ac_cv___function__, [
|
||||||
AC_TRY_RUN([
|
AC_TRY_RUN([
|
||||||
|
@@ -6,7 +6,7 @@ dnl
|
|||||||
dnl Test SGI capabilities
|
dnl Test SGI capabilities
|
||||||
dnl
|
dnl
|
||||||
|
|
||||||
AC_DEFUN(KRB_CAPABILITIES,[
|
AC_DEFUN([KRB_CAPABILITIES],[
|
||||||
|
|
||||||
AC_CHECK_HEADERS(capability.h sys/capability.h)
|
AC_CHECK_HEADERS(capability.h sys/capability.h)
|
||||||
|
|
||||||
|
@@ -5,7 +5,7 @@ dnl Check if we need the declaration of a variable
|
|||||||
dnl
|
dnl
|
||||||
|
|
||||||
dnl AC_HAVE_DECLARATION(includes, variable)
|
dnl AC_HAVE_DECLARATION(includes, variable)
|
||||||
AC_DEFUN(AC_CHECK_DECLARATION, [
|
AC_DEFUN([AC_CHECK_DECLARATION], [
|
||||||
AC_MSG_CHECKING([if $2 is properly declared])
|
AC_MSG_CHECKING([if $2 is properly declared])
|
||||||
AC_CACHE_VAL(ac_cv_var_$2_declaration, [
|
AC_CACHE_VAL(ac_cv_var_$2_declaration, [
|
||||||
AC_TRY_COMPILE([$1
|
AC_TRY_COMPILE([$1
|
||||||
|
@@ -2,7 +2,7 @@ dnl $Id$
|
|||||||
dnl
|
dnl
|
||||||
dnl check for getpwnam_r, and if it's posix or not
|
dnl check for getpwnam_r, and if it's posix or not
|
||||||
|
|
||||||
AC_DEFUN(AC_CHECK_GETPWNAM_R_POSIX,[
|
AC_DEFUN([AC_CHECK_GETPWNAM_R_POSIX],[
|
||||||
AC_FIND_FUNC_NO_LIBS(getpwnam_r,c_r)
|
AC_FIND_FUNC_NO_LIBS(getpwnam_r,c_r)
|
||||||
if test "$ac_cv_func_getpwnam_r" = yes; then
|
if test "$ac_cv_func_getpwnam_r" = yes; then
|
||||||
AC_CACHE_CHECK(if getpwnam_r is posix,ac_cv_func_getpwnam_r_posix,
|
AC_CACHE_CHECK(if getpwnam_r is posix,ac_cv_func_getpwnam_r_posix,
|
||||||
|
@@ -2,7 +2,7 @@ dnl $Id$
|
|||||||
dnl check how to format manual pages
|
dnl check how to format manual pages
|
||||||
dnl
|
dnl
|
||||||
|
|
||||||
AC_DEFUN(rk_CHECK_MAN,
|
AC_DEFUN([rk_CHECK_MAN],
|
||||||
[AC_PATH_PROG(NROFF, nroff)
|
[AC_PATH_PROG(NROFF, nroff)
|
||||||
AC_PATH_PROG(GROFF, groff)
|
AC_PATH_PROG(GROFF, groff)
|
||||||
AC_CACHE_CHECK(how to format man pages,ac_cv_sys_man_format,
|
AC_CACHE_CHECK(how to format man pages,ac_cv_sys_man_format,
|
||||||
|
@@ -5,7 +5,7 @@ dnl
|
|||||||
dnl extra magic check for netinet/{ip.h,tcp.h} because on irix 6.5.3
|
dnl extra magic check for netinet/{ip.h,tcp.h} because on irix 6.5.3
|
||||||
dnl you have to include standards.h before including these files
|
dnl you have to include standards.h before including these files
|
||||||
|
|
||||||
AC_DEFUN(CHECK_NETINET_IP_AND_TCP,
|
AC_DEFUN([CHECK_NETINET_IP_AND_TCP],
|
||||||
[
|
[
|
||||||
AC_CHECK_HEADERS(standards.h)
|
AC_CHECK_HEADERS(standards.h)
|
||||||
for i in netinet/ip.h netinet/tcp.h; do
|
for i in netinet/ip.h netinet/tcp.h; do
|
||||||
|
@@ -3,7 +3,7 @@ dnl
|
|||||||
dnl ac_check_type + extra headers
|
dnl ac_check_type + extra headers
|
||||||
|
|
||||||
dnl AC_CHECK_TYPE_EXTRA(TYPE, DEFAULT, HEADERS)
|
dnl AC_CHECK_TYPE_EXTRA(TYPE, DEFAULT, HEADERS)
|
||||||
AC_DEFUN(AC_CHECK_TYPE_EXTRA,
|
AC_DEFUN([AC_CHECK_TYPE_EXTRA],
|
||||||
[AC_REQUIRE([AC_HEADER_STDC])dnl
|
[AC_REQUIRE([AC_HEADER_STDC])dnl
|
||||||
AC_MSG_CHECKING(for $1)
|
AC_MSG_CHECKING(for $1)
|
||||||
AC_CACHE_VAL(ac_cv_type_$1,
|
AC_CACHE_VAL(ac_cv_type_$1,
|
||||||
|
@@ -3,7 +3,7 @@ dnl See if there is any X11 present
|
|||||||
dnl
|
dnl
|
||||||
dnl $Id$
|
dnl $Id$
|
||||||
|
|
||||||
AC_DEFUN(KRB_CHECK_X,[
|
AC_DEFUN([KRB_CHECK_X],[
|
||||||
AC_PATH_XTRA
|
AC_PATH_XTRA
|
||||||
|
|
||||||
# try to figure out if we need any additional ld flags, like -R
|
# try to figure out if we need any additional ld flags, like -R
|
||||||
|
@@ -2,7 +2,7 @@ dnl $Id$
|
|||||||
dnl
|
dnl
|
||||||
dnl check for Xau{Read,Write}Auth and XauFileName
|
dnl check for Xau{Read,Write}Auth and XauFileName
|
||||||
dnl
|
dnl
|
||||||
AC_DEFUN(AC_CHECK_XAU,[
|
AC_DEFUN([AC_CHECK_XAU],[
|
||||||
save_CFLAGS="$CFLAGS"
|
save_CFLAGS="$CFLAGS"
|
||||||
CFLAGS="$X_CFLAGS $CFLAGS"
|
CFLAGS="$X_CFLAGS $CFLAGS"
|
||||||
save_LIBS="$LIBS"
|
save_LIBS="$LIBS"
|
||||||
|
@@ -5,5 +5,5 @@ dnl Look for function in any of the specified libraries
|
|||||||
dnl
|
dnl
|
||||||
|
|
||||||
dnl AC_FIND_FUNC_NO_LIBS(func, libraries, includes, arguments, extra libs, extra args)
|
dnl AC_FIND_FUNC_NO_LIBS(func, libraries, includes, arguments, extra libs, extra args)
|
||||||
AC_DEFUN(AC_FIND_FUNC_NO_LIBS, [
|
AC_DEFUN([AC_FIND_FUNC_NO_LIBS], [
|
||||||
AC_FIND_FUNC_NO_LIBS2([$1], ["" $2], [$3], [$4], [$5], [$6])])
|
AC_FIND_FUNC_NO_LIBS2([$1], ["" $2], [$3], [$4], [$5], [$6])])
|
||||||
|
@@ -5,7 +5,7 @@ dnl Look for function in any of the specified libraries
|
|||||||
dnl
|
dnl
|
||||||
|
|
||||||
dnl AC_FIND_FUNC_NO_LIBS2(func, libraries, includes, arguments, extra libs, extra args)
|
dnl AC_FIND_FUNC_NO_LIBS2(func, libraries, includes, arguments, extra libs, extra args)
|
||||||
AC_DEFUN(AC_FIND_FUNC_NO_LIBS2, [
|
AC_DEFUN([AC_FIND_FUNC_NO_LIBS2], [
|
||||||
|
|
||||||
AC_MSG_CHECKING([for $1])
|
AC_MSG_CHECKING([for $1])
|
||||||
AC_CACHE_VAL(ac_cv_funclib_$1,
|
AC_CACHE_VAL(ac_cv_funclib_$1,
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
dnl $Id$
|
dnl $Id$
|
||||||
dnl
|
dnl
|
||||||
dnl AC_FIND_FUNC(func, libraries, includes, arguments)
|
dnl AC_FIND_FUNC(func, libraries, includes, arguments)
|
||||||
AC_DEFUN(AC_FIND_FUNC, [
|
AC_DEFUN([AC_FIND_FUNC], [
|
||||||
AC_FIND_FUNC_NO_LIBS([$1], [$2], [$3], [$4])
|
AC_FIND_FUNC_NO_LIBS([$1], [$2], [$3], [$4])
|
||||||
if test -n "$LIB_$1"; then
|
if test -n "$LIB_$1"; then
|
||||||
LIBS="$LIB_$1 $LIBS"
|
LIBS="$LIB_$1 $LIBS"
|
||||||
|
@@ -4,7 +4,7 @@ dnl
|
|||||||
dnl Mix between AC_FIND_FUNC and AC_BROKEN
|
dnl Mix between AC_FIND_FUNC and AC_BROKEN
|
||||||
dnl
|
dnl
|
||||||
|
|
||||||
AC_DEFUN(AC_FIND_IF_NOT_BROKEN,
|
AC_DEFUN([AC_FIND_IF_NOT_BROKEN],
|
||||||
[AC_FIND_FUNC([$1], [$2], [$3], [$4])
|
[AC_FIND_FUNC([$1], [$2], [$3], [$4])
|
||||||
if eval "test \"$ac_cv_func_$1\" != yes"; then
|
if eval "test \"$ac_cv_func_$1\" != yes"; then
|
||||||
rk_LIBOBJ([$1])
|
rk_LIBOBJ([$1])
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
dnl $Id$
|
dnl $Id$
|
||||||
dnl
|
dnl
|
||||||
AC_DEFUN(AC_HAVE_PRAGMA_WEAK, [
|
AC_DEFUN([AC_HAVE_PRAGMA_WEAK], [
|
||||||
if test "${enable_shared}" = "yes"; then
|
if test "${enable_shared}" = "yes"; then
|
||||||
AC_MSG_CHECKING(for pragma weak)
|
AC_MSG_CHECKING(for pragma weak)
|
||||||
AC_CACHE_VAL(ac_have_pragma_weak, [
|
AC_CACHE_VAL(ac_have_pragma_weak, [
|
||||||
|
@@ -4,7 +4,7 @@ dnl check for fields in a structure
|
|||||||
dnl
|
dnl
|
||||||
dnl AC_HAVE_STRUCT_FIELD(struct, field, headers)
|
dnl AC_HAVE_STRUCT_FIELD(struct, field, headers)
|
||||||
|
|
||||||
AC_DEFUN(AC_HAVE_STRUCT_FIELD, [
|
AC_DEFUN([AC_HAVE_STRUCT_FIELD], [
|
||||||
define(cache_val, translit(ac_cv_type_$1_$2, [A-Z ], [a-z_]))
|
define(cache_val, translit(ac_cv_type_$1_$2, [A-Z ], [a-z_]))
|
||||||
AC_CACHE_CHECK([for $2 in $1], cache_val,[
|
AC_CACHE_CHECK([for $2 in $1], cache_val,[
|
||||||
AC_TRY_COMPILE([$3],[$1 x; x.$2;],
|
AC_TRY_COMPILE([$3],[$1 x; x.$2;],
|
||||||
|
@@ -3,7 +3,7 @@ dnl
|
|||||||
dnl check for existance of a type
|
dnl check for existance of a type
|
||||||
|
|
||||||
dnl AC_HAVE_TYPE(TYPE,INCLUDES)
|
dnl AC_HAVE_TYPE(TYPE,INCLUDES)
|
||||||
AC_DEFUN(AC_HAVE_TYPE, [
|
AC_DEFUN([AC_HAVE_TYPE], [
|
||||||
AC_REQUIRE([AC_HEADER_STDC])
|
AC_REQUIRE([AC_HEADER_STDC])
|
||||||
cv=`echo "$1" | sed 'y%./+- %__p__%'`
|
cv=`echo "$1" | sed 'y%./+- %__p__%'`
|
||||||
AC_MSG_CHECKING(for $1)
|
AC_MSG_CHECKING(for $1)
|
||||||
|
@@ -2,7 +2,7 @@ dnl
|
|||||||
dnl $Id$
|
dnl $Id$
|
||||||
dnl
|
dnl
|
||||||
|
|
||||||
AC_DEFUN(AC_HAVE_TYPES, [
|
AC_DEFUN([AC_HAVE_TYPES], [
|
||||||
for i in $1; do
|
for i in $1; do
|
||||||
AC_HAVE_TYPE($i)
|
AC_HAVE_TYPE($i)
|
||||||
done
|
done
|
||||||
|
@@ -7,7 +7,7 @@ dnl if we can figure it out at compile-time then don't define the cpp symbol
|
|||||||
dnl otherwise test for it and define it. also allow options for overriding
|
dnl otherwise test for it and define it. also allow options for overriding
|
||||||
dnl it when cross-compiling
|
dnl it when cross-compiling
|
||||||
|
|
||||||
AC_DEFUN(KRB_C_BIGENDIAN, [
|
AC_DEFUN([KRB_C_BIGENDIAN], [
|
||||||
AC_ARG_ENABLE(bigendian,
|
AC_ARG_ENABLE(bigendian,
|
||||||
AC_HELP_STRING([--enable-bigendian],[the target is big endian]),
|
AC_HELP_STRING([--enable-bigendian],[the target is big endian]),
|
||||||
krb_cv_c_bigendian=yes)
|
krb_cv_c_bigendian=yes)
|
||||||
|
@@ -4,7 +4,7 @@ dnl
|
|||||||
dnl test for broken getcwd in (SunOS braindamage)
|
dnl test for broken getcwd in (SunOS braindamage)
|
||||||
dnl
|
dnl
|
||||||
|
|
||||||
AC_DEFUN(AC_KRB_FUNC_GETCWD_BROKEN, [
|
AC_DEFUN([AC_KRB_FUNC_GETCWD_BROKEN], [
|
||||||
if test "$ac_cv_func_getcwd" = yes; then
|
if test "$ac_cv_func_getcwd" = yes; then
|
||||||
AC_MSG_CHECKING(if getcwd is broken)
|
AC_MSG_CHECKING(if getcwd is broken)
|
||||||
AC_CACHE_VAL(ac_cv_func_getcwd_broken, [
|
AC_CACHE_VAL(ac_cv_func_getcwd_broken, [
|
||||||
|
@@ -5,7 +5,7 @@ dnl test for POSIX (broken) getlogin
|
|||||||
dnl
|
dnl
|
||||||
|
|
||||||
|
|
||||||
AC_DEFUN(AC_FUNC_GETLOGIN, [
|
AC_DEFUN([AC_FUNC_GETLOGIN], [
|
||||||
AC_CHECK_FUNCS(getlogin setlogin)
|
AC_CHECK_FUNCS(getlogin setlogin)
|
||||||
if test "$ac_cv_func_getlogin" = yes; then
|
if test "$ac_cv_func_getlogin" = yes; then
|
||||||
AC_CACHE_CHECK(if getlogin is posix, ac_cv_func_getlogin_posix, [
|
AC_CACHE_CHECK(if getlogin is posix, ac_cv_func_getlogin_posix, [
|
||||||
|
@@ -2,7 +2,7 @@ dnl $Id$
|
|||||||
dnl
|
dnl
|
||||||
dnl test for IPv6
|
dnl test for IPv6
|
||||||
dnl
|
dnl
|
||||||
AC_DEFUN(AC_KRB_IPV6, [
|
AC_DEFUN([AC_KRB_IPV6], [
|
||||||
AC_ARG_WITH(ipv6,
|
AC_ARG_WITH(ipv6,
|
||||||
AC_HELP_STRING([--without-ipv6],[do not enable IPv6 support]),[
|
AC_HELP_STRING([--without-ipv6],[do not enable IPv6 support]),[
|
||||||
if test "$withval" = "no"; then
|
if test "$withval" = "no"; then
|
||||||
|
@@ -4,7 +4,7 @@ dnl
|
|||||||
dnl Better test for ln -s, ln or cp
|
dnl Better test for ln -s, ln or cp
|
||||||
dnl
|
dnl
|
||||||
|
|
||||||
AC_DEFUN(AC_KRB_PROG_LN_S,
|
AC_DEFUN([AC_KRB_PROG_LN_S],
|
||||||
[AC_MSG_CHECKING(for ln -s or something else)
|
[AC_MSG_CHECKING(for ln -s or something else)
|
||||||
AC_CACHE_VAL(ac_cv_prog_LN_S,
|
AC_CACHE_VAL(ac_cv_prog_LN_S,
|
||||||
[rm -f conftestdata
|
[rm -f conftestdata
|
||||||
|
@@ -4,5 +4,5 @@ dnl
|
|||||||
dnl Also look for EMXOMF for OS/2
|
dnl Also look for EMXOMF for OS/2
|
||||||
dnl
|
dnl
|
||||||
|
|
||||||
AC_DEFUN(AC_KRB_PROG_RANLIB,
|
AC_DEFUN([AC_KRB_PROG_RANLIB],
|
||||||
[AC_CHECK_PROGS(RANLIB, ranlib EMXOMF, :)])
|
[AC_CHECK_PROGS(RANLIB, ranlib EMXOMF, :)])
|
||||||
|
@@ -4,7 +4,7 @@ dnl
|
|||||||
dnl We prefer byacc or yacc because they do not use `alloca'
|
dnl We prefer byacc or yacc because they do not use `alloca'
|
||||||
dnl
|
dnl
|
||||||
|
|
||||||
AC_DEFUN(AC_KRB_PROG_YACC,
|
AC_DEFUN([AC_KRB_PROG_YACC],
|
||||||
[AC_CHECK_PROGS(YACC, byacc yacc 'bison -y')
|
[AC_CHECK_PROGS(YACC, byacc yacc 'bison -y')
|
||||||
if test "$YACC" = ""; then
|
if test "$YACC" = ""; then
|
||||||
AC_MSG_WARN([yacc not found - some stuff will not build])
|
AC_MSG_WARN([yacc not found - some stuff will not build])
|
||||||
|
@@ -5,7 +5,7 @@ dnl
|
|||||||
|
|
||||||
dnl el_init
|
dnl el_init
|
||||||
|
|
||||||
AC_DEFUN(KRB_READLINE,[
|
AC_DEFUN([KRB_READLINE],[
|
||||||
AC_FIND_FUNC_NO_LIBS(el_init, edit, [], [], [$LIB_tgetent])
|
AC_FIND_FUNC_NO_LIBS(el_init, edit, [], [], [$LIB_tgetent])
|
||||||
if test "$ac_cv_func_el_init" = yes ; then
|
if test "$ac_cv_func_el_init" = yes ; then
|
||||||
AC_CACHE_CHECK(for four argument el_init, ac_cv_func_el_init_four,[
|
AC_CACHE_CHECK(for four argument el_init, ac_cv_func_el_init_four,[
|
||||||
|
@@ -2,7 +2,7 @@ dnl $Id$
|
|||||||
dnl
|
dnl
|
||||||
dnl Test for `struct spwd'
|
dnl Test for `struct spwd'
|
||||||
|
|
||||||
AC_DEFUN(AC_KRB_STRUCT_SPWD, [
|
AC_DEFUN([AC_KRB_STRUCT_SPWD], [
|
||||||
AC_MSG_CHECKING(for struct spwd)
|
AC_MSG_CHECKING(for struct spwd)
|
||||||
AC_CACHE_VAL(ac_cv_struct_spwd, [
|
AC_CACHE_VAL(ac_cv_struct_spwd, [
|
||||||
AC_TRY_COMPILE(
|
AC_TRY_COMPILE(
|
||||||
|
@@ -4,7 +4,7 @@ dnl
|
|||||||
dnl Search for struct winsize
|
dnl Search for struct winsize
|
||||||
dnl
|
dnl
|
||||||
|
|
||||||
AC_DEFUN(AC_KRB_STRUCT_WINSIZE, [
|
AC_DEFUN([AC_KRB_STRUCT_WINSIZE], [
|
||||||
AC_MSG_CHECKING(for struct winsize)
|
AC_MSG_CHECKING(for struct winsize)
|
||||||
AC_CACHE_VAL(ac_cv_struct_winsize, [
|
AC_CACHE_VAL(ac_cv_struct_winsize, [
|
||||||
ac_cv_struct_winsize=no
|
ac_cv_struct_winsize=no
|
||||||
|
@@ -3,7 +3,7 @@ dnl
|
|||||||
dnl
|
dnl
|
||||||
dnl AIX have a very different syscall convention
|
dnl AIX have a very different syscall convention
|
||||||
dnl
|
dnl
|
||||||
AC_DEFUN(AC_KRB_SYS_AIX, [
|
AC_DEFUN([AC_KRB_SYS_AIX], [
|
||||||
AC_MSG_CHECKING(for AIX)
|
AC_MSG_CHECKING(for AIX)
|
||||||
AC_CACHE_VAL(krb_cv_sys_aix,
|
AC_CACHE_VAL(krb_cv_sys_aix,
|
||||||
AC_EGREP_CPP(yes,
|
AC_EGREP_CPP(yes,
|
||||||
|
@@ -4,7 +4,7 @@ dnl NEXTSTEP is not posix compliant by default,
|
|||||||
dnl you need a switch -posix to the compiler
|
dnl you need a switch -posix to the compiler
|
||||||
dnl
|
dnl
|
||||||
|
|
||||||
AC_DEFUN(rk_SYS_NEXTSTEP, [
|
AC_DEFUN([rk_SYS_NEXTSTEP], [
|
||||||
AC_CACHE_CHECK(for NeXTSTEP, rk_cv_sys_nextstep, [
|
AC_CACHE_CHECK(for NeXTSTEP, rk_cv_sys_nextstep, [
|
||||||
AC_EGREP_CPP(yes,
|
AC_EGREP_CPP(yes,
|
||||||
[#if defined(NeXT) && !defined(__APPLE__)
|
[#if defined(NeXT) && !defined(__APPLE__)
|
||||||
|
@@ -4,7 +4,7 @@ dnl
|
|||||||
dnl output a C header-file with some version strings
|
dnl output a C header-file with some version strings
|
||||||
dnl
|
dnl
|
||||||
|
|
||||||
AC_DEFUN(AC_KRB_VERSION,[
|
AC_DEFUN([AC_KRB_VERSION],[
|
||||||
cat > include/newversion.h.in <<FOOBAR
|
cat > include/newversion.h.in <<FOOBAR
|
||||||
const char *${PACKAGE_TARNAME}_long_version = "@(#)\$Version: $PACKAGE_STRING by @USER@ on @HOST@ ($host) @DATE@ \$";
|
const char *${PACKAGE_TARNAME}_long_version = "@(#)\$Version: $PACKAGE_STRING by @USER@ on @HOST@ ($host) @DATE@ \$";
|
||||||
const char *${PACKAGE_TARNAME}_version = "$PACKAGE_STRING";
|
const char *${PACKAGE_TARNAME}_version = "$PACKAGE_STRING";
|
||||||
|
@@ -4,7 +4,7 @@ dnl
|
|||||||
dnl Check for MIPS/IRIX ABI flags. Sets $abi and $abilibdirext to some
|
dnl Check for MIPS/IRIX ABI flags. Sets $abi and $abilibdirext to some
|
||||||
dnl value.
|
dnl value.
|
||||||
|
|
||||||
AC_DEFUN(AC_MIPS_ABI, [
|
AC_DEFUN([AC_MIPS_ABI], [
|
||||||
AC_ARG_WITH(mips_abi,
|
AC_ARG_WITH(mips_abi,
|
||||||
AC_HELP_STRING([--with-mips-abi=abi],[ABI to use for IRIX (32, n32, or 64)]))
|
AC_HELP_STRING([--with-mips-abi=abi],[ABI to use for IRIX (32, n32, or 64)]))
|
||||||
|
|
||||||
|
@@ -6,7 +6,7 @@ dnl
|
|||||||
|
|
||||||
dnl AC_NEED_PROTO(includes, function)
|
dnl AC_NEED_PROTO(includes, function)
|
||||||
|
|
||||||
AC_DEFUN(AC_NEED_PROTO, [
|
AC_DEFUN([AC_NEED_PROTO], [
|
||||||
if test "$ac_cv_func_$2+set" != set -o "$ac_cv_func_$2" = yes; then
|
if test "$ac_cv_func_$2+set" != set -o "$ac_cv_func_$2" = yes; then
|
||||||
AC_CACHE_CHECK([if $2 needs a prototype], ac_cv_func_$2_noproto,
|
AC_CACHE_CHECK([if $2 needs a prototype], ac_cv_func_$2_noproto,
|
||||||
AC_TRY_COMPILE([$1],
|
AC_TRY_COMPILE([$1],
|
||||||
|
@@ -2,7 +2,7 @@ dnl $Id$
|
|||||||
dnl
|
dnl
|
||||||
dnl enable OSF C2 stuff
|
dnl enable OSF C2 stuff
|
||||||
|
|
||||||
AC_DEFUN(AC_CHECK_OSFC2,[
|
AC_DEFUN([AC_CHECK_OSFC2],[
|
||||||
AC_ARG_ENABLE(osfc2,
|
AC_ARG_ENABLE(osfc2,
|
||||||
AC_HELP_STRING([--enable-osfc2],[enable some OSF C2 support]))
|
AC_HELP_STRING([--enable-osfc2],[enable some OSF C2 support]))
|
||||||
LIB_security=
|
LIB_security=
|
||||||
|
@@ -6,7 +6,7 @@ dnl
|
|||||||
|
|
||||||
dnl AC_PROTO_COMPAT(includes, function, prototype)
|
dnl AC_PROTO_COMPAT(includes, function, prototype)
|
||||||
|
|
||||||
AC_DEFUN(AC_PROTO_COMPAT, [
|
AC_DEFUN([AC_PROTO_COMPAT], [
|
||||||
AC_CACHE_CHECK([if $2 is compatible with system prototype],
|
AC_CACHE_CHECK([if $2 is compatible with system prototype],
|
||||||
ac_cv_func_$2_proto_compat,
|
ac_cv_func_$2_proto_compat,
|
||||||
AC_TRY_COMPILE([$1],
|
AC_TRY_COMPILE([$1],
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
dnl $Id$
|
dnl $Id$
|
||||||
|
|
||||||
AC_DEFUN(KRB_PTHREADS, [
|
AC_DEFUN([KRB_PTHREADS], [
|
||||||
AC_MSG_CHECKING(if compiling threadsafe libraries)
|
AC_MSG_CHECKING(if compiling threadsafe libraries)
|
||||||
|
|
||||||
if test "$PTHREADS_LDFLAGS" = "" ; then
|
if test "$PTHREADS_LDFLAGS" = "" ; then
|
||||||
|
@@ -4,7 +4,7 @@ dnl
|
|||||||
dnl Figure out return type of signal handlers, and define SIGRETURN macro
|
dnl Figure out return type of signal handlers, and define SIGRETURN macro
|
||||||
dnl that can be used to return from one
|
dnl that can be used to return from one
|
||||||
dnl
|
dnl
|
||||||
AC_DEFUN(rk_RETSIGTYPE,[
|
AC_DEFUN([rk_RETSIGTYPE],[
|
||||||
AC_TYPE_SIGNAL
|
AC_TYPE_SIGNAL
|
||||||
if test "$ac_cv_type_signal" = "void" ; then
|
if test "$ac_cv_type_signal" = "void" ; then
|
||||||
AC_DEFINE(VOID_RETSIGTYPE, 1, [Define if signal handlers return void.])
|
AC_DEFINE(VOID_RETSIGTYPE, 1, [Define if signal handlers return void.])
|
||||||
|
@@ -4,7 +4,7 @@ dnl some code to get roken working
|
|||||||
dnl
|
dnl
|
||||||
dnl rk_ROKEN(subdir)
|
dnl rk_ROKEN(subdir)
|
||||||
dnl
|
dnl
|
||||||
AC_DEFUN(rk_ROKEN, [
|
AC_DEFUN([rk_ROKEN], [
|
||||||
|
|
||||||
AC_REQUIRE([rk_CONFIG_HEADER])
|
AC_REQUIRE([rk_CONFIG_HEADER])
|
||||||
|
|
||||||
|
@@ -7,7 +7,7 @@ dnl set DIR_roken to if the directory should be built
|
|||||||
dnl set CPPFLAGS_roken to stuff to add to CPPFLAGS
|
dnl set CPPFLAGS_roken to stuff to add to CPPFLAGS
|
||||||
|
|
||||||
dnl AC_ROKEN(version,directory-to-try,roken-dir,fallback-library,fallback-cppflags)
|
dnl AC_ROKEN(version,directory-to-try,roken-dir,fallback-library,fallback-cppflags)
|
||||||
AC_DEFUN(AC_ROKEN, [
|
AC_DEFUN([AC_ROKEN], [
|
||||||
|
|
||||||
AC_ARG_WITH(roken,
|
AC_ARG_WITH(roken,
|
||||||
AC_HELP_STRING([--with-roken=dir],[use the roken library in dir]),
|
AC_HELP_STRING([--with-roken=dir],[use the roken library in dir]),
|
||||||
|
@@ -3,7 +3,7 @@ dnl
|
|||||||
dnl rk_TEST_PACKAGE(package,headers,libraries,extra libs,
|
dnl rk_TEST_PACKAGE(package,headers,libraries,extra libs,
|
||||||
dnl default locations, conditional, config-program)
|
dnl default locations, conditional, config-program)
|
||||||
|
|
||||||
AC_DEFUN(rk_TEST_PACKAGE,[
|
AC_DEFUN([rk_TEST_PACKAGE],[
|
||||||
AC_ARG_WITH($1,
|
AC_ARG_WITH($1,
|
||||||
AC_HELP_STRING([--with-$1=dir],[use $1 in dir]))
|
AC_HELP_STRING([--with-$1=dir],[use $1 in dir]))
|
||||||
AC_ARG_WITH($1-lib,
|
AC_ARG_WITH($1-lib,
|
||||||
|
@@ -2,7 +2,7 @@ dnl $Id$
|
|||||||
dnl
|
dnl
|
||||||
dnl set WFLAGS
|
dnl set WFLAGS
|
||||||
|
|
||||||
AC_DEFUN(AC_WFLAGS,[
|
AC_DEFUN([rk_WFLAGS],[
|
||||||
WFLAGS_NOUNUSED=""
|
WFLAGS_NOUNUSED=""
|
||||||
WFLAGS_NOIMPLICITINT=""
|
WFLAGS_NOIMPLICITINT=""
|
||||||
if test -z "$WFLAGS" -a "$GCC" = "yes"; then
|
if test -z "$WFLAGS" -a "$GCC" = "yes"; then
|
||||||
|
Reference in New Issue
Block a user