use AC_HELP_STRING

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10955 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
2002-04-30 13:19:54 +00:00
parent 713684698f
commit faeed5c1fc

View File

@@ -168,7 +168,8 @@ AM_CONDITIONAL(do_roken_rename, true)
AC_DEFINE(KRB5, 1, [Enable Kerberos 5 support in applications.])dnl AC_DEFINE(KRB5, 1, [Enable Kerberos 5 support in applications.])dnl
AC_SUBST(LIB_kdb)dnl AC_SUBST(LIB_kdb)dnl
AC_ARG_ENABLE(dce, [ --enable-dce if you want support for DCE/DFS PAG's.]) AC_ARG_ENABLE(dce,
AC_HELP_STRING([--enable-dce],[if you want support for DCE/DFS PAG's]))
if test "$enable_dce" = yes; then if test "$enable_dce" = yes; then
AC_DEFINE(DCE, 1, [Define if you want support for DCE/DFS PAG's.]) AC_DEFINE(DCE, 1, [Define if you want support for DCE/DFS PAG's.])
fi fi
@@ -186,20 +187,14 @@ fi
AC_SUBST(dpagaix_CFLAGS) AC_SUBST(dpagaix_CFLAGS)
AC_SUBST(dpagaix_LDADD) AC_SUBST(dpagaix_LDADD)
otp=yes
AC_ARG_ENABLE(otp, AC_ARG_ENABLE(otp,
[ --disable-otp if you don't want OTP support], AC_HELP_STRING([--disable-otp],[if you don't want OTP support]))
[ if test "$enable_otp" != no; then
if test "$enableval" = "no"; then
otp=no
fi
])
if test "$otp" = "yes"; then
AC_DEFINE(OTP, 1, [Define if you want OTP support in applications.]) AC_DEFINE(OTP, 1, [Define if you want OTP support in applications.])
LIB_otp='$(top_builddir)/lib/otp/libotp.la' LIB_otp='$(top_builddir)/lib/otp/libotp.la'
fi fi
AC_SUBST(LIB_otp) AC_SUBST(LIB_otp)
AM_CONDITIONAL(OTP, test "$otp" = yes)dnl AM_CONDITIONAL(OTP, test "$enable_otp" ! no)dnl
AC_CHECK_OSFC2 AC_CHECK_OSFC2
@@ -333,9 +328,8 @@ AC_CHECK_HEADERS([\
CHECK_NETINET_IP_AND_TCP CHECK_NETINET_IP_AND_TCP
AC_ARG_ENABLE(netinfo, AC_ARG_ENABLE(netinfo,
[ --enable-netinfo enable netinfo for configuration lookup]) AC_HELP_STRING([--enable-netinfo],[enable netinfo for configuration lookup]))
if test "$ac_cv_header_netinfo_ni_h" = yes -a "$enable_netinfo" = yes; then if test "$ac_cv_header_netinfo_ni_h" = yes -a "$enable_netinfo" = yes; then
AC_DEFINE(HAVE_NETINFO, 1, AC_DEFINE(HAVE_NETINFO, 1,