Changeset e51b410


Ignore:
Timestamp:
Apr 20, 2003, 4:21:48 PM (18 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:
c269e22
Parents:
f87c490
Message:
Changed configure.in and config.h to make the test for
  use_default_colors work properly
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • config.h.in

    r7d4fbcd re51b410  
    4646#undef HAVE_LIBZEPHYR_ZINITLOCATIONINFO
    4747
     48#undef HAVE_USE_DEFAULT_COLORS
     49
    4850#undef TERMINFO
  • configure

    r69894d2 re51b410  
    752752fi
    753753
     754
    754755echo $ac_n "checking for /usr/athena/include""... $ac_c" 1>&6
    755 echo "configure:756: checking for /usr/athena/include" >&5
     756echo "configure:757: checking for /usr/athena/include" >&5
    756757if test -d /usr/athena/include; then
    757758        CFLAGS=${CFLAGS}\ -I/usr/athena/include
     
    761762fi
    762763echo $ac_n "checking for /usr/athena/lib""... $ac_c" 1>&6
    763 echo "configure:764: checking for /usr/athena/lib" >&5
     764echo "configure:765: checking for /usr/athena/lib" >&5
    764765if test -d /usr/athena/lib; then
    765766        LDFLAGS=-L/usr/athena/lib\ ${LDFLAGS}
     
    770771
    771772echo $ac_n "checking for initscr in -lncurses""... $ac_c" 1>&6
    772 echo "configure:773: checking for initscr in -lncurses" >&5
     773echo "configure:774: checking for initscr in -lncurses" >&5
    773774ac_lib_var=`echo ncurses'_'initscr | sed 'y%./+-%__p_%'`
    774775if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    778779LIBS="-lncurses  $LIBS"
    779780cat > conftest.$ac_ext <<EOF
    780 #line 781 "configure"
     781#line 782 "configure"
    781782#include "confdefs.h"
    782783/* Override any gcc2 internal prototype to avoid an error.  */
     
    789790; return 0; }
    790791EOF
    791 if { (eval echo configure:792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     792if { (eval echo configure:793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    792793  rm -rf conftest*
    793794  eval "ac_cv_lib_$ac_lib_var=yes"
     
    815816  echo "$ac_t""no" 1>&6
    816817echo $ac_n "checking for initscr in -lcurses""... $ac_c" 1>&6
    817 echo "configure:818: checking for initscr in -lcurses" >&5
     818echo "configure:819: checking for initscr in -lcurses" >&5
    818819ac_lib_var=`echo curses'_'initscr | sed 'y%./+-%__p_%'`
    819820if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    823824LIBS="-lcurses  $LIBS"
    824825cat > conftest.$ac_ext <<EOF
    825 #line 826 "configure"
     826#line 827 "configure"
    826827#include "confdefs.h"
    827828/* Override any gcc2 internal prototype to avoid an error.  */
     
    834835; return 0; }
    835836EOF
    836 if { (eval echo configure:837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     837if { (eval echo configure:838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    837838  rm -rf conftest*
    838839  eval "ac_cv_lib_$ac_lib_var=yes"
     
    865866
    866867echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6
    867 echo "configure:868: checking for com_err in -lcom_err" >&5
     868echo "configure:869: checking for com_err in -lcom_err" >&5
    868869ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'`
    869870if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    873874LIBS="-lcom_err  $LIBS"
    874875cat > conftest.$ac_ext <<EOF
    875 #line 876 "configure"
     876#line 877 "configure"
    876877#include "confdefs.h"
    877878/* Override any gcc2 internal prototype to avoid an error.  */
     
    884885; return 0; }
    885886EOF
    886 if { (eval echo configure:887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     887if { (eval echo configure:888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    887888  rm -rf conftest*
    888889  eval "ac_cv_lib_$ac_lib_var=yes"
     
    912913
    913914echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
    914 echo "configure:915: checking for gethostbyname in -lnsl" >&5
     915echo "configure:916: checking for gethostbyname in -lnsl" >&5
    915916ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
    916917if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    920921LIBS="-lnsl  $LIBS"
    921922cat > conftest.$ac_ext <<EOF
    922 #line 923 "configure"
     923#line 924 "configure"
    923924#include "confdefs.h"
    924925/* Override any gcc2 internal prototype to avoid an error.  */
     
    931932; return 0; }
    932933EOF
    933 if { (eval echo configure:934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     934if { (eval echo configure:935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    934935  rm -rf conftest*
    935936  eval "ac_cv_lib_$ac_lib_var=yes"
     
    959960
    960961echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
    961 echo "configure:962: checking for socket in -lsocket" >&5
     962echo "configure:963: checking for socket in -lsocket" >&5
    962963ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
    963964if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    967968LIBS="-lsocket  $LIBS"
    968969cat > conftest.$ac_ext <<EOF
    969 #line 970 "configure"
     970#line 971 "configure"
    970971#include "confdefs.h"
    971972/* Override any gcc2 internal prototype to avoid an error.  */
     
    978979; return 0; }
    979980EOF
    980 if { (eval echo configure:981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     981if { (eval echo configure:982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    981982  rm -rf conftest*
    982983  eval "ac_cv_lib_$ac_lib_var=yes"
     
    10061007
    10071008echo $ac_n "checking for krb5_derive_key in -lk5crypto""... $ac_c" 1>&6
    1008 echo "configure:1009: checking for krb5_derive_key in -lk5crypto" >&5
     1009echo "configure:1010: checking for krb5_derive_key in -lk5crypto" >&5
    10091010ac_lib_var=`echo k5crypto'_'krb5_derive_key | sed 'y%./+-%__p_%'`
    10101011if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    10141015LIBS="-lk5crypto  $LIBS"
    10151016cat > conftest.$ac_ext <<EOF
    1016 #line 1017 "configure"
     1017#line 1018 "configure"
    10171018#include "confdefs.h"
    10181019/* Override any gcc2 internal prototype to avoid an error.  */
     
    10251026; return 0; }
    10261027EOF
    1027 if { (eval echo configure:1028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1028if { (eval echo configure:1029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    10281029  rm -rf conftest*
    10291030  eval "ac_cv_lib_$ac_lib_var=yes"
     
    10531054
    10541055echo $ac_n "checking for des425_req_act_vno in -ldes425""... $ac_c" 1>&6
    1055 echo "configure:1056: checking for des425_req_act_vno in -ldes425" >&5
     1056echo "configure:1057: checking for des425_req_act_vno in -ldes425" >&5
    10561057ac_lib_var=`echo des425'_'des425_req_act_vno | sed 'y%./+-%__p_%'`
    10571058if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    10611062LIBS="-ldes425  $LIBS"
    10621063cat > conftest.$ac_ext <<EOF
    1063 #line 1064 "configure"
     1064#line 1065 "configure"
    10641065#include "confdefs.h"
    10651066/* Override any gcc2 internal prototype to avoid an error.  */
     
    10721073; return 0; }
    10731074EOF
    1074 if { (eval echo configure:1075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1075if { (eval echo configure:1076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    10751076  rm -rf conftest*
    10761077  eval "ac_cv_lib_$ac_lib_var=yes"
     
    11001101
    11011102echo $ac_n "checking for des_quad_cksum in -ldes""... $ac_c" 1>&6
    1102 echo "configure:1103: checking for des_quad_cksum in -ldes" >&5
     1103echo "configure:1104: checking for des_quad_cksum in -ldes" >&5
    11031104ac_lib_var=`echo des'_'des_quad_cksum | sed 'y%./+-%__p_%'`
    11041105if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    11081109LIBS="-ldes  $LIBS"
    11091110cat > conftest.$ac_ext <<EOF
    1110 #line 1111 "configure"
     1111#line 1112 "configure"
    11111112#include "confdefs.h"
    11121113/* Override any gcc2 internal prototype to avoid an error.  */
     
    11191120; return 0; }
    11201121EOF
    1121 if { (eval echo configure:1122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1122if { (eval echo configure:1123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    11221123  rm -rf conftest*
    11231124  eval "ac_cv_lib_$ac_lib_var=yes"
     
    11471148
    11481149echo $ac_n "checking for krb5_get_credentials in -lkrb5""... $ac_c" 1>&6
    1149 echo "configure:1150: checking for krb5_get_credentials in -lkrb5" >&5
     1150echo "configure:1151: checking for krb5_get_credentials in -lkrb5" >&5
    11501151ac_lib_var=`echo krb5'_'krb5_get_credentials | sed 'y%./+-%__p_%'`
    11511152if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    11551156LIBS="-lkrb5  $LIBS"
    11561157cat > conftest.$ac_ext <<EOF
    1157 #line 1158 "configure"
     1158#line 1159 "configure"
    11581159#include "confdefs.h"
    11591160/* Override any gcc2 internal prototype to avoid an error.  */
     
    11661167; return 0; }
    11671168EOF
    1168 if { (eval echo configure:1169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1169if { (eval echo configure:1170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    11691170  rm -rf conftest*
    11701171  eval "ac_cv_lib_$ac_lib_var=yes"
     
    11941195
    11951196echo $ac_n "checking for krb_sendauth in -lkrb4""... $ac_c" 1>&6
    1196 echo "configure:1197: checking for krb_sendauth in -lkrb4" >&5
     1197echo "configure:1198: checking for krb_sendauth in -lkrb4" >&5
    11971198ac_lib_var=`echo krb4'_'krb_sendauth | sed 'y%./+-%__p_%'`
    11981199if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    12021203LIBS="-lkrb4  $LIBS"
    12031204cat > conftest.$ac_ext <<EOF
    1204 #line 1205 "configure"
     1205#line 1206 "configure"
    12051206#include "confdefs.h"
    12061207/* Override any gcc2 internal prototype to avoid an error.  */
     
    12131214; return 0; }
    12141215EOF
    1215 if { (eval echo configure:1216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1216if { (eval echo configure:1217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    12161217  rm -rf conftest*
    12171218  eval "ac_cv_lib_$ac_lib_var=yes"
     
    12411242
    12421243echo $ac_n "checking for krb_sendauth in -lkrb""... $ac_c" 1>&6
    1243 echo "configure:1244: checking for krb_sendauth in -lkrb" >&5
     1244echo "configure:1245: checking for krb_sendauth in -lkrb" >&5
    12441245ac_lib_var=`echo krb'_'krb_sendauth | sed 'y%./+-%__p_%'`
    12451246if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    12491250LIBS="-lkrb  $LIBS"
    12501251cat > conftest.$ac_ext <<EOF
    1251 #line 1252 "configure"
     1252#line 1253 "configure"
    12521253#include "confdefs.h"
    12531254/* Override any gcc2 internal prototype to avoid an error.  */
     
    12601261; return 0; }
    12611262EOF
    1262 if { (eval echo configure:1263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1263if { (eval echo configure:1264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    12631264  rm -rf conftest*
    12641265  eval "ac_cv_lib_$ac_lib_var=yes"
     
    12881289
    12891290echo $ac_n "checking for ZGetSender in -lzephyr""... $ac_c" 1>&6
    1290 echo "configure:1291: checking for ZGetSender in -lzephyr" >&5
     1291echo "configure:1292: checking for ZGetSender in -lzephyr" >&5
    12911292ac_lib_var=`echo zephyr'_'ZGetSender | sed 'y%./+-%__p_%'`
    12921293if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    12961297LIBS="-lzephyr  $LIBS"
    12971298cat > conftest.$ac_ext <<EOF
    1298 #line 1299 "configure"
     1299#line 1300 "configure"
    12991300#include "confdefs.h"
    13001301/* Override any gcc2 internal prototype to avoid an error.  */
     
    13071308; return 0; }
    13081309EOF
    1309 if { (eval echo configure:1310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1310if { (eval echo configure:1311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    13101311  rm -rf conftest*
    13111312  eval "ac_cv_lib_$ac_lib_var=yes"
     
    13361337
    13371338echo $ac_n "checking for ZInitLocationInfo in -lzephyr""... $ac_c" 1>&6
    1338 echo "configure:1339: checking for ZInitLocationInfo in -lzephyr" >&5
     1339echo "configure:1340: checking for ZInitLocationInfo in -lzephyr" >&5
    13391340ac_lib_var=`echo zephyr'_'ZInitLocationInfo | sed 'y%./+-%__p_%'`
    13401341if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    13441345LIBS="-lzephyr  $LIBS"
    13451346cat > conftest.$ac_ext <<EOF
    1346 #line 1347 "configure"
     1347#line 1348 "configure"
    13471348#include "confdefs.h"
    13481349/* Override any gcc2 internal prototype to avoid an error.  */
     
    13551356; return 0; }
    13561357EOF
    1357 if { (eval echo configure:1358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1358if { (eval echo configure:1359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    13581359  rm -rf conftest*
    13591360  eval "ac_cv_lib_$ac_lib_var=yes"
     
    13791380
    13801381
     1382for ac_func in use_default_colors
     1383do
     1384echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
     1385echo "configure:1386: checking for $ac_func" >&5
     1386if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
     1387  echo $ac_n "(cached) $ac_c" 1>&6
     1388else
     1389  cat > conftest.$ac_ext <<EOF
     1390#line 1391 "configure"
     1391#include "confdefs.h"
     1392/* System header to define __stub macros and hopefully few prototypes,
     1393    which can conflict with char $ac_func(); below.  */
     1394#include <assert.h>
     1395/* Override any gcc2 internal prototype to avoid an error.  */
     1396/* We use char because int might match the return type of a gcc2
     1397    builtin and then its argument prototype would still apply.  */
     1398char $ac_func();
     1399
     1400int main() {
     1401
     1402/* The GNU C library defines this for functions which it implements
     1403    to always fail with ENOSYS.  Some functions are actually named
     1404    something starting with __ and the normal name is an alias.  */
     1405#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     1406choke me
     1407#else
     1408$ac_func();
     1409#endif
     1410
     1411; return 0; }
     1412EOF
     1413if { (eval echo configure:1414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1414  rm -rf conftest*
     1415  eval "ac_cv_func_$ac_func=yes"
     1416else
     1417  echo "configure: failed program was:" >&5
     1418  cat conftest.$ac_ext >&5
     1419  rm -rf conftest*
     1420  eval "ac_cv_func_$ac_func=no"
     1421fi
     1422rm -f conftest*
     1423fi
     1424
     1425if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
     1426  echo "$ac_t""yes" 1>&6
     1427    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
     1428  cat >> confdefs.h <<EOF
     1429#define $ac_tr_func 1
     1430EOF
     1431 
     1432else
     1433  echo "$ac_t""no" 1>&6
     1434fi
     1435done
     1436
     1437
     1438
    13811439echo $ac_n "checking for des_ecb_encrypt prototype""... $ac_c" 1>&6
    1382 echo "configure:1383: checking for des_ecb_encrypt prototype" >&5
     1440echo "configure:1441: checking for des_ecb_encrypt prototype" >&5
    13831441cat > conftest.$ac_ext <<EOF
    1384 #line 1385 "configure"
     1442#line 1443 "configure"
    13851443#include "confdefs.h"
    13861444#include <des.h>
     
    13901448; return 0; }
    13911449EOF
    1392 if { (eval echo configure:1393: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1450if { (eval echo configure:1451: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    13931451  rm -rf conftest*
    13941452  ac_cv_des_ecb_encrypt_proto=no
     
    14091467
    14101468echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
    1411 echo "configure:1412: checking how to run the C preprocessor" >&5
     1469echo "configure:1470: checking how to run the C preprocessor" >&5
    14121470# On Suns, sometimes $CPP names a directory.
    14131471if test -n "$CPP" && test -d "$CPP"; then
     
    14241482  # not just through cpp.
    14251483  cat > conftest.$ac_ext <<EOF
    1426 #line 1427 "configure"
     1484#line 1485 "configure"
    14271485#include "confdefs.h"
    14281486#include <assert.h>
     
    14301488EOF
    14311489ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1432 { (eval echo configure:1433: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1490{ (eval echo configure:1491: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    14331491ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    14341492if test -z "$ac_err"; then
     
    14411499  CPP="${CC-cc} -E -traditional-cpp"
    14421500  cat > conftest.$ac_ext <<EOF
    1443 #line 1444 "configure"
     1501#line 1502 "configure"
    14441502#include "confdefs.h"
    14451503#include <assert.h>
     
    14471505EOF
    14481506ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1449 { (eval echo configure:1450: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1507{ (eval echo configure:1508: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    14501508ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    14511509if test -z "$ac_err"; then
     
    14581516  CPP="${CC-cc} -nologo -E"
    14591517  cat > conftest.$ac_ext <<EOF
    1460 #line 1461 "configure"
     1518#line 1519 "configure"
    14611519#include "confdefs.h"
    14621520#include <assert.h>
     
    14641522EOF
    14651523ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1466 { (eval echo configure:1467: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1524{ (eval echo configure:1525: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    14671525ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    14681526if test -z "$ac_err"; then
     
    14891547
    14901548echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
    1491 echo "configure:1492: checking for ANSI C header files" >&5
     1549echo "configure:1550: checking for ANSI C header files" >&5
    14921550if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
    14931551  echo $ac_n "(cached) $ac_c" 1>&6
    14941552else
    14951553  cat > conftest.$ac_ext <<EOF
    1496 #line 1497 "configure"
     1554#line 1555 "configure"
    14971555#include "confdefs.h"
    14981556#include <stdlib.h>
     
    15021560EOF
    15031561ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1504 { (eval echo configure:1505: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1562{ (eval echo configure:1563: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    15051563ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    15061564if test -z "$ac_err"; then
     
    15191577  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    15201578cat > conftest.$ac_ext <<EOF
    1521 #line 1522 "configure"
     1579#line 1580 "configure"
    15221580#include "confdefs.h"
    15231581#include <string.h>
     
    15371595  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    15381596cat > conftest.$ac_ext <<EOF
    1539 #line 1540 "configure"
     1597#line 1598 "configure"
    15401598#include "confdefs.h"
    15411599#include <stdlib.h>
     
    15581616else
    15591617  cat > conftest.$ac_ext <<EOF
    1560 #line 1561 "configure"
     1618#line 1619 "configure"
    15611619#include "confdefs.h"
    15621620#include <ctype.h>
     
    15691627
    15701628EOF
    1571 if { (eval echo configure:1572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     1629if { (eval echo configure:1630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    15721630then
    15731631  :
     
    15931651
    15941652echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
    1595 echo "configure:1596: checking for sys/wait.h that is POSIX.1 compatible" >&5
     1653echo "configure:1654: checking for sys/wait.h that is POSIX.1 compatible" >&5
    15961654if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
    15971655  echo $ac_n "(cached) $ac_c" 1>&6
    15981656else
    15991657  cat > conftest.$ac_ext <<EOF
    1600 #line 1601 "configure"
     1658#line 1659 "configure"
    16011659#include "confdefs.h"
    16021660#include <sys/types.h>
     
    16141672; return 0; }
    16151673EOF
    1616 if { (eval echo configure:1617: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1674if { (eval echo configure:1675: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    16171675  rm -rf conftest*
    16181676  ac_cv_header_sys_wait_h=yes
     
    16381696ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    16391697echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    1640 echo "configure:1641: checking for $ac_hdr" >&5
     1698echo "configure:1699: checking for $ac_hdr" >&5
    16411699if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    16421700  echo $ac_n "(cached) $ac_c" 1>&6
    16431701else
    16441702  cat > conftest.$ac_ext <<EOF
    1645 #line 1646 "configure"
     1703#line 1704 "configure"
    16461704#include "confdefs.h"
    16471705#include <$ac_hdr>
    16481706EOF
    16491707ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1650 { (eval echo configure:1651: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1708{ (eval echo configure:1709: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    16511709ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    16521710if test -z "$ac_err"; then
     
    16801738
    16811739echo $ac_n "checking for the perl xsubpp precompiler""... $ac_c" 1>&6
    1682 echo "configure:1683: checking for the perl xsubpp precompiler" >&5
     1740echo "configure:1741: checking for the perl xsubpp precompiler" >&5
    16831741XSUBPPDIR="`(perl -MExtUtils::MakeMaker -e 'print ExtUtils::MakeMaker->new({NAME => qw(owl)})->tool_xsubpp;') | grep \^XSUBPPDIR | sed -e 's/XSUBPPDIR = //g;'`"
    16841742if test -n "${XSUBPPDIR}"; then
     
    16951753ac_safe=`echo "/usr/share/terminfo" | sed 'y%./+-%__p_%'`
    16961754echo $ac_n "checking for /usr/share/terminfo""... $ac_c" 1>&6
    1697 echo "configure:1698: checking for /usr/share/terminfo" >&5
     1755echo "configure:1756: checking for /usr/share/terminfo" >&5
    16981756if eval "test \"`echo '$''{'ac_cv_file_$ac_safe'+set}'`\" = set"; then
    16991757  echo $ac_n "(cached) $ac_c" 1>&6
     
    17201778ac_safe=`echo "/usr/share/lib/terminfo" | sed 'y%./+-%__p_%'`
    17211779echo $ac_n "checking for /usr/share/lib/terminfo""... $ac_c" 1>&6
    1722 echo "configure:1723: checking for /usr/share/lib/terminfo" >&5
     1780echo "configure:1781: checking for /usr/share/lib/terminfo" >&5
    17231781if eval "test \"`echo '$''{'ac_cv_file_$ac_safe'+set}'`\" = set"; then
    17241782  echo $ac_n "(cached) $ac_c" 1>&6
     
    17821840# ./install, which can be erroneously created by make from ./install.sh.
    17831841echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    1784 echo "configure:1785: checking for a BSD compatible install" >&5
     1842echo "configure:1843: checking for a BSD compatible install" >&5
    17851843if test -z "$INSTALL"; then
    17861844if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
  • configure.in

    rac70242 re51b410  
    1111     CFLAGS="$CFLAGS -Wall -g";
    1212fi
     13
    1314
    1415dnl Check for Athena
     
    4243AC_CHECK_LIB(zephyr, ZInitLocationInfo, AC_DEFINE([HAVE_LIBZEPHYR_ZINITLOCATIONINFO], [], [Have ZInitLocationInfo]),)
    4344
     45AC_CHECK_FUNCS(use_default_colors)
     46
     47
    4448AC_MSG_CHECKING(for des_ecb_encrypt prototype)
    4549AC_TRY_COMPILE([#include <des.h>
     
    6367CFLAGS=${CFLAGS}\ ${FOO}
    6468
    65 dnl Find the location of XSUBPP
     69dnl Find the location of perl XSUBPP
    6670AC_MSG_CHECKING(for the perl xsubpp precompiler)
    6771XSUBPPDIR="`(perl -MExtUtils::MakeMaker -e 'print ExtUtils::MakeMaker->new({NAME => qw(owl)})->tool_xsubpp;') | grep \^XSUBPPDIR | sed -e 's/XSUBPPDIR = //g;'`"
     
    8286  AC_MSG_ERROR(No terminfo found for this system)))
    8387
    84 dnl Checks for library functions.
    85 dnl AC_PROG_GCC_TRADITIONAL
    86 dnl AC_CHECK_FUNCS(gethostname strdup use_default_colors)
    87 
    8888AC_SUBST(XSUBPPDIR)
    8989
Note: See TracChangeset for help on using the changeset viewer.