blob: 01d64e58c505d8adb3541fcfb1b90983cb5b6205 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
AC_INIT(configure.in)
CONFIG_RULES
AC_PROG_ARCHIVE
AC_PROG_ARCHIVE_ADD
AC_PROG_RANLIB
AC_PROG_INSTALL
AC_CHECK_SIZEOF(short)
AC_CHECK_SIZEOF(int)
AC_CHECK_SIZEOF(long)
dnl
HAS_ANSI_VOLATILE
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
V5_AC_OUTPUT_MAKEFILE
|