]> git.pld-linux.org Git - packages/cipe.git/blob - cipe-autoconf.patch
- typo
[packages/cipe.git] / cipe-autoconf.patch
1 diff -Naur cipe-1.5.2/configure.in cipe-1.5.2-p/configure.in
2 --- cipe-1.5.2/configure.in     Tue May  1 23:23:38 2001
3 +++ cipe-1.5.2-p/configure.in   Tue Nov  6 17:58:33 2001
4 @@ -13,8 +13,6 @@
5  dnl
6  AC_PREREQ(2.13)
7  AC_INIT(cipe/ciped.c)
8 -AC_CONFIG_HEADER($BUILD/config.h:conf/config.h.in pkcipe/config.h)
9 -dnl $BUILD is set below - this works for autoconf 2.13, somewhat undocumented
10  AC_SUBST(VERSION)
11  VERSION=1.5.2
12  AC_SUBST(PVERSION)
13 @@ -351,6 +349,8 @@
14  else
15    BUILD=$KVERS-$ARCH-$verl$crypt$name
16  fi
17 +
18 +AC_CONFIG_HEADER($BUILD/config.h:conf/config.h.in pkcipe/config.h)
19  
20  AC_SUBST(BUILD_PKCIPE)
21  set `echo $VERSION | tr . ' '`
22 --- cipe-1.5.2/configure.in     Wed Nov  7 16:00:26 2001
23 +++ cipe-1.5.2-p/configure.in   Wed Nov  7 15:59:28 2001
24 @@ -136,23 +136,10 @@
25    fi
26  fi
27  
28 -AC_MSG_CHECKING(for SMP)
29 -smp=0
30 -case "$KVERS" in
31 -2.[[01]].*)
32 -  AX_EGREP([^ *SMP *= *1], $KSRC/Makefile, smp=1)
33 -  ;;
34 -*)
35 -  AC_EGREP_CPP(yes, [
36 -       #include <linux/autoconf.h>
37 -       #ifdef CONFIG_SMP
38 -        yes
39 -       #endif
40 -  ], smp=1)
41 -  ;;
42 -esac
43 +AC_ARG_ENABLE(smp,
44 +[  --enable-smp            Build CIPE for SMP architecture],
45 +smp=1, smp=0)
46  test "$smp" = 1 && AC_DEFINE(__SMP__)
47 -AX_MSG_RESULT_YN($smp)
48  
49  AC_SUBST(KCC)
50  CPPFLAGS="$oldcppflags"
This page took 0.070832 seconds and 3 git commands to generate.