Changeset e6449bc


Ignore:
Timestamp:
Jul 2, 2003, 8:15:04 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:
210c261
Parents:
03955f3
Message:
Owl should build now without zephyr, enabling it to act as a
  standalone AIM client.
Cleaned up some warnings from linux gcc.
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r09489b89 re6449bc  
    22
    332.0.7-pre-1
    4         First pass at making owl build without zephyr
     4        Owl should build now without zephyr, enabling it to act as a
     5          standalone AIM client.
     6        Cleaned up some warnings from linux gcc.
    57       
    682.0.6
  • config.h.in

    r03955f3 re6449bc  
    1515/* Define if you have the <unistd.h> header file.  */
    1616#undef HAVE_UNISTD_H
     17
     18#undef HAVE_COM_ERR_H
    1719
    1820/* Define if you have the com_err library (-lcom_err).  */
  • configure

    r03955f3 re6449bc  
    757757if test -d /usr/athena/include; then
    758758        CFLAGS=${CFLAGS}\ -I/usr/athena/include
     759        CPPFLAGS=${CPPFLAGS}\ -I/usr/athena/include
    759760        echo "$ac_t""yes" 1>&6
    760761else
     
    762763fi
    763764echo $ac_n "checking for /usr/athena/lib""... $ac_c" 1>&6
    764 echo "configure:765: checking for /usr/athena/lib" >&5
     765echo "configure:766: checking for /usr/athena/lib" >&5
    765766if test -d /usr/athena/lib; then
    766767        LDFLAGS=-L/usr/athena/lib\ ${LDFLAGS}
     
    771772
    772773echo $ac_n "checking for initscr in -lncurses""... $ac_c" 1>&6
    773 echo "configure:774: checking for initscr in -lncurses" >&5
     774echo "configure:775: checking for initscr in -lncurses" >&5
    774775ac_lib_var=`echo ncurses'_'initscr | sed 'y%./+-%__p_%'`
    775776if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    779780LIBS="-lncurses  $LIBS"
    780781cat > conftest.$ac_ext <<EOF
    781 #line 782 "configure"
     782#line 783 "configure"
    782783#include "confdefs.h"
    783784/* Override any gcc2 internal prototype to avoid an error.  */
     
    790791; return 0; }
    791792EOF
    792 if { (eval echo configure:793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     793if { (eval echo configure:794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    793794  rm -rf conftest*
    794795  eval "ac_cv_lib_$ac_lib_var=yes"
     
    816817  echo "$ac_t""no" 1>&6
    817818echo $ac_n "checking for initscr in -lcurses""... $ac_c" 1>&6
    818 echo "configure:819: checking for initscr in -lcurses" >&5
     819echo "configure:820: checking for initscr in -lcurses" >&5
    819820ac_lib_var=`echo curses'_'initscr | sed 'y%./+-%__p_%'`
    820821if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    824825LIBS="-lcurses  $LIBS"
    825826cat > conftest.$ac_ext <<EOF
    826 #line 827 "configure"
     827#line 828 "configure"
    827828#include "confdefs.h"
    828829/* Override any gcc2 internal prototype to avoid an error.  */
     
    835836; return 0; }
    836837EOF
    837 if { (eval echo configure:838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     838if { (eval echo configure:839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    838839  rm -rf conftest*
    839840  eval "ac_cv_lib_$ac_lib_var=yes"
     
    866867
    867868echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6
    868 echo "configure:869: checking for com_err in -lcom_err" >&5
     869echo "configure:870: checking for com_err in -lcom_err" >&5
    869870ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'`
    870871if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    874875LIBS="-lcom_err  $LIBS"
    875876cat > conftest.$ac_ext <<EOF
    876 #line 877 "configure"
     877#line 878 "configure"
    877878#include "confdefs.h"
    878879/* Override any gcc2 internal prototype to avoid an error.  */
     
    885886; return 0; }
    886887EOF
    887 if { (eval echo configure:888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     888if { (eval echo configure:889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    888889  rm -rf conftest*
    889890  eval "ac_cv_lib_$ac_lib_var=yes"
     
    913914
    914915echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
    915 echo "configure:916: checking for gethostbyname in -lnsl" >&5
     916echo "configure:917: checking for gethostbyname in -lnsl" >&5
    916917ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
    917918if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    921922LIBS="-lnsl  $LIBS"
    922923cat > conftest.$ac_ext <<EOF
    923 #line 924 "configure"
     924#line 925 "configure"
    924925#include "confdefs.h"
    925926/* Override any gcc2 internal prototype to avoid an error.  */
     
    932933; return 0; }
    933934EOF
    934 if { (eval echo configure:935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     935if { (eval echo configure:936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    935936  rm -rf conftest*
    936937  eval "ac_cv_lib_$ac_lib_var=yes"
     
    960961
    961962echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
    962 echo "configure:963: checking for socket in -lsocket" >&5
     963echo "configure:964: checking for socket in -lsocket" >&5
    963964ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
    964965if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    968969LIBS="-lsocket  $LIBS"
    969970cat > conftest.$ac_ext <<EOF
    970 #line 971 "configure"
     971#line 972 "configure"
    971972#include "confdefs.h"
    972973/* Override any gcc2 internal prototype to avoid an error.  */
     
    979980; return 0; }
    980981EOF
    981 if { (eval echo configure:982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     982if { (eval echo configure:983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    982983  rm -rf conftest*
    983984  eval "ac_cv_lib_$ac_lib_var=yes"
     
    10071008
    10081009echo $ac_n "checking for krb5_derive_key in -lk5crypto""... $ac_c" 1>&6
    1009 echo "configure:1010: checking for krb5_derive_key in -lk5crypto" >&5
     1010echo "configure:1011: checking for krb5_derive_key in -lk5crypto" >&5
    10101011ac_lib_var=`echo k5crypto'_'krb5_derive_key | sed 'y%./+-%__p_%'`
    10111012if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    10151016LIBS="-lk5crypto  $LIBS"
    10161017cat > conftest.$ac_ext <<EOF
    1017 #line 1018 "configure"
     1018#line 1019 "configure"
    10181019#include "confdefs.h"
    10191020/* Override any gcc2 internal prototype to avoid an error.  */
     
    10261027; return 0; }
    10271028EOF
    1028 if { (eval echo configure:1029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1029if { (eval echo configure:1030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    10291030  rm -rf conftest*
    10301031  eval "ac_cv_lib_$ac_lib_var=yes"
     
    10541055
    10551056echo $ac_n "checking for req_act_vno in -ldes425""... $ac_c" 1>&6
    1056 echo "configure:1057: checking for req_act_vno in -ldes425" >&5
     1057echo "configure:1058: checking for req_act_vno in -ldes425" >&5
    10571058ac_lib_var=`echo des425'_'req_act_vno | sed 'y%./+-%__p_%'`
    10581059if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    10621063LIBS="-ldes425  $LIBS"
    10631064cat > conftest.$ac_ext <<EOF
    1064 #line 1065 "configure"
     1065#line 1066 "configure"
    10651066#include "confdefs.h"
    10661067/* Override any gcc2 internal prototype to avoid an error.  */
     
    10731074; return 0; }
    10741075EOF
    1075 if { (eval echo configure:1076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1076if { (eval echo configure:1077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    10761077  rm -rf conftest*
    10771078  eval "ac_cv_lib_$ac_lib_var=yes"
     
    11011102
    11021103echo $ac_n "checking for des_quad_cksum in -ldes""... $ac_c" 1>&6
    1103 echo "configure:1104: checking for des_quad_cksum in -ldes" >&5
     1104echo "configure:1105: checking for des_quad_cksum in -ldes" >&5
    11041105ac_lib_var=`echo des'_'des_quad_cksum | sed 'y%./+-%__p_%'`
    11051106if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    11091110LIBS="-ldes  $LIBS"
    11101111cat > conftest.$ac_ext <<EOF
    1111 #line 1112 "configure"
     1112#line 1113 "configure"
    11121113#include "confdefs.h"
    11131114/* Override any gcc2 internal prototype to avoid an error.  */
     
    11201121; return 0; }
    11211122EOF
    1122 if { (eval echo configure:1123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1123if { (eval echo configure:1124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    11231124  rm -rf conftest*
    11241125  eval "ac_cv_lib_$ac_lib_var=yes"
     
    11481149
    11491150echo $ac_n "checking for res_search in -lresolv""... $ac_c" 1>&6
    1150 echo "configure:1151: checking for res_search in -lresolv" >&5
     1151echo "configure:1152: checking for res_search in -lresolv" >&5
    11511152ac_lib_var=`echo resolv'_'res_search | sed 'y%./+-%__p_%'`
    11521153if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    11561157LIBS="-lresolv  $LIBS"
    11571158cat > conftest.$ac_ext <<EOF
    1158 #line 1159 "configure"
     1159#line 1160 "configure"
    11591160#include "confdefs.h"
    11601161/* Override any gcc2 internal prototype to avoid an error.  */
     
    11671168; return 0; }
    11681169EOF
    1169 if { (eval echo configure:1170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1170if { (eval echo configure:1171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    11701171  rm -rf conftest*
    11711172  eval "ac_cv_lib_$ac_lib_var=yes"
     
    11951196
    11961197echo $ac_n "checking for krb5_get_credentials in -lkrb5""... $ac_c" 1>&6
    1197 echo "configure:1198: checking for krb5_get_credentials in -lkrb5" >&5
     1198echo "configure:1199: checking for krb5_get_credentials in -lkrb5" >&5
    11981199ac_lib_var=`echo krb5'_'krb5_get_credentials | sed 'y%./+-%__p_%'`
    11991200if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    12031204LIBS="-lkrb5  $LIBS"
    12041205cat > conftest.$ac_ext <<EOF
    1205 #line 1206 "configure"
     1206#line 1207 "configure"
    12061207#include "confdefs.h"
    12071208/* Override any gcc2 internal prototype to avoid an error.  */
     
    12141215; return 0; }
    12151216EOF
    1216 if { (eval echo configure:1217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1217if { (eval echo configure:1218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    12171218  rm -rf conftest*
    12181219  eval "ac_cv_lib_$ac_lib_var=yes"
     
    12421243
    12431244echo $ac_n "checking for krb_sendauth in -lkrb4""... $ac_c" 1>&6
    1244 echo "configure:1245: checking for krb_sendauth in -lkrb4" >&5
     1245echo "configure:1246: checking for krb_sendauth in -lkrb4" >&5
    12451246ac_lib_var=`echo krb4'_'krb_sendauth | sed 'y%./+-%__p_%'`
    12461247if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    12501251LIBS="-lkrb4  $LIBS"
    12511252cat > conftest.$ac_ext <<EOF
    1252 #line 1253 "configure"
     1253#line 1254 "configure"
    12531254#include "confdefs.h"
    12541255/* Override any gcc2 internal prototype to avoid an error.  */
     
    12611262; return 0; }
    12621263EOF
    1263 if { (eval echo configure:1264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1264if { (eval echo configure:1265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    12641265  rm -rf conftest*
    12651266  eval "ac_cv_lib_$ac_lib_var=yes"
     
    12871288  echo "$ac_t""no" 1>&6
    12881289echo $ac_n "checking for krb_sendauth in -lkrb""... $ac_c" 1>&6
    1289 echo "configure:1290: checking for krb_sendauth in -lkrb" >&5
     1290echo "configure:1291: checking for krb_sendauth in -lkrb" >&5
    12901291ac_lib_var=`echo krb'_'krb_sendauth | sed 'y%./+-%__p_%'`
    12911292if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    12951296LIBS="-lkrb  $LIBS"
    12961297cat > conftest.$ac_ext <<EOF
    1297 #line 1298 "configure"
     1298#line 1299 "configure"
    12981299#include "confdefs.h"
    12991300/* Override any gcc2 internal prototype to avoid an error.  */
     
    13061307; return 0; }
    13071308EOF
    1308 if { (eval echo configure:1309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1309if { (eval echo configure:1310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    13091310  rm -rf conftest*
    13101311  eval "ac_cv_lib_$ac_lib_var=yes"
     
    13361337
    13371338echo $ac_n "checking for ZGetSender in -lzephyr""... $ac_c" 1>&6
    1338 echo "configure:1339: checking for ZGetSender in -lzephyr" >&5
     1339echo "configure:1340: checking for ZGetSender in -lzephyr" >&5
    13391340ac_lib_var=`echo zephyr'_'ZGetSender | 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"
     
    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
     
    15121513
    15131514echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
    1514 echo "configure:1515: checking how to run the C preprocessor" >&5
     1515echo "configure:1516: checking how to run the C preprocessor" >&5
    15151516# On Suns, sometimes $CPP names a directory.
    15161517if test -n "$CPP" && test -d "$CPP"; then
     
    15271528  # not just through cpp.
    15281529  cat > conftest.$ac_ext <<EOF
    1529 #line 1530 "configure"
     1530#line 1531 "configure"
    15301531#include "confdefs.h"
    15311532#include <assert.h>
     
    15331534EOF
    15341535ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1535 { (eval echo configure:1536: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1536{ (eval echo configure:1537: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    15361537ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    15371538if test -z "$ac_err"; then
     
    15441545  CPP="${CC-cc} -E -traditional-cpp"
    15451546  cat > conftest.$ac_ext <<EOF
    1546 #line 1547 "configure"
     1547#line 1548 "configure"
    15471548#include "confdefs.h"
    15481549#include <assert.h>
     
    15501551EOF
    15511552ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1552 { (eval echo configure:1553: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1553{ (eval echo configure:1554: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    15531554ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    15541555if test -z "$ac_err"; then
     
    15611562  CPP="${CC-cc} -nologo -E"
    15621563  cat > conftest.$ac_ext <<EOF
    1563 #line 1564 "configure"
     1564#line 1565 "configure"
    15641565#include "confdefs.h"
    15651566#include <assert.h>
     
    15671568EOF
    15681569ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1569 { (eval echo configure:1570: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1570{ (eval echo configure:1571: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    15701571ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    15711572if test -z "$ac_err"; then
     
    15921593
    15931594echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
    1594 echo "configure:1595: checking for ANSI C header files" >&5
     1595echo "configure:1596: checking for ANSI C header files" >&5
    15951596if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
    15961597  echo $ac_n "(cached) $ac_c" 1>&6
    15971598else
    15981599  cat > conftest.$ac_ext <<EOF
    1599 #line 1600 "configure"
     1600#line 1601 "configure"
    16001601#include "confdefs.h"
    16011602#include <stdlib.h>
     
    16051606EOF
    16061607ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1607 { (eval echo configure:1608: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1608{ (eval echo configure:1609: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    16081609ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    16091610if test -z "$ac_err"; then
     
    16221623  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    16231624cat > conftest.$ac_ext <<EOF
    1624 #line 1625 "configure"
     1625#line 1626 "configure"
    16251626#include "confdefs.h"
    16261627#include <string.h>
     
    16401641  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    16411642cat > conftest.$ac_ext <<EOF
    1642 #line 1643 "configure"
     1643#line 1644 "configure"
    16431644#include "confdefs.h"
    16441645#include <stdlib.h>
     
    16611662else
    16621663  cat > conftest.$ac_ext <<EOF
    1663 #line 1664 "configure"
     1664#line 1665 "configure"
    16641665#include "confdefs.h"
    16651666#include <ctype.h>
     
    16721673
    16731674EOF
    1674 if { (eval echo configure:1675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     1675if { (eval echo configure:1676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    16751676then
    16761677  :
     
    16961697
    16971698echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
    1698 echo "configure:1699: checking for sys/wait.h that is POSIX.1 compatible" >&5
     1699echo "configure:1700: checking for sys/wait.h that is POSIX.1 compatible" >&5
    16991700if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
    17001701  echo $ac_n "(cached) $ac_c" 1>&6
    17011702else
    17021703  cat > conftest.$ac_ext <<EOF
    1703 #line 1704 "configure"
     1704#line 1705 "configure"
    17041705#include "confdefs.h"
    17051706#include <sys/types.h>
     
    17171718; return 0; }
    17181719EOF
    1719 if { (eval echo configure:1720: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1720if { (eval echo configure:1721: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    17201721  rm -rf conftest*
    17211722  ac_cv_header_sys_wait_h=yes
     
    17371738fi
    17381739
    1739 for ac_hdr in strings.h sys/ioctl.h unistd.h
     1740for ac_hdr in strings.h sys/ioctl.h unistd.h com_err.h
    17401741do
    17411742ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    17421743echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    1743 echo "configure:1744: checking for $ac_hdr" >&5
     1744echo "configure:1745: checking for $ac_hdr" >&5
    17441745if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    17451746  echo $ac_n "(cached) $ac_c" 1>&6
    17461747else
    17471748  cat > conftest.$ac_ext <<EOF
    1748 #line 1749 "configure"
     1749#line 1750 "configure"
    17491750#include "confdefs.h"
    17501751#include <$ac_hdr>
    17511752EOF
    17521753ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1753 { (eval echo configure:1754: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1754{ (eval echo configure:1755: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    17541755ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    17551756if test -z "$ac_err"; then
     
    17831784
    17841785echo $ac_n "checking for the perl xsubpp precompiler""... $ac_c" 1>&6
    1785 echo "configure:1786: checking for the perl xsubpp precompiler" >&5
     1786echo "configure:1787: checking for the perl xsubpp precompiler" >&5
    17861787XSUBPPDIR="`(perl -MExtUtils::MakeMaker -e 'print ExtUtils::MakeMaker->new({NAME => qw(owl)})->tool_xsubpp;') | grep \^XSUBPPDIR | sed -e 's/XSUBPPDIR = //g;'`"
    17871788if test -n "${XSUBPPDIR}"; then
     
    17981799ac_safe=`echo "/usr/share/terminfo" | sed 'y%./+-%__p_%'`
    17991800echo $ac_n "checking for /usr/share/terminfo""... $ac_c" 1>&6
    1800 echo "configure:1801: checking for /usr/share/terminfo" >&5
     1801echo "configure:1802: checking for /usr/share/terminfo" >&5
    18011802if eval "test \"`echo '$''{'ac_cv_file_$ac_safe'+set}'`\" = set"; then
    18021803  echo $ac_n "(cached) $ac_c" 1>&6
     
    18231824ac_safe=`echo "/usr/share/lib/terminfo" | sed 'y%./+-%__p_%'`
    18241825echo $ac_n "checking for /usr/share/lib/terminfo""... $ac_c" 1>&6
    1825 echo "configure:1826: checking for /usr/share/lib/terminfo" >&5
     1826echo "configure:1827: checking for /usr/share/lib/terminfo" >&5
    18261827if eval "test \"`echo '$''{'ac_cv_file_$ac_safe'+set}'`\" = set"; then
    18271828  echo $ac_n "(cached) $ac_c" 1>&6
     
    18841885# ./install, which can be erroneously created by make from ./install.sh.
    18851886echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    1886 echo "configure:1887: checking for a BSD compatible install" >&5
     1887echo "configure:1888: checking for a BSD compatible install" >&5
    18871888if test -z "$INSTALL"; then
    18881889if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
  • configure.in

    r09489b89 re6449bc  
    1717if test -d /usr/athena/include; then
    1818        CFLAGS=${CFLAGS}\ -I/usr/athena/include
     19        CPPFLAGS=${CPPFLAGS}\ -I/usr/athena/include
    1920        AC_MSG_RESULT(yes)
    2021else
     
    6263AC_HEADER_STDC
    6364AC_HEADER_SYS_WAIT
    64 AC_CHECK_HEADERS(strings.h sys/ioctl.h unistd.h)
     65AC_CHECK_HEADERS(strings.h sys/ioctl.h unistd.h com_err.h)
    6566
    6667dnl Add CFLAGS for embeded perl
  • functions.c

    r09489b89 re6449bc  
    44#include <signal.h>
    55#include <string.h>
    6 #include <com_err.h>
    76#include <time.h>
    87#include <sys/types.h>
     
    17431742void owl_function_reply(int type, int enter)
    17441743{
    1745   char *buff, *oldbuff;
     1744  char *buff=NULL, *oldbuff;
    17461745  owl_message *m;
    17471746  owl_filter *f;
  • logging.c

    r09489b89 re6449bc  
    1010  FILE *file;
    1111  char filename[MAXPATHLEN], *logpath;
    12   char *tobuff, *ptr;
     12  char *tobuff, *ptr="";
    1313
    1414  tobuff=owl_malloc(strlen(to)+20);
     
    9797  FILE *file, *allfile;
    9898  char filename[MAXPATHLEN], allfilename[MAXPATHLEN], *logpath;
    99   char *frombuff, *ptr, *from, *buff, *tmp;
     99  char *frombuff=NULL, *from=NULL, *buff=NULL, *ptr;
    100100  int len, ch, i, personal;
    101101     
     
    140140    /* we do not yet handle chat rooms */
    141141    from=frombuff=owl_sprintf("aim:%s", owl_message_get_sender(m));
     142  } else {
     143    from=frombuff=owl_strdup("unknown");
    142144  }
    143145 
     
    193195  /* write to the main file */
    194196  if (owl_message_is_type_zephyr(m)) {
     197    char *tmp;
     198   
    195199    tmp=short_zuser(owl_message_get_sender(m));
    196200    fprintf(file, "Class: %s Instance: %s", owl_message_get_class(m), owl_message_get_instance(m));
     
    204208    fprintf(file, "From: %s <%s>\n\n", buff, tmp);
    205209    fprintf(file, "%s\n", owl_message_get_body(m));
     210    owl_free(tmp);
    206211  } else if (owl_message_is_type_aim(m) && !owl_message_is_loginout(m)) {
    207212    fprintf(file, "From: <%s> To: <%s>\n", owl_message_get_sender(m), owl_message_get_recipient(m));
     
    219224  if (personal) {
    220225    if (owl_message_is_type_zephyr(m)) {
     226      char *tmp;
     227
     228      tmp=short_zuser(owl_message_get_sender(m));
    221229      fprintf(allfile, "Class: %s Instance: %s", owl_message_get_class(m), owl_message_get_instance(m));
    222230      if (strcmp(owl_message_get_opcode(m), "")) fprintf(allfile, " Opcode: %s", owl_message_get_opcode(m));
     
    225233      fprintf(allfile, "From: %s <%s>\n\n", buff, tmp);
    226234      fprintf(allfile, "%s\n", owl_message_get_body(m));
     235      owl_free(tmp);
    227236    } else if (owl_message_is_type_aim(m) && !owl_message_is_loginout(m)) {
    228237      fprintf(allfile, "From: <%s> To: <%s>\n", owl_message_get_sender(m), owl_message_get_recipient(m));
     
    239248
    240249  if (owl_message_is_type_zephyr(m)) {
    241     owl_free(tmp);
    242250    owl_free(buff);
    243251  }
  • owl.c

    r09489b89 re6449bc  
    1515#include <stdlib.h>
    1616#include <string.h>
    17 #include <com_err.h>
    1817#include <signal.h>
    1918#include <time.h>
     
    348347      struct sockaddr_in from;
    349348#endif
    350       owl_message *m;
     349      owl_message *m=NULL;
    351350      owl_filter *f;
    352351
  • owl.h

    r373b7e7 re6449bc  
    1313#include <zephyr/zephyr.h>
    1414#endif
     15#ifdef HAVE_COM_ERR_H
     16#include <com_err.h>
     17#endif
     18
    1519
    1620
  • util.c

    r09489b89 re6449bc  
    697697{
    698698  char buff[LINE], *text;
    699   char *backupfilename;
    700   FILE *file, *backupfile;
     699  char *backupfilename="";
     700  FILE *file, *backupfile=NULL;
    701701  int size, newline;
    702702
     
    707707    return;
    708708  }
    709  
     709
    710710  /* open the backup file for writing */
    711711  if (backup) {
  • zephyr.c

    r03955f3 re6449bc  
    44#include <sys/wait.h>
    55#include <string.h>
    6 #include <com_err.h>
    76#include "owl.h"
    87
Note: See TracChangeset for help on using the changeset viewer.