diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2010-09-22 23:23:26 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2010-09-22 23:25:02 -0700 |
commit | 79e3387e7a2d35f5895f813a4572a93457114e3c (patch) | |
tree | 6cc09c067af9ead10ecf00ad65e6cca0dd1a9167 /configure.ac | |
parent | 3bac463f63b4c1e667256c7d2d287b3567a7ff1c (diff) |
Use AC_CHECK_FUNCS / default name for mkstemp
No longer need to maintain #ifdef compatibility with the names used in
the monolith Imakefiles.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 560a740..80d5f1a 100644 --- a/configure.ac +++ b/configure.ac @@ -41,8 +41,7 @@ AC_CHECK_FILE([$srcdir/gram.c], [], [test -z "$YACC_INST" && AC_MSG_ERROR([yacc not found - unable to compile gram.y])]) AC_PROG_LEX -AC_CHECK_FUNC([mkstemp], - AC_DEFINE(HAS_MKSTEMP,1,[Define to 1 if you have the `mkstemp' function.])) +AC_CHECK_FUNCS([mkstemp]) # Checks for pkg-config packages PKG_CHECK_MODULES(TWM, x11 xext xt xmu ice sm) |