summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 1dd4404..1346831 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)])