Changeset ac70242 for configure.in


Ignore:
Timestamp:
Apr 20, 2003, 12:05:15 PM (21 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
Branches:
master, barnowl_perlaim, debian, owl, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
69894d2
Parents:
801c7cb
Message:
Makefile.in: define DATADIR, for default owlconf.
Makefile.in: provide "all" and "install" rules.
configure.in: try also libdes and libkrb4, for people using heimdal
configure.in: see if des_ecb_encrypt is already prototyped.
configure.in: minor changes to work with new autoconf without needing acconfig.h.
configure.in: find the install program.
configure.in: test for use_default_colors since some versions of
  solaris don't have it, so we can at least compile something
  vaguely working there.
keypress.c: ifdefs for keys not defined on at least some solarises.
owl.c: don't call use_default_colors if we don't have it
readconfig.c: added *commented out* code to try to find a
  system-default owlconf if the user doesn't have one.  Have to
  ponder if I want this
zcrypt.c: don't prototype des_ecb_encrypt if there is a prototype in
  des.h.
zcrypt.c: include owl.h so we get the configure-generated config.h
Change to codelist.pl to deal with new code style
File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.in

    r316962a rac70242  
    3535AC_CHECK_LIB(k5crypto, krb5_derive_key)
    3636AC_CHECK_LIB(des425, des425_req_act_vno)
     37AC_CHECK_LIB(des, des_quad_cksum)
    3738AC_CHECK_LIB(krb5, krb5_get_credentials)
    3839AC_CHECK_LIB(krb4, krb_sendauth)
     40AC_CHECK_LIB(krb, krb_sendauth)
    3941AC_CHECK_LIB(zephyr, ZGetSender,, AC_MSG_ERROR(No zephyr library found.))
    40 AC_CHECK_LIB(zephyr, ZInitLocationInfo, AC_DEFINE(HAVE_LIBZEPHYR_ZINITLOCATIONINFO),)
     42AC_CHECK_LIB(zephyr, ZInitLocationInfo, AC_DEFINE([HAVE_LIBZEPHYR_ZINITLOCATIONINFO], [], [Have ZInitLocationInfo]),)
     43
     44AC_MSG_CHECKING(for des_ecb_encrypt prototype)
     45AC_TRY_COMPILE([#include <des.h>
     46int des_ecb_encrypt(char foo[], char bar[], des_key_schedule baz, int qux);],
     47[int foo = des_ecb_encrypt(0,0,0,0);],
     48ac_cv_des_ecb_encrypt_proto=no,
     49ac_cv_des_ecb_encrypt_proto=yes)
     50AC_MSG_RESULT($ac_cv_des_ecb_encrypt_proto)
     51if test "$ac_cv_des_ecb_encrypt_proto" = yes; then
     52        AC_DEFINE([HAVE_DES_ECB_ENCRYPT_PROTO], [], [have proto for des_ecb_encrypt])
     53fi
    4154
    4255dnl Checks for header files.
     
    6578
    6679dnl Checks for typedefs, structures, and compiler characteristics.
    67 AC_CHECK_FILE(/usr/share/terminfo, AC_DEFINE(TERMINFO, "/usr/share/terminfo"),
    68   AC_CHECK_FILE(/usr/share/lib/terminfo, AC_DEFINE(TERMINFO, "/usr/share/lib/terminfo"),
     80AC_CHECK_FILE(/usr/share/terminfo, AC_DEFINE(TERMINFO, "/usr/share/terminfo", [Have terminfo]),
     81  AC_CHECK_FILE(/usr/share/lib/terminfo, AC_DEFINE(TERMINFO, "/usr/share/lib/terminfo", [Have terminfo]),
    6982  AC_MSG_ERROR(No terminfo found for this system)))
    7083
    7184dnl Checks for library functions.
    7285dnl AC_PROG_GCC_TRADITIONAL
    73 dnl AC_CHECK_FUNCS(gethostname strdup)
     86dnl AC_CHECK_FUNCS(gethostname strdup use_default_colors)
    7487
    7588AC_SUBST(XSUBPPDIR)
    7689
     90AC_PROG_INSTALL
     91
    7792AC_OUTPUT(Makefile)
Note: See TracChangeset for help on using the changeset viewer.