diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2008-09-05 14:22:33 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2008-09-05 14:22:33 -0700 |
commit | 37b62a26716d3abf2ae07dd88cf54bc04d980bd8 (patch) | |
tree | 025ee1835a7b82f35ff1b1ae10e42a7ca1622875 | |
parent | 36fecff588199a3a6c007f09ff709f3148d40f77 (diff) |
Check for strdup & strcasecmp before assuming we need to provide our own
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | utils.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 2f3468f..c11850b 100644 --- a/configure.ac +++ b/configure.ac @@ -31,6 +31,8 @@ AC_PROG_CC AC_PROG_YACC AC_PROG_INSTALL +AC_CHECK_FUNCS([strdup strcasecmp]) + # Checks for pkg-config packages PKG_CHECK_MODULES(XKBCOMP, x11 xkbfile) AC_SUBST(XKBCOMP_CFLAGS) @@ -35,6 +35,7 @@ #include <X11/Xfuncs.h> #include <stddef.h> +#include "config.h" #ifndef NUL #define NUL '\0' |