diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-01-12 20:41:30 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-01-12 20:41:30 -0800 |
commit | eeb4cc1251c01fe9d8097224a780c18a3b35b5d0 (patch) | |
tree | 57e427b7dff73729a9811b968ab8ba2ff291fbde | |
parent | 2c4d682b6afcfbddb70690efd7536afb98f9a97e (diff) |
Make configure actually check for strcasecmp
utils.h & utils.c had #ifdefs to check for it, and only define their
fallback if HAVE_STRCASECMP was not defined, but we never defined it.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | utils.h | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index a6d3758..dd8a36f 100644 --- a/configure.ac +++ b/configure.ac @@ -39,6 +39,8 @@ m4_ifndef([XORG_MACROS_VERSION], XORG_MACROS_VERSION(1.8) XORG_DEFAULT_OPTIONS +AC_CHECK_FUNCS([strcasecmp]) + # xkbvleds checks PKG_CHECK_MODULES(XKBVLEDS, [xproto >= 7.0.17 xaw7 xt x11]) @@ -29,6 +29,10 @@ /***====================================================================***/ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include <stdio.h> #include <X11/Xos.h> #include <X11/Xfuncproto.h> |