[packages] libconfig: update to 1.4.4
[openwrt/svn-archive/archive.git] / utils / at / patches / 120-no_pam.patch
1 diff -urN at-3.1.10ubuntu4/configure at-3.1.10ubuntu4.new/configure
2 --- at-3.1.10ubuntu4/configure 2006-06-28 04:21:49.000000000 +0200
3 +++ at-3.1.10ubuntu4.new/configure 2008-10-20 17:20:27.000000000 +0200
4 @@ -2687,50 +2687,8 @@
5 fi
6 done
7
8 -for ac_hdr in security/pam_appl.h
9 -do
10 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11 -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12 -echo "configure:2695: checking for $ac_hdr" >&5
13 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14 - echo $ac_n "(cached) $ac_c" 1>&6
15 -else
16 - cat > conftest.$ac_ext <<EOF
17 -#line 2700 "configure"
18 -#include "confdefs.h"
19 -#include <$ac_hdr>
20 -EOF
21 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22 -{ (eval echo configure:2705: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
23 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
24 -if test -z "$ac_err"; then
25 - rm -rf conftest*
26 - eval "ac_cv_header_$ac_safe=yes"
27 -else
28 - echo "$ac_err" >&5
29 - echo "configure: failed program was:" >&5
30 - cat conftest.$ac_ext >&5
31 - rm -rf conftest*
32 - eval "ac_cv_header_$ac_safe=no"
33 -fi
34 -rm -f conftest*
35 -fi
36 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
37 - echo "$ac_t""yes" 1>&6
38 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
39 - cat >> confdefs.h <<EOF
40 -#define $ac_tr_hdr 1
41 -EOF
42 - PAMLIB="-lpam"
43 - cat >> confdefs.h <<\EOF
44 -#define HAVE_PAM 1
45 -EOF
46 -
47 -else
48 - echo "$ac_t""no" 1>&6
49 -fi
50 -done
51 -
52 +# Disable PAM
53 +echo "$ac_t""no" 1>&6
54
55
56 # Extract the first word of "sendmail", so it can be a program name with args.