diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 1dd44040f3..13468317ba 100644 --- a/configure.in +++ b/configure.in @@ -55,7 +55,10 @@ AC_MSG_CHECKING(whether matz's dln works) cp confdefs.h config.h if test $ac_cv_header_a_out_h = yes; then AC_CACHE_VAL(rb_cv_mydln, - [AC_TRY_COMPILE([#include "config.h"], + [AC_TRY_COMPILE([ +#define USE_MY_DLN +#include "dln.c" +], [], rb_cv_mydln=yes, rb_cv_mydln=no)]) |