… | |
… | |
482 | sys/sockio.h \ |
482 | sys/sockio.h \ |
483 | sys/strredir.h \ |
483 | sys/strredir.h \ |
484 | stdint.h \ |
484 | stdint.h \ |
485 | wchar.h \ |
485 | wchar.h \ |
486 | cwchar \ |
486 | cwchar \ |
487 | clocale \ |
|
|
488 | ) |
487 | ) |
489 | |
488 | |
490 | dnl# check to allow both <termios.h> and <sys/ioctl.h> |
489 | dnl# check to allow both <termios.h> and <sys/ioctl.h> |
491 | AC_CACHE_CHECK(whether termios.h and sys/ioctl.h may both be included, rxvt_cv_header_sysioctl, |
490 | AC_CACHE_CHECK(whether termios.h and sys/ioctl.h may both be included, rxvt_cv_header_sysioctl, |
492 | [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <stdio.h> |
491 | [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <stdio.h> |
… | |
… | |
721 | |
720 | |
722 | save_CXXFLAGS="$CXXFLAGS" |
721 | save_CXXFLAGS="$CXXFLAGS" |
723 | save_LIBS="$LIBS" |
722 | save_LIBS="$LIBS" |
724 | CXXFLAGS="$CXXFLAGS `$PERL -MExtUtils::Embed -e ccopts`" |
723 | CXXFLAGS="$CXXFLAGS `$PERL -MExtUtils::Embed -e ccopts`" |
725 | LIBS="$LIBS `$PERL -MExtUtils::Embed -e ldopts`" |
724 | LIBS="$LIBS `$PERL -MExtUtils::Embed -e ldopts`" |
726 | AC_TRY_LINK([ |
725 | AC_LINK_IFELSE([AC_LANG_PROGRAM([[ |
727 | #include <EXTERN.h> |
726 | #include <EXTERN.h> |
728 | #include <perl.h> |
727 | #include <perl.h> |
729 | #include <XSUB.h> |
728 | #include <XSUB.h> |
730 | ],[ |
729 | ]], [[ |
731 | PerlInterpreter *perl = perl_alloc (); |
730 | PerlInterpreter *perl = perl_alloc (); |
732 | ],[rxvt_perl_link=yes],[rxvt_perl_link=no]) |
731 | ]])],[rxvt_perl_link=yes],[rxvt_perl_link=no]) |
733 | CXXFLAGS="$save_CXXFLAGS" |
732 | CXXFLAGS="$save_CXXFLAGS" |
734 | LIBS="$save_LIBS" |
733 | LIBS="$save_LIBS" |
735 | |
734 | |
736 | if test x$rxvt_perl_link = xyes; then |
735 | if test x$rxvt_perl_link = xyes; then |
737 | AC_MSG_RESULT(ok) |
736 | AC_MSG_RESULT(ok) |