glibc: use optimized target cflags/cxxflags
[openadk.git] / package / tmsnc / patches / patch-config_status
blob42973cc7084be97b2729438af48cf527c42e76df
1 $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
2 --- tmsnc-0.3.2.orig/config.status      2006-10-17 13:14:22.000000000 +0200
3 +++ tmsnc-0.3.2/config.status   2012-07-26 13:54:39.000000000 +0200
4 @@ -1,4 +1,4 @@
5 -#! /bin/sh
6 +#! /bin/bash
7  # Generated by configure.
8  # Run this file to recreate the current configuration.
9  # Compiler output produced by configure, useful for debugging
10 @@ -7,7 +7,7 @@
11  debug=false
12  ac_cs_recheck=false
13  ac_cs_silent=false
14 -SHELL=${CONFIG_SHELL-/bin/sh}
15 +SHELL=${CONFIG_SHELL-/bin/bash}
16  ## --------------------- ##
17  ## M4sh Initialization.  ##
18  ## --------------------- ##
19 @@ -321,16 +321,16 @@ Report bugs to <bug-autoconf@gnu.org>."
21  ac_cs_version="\
22  config.status
23 -configured by ./configure, generated by GNU Autoconf 2.60a,
24 -  with options \"\"
25 +configured by /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/configure, generated by GNU Autoconf 2.60a,
26 +  with options \"'--build=i686-apple-darwin10' '--host=mipsel-openadk-linux' '--target=mipsel-openadk-linux' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--bindir=/usr/bin' '--datadir=/usr/share' '--mandir=/usr/share/man' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sysconfdir=/etc' '--enable-shared' '--enable-static' '--disable-dependency-tracking' '--disable-libtool-lock' '--disable-nls' '--with-libiconv-prefix=/Volumes/adk/openadk/target_mipsel_uclibc/usr' '--with-openssl=/Volumes/adk/openadk/target_mipsel_uclibc/usr' '--with-ncurses=/Volumes/adk/openadk/target_mipsel_uclibc' 'build_alias=i686-apple-darwin10' 'host_alias=mipsel-openadk-linux' 'target_alias=mipsel-openadk-linux' 'CC=/Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc' 'CFLAGS=-fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe' 'LDFLAGS=-L/Volumes/adk/openadk/target_mipsel_uclibc/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib' 'CPPFLAGS=-DNDEBUG'\"
28  Copyright (C) 2006 Free Software Foundation, Inc.
29  This config.status script is free software; the Free Software Foundation
30  gives unlimited permission to copy, distribute and modify it."
32 -ac_pwd='/home/jonas/tmsnc'
33 +ac_pwd='/Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2'
34  srcdir='.'
35 -INSTALL='/usr/bin/install -c'
36 +INSTALL='/Volumes/adk/openadk/scripts/install -c'
37  # If no file are specified by the user, then we need to provide default
38  # value.  By we need to know if files were specified by the user.
39  ac_need_defaults=:
40 @@ -396,10 +396,10 @@ if $ac_cs_silent; then
41  fi
43  if $ac_cs_recheck; then
44 -  echo "running CONFIG_SHELL=/bin/sh /bin/sh ./configure " $ac_configure_extra_args " --no-create --no-recursion" >&6
45 -  CONFIG_SHELL=/bin/sh
46 +  echo "running CONFIG_SHELL=/bin/bash /bin/bash /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/configure " '--build=i686-apple-darwin10' '--host=mipsel-openadk-linux' '--target=mipsel-openadk-linux' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--bindir=/usr/bin' '--datadir=/usr/share' '--mandir=/usr/share/man' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sysconfdir=/etc' '--enable-shared' '--enable-static' '--disable-dependency-tracking' '--disable-libtool-lock' '--disable-nls' '--with-libiconv-prefix=/Volumes/adk/openadk/target_mipsel_uclibc/usr' '--with-openssl=/Volumes/adk/openadk/target_mipsel_uclibc/usr' '--with-ncurses=/Volumes/adk/openadk/target_mipsel_uclibc' 'build_alias=i686-apple-darwin10' 'host_alias=mipsel-openadk-linux' 'target_alias=mipsel-openadk-linux' 'CC=/Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc' 'CFLAGS=-fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe' 'LDFLAGS=-L/Volumes/adk/openadk/target_mipsel_uclibc/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib' 'CPPFLAGS=-DNDEBUG' $ac_configure_extra_args " --no-create --no-recursion" >&6
47 +  CONFIG_SHELL=/bin/bash
48    export CONFIG_SHELL
49 -  exec /bin/sh "./configure" $ac_configure_extra_args --no-create --no-recursion
50 +  exec /bin/bash "/Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/configure" '--build=i686-apple-darwin10' '--host=mipsel-openadk-linux' '--target=mipsel-openadk-linux' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--bindir=/usr/bin' '--datadir=/usr/share' '--mandir=/usr/share/man' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sysconfdir=/etc' '--enable-shared' '--enable-static' '--disable-dependency-tracking' '--disable-libtool-lock' '--disable-nls' '--with-libiconv-prefix=/Volumes/adk/openadk/target_mipsel_uclibc/usr' '--with-openssl=/Volumes/adk/openadk/target_mipsel_uclibc/usr' '--with-ncurses=/Volumes/adk/openadk/target_mipsel_uclibc' 'build_alias=i686-apple-darwin10' 'host_alias=mipsel-openadk-linux' 'target_alias=mipsel-openadk-linux' 'CC=/Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc' 'CFLAGS=-fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe' 'LDFLAGS=-L/Volumes/adk/openadk/target_mipsel_uclibc/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib' 'CPPFLAGS=-DNDEBUG' $ac_configure_extra_args --no-create --no-recursion
51  fi
53  exec 5>>config.log
54 @@ -414,7 +414,7 @@ _ASBOX
55  #
56  # INIT-COMMANDS
57  #
58 -AMDEP_TRUE="" ac_aux_dir="."
59 +AMDEP_TRUE="#" ac_aux_dir="."
62  # Handling of arguments.
63 @@ -484,7 +484,7 @@ if test -n "$CONFIG_FILES"; then
65  cat >"$tmp/subs-1.sed" <<\CEOF
66  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
67 -s,@SHELL@,|#_!!_#|/bin/sh,g
68 +s,@SHELL@,|#_!!_#|/bin/bash,g
69  s,@PATH_SEPARATOR@,|#_!!_#|:,g
70  s,@PACKAGE_NAME@,|#_!!_#|,g
71  s,@PACKAGE_TARNAME@,|#_!!_#|,g
72 @@ -492,16 +492,16 @@ s,@PACKAGE_VERSION@,|#_!!_#|,g
73  s,@PACKAGE_STRING@,|#_!!_#|,g
74  s,@PACKAGE_BUGREPORT@,|#_!!_#|,g
75  s,@exec_prefix@,|#_!!_#|${prefix},g
76 -s,@prefix@,|#_!!_#|/usr/local,g
77 -s,@program_transform_name@,|#_!!_#|s\,x\,x\,,g
78 -s,@bindir@,|#_!!_#|${exec_prefix}/bin,g
79 +s,@prefix@,|#_!!_#|/usr,g
80 +s,@program_transform_name@,|#_!!_#|s\&$$\&\&;s\&^\&\&,g
81 +s,@bindir@,|#_!!_#|/usr/bin,g
82  s,@sbindir@,|#_!!_#|${exec_prefix}/sbin,g
83 -s,@libexecdir@,|#_!!_#|${exec_prefix}/libexec,g
84 +s,@libexecdir@,|#_!!_#|/usr/libexec,g
85  s,@datarootdir@,|#_!!_#|${prefix}/share,g
86 -s,@datadir@,|#_!!_#|${datarootdir},g
87 -s,@sysconfdir@,|#_!!_#|${prefix}/etc,g
88 +s,@datadir@,|#_!!_#|/usr/share,g
89 +s,@sysconfdir@,|#_!!_#|/etc,g
90  s,@sharedstatedir@,|#_!!_#|${prefix}/com,g
91 -s,@localstatedir@,|#_!!_#|${prefix}/var,g
92 +s,@localstatedir@,|#_!!_#|/var,g
93  s,@includedir@,|#_!!_#|${prefix}/include,g
94  s,@oldincludedir@,|#_!!_#|/usr/include,g
95  s,@docdir@,|#_!!_#|${datarootdir}/doc/${PACKAGE},g
96 @@ -512,15 +512,15 @@ s,@pdfdir@,|#_!!_#|${docdir},g
97  s,@psdir@,|#_!!_#|${docdir},g
98  s,@libdir@,|#_!!_#|${exec_prefix}/lib,g
99  s,@localedir@,|#_!!_#|${datarootdir}/locale,g
100 -s,@mandir@,|#_!!_#|${datarootdir}/man,g
101 +s,@mandir@,|#_!!_#|/usr/share/man,g
102  s,@DEFS@,|#_!!_#|-DHAVE_CONFIG_H,g
103  s,@ECHO_C@,|#_!!_#|,g
104  s,@ECHO_N@,|#_!!_#|-n,g
105  s,@ECHO_T@,|#_!!_#|,g
106  s,@LIBS@,|#_!!_#|,g
107 -s,@build_alias@,|#_!!_#|,g
108 -s,@host_alias@,|#_!!_#|,g
109 -s,@target_alias@,|#_!!_#|,g
110 +s,@build_alias@,|#_!!_#|i686-apple-darwin10,g
111 +s,@host_alias@,|#_!!_#|mipsel-openadk-linux,g
112 +s,@target_alias@,|#_!!_#|mipsel-openadk-linux,g
113  s,@tmsnc_VERSION@,|#_!!_#|0.3.2,g
114  s,@INSTALL_PROGRAM@,|#_!!_#|${INSTALL},g
115  s,@INSTALL_SCRIPT@,|#_!!_#|${INSTALL},g
116 @@ -528,56 +528,56 @@ s,@INSTALL_DATA@,|#_!!_#|${INSTALL} -m 6
117  s,@CYGPATH_W@,|#_!!_#|echo,g
118  s,@PACKAGE@,|#_!!_#|tmsnc,g
119  s,@VERSION@,|#_!!_#|0.3.2,g
120 -s,@ACLOCAL@,|#_!!_#|${SHELL} /home/jonas/tmsnc/missing --run aclocal-1.9,g
121 -s,@AUTOCONF@,|#_!!_#|${SHELL} /home/jonas/tmsnc/missing --run autoconf,g
122 -s,@AUTOMAKE@,|#_!!_#|${SHELL} /home/jonas/tmsnc/missing --run automake-1.9,g
123 -s,@AUTOHEADER@,|#_!!_#|${SHELL} /home/jonas/tmsnc/missing --run autoheader,g
124 -s,@MAKEINFO@,|#_!!_#|${SHELL} /home/jonas/tmsnc/missing --run makeinfo,g
125 -s,@install_sh@,|#_!!_#|/home/jonas/tmsnc/install-sh,g
126 -s,@STRIP@,|#_!!_#|,g
127 +s,@ACLOCAL@,|#_!!_#|${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run aclocal-1.9,g
128 +s,@AUTOCONF@,|#_!!_#|${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run autoconf,g
129 +s,@AUTOMAKE@,|#_!!_#|${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run automake-1.9,g
130 +s,@AUTOHEADER@,|#_!!_#|${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run autoheader,g
131 +s,@MAKEINFO@,|#_!!_#|${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run makeinfo,g
132 +s,@install_sh@,|#_!!_#|/Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/install-sh,g
133 +s,@STRIP@,|#_!!_#|/Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-strip,g
134  s,@INSTALL_STRIP_PROGRAM@,|#_!!_#|${SHELL} $(install_sh) -c -s,g
135 -s,@mkdir_p@,|#_!!_#|mkdir -p --,g
136 -s,@AWK@,|#_!!_#|mawk,g
137 +s,@mkdir_p@,|#_!!_#|$(mkinstalldirs),g
138 +s,@AWK@,|#_!!_#|gawk,g
139  s,@SET_MAKE@,|#_!!_#|,g
140  s,@am__leading_dot@,|#_!!_#|.,g
141 -s,@AMTAR@,|#_!!_#|${SHELL} /home/jonas/tmsnc/missing --run tar,g
142 +s,@AMTAR@,|#_!!_#|${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run tar,g
143  s,@am__tar@,|#_!!_#|${AMTAR} chof - "$$tardir",g
144  s,@am__untar@,|#_!!_#|${AMTAR} xf -,g
145 -s,@CC@,|#_!!_#|gcc,g
146 -s,@CFLAGS@,|#_!!_#|-g -O2,g
147 -s,@LDFLAGS@,|#_!!_#|,g
148 -s,@CPPFLAGS@,|#_!!_#|,g
149 -s,@ac_ct_CC@,|#_!!_#|gcc,g
150 +s,@CC@,|#_!!_#|/Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc,g
151 +s,@CFLAGS@,|#_!!_#|-fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe,g
152 +s,@LDFLAGS@,|#_!!_#|-L/Volumes/adk/openadk/target_mipsel_uclibc/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -Wl\,-O2 -Wl\,-rpath -Wl\,/usr/lib -Wl\,-rpath-link -Wl\,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib,g
153 +s,@CPPFLAGS@,|#_!!_#|-DNDEBUG -I/Volumes/adk/openadk/target_mipsel_uclibc/usr/include,g
154 +s,@ac_ct_CC@,|#_!!_#|,g
155  s,@EXEEXT@,|#_!!_#|,g
156  s,@OBJEXT@,|#_!!_#|o,g
157  s,@DEPDIR@,|#_!!_#|.deps,g
158  s,@am__include@,|#_!!_#|include,g
159  s,@am__quote@,|#_!!_#|,g
160 -s,@AMDEP_TRUE@,|#_!!_#|,g
161 -s,@AMDEP_FALSE@,|#_!!_#|#,g
162 -s,@AMDEPBACKSLASH@,|#_!!_#|\\,g
163 -s,@CCDEPMODE@,|#_!!_#|depmode=gcc3,g
164 -s,@am__fastdepCC_TRUE@,|#_!!_#|,g
165 -s,@am__fastdepCC_FALSE@,|#_!!_#|#,g
166 -s,@CPP@,|#_!!_#|gcc -E,g
167 -s,@GREP@,|#_!!_#|/bin/grep,g
168 -s,@EGREP@,|#_!!_#|/bin/grep -E,g
169 -s,@CURSES_LIBS@,|#_!!_#|-lncurses -lpanel -lform,g
170 -s,@CURSES_INCLUDEDIR@,|#_!!_#|,g
171 -s,@build@,|#_!!_#|i686-pc-linux-gnu,g
172 +s,@AMDEP_TRUE@,|#_!!_#|#,g
173 +s,@AMDEP_FALSE@,|#_!!_#|,g
174 +s,@AMDEPBACKSLASH@,|#_!!_#|,g
175 +s,@CCDEPMODE@,|#_!!_#|depmode=none,g
176 +s,@am__fastdepCC_TRUE@,|#_!!_#|#,g
177 +s,@am__fastdepCC_FALSE@,|#_!!_#|,g
178 +s,@CPP@,|#_!!_#|/Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -E,g
179 +s,@GREP@,|#_!!_#|/usr/bin/grep,g
180 +s,@EGREP@,|#_!!_#|/usr/bin/grep -E,g
181 +s,@CURSES_LIBS@,|#_!!_#| -L/Volumes/adk/openadk/target_mipsel_uclibc/lib -lncurses -lpanel -lform,g
182 +s,@CURSES_INCLUDEDIR@,|#_!!_#|-I/Volumes/adk/openadk/target_mipsel_uclibc/include,g
183 +s,@build@,|#_!!_#|i686-apple-darwin10,g
184  s,@build_cpu@,|#_!!_#|i686,g
185 -s,@build_vendor@,|#_!!_#|pc,g
186 -s,@build_os@,|#_!!_#|linux-gnu,g
187 -s,@host@,|#_!!_#|i686-pc-linux-gnu,g
188 -s,@host_cpu@,|#_!!_#|i686,g
189 -s,@host_vendor@,|#_!!_#|pc,g
190 +s,@build_vendor@,|#_!!_#|apple,g
191 +s,@build_os@,|#_!!_#|darwin10,g
192 +s,@host@,|#_!!_#|mipsel-openadk-linux-gnu,g
193 +s,@host_cpu@,|#_!!_#|mipsel,g
194 +s,@host_vendor@,|#_!!_#|openadk,g
195  s,@host_os@,|#_!!_#|linux-gnu,g
196 -s,@LIBICONV@,|#_!!_#|,g
197 -s,@LTLIBICONV@,|#_!!_#|,g
198 +s,@LIBICONV@,|#_!!_#|/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib/libiconv.so -Wl\,-rpath -Wl\,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib,g
199 +s,@LTLIBICONV@,|#_!!_#|-L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -liconv -R/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib,g
200  s,@OPENSSL_TRUE@,|#_!!_#|,g
201  s,@OPENSSL_FALSE@,|#_!!_#|#,g
202 -s,@SSLINC@,|#_!!_#|,g
203 -s,@SSLLIB@,|#_!!_#|-lssl -lcrypto,g
204 +s,@SSLINC@,|#_!!_#|-I/Volumes/adk/openadk/target_mipsel_uclibc/usr/include,g
205 +s,@SSLLIB@,|#_!!_#|-L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -lssl -lcrypto,g
206  s,@TALKFILTERS_TRUE@,|#_!!_#|#,g
207  s,@TALKFILTERS_FALSE@,|#_!!_#|,g
208  s,@TFLIB@,|#_!!_#|,g
209 @@ -781,11 +781,11 @@ case `sed -n '/datarootdir/ {
210    { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
211  echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
212    ac_datarootdir_hack='
213 -  s&@datadir@&${datarootdir}&g
214 +  s&@datadir@&/usr/share&g
215    s&@docdir@&${datarootdir}/doc/${PACKAGE}&g
216    s&@infodir@&${datarootdir}/info&g
217    s&@localedir@&${datarootdir}/locale&g
218 -  s&@mandir@&${datarootdir}/man&g
219 +  s&@mandir@&/usr/share/man&g
220      s&\${datarootdir}&${prefix}/share&g' ;;
221  esac
222    sed "/^[      ]*VPATH[        ]*=/{
223 @@ -855,8 +855,8 @@ s,^\([       #]*\)[^         ]*\([   ]*HAVE_INTTYPES_
224  s,^\([  #]*\)[^         ]*\([   ]*HAVE_STDINT_H\)[      (].*,\1define\2 1 ,
225  s,^\([  #]*\)[^         ]*\([   ]*HAVE_UNISTD_H\)[      (].*,\1define\2 1 ,
226  s,^\([  #]*\)[^         ]*\([   ]*TIME_WITH_SYS_TIME\)[         (].*,\1define\2 1 ,
227 -s,^\([  #]*\)[^         ]*\([   ]*HAS_CURSES\)[         (].*,\1define\2 1 ,
228  s,^\([  #]*\)[^         ]*\([   ]*USE_NCURSES\)[        (].*,\1define\2 1 ,
229 +s,^\([  #]*\)[^         ]*\([   ]*HAS_CURSES\)[         (].*,\1define\2 1 ,
230  s,^\([  #]*\)[^         ]*\([   ]*HAVE_USE_DEFAULT_COLORS\)[    (].*,\1define\2 1 ,
231  s,^\([  #]*\)[^         ]*\([   ]*HAVE_RESIZETERM\)[    (].*,\1define\2 1 ,
232  s,^\([  #]*\)[^         ]*\([   ]*HAVE_RESIZE_TERM\)[   (].*,\1define\2 1 ,