Changeset 18e28a4


Ignore:
Timestamp:
Sep 8, 2007, 5:33:34 PM (17 years ago)
Author:
Eric C. Price <ecprice@mit.edu>
Branches:
master, barnowl_perlaim, debian, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
79c06ae
Parents:
2bdfed9
Message:
Fixes for FreeBSD.
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • configure.in

    r1d7e094 r18e28a4  
    3131
    3232dnl Check for kerberosIV include
    33 AC_MSG_CHECKING(for /usr/include/kerberosIV)
     33AC_MSG_CHECKING(for kerberosIV)
    3434if test -d /usr/include/kerberosIV; then
    3535        CFLAGS=${CFLAGS}\ -I/usr/include/kerberosIV
    3636        CPPFLAGS=${CPPFLAGS}\ -I/usr/include/kerberosIV
     37        AC_MSG_RESULT(yes)
     38elif test -d /usr/local/include/kerberosIV; then
     39        CFLAGS=${CFLAGS}\ -I/usr/local/include/kerberosIV
     40        CPPFLAGS=${CPPFLAGS}\ -I/usr/local/include/kerberosIV
    3741        AC_MSG_RESULT(yes)
    3842else
     
    100104fi
    101105
    102 dnl Add LDFLAGS for embeded perl
     106dnl Add LDFLAGS for embedded perl
    103107FOO=`perl -MExtUtils::Embed -e ldopts`
    104108echo Adding perl LDFLAGS ${FOO}
     
    106110
    107111dnl Checks for typedefs, structures, and compiler characteristics.
    108 AC_CHECK_FILE(/usr/share/terminfo, AC_DEFINE(TERMINFO, "/usr/share/terminfo", [Have terminfo]),
    109   AC_CHECK_FILE(/usr/share/lib/terminfo, AC_DEFINE(TERMINFO, "/usr/share/lib/terminfo", [Have terminfo]),
    110   AC_MSG_ERROR(No terminfo found for this system)))
    111112
    112113AC_SUBST(XSUBPPDIR)
  • owl.c

    r095e717 r18e28a4  
    177177  /* screen init */
    178178  if (!getenv("TERMINFO")) {
    179     sprintf(buff, "TERMINFO=%s", TERMINFO);
    180     putenv(buff);
    181     owl_function_debugmsg("startup: setting TERMINFO to %s", TERMINFO);
     179    owl_function_debugmsg("startup: Not setting TERMINFO");
    182180  } else {
    183181    owl_function_debugmsg("startup: leaving TERMINFO as %s from envrionment", getenv("TERMINFO"));
  • owl.h

    rb363d83 r18e28a4  
    6363#ifdef OWL_PERL
    6464typedef void WINDOW;
     65/* logout is defined in FreeBSD. */
     66#define logout logout_
    6567#include <perl.h>
     68#undef logout
    6669#include "XSUB.h"
    6770#else
Note: See TracChangeset for help on using the changeset viewer.