diff -Naur cipe-1.5.2/configure.in cipe-1.5.2-p/configure.in --- cipe-1.5.2/configure.in Tue May 1 23:23:38 2001 +++ cipe-1.5.2-p/configure.in Tue Nov 6 17:58:33 2001 @@ -13,8 +13,6 @@ dnl AC_PREREQ(2.13) AC_INIT(cipe/ciped.c) -AC_CONFIG_HEADER($BUILD/config.h:conf/config.h.in pkcipe/config.h) -dnl $BUILD is set below - this works for autoconf 2.13, somewhat undocumented AC_SUBST(VERSION) VERSION=1.5.2 AC_SUBST(PVERSION) @@ -351,6 +349,8 @@ else BUILD=$KVERS-$ARCH-$verl$crypt$name fi + +AC_CONFIG_HEADER($BUILD/config.h:conf/config.h.in pkcipe/config.h) AC_SUBST(BUILD_PKCIPE) set `echo $VERSION | tr . ' '` --- cipe-1.5.2/configure.in Wed Nov 7 16:00:26 2001 +++ cipe-1.5.2-p/configure.in Wed Nov 7 15:59:28 2001 @@ -136,23 +136,10 @@ fi fi -AC_MSG_CHECKING(for SMP) -smp=0 -case "$KVERS" in -2.[[01]].*) - AX_EGREP([^ *SMP *= *1], $KSRC/Makefile, smp=1) - ;; -*) - AC_EGREP_CPP(yes, [ - #include - #ifdef CONFIG_SMP - yes - #endif - ], smp=1) - ;; -esac +AC_ARG_ENABLE(smp, +[ --enable-smp Build CIPE for SMP architecture], +smp=1, smp=0) test "$smp" = 1 && AC_DEFINE(__SMP__) -AX_MSG_RESULT_YN($smp) AC_SUBST(KCC) CPPFLAGS="$oldcppflags" diff -Naur cipe-1.5.2/configure.in cipe-1.5.2-p/configure.in --- cipe-1.5.2/configure.in Thu Nov 22 15:55:03 2001 +++ cipe-1.5.2-p/configure.in Thu Nov 22 15:56:05 2001 @@ -65,28 +65,6 @@ fi AC_MSG_RESULT($KINC) -AC_MSG_CHECKING(for kernel compile parameters) -if test -z "$KSRC" -o ! -f "$KSRC/Makefile" ; then - AC_MSG_WARN(no Makefile - using default flags) -else - cp $KSRC/Makefile conftest.make - echo -e "conftest.CC:" >>conftest.make - echo -e "\t@echo \$(CC)" >>conftest.make - echo -e "conftest.CFLAGS:" >>conftest.make - echo -e "\t@echo \$(CFLAGS) \$(MODFLAGS)" >>conftest.make - here=`pwd` - NKCC=`cd $KSRC; make -f $here/conftest.make conftest.CC` - NKCFLAGS=`cd $KSRC; make -f $here/conftest.make conftest.CFLAGS` - dnl some sanity checking - echo "$NKCC $NKCFLAGS" | grep -qse '-I[[^ ]]*/include' || NKCC="" - if test -z "$NKCC" ; then - AC_MSG_WARN(not found - using default flags) - else - AC_MSG_RESULT($NKCC $NKCFLAGS) - fi - rm -f conftest.make -fi - dnl cancel -O arguments set by autoconf if ! test "$ac_test_CFLAGS" = set; then CFLAGS=`echo $CFLAGS | sed 's,-O[[0-9]]*,,g'` diff -durN cipe-1.5.2.orig/configure.in cipe-1.5.2/configure.in --- cipe-1.5.2.orig/configure.in Sat Jul 20 16:29:06 2002 +++ cipe-1.5.2/configure.in Sat Jul 20 16:29:28 2002 @@ -284,7 +284,7 @@ BUILD_PKCIPE="" fi SSLBIN=`dirname $SSLLIBS`/bin -AC_PATH_PROG(OPENSSL, openssl, no, "${SSLBIN}:${PATH}") +AC_PATH_PROG(OPENSSL, openssl, [/usr/bin/openssl], [${SSLBIN}:${PATH}]) test "$OPENSSL" = "no" && AC_MSG_ERROR(openssl binary not found) AC_MSG_CHECKING(OpenSSL version) set `$OPENSSL version`