2003-01-10 Ken Raeburn <raeburn@mit.edu>
+ * aclocal.m4 (KRB5_BUILD_LIBRARY_WITH_DEPS): Require
+ AC_PROG_ARCHIVE, AC_PROG_ARCHIVE_ADD, and AC_PROG_INSTALL.
+ (KRB5_BUILD_LIBRARY): Use KRB5_BUILD_LIBRARY_WITH_DEPS instead of
+ duplicating its contents.
+ * configure.in: Don't explicitly invoke AC_PROG_INSTALL,
+ AC_PROG_ARCHIVE, AC_PROG_ARCHIVE_ADD, AC_PROG_RANLIB.
+
* aclocal.m4 (CONFIG_RULES): Substitute files for @lib_frag@ and
@libobj_frag@ markers.
(V5_SET_TOPDIR): Don't define krb5_append_frags.
dnl Pull in the necessary stuff to create the libraries.
AC_DEFUN(KRB5_BUILD_LIBRARY,
-[AC_REQUIRE([KRB5_LIB_AUX])dnl
-AC_REQUIRE([AC_PROG_LN_S])dnl
-AC_REQUIRE([AC_PROG_RANLIB])dnl
-AC_CHECK_PROG(AR, ar, ar, false)
+[KRB5_BUILD_LIBRARY_WITH_DEPS
# null out SHLIB_EXPFLAGS because we lack any dependencies
-SHLIB_EXPFLAGS=
-AC_SUBST(LIBLIST)
-AC_SUBST(LIBLINKS)
-AC_SUBST(LDCOMBINE)
-AC_SUBST(LDCOMBINE_TAIL)
-AC_SUBST(SHLIB_EXPFLAGS)
-AC_SUBST(INSTALL_SHLIB)
-AC_SUBST(STLIBEXT)
-AC_SUBST(SHLIBEXT)
-AC_SUBST(SHLIBVEXT)
-AC_SUBST(SHLIBSEXT)
-AC_SUBST(PFLIBEXT)
-AC_SUBST(LIBINSTLIST)])
+SHLIB_EXPFLAGS=])
dnl
dnl KRB5_BUILD_LIBRARY_STATIC
[AC_REQUIRE([KRB5_LIB_AUX])dnl
AC_REQUIRE([AC_PROG_LN_S])dnl
AC_REQUIRE([AC_PROG_RANLIB])dnl
+AC_REQUIRE([AC_PROG_ARCHIVE])dnl
+AC_REQUIRE([AC_PROG_ARCHIVE_ADD])dnl
+AC_REQUIRE([AC_PROG_INSTALL])dnl
AC_CHECK_PROG(AR, ar, ar, false)
AC_SUBST(LIBLIST)
AC_SUBST(LIBLINKS)
dnl Begin autoconf tests for the Makefiles generated out of the top-level
dnl configure.in...
dnl
-AC_PROG_INSTALL
-AC_PROG_ARCHIVE
-AC_PROG_ARCHIVE_ADD
-AC_PROG_RANLIB
AC_CHECK_FUNCS(memmove)
KRB5_BUILD_LIBOBJS
KRB5_BUILD_LIBRARY
2003-01-10 Ken Raeburn <raeburn@mit.edu>
+ * configure.in: Don't explicitly invoke AC_PROG_INSTALL.
+
* Makefile.in: Add AC_SUBST_FILE marker for lib_frag and libobj_frag.
2002-12-06 Tom Yu <tlyu@mit.edu>
AC_INIT(krb524d.c)
CONFIG_RULES
-AC_PROG_INSTALL
KRB5_BUILD_LIBRARY_STATIC
KRB5_BUILD_LIBOBJS
AC_PROG_AWK
2003-01-10 Ken Raeburn <raeburn@mit.edu>
+ * configure.in: Don't explicitly invoke AC_PROG_ARCHIVE,
+ AC_PROG_ARCHIVE_ADD, AC_PROG_RANLIB, AC_PROG_INSTALL.
+
* configure.in: Use V5_AC_OUTPUT_MAKEFILE instead of
K5_GEN_MAKEFILE and K5_AC_OUTPUT.
AC_INIT(configure.in)
CONFIG_RULES
-AC_PROG_ARCHIVE
-AC_PROG_ARCHIVE_ADD
-AC_PROG_RANLIB
-AC_PROG_INSTALL
AC_CHECK_HEADERS(memory.h unistd.h)
2003-01-10 Ken Raeburn <raeburn@mit.edu>
+ * configure.in: Don't explicitly invoke AC_PROG_INSTALL, or check
+ for #pragma weak.
+
* Makefile.in: Add AC_SUBST_FILE marker for lib_frag and libobj_frag.
2002-10-10 Sam Hartman <hartmans@mit.edu>
AC_INIT(configure.in)
CONFIG_RULES
-AC_PROG_INSTALL
AC_CHECK_SIZEOF(short)
AC_CHECK_SIZEOF(int)
AC_CHECK_SIZEOF(long)
dnl
-AC_MSG_CHECKING([if pragma weak supported])
-AC_CACHE_VAL(krb5_cv_pragma_weak,
-[AC_TRY_LINK(
-[#pragma weak testit = __testit
-int __testit = 1;],
-[extern int testit;
-exit(testit);],
-krb5_cv_pragma_weak=yes, krb5_cv_pragma_weak=no)])
-AC_MSG_RESULT($krb5_cv_pragma_weak)
-if test $krb5_cv_pragma_weak = yes; then
-AC_DEFINE(HAVE_PRAGMA_WEAK)
-fi
-dnl
KRB5_RUN_FLAGS
KRB5_BUILD_LIBOBJS
KRB5_BUILD_LIBRARY_WITH_DEPS
2003-01-10 Ken Raeburn <raeburn@mit.edu>
+ * configure.in: Don't explicitly invoke AC_PROG_ARCHIVE,
+ AC_PROG_ARCHIVE_ADD, AC_PROG_INSTALL, AC_PROG_RANLIB.
+
* configure.in: Use V5_AC_OUTPUT_MAKEFILE instead of
K5_GEN_MAKEFILE and K5_AC_OUTPUT.
AC_INIT(configure.in)
CONFIG_RULES
-dnl AC_CONFIG_SUBDIRS(generic krb5)
-dnl AC_CONFIG_SUBDIRS(generic krb5 mechglue)
-AC_PROG_ARCHIVE
-AC_PROG_ARCHIVE_ADD
AC_PROG_AWK
-AC_PROG_INSTALL
-AC_PROG_RANLIB
AC_CHECK_HEADERS(stdlib.h sys/types.h limits.h memory.h)
AC_TYPE_SIZE_T
AC_CHECK_SIZEOF(short)
2003-01-10 Ken Raeburn <raeburn@mit.edu>
+ * configure.in: Don't explicitly invoke AC_PROG_ARCHIVE,
+ AC_PROG_ARCHIVE_ADD, AC_PROG_RANLIB, AC_PROG_INSTALL.
+
* configure.in: Use V5_AC_OUTPUT_MAKEFILE instead of
K5_GEN_MAKEFILE and K5_AC_OUTPUT.
AC_INIT(configure.in)
CONFIG_RULES
-AC_PROG_ARCHIVE
-AC_PROG_ARCHIVE_ADD
-AC_PROG_RANLIB
-AC_PROG_INSTALL
AC_PROG_LEX
AC_PROG_AWK
AC_CHECK_HEADERS(syslog.h memory.h)
2003-01-10 Ken Raeburn <raeburn@mit.edu>
+ * configure.in: Don't explicitly invoke AC_PROG_ARCHIVE,
+ AC_PROG_ARCHIVE_ADD, AC_PROG_RANLIB, AC_PROG_INSTALL.
+
* Makefile.in: Add AC_SUBST_FILE marker for lib_frag and libobj_frag.
2002-12-23 Ezra Peisach <epeisach@bu.edu>
AC_INIT(configure.in)
CONFIG_RULES
-AC_PROG_ARCHIVE
-AC_PROG_ARCHIVE_ADD
-AC_PROG_RANLIB
-AC_PROG_INSTALL
AC_CHECK_HEADERS(unistd.h)
AC_TYPE_MODE_T
AC_TYPE_OFF_T
2003-01-10 Ken Raeburn <raeburn@mit.edu>
+ * configure.in: Don't explicitly invoke AC_PROG_ARCHIVE,
+ AC_PROG_ARCHIVE_ADD, AC_PROG_RANLIB, AC_PROG_INSTALL.
+
* Makefile.in: Add AC_SUBST_FILE marker for lib_frag and libobj_frag.
2003-01-05 Sam Hartman <hartmans@mit.edu>
AC_INIT(configure.in)
CONFIG_RULES
-AC_PROG_ARCHIVE
-AC_PROG_ARCHIVE_ADD
-AC_PROG_RANLIB
-AC_PROG_INSTALL
AC_C_CONST
AC_CHECK_HEADERS(sys/select.h time.h unistd.h)
dnl Could check for full stdc environment, but will only test
2003-01-10 Ken Raeburn <raeburn@mit.edu>
+ * configure.in: Don't explicitly invoke AC_PROG_INSTALL.
+
* configure.in: Use V5_AC_OUTPUT_MAKEFILE instead of
K5_GEN_MAKEFILE and K5_AC_OUTPUT.
AC_INIT(configure.in)
CONFIG_RULES
-AC_PROG_INSTALL
AC_PROG_AWK
dnl
AC_C_CONST
2003-01-10 Ken Raeburn <raeburn@mit.edu>
+ * configure.in: Don't explicitly invoke AC_PROG_ARCHIVE,
+ AC_PROG_ARCHIVE_ADD, AC_PROG_RANLIB, AC_PROG_INSTALL.
+
* configure.in: Use V5_AC_OUTPUT_MAKEFILE instead of
K5_GEN_MAKEFILE and K5_AC_OUTPUT.
AC_INIT(auth_gssapi.c)
CONFIG_RULES
AC_CONFIG_SUBDIRS(unit-test)
-AC_PROG_ARCHIVE
-AC_PROG_ARCHIVE_ADD
-AC_PROG_RANLIB
-AC_PROG_INSTALL
AC_CHECK_HEADERS(sys/uio.h)
AC_TYPE_GETGROUPS
dnl Arrange for types.hin to include stdlib.h
2003-01-10 Ken Raeburn <raeburn@mit.edu>
+ * configure.in: Don't explicitly invoke AC_PROG_INSTALL.
+
* configure.in: Use V5_AC_OUTPUT_MAKEFILE instead of
K5_GEN_MAKEFILE and K5_AC_OUTPUT.
AC_CONFIG_HEADER(include/config.h include/db-config.h)
CONFIG_RULES
-AC_PROG_INSTALL
AC_PATH_PROG(FALSE,false,:)
AC_PATH_PROG(SH,sh,$FALSE)
AC_PATH_PROG(SH5,sh5,$FALSE)
2003-01-10 Ken Raeburn <raeburn@mit.edu>
+ * configure.in: Don't explicitly invoke AC_PROG_INSTALL,
+ AC_PROG_ARCHIVE, AC_PROG_RANLIB.
+
* Makefile.in: Add AC_SUBST_FILE marker for lib_frag and libobj_frag.
2002-12-12 Tom Yu <tlyu@mit.edu>
AC_PROG_LEX
AC_PROG_YACC
AC_PROG_AWK
-AC_PROG_INSTALL
-AC_PROG_ARCHIVE
-AC_PROG_RANLIB
HAVE_YYLINENO
DECLARE_SYS_ERRLIST
dnl
2003-01-10 Ken Raeburn <raeburn@mit.edu>
+ * configure.in: Don't explicitly invoke AC_PROG_INSTALL,
+ AC_PROG_ARCHIVE, AC_PROG_RANLIB.
+
* Makefile.in: Add AC_SUBST_FILE marker for lib_frag and libobj_frag.
2002-12-06 Ezra Peisach <epeisach@bu.edu>
AC_INIT(getpty.c)
CONFIG_RULES
AC_PROG_AWK
-dnl LinkFileDir([$](TOPLIBD)/libpty.a,libpty.a,../util/pty)
-AC_PROG_INSTALL
-AC_PROG_ARCHIVE
-AC_PROG_RANLIB
AC_CHECK_FUNCS(fchmod fchown revoke vhangup killpg _getpty)
dnl
LOGINLIBS=
2003-01-10 Ken Raeburn <raeburn@mit.edu>
+ * configure.in: Don't explicitly invoke AC_PROG_INSTALL, and
+ certainly not twice.
+
* Makefile.in: Add AC_SUBST_FILE marker for lib_frag and libobj_frag.
2003-01-05 Sam Hartman <hartmans@mit.edu>
AC_INIT(ct.y)
CONFIG_RULES
-AC_PROG_INSTALL
AC_PROG_LEX
AC_PROG_YACC
AC_PROG_AWK
-AC_PROG_INSTALL
HAVE_YYLINENO
AC_CHECK_FUNCS(strdup)
CHECK_DIRENT