Changeset 69894d2


Ignore:
Timestamp:
Apr 20, 2003, 12: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:
4594d83
Parents:
ac70242
Message:
Remove some ancient stuff from zcrypt.c
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    rac70242 r69894d2  
    6363        zcrypt.c: include owl.h so we get the configure-generated config.h
    6464        Change to codelist.pl to deal with new code style
     65        Remove some ancient stuff from zcrypt.c
    6566       
    66671.2.8
  • codelist.pl

    rac70242 r69894d2  
    1 
     1#! /usr/bin/perl
    22# $Id$
    33
     
    1818            && !/^#/
    1919            && !/^static/
     20            && !/^system/
    2021            && !/\/\*/)
    2122        {s/\s+\{/\;/; s/\)[ \t]*$/\)\;/; print "extern "; print;}
  • configure

    r316962a r69894d2  
    10991099fi
    11001100
     1101echo $ac_n "checking for des_quad_cksum in -ldes""... $ac_c" 1>&6
     1102echo "configure:1103: checking for des_quad_cksum in -ldes" >&5
     1103ac_lib_var=`echo des'_'des_quad_cksum | sed 'y%./+-%__p_%'`
     1104if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     1105  echo $ac_n "(cached) $ac_c" 1>&6
     1106else
     1107  ac_save_LIBS="$LIBS"
     1108LIBS="-ldes  $LIBS"
     1109cat > conftest.$ac_ext <<EOF
     1110#line 1111 "configure"
     1111#include "confdefs.h"
     1112/* Override any gcc2 internal prototype to avoid an error.  */
     1113/* We use char because int might match the return type of a gcc2
     1114    builtin and then its argument prototype would still apply.  */
     1115char des_quad_cksum();
     1116
     1117int main() {
     1118des_quad_cksum()
     1119; return 0; }
     1120EOF
     1121if { (eval echo configure:1122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1122  rm -rf conftest*
     1123  eval "ac_cv_lib_$ac_lib_var=yes"
     1124else
     1125  echo "configure: failed program was:" >&5
     1126  cat conftest.$ac_ext >&5
     1127  rm -rf conftest*
     1128  eval "ac_cv_lib_$ac_lib_var=no"
     1129fi
     1130rm -f conftest*
     1131LIBS="$ac_save_LIBS"
     1132
     1133fi
     1134if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
     1135  echo "$ac_t""yes" 1>&6
     1136    ac_tr_lib=HAVE_LIB`echo des | sed -e 's/[^a-zA-Z0-9_]/_/g' \
     1137    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
     1138  cat >> confdefs.h <<EOF
     1139#define $ac_tr_lib 1
     1140EOF
     1141
     1142  LIBS="-ldes $LIBS"
     1143
     1144else
     1145  echo "$ac_t""no" 1>&6
     1146fi
     1147
    11011148echo $ac_n "checking for krb5_get_credentials in -lkrb5""... $ac_c" 1>&6
    1102 echo "configure:1103: checking for krb5_get_credentials in -lkrb5" >&5
     1149echo "configure:1150: checking for krb5_get_credentials in -lkrb5" >&5
    11031150ac_lib_var=`echo krb5'_'krb5_get_credentials | sed 'y%./+-%__p_%'`
    11041151if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    11081155LIBS="-lkrb5  $LIBS"
    11091156cat > conftest.$ac_ext <<EOF
    1110 #line 1111 "configure"
     1157#line 1158 "configure"
    11111158#include "confdefs.h"
    11121159/* Override any gcc2 internal prototype to avoid an error.  */
     
    11191166; return 0; }
    11201167EOF
    1121 if { (eval echo configure:1122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1168if { (eval echo configure:1169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    11221169  rm -rf conftest*
    11231170  eval "ac_cv_lib_$ac_lib_var=yes"
     
    11471194
    11481195echo $ac_n "checking for krb_sendauth in -lkrb4""... $ac_c" 1>&6
    1149 echo "configure:1150: checking for krb_sendauth in -lkrb4" >&5
     1196echo "configure:1197: checking for krb_sendauth in -lkrb4" >&5
    11501197ac_lib_var=`echo krb4'_'krb_sendauth | sed 'y%./+-%__p_%'`
    11511198if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    11551202LIBS="-lkrb4  $LIBS"
    11561203cat > conftest.$ac_ext <<EOF
    1157 #line 1158 "configure"
     1204#line 1205 "configure"
    11581205#include "confdefs.h"
    11591206/* Override any gcc2 internal prototype to avoid an error.  */
     
    11661213; return 0; }
    11671214EOF
    1168 if { (eval echo configure:1169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1215if { (eval echo configure:1216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    11691216  rm -rf conftest*
    11701217  eval "ac_cv_lib_$ac_lib_var=yes"
     
    11931240fi
    11941241
     1242echo $ac_n "checking for krb_sendauth in -lkrb""... $ac_c" 1>&6
     1243echo "configure:1244: checking for krb_sendauth in -lkrb" >&5
     1244ac_lib_var=`echo krb'_'krb_sendauth | sed 'y%./+-%__p_%'`
     1245if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     1246  echo $ac_n "(cached) $ac_c" 1>&6
     1247else
     1248  ac_save_LIBS="$LIBS"
     1249LIBS="-lkrb  $LIBS"
     1250cat > conftest.$ac_ext <<EOF
     1251#line 1252 "configure"
     1252#include "confdefs.h"
     1253/* Override any gcc2 internal prototype to avoid an error.  */
     1254/* We use char because int might match the return type of a gcc2
     1255    builtin and then its argument prototype would still apply.  */
     1256char krb_sendauth();
     1257
     1258int main() {
     1259krb_sendauth()
     1260; return 0; }
     1261EOF
     1262if { (eval echo configure:1263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1263  rm -rf conftest*
     1264  eval "ac_cv_lib_$ac_lib_var=yes"
     1265else
     1266  echo "configure: failed program was:" >&5
     1267  cat conftest.$ac_ext >&5
     1268  rm -rf conftest*
     1269  eval "ac_cv_lib_$ac_lib_var=no"
     1270fi
     1271rm -f conftest*
     1272LIBS="$ac_save_LIBS"
     1273
     1274fi
     1275if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
     1276  echo "$ac_t""yes" 1>&6
     1277    ac_tr_lib=HAVE_LIB`echo krb | sed -e 's/[^a-zA-Z0-9_]/_/g' \
     1278    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
     1279  cat >> confdefs.h <<EOF
     1280#define $ac_tr_lib 1
     1281EOF
     1282
     1283  LIBS="-lkrb $LIBS"
     1284
     1285else
     1286  echo "$ac_t""no" 1>&6
     1287fi
     1288
    11951289echo $ac_n "checking for ZGetSender in -lzephyr""... $ac_c" 1>&6
    1196 echo "configure:1197: checking for ZGetSender in -lzephyr" >&5
     1290echo "configure:1291: checking for ZGetSender in -lzephyr" >&5
    11971291ac_lib_var=`echo zephyr'_'ZGetSender | sed 'y%./+-%__p_%'`
    11981292if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    12021296LIBS="-lzephyr  $LIBS"
    12031297cat > conftest.$ac_ext <<EOF
    1204 #line 1205 "configure"
     1298#line 1299 "configure"
    12051299#include "confdefs.h"
    12061300/* Override any gcc2 internal prototype to avoid an error.  */
     
    12131307; return 0; }
    12141308EOF
    1215 if { (eval echo configure:1216: \"$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
    12161310  rm -rf conftest*
    12171311  eval "ac_cv_lib_$ac_lib_var=yes"
     
    12421336
    12431337echo $ac_n "checking for ZInitLocationInfo in -lzephyr""... $ac_c" 1>&6
    1244 echo "configure:1245: checking for ZInitLocationInfo in -lzephyr" >&5
     1338echo "configure:1339: checking for ZInitLocationInfo in -lzephyr" >&5
    12451339ac_lib_var=`echo zephyr'_'ZInitLocationInfo | sed 'y%./+-%__p_%'`
    12461340if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    12501344LIBS="-lzephyr  $LIBS"
    12511345cat > conftest.$ac_ext <<EOF
    1252 #line 1253 "configure"
     1346#line 1347 "configure"
    12531347#include "confdefs.h"
    12541348/* Override any gcc2 internal prototype to avoid an error.  */
     
    12611355; return 0; }
    12621356EOF
    1263 if { (eval echo configure:1264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1357if { (eval echo configure:1358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    12641358  rm -rf conftest*
    12651359  eval "ac_cv_lib_$ac_lib_var=yes"
     
    12771371  echo "$ac_t""yes" 1>&6
    12781372  cat >> confdefs.h <<\EOF
    1279 #define HAVE_LIBZEPHYR_ZINITLOCATIONINFO 1
     1373#define HAVE_LIBZEPHYR_ZINITLOCATIONINFO
    12801374EOF
    12811375
     
    12851379
    12861380
     1381echo $ac_n "checking for des_ecb_encrypt prototype""... $ac_c" 1>&6
     1382echo "configure:1383: checking for des_ecb_encrypt prototype" >&5
     1383cat > conftest.$ac_ext <<EOF
     1384#line 1385 "configure"
     1385#include "confdefs.h"
     1386#include <des.h>
     1387int des_ecb_encrypt(char foo[], char bar[], des_key_schedule baz, int qux);
     1388int main() {
     1389int foo = des_ecb_encrypt(0,0,0,0);
     1390; return 0; }
     1391EOF
     1392if { (eval echo configure:1393: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1393  rm -rf conftest*
     1394  ac_cv_des_ecb_encrypt_proto=no
     1395else
     1396  echo "configure: failed program was:" >&5
     1397  cat conftest.$ac_ext >&5
     1398  rm -rf conftest*
     1399  ac_cv_des_ecb_encrypt_proto=yes
     1400fi
     1401rm -f conftest*
     1402echo "$ac_t""$ac_cv_des_ecb_encrypt_proto" 1>&6
     1403if test "$ac_cv_des_ecb_encrypt_proto" = yes; then
     1404        cat >> confdefs.h <<\EOF
     1405#define HAVE_DES_ECB_ENCRYPT_PROTO
     1406EOF
     1407
     1408fi
     1409
    12871410echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
    1288 echo "configure:1289: checking how to run the C preprocessor" >&5
     1411echo "configure:1412: checking how to run the C preprocessor" >&5
    12891412# On Suns, sometimes $CPP names a directory.
    12901413if test -n "$CPP" && test -d "$CPP"; then
     
    13011424  # not just through cpp.
    13021425  cat > conftest.$ac_ext <<EOF
    1303 #line 1304 "configure"
     1426#line 1427 "configure"
    13041427#include "confdefs.h"
    13051428#include <assert.h>
     
    13071430EOF
    13081431ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1309 { (eval echo configure:1310: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1432{ (eval echo configure:1433: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    13101433ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    13111434if test -z "$ac_err"; then
     
    13181441  CPP="${CC-cc} -E -traditional-cpp"
    13191442  cat > conftest.$ac_ext <<EOF
    1320 #line 1321 "configure"
     1443#line 1444 "configure"
    13211444#include "confdefs.h"
    13221445#include <assert.h>
     
    13241447EOF
    13251448ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1326 { (eval echo configure:1327: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1449{ (eval echo configure:1450: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    13271450ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    13281451if test -z "$ac_err"; then
     
    13351458  CPP="${CC-cc} -nologo -E"
    13361459  cat > conftest.$ac_ext <<EOF
    1337 #line 1338 "configure"
     1460#line 1461 "configure"
    13381461#include "confdefs.h"
    13391462#include <assert.h>
     
    13411464EOF
    13421465ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1343 { (eval echo configure:1344: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1466{ (eval echo configure:1467: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    13441467ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    13451468if test -z "$ac_err"; then
     
    13661489
    13671490echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
    1368 echo "configure:1369: checking for ANSI C header files" >&5
     1491echo "configure:1492: checking for ANSI C header files" >&5
    13691492if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
    13701493  echo $ac_n "(cached) $ac_c" 1>&6
    13711494else
    13721495  cat > conftest.$ac_ext <<EOF
    1373 #line 1374 "configure"
     1496#line 1497 "configure"
    13741497#include "confdefs.h"
    13751498#include <stdlib.h>
     
    13791502EOF
    13801503ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1381 { (eval echo configure:1382: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1504{ (eval echo configure:1505: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    13821505ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    13831506if test -z "$ac_err"; then
     
    13961519  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    13971520cat > conftest.$ac_ext <<EOF
    1398 #line 1399 "configure"
     1521#line 1522 "configure"
    13991522#include "confdefs.h"
    14001523#include <string.h>
     
    14141537  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    14151538cat > conftest.$ac_ext <<EOF
    1416 #line 1417 "configure"
     1539#line 1540 "configure"
    14171540#include "confdefs.h"
    14181541#include <stdlib.h>
     
    14351558else
    14361559  cat > conftest.$ac_ext <<EOF
    1437 #line 1438 "configure"
     1560#line 1561 "configure"
    14381561#include "confdefs.h"
    14391562#include <ctype.h>
     
    14461569
    14471570EOF
    1448 if { (eval echo configure:1449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     1571if { (eval echo configure:1572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    14491572then
    14501573  :
     
    14701593
    14711594echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
    1472 echo "configure:1473: checking for sys/wait.h that is POSIX.1 compatible" >&5
     1595echo "configure:1596: checking for sys/wait.h that is POSIX.1 compatible" >&5
    14731596if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
    14741597  echo $ac_n "(cached) $ac_c" 1>&6
    14751598else
    14761599  cat > conftest.$ac_ext <<EOF
    1477 #line 1478 "configure"
     1600#line 1601 "configure"
    14781601#include "confdefs.h"
    14791602#include <sys/types.h>
     
    14911614; return 0; }
    14921615EOF
    1493 if { (eval echo configure:1494: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1616if { (eval echo configure:1617: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    14941617  rm -rf conftest*
    14951618  ac_cv_header_sys_wait_h=yes
     
    15151638ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    15161639echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    1517 echo "configure:1518: checking for $ac_hdr" >&5
     1640echo "configure:1641: checking for $ac_hdr" >&5
    15181641if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    15191642  echo $ac_n "(cached) $ac_c" 1>&6
    15201643else
    15211644  cat > conftest.$ac_ext <<EOF
    1522 #line 1523 "configure"
     1645#line 1646 "configure"
    15231646#include "confdefs.h"
    15241647#include <$ac_hdr>
    15251648EOF
    15261649ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1527 { (eval echo configure:1528: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1650{ (eval echo configure:1651: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    15281651ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    15291652if test -z "$ac_err"; then
     
    15571680
    15581681echo $ac_n "checking for the perl xsubpp precompiler""... $ac_c" 1>&6
    1559 echo "configure:1560: checking for the perl xsubpp precompiler" >&5
     1682echo "configure:1683: checking for the perl xsubpp precompiler" >&5
    15601683XSUBPPDIR="`(perl -MExtUtils::MakeMaker -e 'print ExtUtils::MakeMaker->new({NAME => qw(owl)})->tool_xsubpp;') | grep \^XSUBPPDIR | sed -e 's/XSUBPPDIR = //g;'`"
    15611684if test -n "${XSUBPPDIR}"; then
     
    15721695ac_safe=`echo "/usr/share/terminfo" | sed 'y%./+-%__p_%'`
    15731696echo $ac_n "checking for /usr/share/terminfo""... $ac_c" 1>&6
    1574 echo "configure:1575: checking for /usr/share/terminfo" >&5
     1697echo "configure:1698: checking for /usr/share/terminfo" >&5
    15751698if eval "test \"`echo '$''{'ac_cv_file_$ac_safe'+set}'`\" = set"; then
    15761699  echo $ac_n "(cached) $ac_c" 1>&6
     
    15971720ac_safe=`echo "/usr/share/lib/terminfo" | sed 'y%./+-%__p_%'`
    15981721echo $ac_n "checking for /usr/share/lib/terminfo""... $ac_c" 1>&6
    1599 echo "configure:1600: checking for /usr/share/lib/terminfo" >&5
     1722echo "configure:1723: checking for /usr/share/lib/terminfo" >&5
    16001723if eval "test \"`echo '$''{'ac_cv_file_$ac_safe'+set}'`\" = set"; then
    16011724  echo $ac_n "(cached) $ac_c" 1>&6
     
    16261749
    16271750
     1751
     1752
     1753ac_aux_dir=
     1754for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
     1755  if test -f $ac_dir/install-sh; then
     1756    ac_aux_dir=$ac_dir
     1757    ac_install_sh="$ac_aux_dir/install-sh -c"
     1758    break
     1759  elif test -f $ac_dir/install.sh; then
     1760    ac_aux_dir=$ac_dir
     1761    ac_install_sh="$ac_aux_dir/install.sh -c"
     1762    break
     1763  fi
     1764done
     1765if test -z "$ac_aux_dir"; then
     1766  { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
     1767fi
     1768ac_config_guess=$ac_aux_dir/config.guess
     1769ac_config_sub=$ac_aux_dir/config.sub
     1770ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
     1771
     1772# Find a good install program.  We prefer a C program (faster),
     1773# so one script is as good as another.  But avoid the broken or
     1774# incompatible versions:
     1775# SysV /etc/install, /usr/sbin/install
     1776# SunOS /usr/etc/install
     1777# IRIX /sbin/install
     1778# AIX /bin/install
     1779# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
     1780# AFS /usr/afsws/bin/install, which mishandles nonexistent args
     1781# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
     1782# ./install, which can be erroneously created by make from ./install.sh.
     1783echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
     1784echo "configure:1785: checking for a BSD compatible install" >&5
     1785if test -z "$INSTALL"; then
     1786if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
     1787  echo $ac_n "(cached) $ac_c" 1>&6
     1788else
     1789    IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"
     1790  for ac_dir in $PATH; do
     1791    # Account for people who put trailing slashes in PATH elements.
     1792    case "$ac_dir/" in
     1793    /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
     1794    *)
     1795      # OSF1 and SCO ODT 3.0 have their own names for install.
     1796      # Don't use installbsd from OSF since it installs stuff as root
     1797      # by default.
     1798      for ac_prog in ginstall scoinst install; do
     1799        if test -f $ac_dir/$ac_prog; then
     1800          if test $ac_prog = install &&
     1801            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
     1802            # AIX install.  It has an incompatible calling convention.
     1803            :
     1804          else
     1805            ac_cv_path_install="$ac_dir/$ac_prog -c"
     1806            break 2
     1807          fi
     1808        fi
     1809      done
     1810      ;;
     1811    esac
     1812  done
     1813  IFS="$ac_save_IFS"
     1814
     1815fi
     1816  if test "${ac_cv_path_install+set}" = set; then
     1817    INSTALL="$ac_cv_path_install"
     1818  else
     1819    # As a last resort, use the slow shell script.  We don't cache a
     1820    # path for INSTALL within a source directory, because that will
     1821    # break other packages using the cache if that directory is
     1822    # removed, or if the path is relative.
     1823    INSTALL="$ac_install_sh"
     1824  fi
     1825fi
     1826echo "$ac_t""$INSTALL" 1>&6
     1827
     1828# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     1829# It thinks the first close brace ends the variable substitution.
     1830test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
     1831
     1832test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
     1833
     1834test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    16281835
    16291836
     
    17271934
    17281935ac_given_srcdir=$srcdir
     1936ac_given_INSTALL="$INSTALL"
    17291937
    17301938trap 'rm -fr `echo "Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
     
    17631971s%@CPP@%$CPP%g
    17641972s%@XSUBPPDIR@%$XSUBPPDIR%g
     1973s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
     1974s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
     1975s%@INSTALL_DATA@%$INSTALL_DATA%g
    17651976
    17661977CEOF
     
    18392050  esac
    18402051
     2052  case "$ac_given_INSTALL" in
     2053  [/$]*) INSTALL="$ac_given_INSTALL" ;;
     2054  *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
     2055  esac
    18412056
    18422057  echo creating "$ac_file"
     
    18542069s%@srcdir@%$srcdir%g
    18552070s%@top_srcdir@%$top_srcdir%g
     2071s%@INSTALL@%$INSTALL%g
    18562072" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
    18572073fi; done
  • zcrypt.c

    rac70242 r69894d2  
    2121#define LAST_CODE (BASE_CODE + 15)
    2222#define OUTPUT_BLOCK_SIZE 16
    23 
    24 #if defined(vax) || defined(ibm032)
    25 #define pid_t int
    26 int waitpid(pid_t pid, int *statloc, int options)
    27 {
    28   while (wait(statloc) != pid)
    29     ;
    30 }
    31 #define STDIN_FILENO 0
    32 #else
    3323#include <unistd.h>
    34 #endif
    3524#include <sys/types.h>
    3625#include <des.h>
Note: See TracChangeset for help on using the changeset viewer.