Check for presense of GNU obstack functions.
Showing
1 changed file
with
7 additions
and
2 deletions
... | @@ -78,7 +78,7 @@ AC_HEADER_DIRENT | ... | @@ -78,7 +78,7 @@ AC_HEADER_DIRENT |
78 | AM_C_PROTOTYPES | 78 | AM_C_PROTOTYPES |
79 | AC_CHECK_HEADERS(argp.h errno.h fcntl.h inttypes.h libgen.h limits.h malloc.h \ | 79 | AC_CHECK_HEADERS(argp.h errno.h fcntl.h inttypes.h libgen.h limits.h malloc.h \ |
80 | paths.h shadow.h stdarg.h stdio.h stdlib.h string.h strings.h sys/file.h \ | 80 | paths.h shadow.h stdarg.h stdio.h stdlib.h string.h strings.h sys/file.h \ |
81 | syslog.h termios.h termio.h sgtty.h unistd.h ) | 81 | syslog.h termios.h termio.h sgtty.h unistd.h obstack.h termcap.h) |
82 | 82 | ||
83 | dnl Checks for typedefs, structures, and compiler characteristics. | 83 | dnl Checks for typedefs, structures, and compiler characteristics. |
84 | AC_C_CONST | 84 | AC_C_CONST |
... | @@ -129,6 +129,10 @@ if test x"$ac_cv_func_argp_parse" != xyes; then | ... | @@ -129,6 +129,10 @@ if test x"$ac_cv_func_argp_parse" != xyes; then |
129 | AC_SUBST(ARGPINCS) | 129 | AC_SUBST(ARGPINCS) |
130 | fi | 130 | fi |
131 | 131 | ||
132 | AC_CHECK_FUNCS(_obstack_begin, | ||
133 | [AC_DEFINE(HAVE_OBSTACK)], | ||
134 | [LIBOBJS="$LIBOBJS obstack.o"]) | ||
135 | |||
132 | dnl check if mysql support was added | 136 | dnl check if mysql support was added |
133 | AC_SUBST(BUILD_LIBMYSQL) | 137 | AC_SUBST(BUILD_LIBMYSQL) |
134 | AC_SUBST(MYSQLLIBS) | 138 | AC_SUBST(MYSQLLIBS) |
... | @@ -246,4 +250,5 @@ AC_OUTPUT(Makefile mailutils.spec include/Makefile include/mailutils/Makefile | ... | @@ -246,4 +250,5 @@ AC_OUTPUT(Makefile mailutils.spec include/Makefile include/mailutils/Makefile |
246 | m4/Makefile doc/Makefile argp/Makefile lib/Makefile lib/posix/Makefile | 250 | m4/Makefile doc/Makefile argp/Makefile lib/Makefile lib/posix/Makefile |
247 | mailbox/Makefile imap4d/Makefile mailbox/include/Makefile from/Makefile | 251 | mailbox/Makefile imap4d/Makefile mailbox/include/Makefile from/Makefile |
248 | mail/Makefile pop3d/Makefile frm/Makefile sieve/Makefile messages/Makefile | 252 | mail/Makefile pop3d/Makefile frm/Makefile sieve/Makefile messages/Makefile |
249 | scripts/Makefile libmu_scm/Makefile guimb/Makefile guimb/scm/Makefile MySql/Makefile) | 253 | scripts/Makefile libmu_scm/Makefile guimb/Makefile guimb/scm/Makefile |
254 | MySql/Makefile) | ... | ... |
-
Please register or sign in to post a comment