Initial push
[termux-packages] / packages / rlwrap / configure.patch
1 diff -u -r ../rlwrap-0.42/configure ./configure
2 --- ../rlwrap-0.42/configure 2014-11-14 05:16:59.000000000 -0500
3 +++ ./configure 2015-05-24 18:45:34.387435144 -0400
4 @@ -6610,41 +6610,9 @@
5 # but they wil fail unless /no is a procfs mountpoint ;-)
6
7 echo "Will rlwrap find command's working directory under ${opt_proc_mountpoint}/<commands pid>/cwd? let's see..."
8 -as_ac_File=`$as_echo "ac_cv_file_$opt_proc_mountpoint/$$/cwd/configure.ac" | $as_tr_sh`
9 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $opt_proc_mountpoint/$$/cwd/configure.ac" >&5
10 -$as_echo_n "checking for $opt_proc_mountpoint/$$/cwd/configure.ac... " >&6; }
11 -if eval \${$as_ac_File+:} false; then :
12 - $as_echo_n "(cached) " >&6
13 -else
14 - test "$cross_compiling" = yes &&
15 - as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
16 -if test -r "$opt_proc_mountpoint/$$/cwd/configure.ac"; then
17 - eval "$as_ac_File=yes"
18 -else
19 - eval "$as_ac_File=no"
20 -fi
21 -fi
22 -eval ac_res=\$$as_ac_File
23 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
24 -$as_echo "$ac_res" >&6; }
25 -if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
26 -
27 -cat >>confdefs.h <<_ACEOF
28 -#define `$as_echo "HAVE_$opt_proc_mountpoint/$$/cwd/configure.ac" | $as_tr_cpp` 1
29 -_ACEOF
30 -
31 -
32 -$as_echo "#define HAVE_PROC_PID_CWD 1 " >>confdefs.h
33 -
34 HAVE_PROC_PID_CWD=yes
35
36
37 -else
38 - HAVE_PROC_PID_CWD=no
39 -
40 -fi
41 -
42 -
43
44
45 cat >>confdefs.h <<_ACEOF