*** empty log message ***
authorayin <ayin>
Mon, 7 May 2007 13:43:39 +0000 (13:43 +0000)
committerayin <ayin>
Mon, 7 May 2007 13:43:39 +0000 (13:43 +0000)
configure.ac
ptytty.m4

index 050a449e9ac2e1cb6f7309f7fa997e32cb9e17ec..9934fd2a001540b37a24175fc3137a21e10a5623 100644 (file)
@@ -895,13 +895,6 @@ AC_SUBST(PERL)
 AC_SUBST(IF_PERL)
 AC_SUBST(PERL_O)
 
-     AC_TRY_LINK([
-#include <EXTERN.h>
-#include <perl.h>
-#include <XSUB.h>
-],[
-     PerlInterpreter *perl = perl_alloc ();
-],[rxvt_perl_link=yes],[rxvt_perl_link=no])
 if test x$support_perl = xyes; then
    support_frills=yes
 fi
index a44c71e8064bf56528880aedb305b5f3a4221003..379480c07e9d21b0aa89a0e22e3190411bc9160a 100644 (file)
--- a/ptytty.m4
+++ b/ptytty.m4
@@ -214,6 +214,7 @@ dnl# --------------------------------------------------------------------------
 dnl# find utmp
 AC_CACHE_CHECK(where utmp is located, path_utmp,
 [AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <stdio.h>
+#include <stdlib.h>
 #include <sys/types.h>
 #include <utmp.h>
 #include <errno.h>
@@ -250,6 +251,7 @@ dnl# find utmpx - if a utmp file exists at the same location and is more than
 dnl# a day newer, then dump the utmpx.  People leave lots of junk around.
 AC_CACHE_CHECK(where utmpx is located, path_utmpx,
 [AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <stdio.h>
+#include <stdlib.h>
 #include <sys/types.h>
 #include <utmpx.h>
 #include <errno.h>
@@ -295,6 +297,7 @@ dnl# --------------------------------------------------------------------------
 dnl# find wtmp
 AC_CACHE_CHECK(where wtmp is located, path_wtmp,
 [AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <stdio.h>
+#include <stdlib.h>
 #include <sys/types.h>
 #ifdef HAVE_UTMP_H
 #include <utmp.h>
@@ -331,6 +334,7 @@ dnl# --------------------------------------------------------------------------
 dnl# find wtmpx
 AC_CACHE_CHECK(where wtmpx is located, path_wtmpx,
 [AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <stdio.h>
+#include <stdlib.h>
 #ifdef HAVE_UTMPX_H
 #include <utmpx.h>
 #endif
@@ -366,6 +370,7 @@ dnl# --------------------------------------------------------------------------
 dnl# find lastlog
 AC_CACHE_CHECK(where lastlog is located, path_lastlog,
 [AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <stdio.h>
+#include <stdlib.h>
 #include <sys/types.h>
 #ifdef HAVE_UTMPX_H
 #include <utmpx.h>
@@ -409,6 +414,7 @@ dnl# --------------------------------------------------------------------------
 dnl# find lastlogx
 AC_CACHE_CHECK(where lastlogx is located, path_lastlogx,
 [AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <stdio.h>
+#include <stdlib.h>
 #ifdef HAVE_UTMPX_H
 #include <utmpx.h>
 #endif