diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 7ce8a92..5b5b983 100644 --- a/configure.in +++ b/configure.in | |||
@@ -240,6 +240,19 @@ else | |||
240 | fi | 240 | fi |
241 | LIBS="$_SAVEDLIBS" | 241 | LIBS="$_SAVEDLIBS" |
242 | 242 | ||
243 | dnl Check for headers used by check_ide_smart | ||
244 | AC_CHECK_HEADER(linux/hdreg.h, FOUNDINCLUDE=yes, FOUNDINCLUDE=no) | ||
245 | if test "$FOUNDINCLUDE" = "yes" ; then | ||
246 | AC_CHECK_HEADER(linux/types.h, FOUNDINCLUDE=yes, FOUNDINCLUDE=no) | ||
247 | fi | ||
248 | |||
249 | if test "$FOUNDINCLUDE" = "yes" ; then | ||
250 | EXTRAS="$EXTRAS check_ide_smart" | ||
251 | else | ||
252 | AC_MSG_WARN([Skipping check_ide_smart plugin.]) | ||
253 | AC_MSG_WARN([check_ide_smart is linux specific. It requires linux/hdreg.h and linux/types.h.]) | ||
254 | fi | ||
255 | |||
243 | dnl Check for mysql libraries | 256 | dnl Check for mysql libraries |
244 | np_mysqlclient | 257 | np_mysqlclient |
245 | if test $with_mysql = "no" ; then | 258 | if test $with_mysql = "no" ; then |