diff options
Diffstat (limited to 'm4/djgpp.m4')
-rw-r--r-- | m4/djgpp.m4 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/m4/djgpp.m4 b/m4/djgpp.m4 new file mode 100644 index 00000000..98b4b555 --- /dev/null +++ b/m4/djgpp.m4 @@ -0,0 +1,9 @@ +dnl Check for DJGPP. we use DJ_GPP a the variable +dnl EXEEXXT +AC_DEFUN(AC_DJGPP, +[AC_CACHE_CHECK(for DJGPP environment, ac_cv_djgpp, +[AC_TRY_COMPILE(,[ return __DJGPP__;], +ac_cv_djgpp=yes, ac_cv_djgpp=no) +rm -f conftest*]) +DJGPP= +test "$ac_cv_djgpp" = yes && DJGPP=yes]) |