File pidentd-3.1a25-autoheader.diff of Package pidentd
Index: pidentd-3.1a25/configure.in
===================================================================
--- pidentd-3.1a25.orig/configure.in
+++ pidentd-3.1a25/configure.in
@@ -4,13 +4,13 @@ dnl Try to locate a usable type definiti
AC_DEFUN(AC_CHECK_TYPE2, [
AC_CHECK_TYPE($2, $4)
if test $ac_cv_type_$2 = yes; then
- AC_DEFINE($1, $2)
+ AC_DEFINE($1, $2,[Define to '$4' if <sys/types.h> does not define.])
else
AC_CHECK_TYPE($3, $4)
if test $ac_cv_type_$3 = yes; then
- AC_DEFINE($1, $3)
+ AC_DEFINE($1, $3,[Define to '$4' if <sys/types.h> does not define.])
else
- AC_DEFINE($1, $4)
+ AC_DEFINE($1, $4,[Define to '$4' if <sys/types.h> does not define.])
fi
fi
])
@@ -22,13 +22,13 @@ dnl extracted from autoconf 2.12 acspeci
AC_DEFUN(AC_STRUCT_NLIST,
[AC_CHECK_HEADER(nlist.h,
-[AC_DEFINE(NLIST_STRUCT)
+[AC_DEFINE(NLIST_STRUCT, 1, [Define if you have <nlist.h>.])
AC_CACHE_CHECK([for n_un in struct nlist], ac_cv_struct_nlist_n_un,
[AC_TRY_COMPILE([#include <nlist.h>],
[struct nlist n; n.n_un.n_name = 0;],
ac_cv_struct_nlist_n_un=yes, ac_cv_struct_nlist_n_un=no)])
if test $ac_cv_struct_nlist_n_un = yes; then
- AC_DEFINE(NLIST_NAME_UNION)
+ AC_DEFINE(NLIST_NAME_UNION, 1, [Define if your struct nlist has an n_un member.])
fi
])
])
@@ -160,15 +160,15 @@ case "$host" in
;;
*-irix4*)
host_os=irix4
- AC_DEFINE(_PATH_UNIX,"/unix")
+ AC_DEFINE(_PATH_UNIX,"/unix",[PATH_UNIX])
;;
*-irix5* | *-irix6*)
host_os=irix5
- AC_DEFINE(_PATH_UNIX,"/unix")
+ AC_DEFINE(_PATH_UNIX,"/unix",[PATH_UNIX])
;;
*-hpux7*)
host_os=bsd42
- AC_DEFINE(_PATH_UNIX, "/hp-ux")
+ AC_DEFINE(_PATH_UNIX, "/hp-ux",[PATH_UNIX])
if test "$ac_cv_prog_gcc" = "no"; then
DEFS="$DEFS -DHPUX7"
CFLAGS="$CFLAGS -Ae"
@@ -176,14 +176,14 @@ case "$host" in
;;
*-hpux8* | *-hpux9*)
host_os=bsd42
- AC_DEFINE(_PATH_UNIX, "/hp-ux")
+ AC_DEFINE(_PATH_UNIX, "/hp-ux",[PATH_UNIX])
if test "$ac_cv_prog_gcc" = "no"; then
CFLAGS="$CFLAGS -Ae"
fi
;;
*-hpux10*)
host_os=bsd42
- AC_DEFINE(_PATH_UNIX,"/stand/vmunix")
+ AC_DEFINE(_PATH_UNIX,"/stand/vmunix",[PATH_UNIX])
if test "$ac_cv_prog_gcc" = "no"; then
CFLAGS="$CFLAGS -Ae"
fi
@@ -194,7 +194,7 @@ case "$host" in
;;
*-nextstep3*)
host_os=next_mach
- AC_DEFINE(_PATH_UNIX, "/mach")
+ AC_DEFINE(_PATH_UNIX, "/mach",[PATH_UNIX])
;;
*-ultrix4*)
host_os=bsd42
@@ -264,17 +264,17 @@ AC_CHECK_FUNCS(strerror sigaction)
AC_CHECK_FUNCS(ftruncate flock)
if test "$need_libkvm" = "yes"; then
- AC_DEFINE(NEED_LIBKVM, 1)
+ AC_DEFINE(NEED_LIBKVM, 1,[Define if you must have some type of kvm_*() implementation.])
AC_CHECK_FUNCS(nlist)
if test "$ac_cv_func_nlist" = "no"; then
AC_CHECK_LIB(elf, nlist)
if test "$ac_cv_lib_elf_nlist" = "yes"; then
- AC_DEFINE(HAVE_NLIST, 1)
+ AC_DEFINE(HAVE_NLIST, 1,[Define if you have the nlist function.])
else
AC_CHECK_LIB(mld, nlist)
if test "$ac_cv_lib_mld_nlist" = "yes"; then
- AC_DEFINE(HAVE_NLIST, 1)
+ AC_DEFINE(HAVE_NLIST, 1,[Define if you have the nlist function.])
fi
fi
fi
@@ -283,7 +283,7 @@ if test "$need_libkvm" = "yes"; then
if test "$ac_cv_func_kvm_open" = "no"; then
AC_CHECK_LIB(kvm, kvm_open)
if test "$ac_cv_lib_kvm_kvm_open" = "yes"; then
- AC_DEFINE(HAVE_KVM_OPEN, 1)
+ AC_DEFINE(HAVE_KVM_OPEN, 1,[Define if you have the kvm_open function.])
fi
fi
fi
@@ -297,8 +297,8 @@ if test "$with_des" = "" || test "$with_
dnl check in SSLeay -lcrypto
AC_CHECK_LIB(crypto, RAND_bytes)
if test "$ac_cv_lib_crypto_RAND_bytes" = "yes"; then
- AC_DEFINE(HAVE_RAND_BYTES, 1)
- AC_DEFINE(HAVE_LIBDES, 1)
+ AC_DEFINE(HAVE_RAND_BYTES, 1,[Define if -lcrypto has RAND_bytes.])
+ AC_DEFINE(HAVE_LIBDES, 1,[Define if you have the des library (-ldes).])
AC_CHECK_HEADERS(rand.h)
CRYPTO_PROGRAMS="idecrypt ikeygen"
CRYPTO_OBJS="pdes.o"