Changeset aef17f2


Ignore:
Timestamp:
Jun 25, 2003, 2:14:38 AM (17 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
Branches:
master, barnowl_perlaim, debian, owl, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
b7d13f7
Parents:
591e6aa7
Message:
For now, go back to failing configure if zephyr libs not found (until
  builidng w/o zephyr is possible)
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • configure

    rbe0a79f raef17f2  
    13801380else
    13811381  echo "$ac_t""no" 1>&6
     1382{ echo "configure: error: No zephyr library found." 1>&2; exit 1; }
    13821383fi
    13831384
    13841385echo $ac_n "checking for ZInitLocationInfo in -lzephyr""... $ac_c" 1>&6
    1385 echo "configure:1386: checking for ZInitLocationInfo in -lzephyr" >&5
     1386echo "configure:1387: checking for ZInitLocationInfo in -lzephyr" >&5
    13861387ac_lib_var=`echo zephyr'_'ZInitLocationInfo | sed 'y%./+-%__p_%'`
    13871388if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    13911392LIBS="-lzephyr  $LIBS"
    13921393cat > conftest.$ac_ext <<EOF
    1393 #line 1394 "configure"
     1394#line 1395 "configure"
    13941395#include "confdefs.h"
    13951396/* Override any gcc2 internal prototype to avoid an error.  */
     
    14021403; return 0; }
    14031404EOF
    1404 if { (eval echo configure:1405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1405if { (eval echo configure:1406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    14051406  rm -rf conftest*
    14061407  eval "ac_cv_lib_$ac_lib_var=yes"
     
    14291430do
    14301431echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    1431 echo "configure:1432: checking for $ac_func" >&5
     1432echo "configure:1433: checking for $ac_func" >&5
    14321433if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    14331434  echo $ac_n "(cached) $ac_c" 1>&6
    14341435else
    14351436  cat > conftest.$ac_ext <<EOF
    1436 #line 1437 "configure"
     1437#line 1438 "configure"
    14371438#include "confdefs.h"
    14381439/* System header to define __stub macros and hopefully few prototypes,
     
    14571458; return 0; }
    14581459EOF
    1459 if { (eval echo configure:1460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1460if { (eval echo configure:1461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    14601461  rm -rf conftest*
    14611462  eval "ac_cv_func_$ac_func=yes"
     
    14831484
    14841485echo $ac_n "checking for des_ecb_encrypt prototype""... $ac_c" 1>&6
    1485 echo "configure:1486: checking for des_ecb_encrypt prototype" >&5
     1486echo "configure:1487: checking for des_ecb_encrypt prototype" >&5
    14861487cat > conftest.$ac_ext <<EOF
    1487 #line 1488 "configure"
     1488#line 1489 "configure"
    14881489#include "confdefs.h"
    14891490#include <des.h>
     
    14931494; return 0; }
    14941495EOF
    1495 if { (eval echo configure:1496: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1496if { (eval echo configure:1497: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    14961497  rm -rf conftest*
    14971498  ac_cv_des_ecb_encrypt_proto=no
     
    15131514
    15141515echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
    1515 echo "configure:1516: checking how to run the C preprocessor" >&5
     1516echo "configure:1517: checking how to run the C preprocessor" >&5
    15161517# On Suns, sometimes $CPP names a directory.
    15171518if test -n "$CPP" && test -d "$CPP"; then
     
    15281529  # not just through cpp.
    15291530  cat > conftest.$ac_ext <<EOF
    1530 #line 1531 "configure"
     1531#line 1532 "configure"
    15311532#include "confdefs.h"
    15321533#include <assert.h>
     
    15341535EOF
    15351536ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1536 { (eval echo configure:1537: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1537{ (eval echo configure:1538: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    15371538ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    15381539if test -z "$ac_err"; then
     
    15451546  CPP="${CC-cc} -E -traditional-cpp"
    15461547  cat > conftest.$ac_ext <<EOF
    1547 #line 1548 "configure"
     1548#line 1549 "configure"
    15481549#include "confdefs.h"
    15491550#include <assert.h>
     
    15511552EOF
    15521553ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1553 { (eval echo configure:1554: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1554{ (eval echo configure:1555: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    15541555ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    15551556if test -z "$ac_err"; then
     
    15621563  CPP="${CC-cc} -nologo -E"
    15631564  cat > conftest.$ac_ext <<EOF
    1564 #line 1565 "configure"
     1565#line 1566 "configure"
    15651566#include "confdefs.h"
    15661567#include <assert.h>
     
    15681569EOF
    15691570ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1570 { (eval echo configure:1571: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1571{ (eval echo configure:1572: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    15711572ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    15721573if test -z "$ac_err"; then
     
    15931594
    15941595echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
    1595 echo "configure:1596: checking for ANSI C header files" >&5
     1596echo "configure:1597: checking for ANSI C header files" >&5
    15961597if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
    15971598  echo $ac_n "(cached) $ac_c" 1>&6
    15981599else
    15991600  cat > conftest.$ac_ext <<EOF
    1600 #line 1601 "configure"
     1601#line 1602 "configure"
    16011602#include "confdefs.h"
    16021603#include <stdlib.h>
     
    16061607EOF
    16071608ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1608 { (eval echo configure:1609: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1609{ (eval echo configure:1610: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    16091610ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    16101611if test -z "$ac_err"; then
     
    16231624  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    16241625cat > conftest.$ac_ext <<EOF
    1625 #line 1626 "configure"
     1626#line 1627 "configure"
    16261627#include "confdefs.h"
    16271628#include <string.h>
     
    16411642  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    16421643cat > conftest.$ac_ext <<EOF
    1643 #line 1644 "configure"
     1644#line 1645 "configure"
    16441645#include "confdefs.h"
    16451646#include <stdlib.h>
     
    16621663else
    16631664  cat > conftest.$ac_ext <<EOF
    1664 #line 1665 "configure"
     1665#line 1666 "configure"
    16651666#include "confdefs.h"
    16661667#include <ctype.h>
     
    16731674
    16741675EOF
    1675 if { (eval echo configure:1676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     1676if { (eval echo configure:1677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    16761677then
    16771678  :
     
    16971698
    16981699echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
    1699 echo "configure:1700: checking for sys/wait.h that is POSIX.1 compatible" >&5
     1700echo "configure:1701: checking for sys/wait.h that is POSIX.1 compatible" >&5
    17001701if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
    17011702  echo $ac_n "(cached) $ac_c" 1>&6
    17021703else
    17031704  cat > conftest.$ac_ext <<EOF
    1704 #line 1705 "configure"
     1705#line 1706 "configure"
    17051706#include "confdefs.h"
    17061707#include <sys/types.h>
     
    17181719; return 0; }
    17191720EOF
    1720 if { (eval echo configure:1721: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1721if { (eval echo configure:1722: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    17211722  rm -rf conftest*
    17221723  ac_cv_header_sys_wait_h=yes
     
    17421743ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    17431744echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    1744 echo "configure:1745: checking for $ac_hdr" >&5
     1745echo "configure:1746: checking for $ac_hdr" >&5
    17451746if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    17461747  echo $ac_n "(cached) $ac_c" 1>&6
    17471748else
    17481749  cat > conftest.$ac_ext <<EOF
    1749 #line 1750 "configure"
     1750#line 1751 "configure"
    17501751#include "confdefs.h"
    17511752#include <$ac_hdr>
    17521753EOF
    17531754ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1754 { (eval echo configure:1755: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1755{ (eval echo configure:1756: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    17551756ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    17561757if test -z "$ac_err"; then
     
    17841785
    17851786echo $ac_n "checking for the perl xsubpp precompiler""... $ac_c" 1>&6
    1786 echo "configure:1787: checking for the perl xsubpp precompiler" >&5
     1787echo "configure:1788: checking for the perl xsubpp precompiler" >&5
    17871788XSUBPPDIR="`(perl -MExtUtils::MakeMaker -e 'print ExtUtils::MakeMaker->new({NAME => qw(owl)})->tool_xsubpp;') | grep \^XSUBPPDIR | sed -e 's/XSUBPPDIR = //g;'`"
    17881789if test -n "${XSUBPPDIR}"; then
     
    17991800ac_safe=`echo "/usr/share/terminfo" | sed 'y%./+-%__p_%'`
    18001801echo $ac_n "checking for /usr/share/terminfo""... $ac_c" 1>&6
    1801 echo "configure:1802: checking for /usr/share/terminfo" >&5
     1802echo "configure:1803: checking for /usr/share/terminfo" >&5
    18021803if eval "test \"`echo '$''{'ac_cv_file_$ac_safe'+set}'`\" = set"; then
    18031804  echo $ac_n "(cached) $ac_c" 1>&6
     
    18241825ac_safe=`echo "/usr/share/lib/terminfo" | sed 'y%./+-%__p_%'`
    18251826echo $ac_n "checking for /usr/share/lib/terminfo""... $ac_c" 1>&6
    1826 echo "configure:1827: checking for /usr/share/lib/terminfo" >&5
     1827echo "configure:1828: checking for /usr/share/lib/terminfo" >&5
    18271828if eval "test \"`echo '$''{'ac_cv_file_$ac_safe'+set}'`\" = set"; then
    18281829  echo $ac_n "(cached) $ac_c" 1>&6
     
    18851886# ./install, which can be erroneously created by make from ./install.sh.
    18861887echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    1887 echo "configure:1888: checking for a BSD compatible install" >&5
     1888echo "configure:1889: checking for a BSD compatible install" >&5
    18881889if test -z "$INSTALL"; then
    18891890if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
  • configure.in

    rbe0a79f raef17f2  
    4141AC_CHECK_LIB(krb4, krb_sendauth,,
    4242   AC_CHECK_LIB(krb, krb_sendauth))
    43 dnl AC_CHECK_LIB(zephyr, ZGetSender,, AC_MSG_ERROR(No zephyr library found.))
    44 AC_CHECK_LIB(zephyr, ZGetSender)
     43AC_CHECK_LIB(zephyr, ZGetSender,, AC_MSG_ERROR(No zephyr library found.))
     44dnl AC_CHECK_LIB(zephyr, ZGetSender)
    4545AC_CHECK_LIB(zephyr, ZInitLocationInfo, AC_DEFINE([HAVE_LIBZEPHYR_ZINITLOCATIONINFO], [], [Have ZInitLocationInfo]),)
    4646
Note: See TracChangeset for help on using the changeset viewer.