Source code upload
[framework/connectivity/libgphoto2.git] / libgphoto2_port / config.status
1 #! /bin/sh
2 # Generated by configure.
3 # Run this file to recreate the current configuration.
4 # Compiler output produced by configure, useful for debugging
5 # configure, is in config.log if it exists.
6
7 debug=false
8 ac_cs_recheck=false
9 ac_cs_silent=false
10
11 SHELL=${CONFIG_SHELL-/bin/sh}
12 export SHELL
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20   emulate sh
21   NULLCMD=:
22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23   # is contrary to our usage.  Disable this feature.
24   alias -g '${1+"$@"}'='"$@"'
25   setopt NO_GLOB_SUBST
26 else
27   case `(set -o) 2>/dev/null` in #(
28   *posix*) :
29     set -o posix ;; #(
30   *) :
31      ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47   as_echo='print -r --'
48   as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50   as_echo='printf %s\n'
51   as_echo_n='printf %s'
52 else
53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55     as_echo_n='/usr/ucb/echo -n'
56   else
57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58     as_echo_n_body='eval
59       arg=$1;
60       case $arg in #(
61       *"$as_nl"*)
62         expr "X$arg" : "X\\(.*\\)$as_nl";
63         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64       esac;
65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66     '
67     export as_echo_n_body
68     as_echo_n='sh -c $as_echo_n_body as_echo'
69   fi
70   export as_echo_body
71   as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76   PATH_SEPARATOR=:
77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79       PATH_SEPARATOR=';'
80   }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order.  Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" ""        $as_nl"
90
91 # Find who we are.  Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94   *[\\/]* ) as_myself=$0 ;;
95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98   IFS=$as_save_IFS
99   test -z "$as_dir" && as_dir=.
100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101   done
102 IFS=$as_save_IFS
103
104      ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109   as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113   exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there.  '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137
138 # as_fn_error STATUS ERROR [LINENO LOG_FD]
139 # ----------------------------------------
140 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
141 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
142 # script with STATUS, using 1 if that was 0.
143 as_fn_error ()
144 {
145   as_status=$1; test $as_status -eq 0 && as_status=1
146   if test "$4"; then
147     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
148     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
149   fi
150   $as_echo "$as_me: error: $2" >&2
151   as_fn_exit $as_status
152 } # as_fn_error
153
154
155 # as_fn_set_status STATUS
156 # -----------------------
157 # Set $? to STATUS, without forking.
158 as_fn_set_status ()
159 {
160   return $1
161 } # as_fn_set_status
162
163 # as_fn_exit STATUS
164 # -----------------
165 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
166 as_fn_exit ()
167 {
168   set +e
169   as_fn_set_status $1
170   exit $1
171 } # as_fn_exit
172
173 # as_fn_unset VAR
174 # ---------------
175 # Portably unset VAR.
176 as_fn_unset ()
177 {
178   { eval $1=; unset $1;}
179 }
180 as_unset=as_fn_unset
181 # as_fn_append VAR VALUE
182 # ----------------------
183 # Append the text in VALUE to the end of the definition contained in VAR. Take
184 # advantage of any shell optimizations that allow amortized linear growth over
185 # repeated appends, instead of the typical quadratic growth present in naive
186 # implementations.
187 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
188   eval 'as_fn_append ()
189   {
190     eval $1+=\$2
191   }'
192 else
193   as_fn_append ()
194   {
195     eval $1=\$$1\$2
196   }
197 fi # as_fn_append
198
199 # as_fn_arith ARG...
200 # ------------------
201 # Perform arithmetic evaluation on the ARGs, and store the result in the
202 # global $as_val. Take advantage of shells that can avoid forks. The arguments
203 # must be portable across $(()) and expr.
204 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
205   eval 'as_fn_arith ()
206   {
207     as_val=$(( $* ))
208   }'
209 else
210   as_fn_arith ()
211   {
212     as_val=`expr "$@" || test $? -eq 1`
213   }
214 fi # as_fn_arith
215
216
217 if expr a : '\(a\)' >/dev/null 2>&1 &&
218    test "X`expr 00001 : '.*\(...\)'`" = X001; then
219   as_expr=expr
220 else
221   as_expr=false
222 fi
223
224 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
225   as_basename=basename
226 else
227   as_basename=false
228 fi
229
230 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
231   as_dirname=dirname
232 else
233   as_dirname=false
234 fi
235
236 as_me=`$as_basename -- "$0" ||
237 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
238          X"$0" : 'X\(//\)$' \| \
239          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
240 $as_echo X/"$0" |
241     sed '/^.*\/\([^/][^/]*\)\/*$/{
242             s//\1/
243             q
244           }
245           /^X\/\(\/\/\)$/{
246             s//\1/
247             q
248           }
249           /^X\/\(\/\).*/{
250             s//\1/
251             q
252           }
253           s/.*/./; q'`
254
255 # Avoid depending upon Character Ranges.
256 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
257 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
258 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
259 as_cr_digits='0123456789'
260 as_cr_alnum=$as_cr_Letters$as_cr_digits
261
262 ECHO_C= ECHO_N= ECHO_T=
263 case `echo -n x` in #(((((
264 -n*)
265   case `echo 'xy\c'` in
266   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
267   xy)  ECHO_C='\c';;
268   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
269        ECHO_T=' ';;
270   esac;;
271 *)
272   ECHO_N='-n';;
273 esac
274
275 rm -f conf$$ conf$$.exe conf$$.file
276 if test -d conf$$.dir; then
277   rm -f conf$$.dir/conf$$.file
278 else
279   rm -f conf$$.dir
280   mkdir conf$$.dir 2>/dev/null
281 fi
282 if (echo >conf$$.file) 2>/dev/null; then
283   if ln -s conf$$.file conf$$ 2>/dev/null; then
284     as_ln_s='ln -s'
285     # ... but there are two gotchas:
286     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
287     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
288     # In both cases, we have to default to `cp -p'.
289     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
290       as_ln_s='cp -p'
291   elif ln conf$$.file conf$$ 2>/dev/null; then
292     as_ln_s=ln
293   else
294     as_ln_s='cp -p'
295   fi
296 else
297   as_ln_s='cp -p'
298 fi
299 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
300 rmdir conf$$.dir 2>/dev/null
301
302
303 # as_fn_mkdir_p
304 # -------------
305 # Create "$as_dir" as a directory, including parents if necessary.
306 as_fn_mkdir_p ()
307 {
308
309   case $as_dir in #(
310   -*) as_dir=./$as_dir;;
311   esac
312   test -d "$as_dir" || eval $as_mkdir_p || {
313     as_dirs=
314     while :; do
315       case $as_dir in #(
316       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
317       *) as_qdir=$as_dir;;
318       esac
319       as_dirs="'$as_qdir' $as_dirs"
320       as_dir=`$as_dirname -- "$as_dir" ||
321 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
322          X"$as_dir" : 'X\(//\)[^/]' \| \
323          X"$as_dir" : 'X\(//\)$' \| \
324          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
325 $as_echo X"$as_dir" |
326     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
327             s//\1/
328             q
329           }
330           /^X\(\/\/\)[^/].*/{
331             s//\1/
332             q
333           }
334           /^X\(\/\/\)$/{
335             s//\1/
336             q
337           }
338           /^X\(\/\).*/{
339             s//\1/
340             q
341           }
342           s/.*/./; q'`
343       test -d "$as_dir" && break
344     done
345     test -z "$as_dirs" || eval "mkdir $as_dirs"
346   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
347
348
349 } # as_fn_mkdir_p
350 if mkdir -p . 2>/dev/null; then
351   as_mkdir_p='mkdir -p "$as_dir"'
352 else
353   test -d ./-p && rmdir ./-p
354   as_mkdir_p=false
355 fi
356
357 if test -x / >/dev/null 2>&1; then
358   as_test_x='test -x'
359 else
360   if ls -dL / >/dev/null 2>&1; then
361     as_ls_L_option=L
362   else
363     as_ls_L_option=
364   fi
365   as_test_x='
366     eval sh -c '\''
367       if test -d "$1"; then
368         test -d "$1/.";
369       else
370         case $1 in #(
371         -*)set "./$1";;
372         esac;
373         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
374         ???[sx]*):;;*)false;;esac;fi
375     '\'' sh
376   '
377 fi
378 as_executable_p=$as_test_x
379
380 # Sed expression to map a string onto a valid CPP name.
381 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
382
383 # Sed expression to map a string onto a valid variable name.
384 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
385
386
387 exec 6>&1
388 ## ----------------------------------- ##
389 ## Main body of $CONFIG_STATUS script. ##
390 ## ----------------------------------- ##
391 # Save the log message, to keep $0 and so on meaningful, and to
392 # report actual input values of CONFIG_FILES etc. instead of their
393 # values after options handling.
394 ac_log="
395 This file was extended by libgphoto2 port access library $as_me 0.8.0, which was
396 generated by GNU Autoconf 2.68.  Invocation command line was
397
398   CONFIG_FILES    = $CONFIG_FILES
399   CONFIG_HEADERS  = $CONFIG_HEADERS
400   CONFIG_LINKS    = $CONFIG_LINKS
401   CONFIG_COMMANDS = $CONFIG_COMMANDS
402   $ $0 $@
403
404 on `(hostname || uname -n) 2>/dev/null | sed 1q`
405 "
406
407 # Files that config.status was made for.
408 config_files=" Makefile po/Makefile.in libgphoto2_port/Makefile libgphoto2_port.pc libgphoto2_port-uninstalled.pc serial/Makefile usb/Makefile usbdiskdirect/Makefile usbscsi/Makefile disk/Makefile ptpip/Makefile gphoto2-port-config test/Makefile doc/Makefile m4/Makefile"
409 config_headers=" config.h"
410 config_commands=" depfiles libtool default-1 default-2"
411
412 ac_cs_usage="\
413 \`$as_me' instantiates files and other configuration actions
414 from templates according to the current configuration.  Unless the files
415 and actions are specified as TAGs, all are instantiated by default.
416
417 Usage: $0 [OPTION]... [TAG]...
418
419   -h, --help       print this help, then exit
420   -V, --version    print version number and configuration settings, then exit
421       --config     print configuration, then exit
422   -q, --quiet, --silent
423                    do not print progress messages
424   -d, --debug      don't remove temporary files
425       --recheck    update $as_me by reconfiguring in the same conditions
426       --file=FILE[:TEMPLATE]
427                    instantiate the configuration file FILE
428       --header=FILE[:TEMPLATE]
429                    instantiate the configuration header FILE
430
431 Configuration files:
432 $config_files
433
434 Configuration headers:
435 $config_headers
436
437 Configuration commands:
438 $config_commands
439
440 Report bugs to <gphoto-devel@lists.sourceforge.net>."
441
442 ac_cs_config="'--disable-option-checking' '--prefix=/usr' '--build=armv7l-unknown-linux-gnueabi' '--host=armv7l-unknown-linux-gnueabi' '--target=armv7l-tizen-linux-gnueabi' '--program-prefix=' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--disable-static' 'build_alias=armv7l-unknown-linux-gnueabi' 'host_alias=armv7l-unknown-linux-gnueabi' 'target_alias=armv7l-tizen-linux-gnueabi' 'CFLAGS=-Wall -O2 -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security  -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=vfpv3 -mfloat-abi=softfp -D__SOFTFP__ -fPIC' 'LDFLAGS= -Wl,--hash-style=both -Wl,--as-needed -Wl,--rpath=/usr/lib' 'CXXFLAGS=-Wall -O2 -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security  -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=vfpv3 -mfloat-abi=softfp -D__SOFTFP__' 'PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/share/pkgconfig' '--cache-file=/dev/null' '--srcdir=.' 'PKG_CONFIG=/usr/bin/pkg-config'"
443 ac_cs_version="\
444 libgphoto2 port access library config.status 0.8.0
445 configured by ./configure, generated by GNU Autoconf 2.68,
446   with options \"$ac_cs_config\"
447
448 Copyright (C) 2010 Free Software Foundation, Inc.
449 This config.status script is free software; the Free Software Foundation
450 gives unlimited permission to copy, distribute and modify it."
451
452 ac_pwd='/home/abuild/rpmbuild/BUILD/libgphoto2-2.4.11/libgphoto2_port'
453 srcdir='.'
454 INSTALL='/usr/bin/install -c'
455 MKDIR_P='/bin/mkdir -p'
456 AWK='gawk'
457 test -n "$AWK" || AWK=awk
458 # The default lists apply if the user does not specify any file.
459 ac_need_defaults=:
460 while test $# != 0
461 do
462   case $1 in
463   --*=?*)
464     ac_option=`expr "X$1" : 'X\([^=]*\)='`
465     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
466     ac_shift=:
467     ;;
468   --*=)
469     ac_option=`expr "X$1" : 'X\([^=]*\)='`
470     ac_optarg=
471     ac_shift=:
472     ;;
473   *)
474     ac_option=$1
475     ac_optarg=$2
476     ac_shift=shift
477     ;;
478   esac
479
480   case $ac_option in
481   # Handling of the options.
482   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
483     ac_cs_recheck=: ;;
484   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
485     $as_echo "$ac_cs_version"; exit ;;
486   --config | --confi | --conf | --con | --co | --c )
487     $as_echo "$ac_cs_config"; exit ;;
488   --debug | --debu | --deb | --de | --d | -d )
489     debug=: ;;
490   --file | --fil | --fi | --f )
491     $ac_shift
492     case $ac_optarg in
493     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
494     '') as_fn_error $? "missing file argument" ;;
495     esac
496     as_fn_append CONFIG_FILES " '$ac_optarg'"
497     ac_need_defaults=false;;
498   --header | --heade | --head | --hea )
499     $ac_shift
500     case $ac_optarg in
501     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
502     esac
503     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
504     ac_need_defaults=false;;
505   --he | --h)
506     # Conflict between --help and --header
507     as_fn_error $? "ambiguous option: \`$1'
508 Try \`$0 --help' for more information.";;
509   --help | --hel | -h )
510     $as_echo "$ac_cs_usage"; exit ;;
511   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
512   | -silent | --silent | --silen | --sile | --sil | --si | --s)
513     ac_cs_silent=: ;;
514
515   # This is an error.
516   -*) as_fn_error $? "unrecognized option: \`$1'
517 Try \`$0 --help' for more information." ;;
518
519   *) as_fn_append ac_config_targets " $1"
520      ac_need_defaults=false ;;
521
522   esac
523   shift
524 done
525
526 ac_configure_extra_args=
527
528 if $ac_cs_silent; then
529   exec 6>/dev/null
530   ac_configure_extra_args="$ac_configure_extra_args --silent"
531 fi
532
533 if $ac_cs_recheck; then
534   set X '/bin/sh' './configure'  '--disable-option-checking' '--prefix=/usr' '--build=armv7l-unknown-linux-gnueabi' '--host=armv7l-unknown-linux-gnueabi' '--target=armv7l-tizen-linux-gnueabi' '--program-prefix=' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--disable-static' 'build_alias=armv7l-unknown-linux-gnueabi' 'host_alias=armv7l-unknown-linux-gnueabi' 'target_alias=armv7l-tizen-linux-gnueabi' 'CFLAGS=-Wall -O2 -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security  -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=vfpv3 -mfloat-abi=softfp -D__SOFTFP__ -fPIC' 'LDFLAGS= -Wl,--hash-style=both -Wl,--as-needed -Wl,--rpath=/usr/lib' 'CXXFLAGS=-Wall -O2 -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security  -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=vfpv3 -mfloat-abi=softfp -D__SOFTFP__' 'PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/share/pkgconfig' '--cache-file=/dev/null' '--srcdir=.' 'PKG_CONFIG=/usr/bin/pkg-config' $ac_configure_extra_args --no-create --no-recursion
535   shift
536   $as_echo "running CONFIG_SHELL=/bin/sh $*" >&6
537   CONFIG_SHELL='/bin/sh'
538   export CONFIG_SHELL
539   exec "$@"
540 fi
541
542 exec 5>>config.log
543 {
544   echo
545   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
546 ## Running $as_me. ##
547 _ASBOX
548   $as_echo "$ac_log"
549 } >&5
550
551 #
552 # INIT-COMMANDS
553 #
554 AMDEP_TRUE="" ac_aux_dir="auto-aux"
555
556
557 # The HP-UX ksh and POSIX shell print the target directory to stdout
558 # if CDPATH is set.
559 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
560
561 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
562 double_quote_subst='s/\(["`\\]\)/\\\1/g'
563 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
564 enable_static='no'
565 AS='as'
566 DLLTOOL='dlltool'
567 OBJDUMP='objdump'
568 macro_version='2.2.6b'
569 macro_revision='1.3017'
570 enable_shared='yes'
571 pic_mode='default'
572 enable_fast_install='yes'
573 host_alias='armv7l-unknown-linux-gnueabi'
574 host='armv7l-unknown-linux-gnueabi'
575 host_os='linux-gnueabi'
576 build_alias='armv7l-unknown-linux-gnueabi'
577 build='armv7l-unknown-linux-gnueabi'
578 build_os='linux-gnueabi'
579 SED='sed'
580 Xsed='sed -e 1s/^X//'
581 GREP='/bin/grep'
582 EGREP='/bin/grep -E'
583 FGREP='/bin/grep -F'
584 LD='/usr/libexec/gcc/armv7l-tizen-linux-gnueabi/4.5.3/ld'
585 NM='/usr/bin/nm -B'
586 LN_S='ln -s'
587 max_cmd_len='1572864'
588 ac_objext='o'
589 exeext=''
590 lt_unset='unset'
591 lt_SP2NL='tr \040 \012'
592 lt_NL2SP='tr \015\012 \040\040'
593 reload_flag=' -r'
594 reload_cmds='$LD$reload_flag -o $output$reload_objs'
595 deplibs_check_method='pass_all'
596 file_magic_cmd='$MAGIC_CMD'
597 AR='ar'
598 AR_FLAGS='cru'
599 STRIP='strip'
600 RANLIB='ranlib'
601 old_postinstall_cmds='chmod 644 $oldlib~$RANLIB $oldlib'
602 old_postuninstall_cmds=''
603 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $oldlib'
604 CC='gcc'
605 CFLAGS='-Wall -O2 -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security  -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=vfpv3 -mfloat-abi=softfp -D__SOFTFP__ -fPIC'
606 compiler='gcc'
607 GCC='yes'
608 lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[       ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[         ][      ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'''
609 lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
610 lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/  {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/  {"\2", (void *) \&\2},/p'\'''
611 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\) $/  {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/  {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/  {"lib\2", (void *) \&\2},/p'\'''
612 objdir='.libs'
613 SHELL='/bin/sh'
614 ECHO='echo'
615 MAGIC_CMD='file'
616 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
617 lt_prog_compiler_wl='-Wl,'
618 lt_prog_compiler_pic=' -fPIC -DPIC'
619 lt_prog_compiler_static=''
620 lt_cv_prog_compiler_c_o='yes'
621 need_locks='no'
622 DSYMUTIL=''
623 NMEDIT=''
624 LIPO=''
625 OTOOL=''
626 OTOOL64=''
627 libext='a'
628 shrext_cmds='.so'
629 extract_expsyms_cmds=''
630 archive_cmds_need_lc='no'
631 enable_shared_with_static_runtimes='no'
632 export_dynamic_flag_spec='${wl}--export-dynamic'
633 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
634 compiler_needs_object='no'
635 old_archive_from_new_cmds=''
636 old_archive_from_expsyms_cmds=''
637 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
638 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
639             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
640             echo "local: *; };" >> $output_objdir/$libname.ver~
641             $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
642 module_cmds=''
643 module_expsym_cmds=''
644 with_gnu_ld='yes'
645 allow_undefined_flag=''
646 no_undefined_flag=''
647 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
648 hardcode_libdir_flag_spec_ld=''
649 hardcode_libdir_separator=''
650 hardcode_direct='no'
651 hardcode_direct_absolute='no'
652 hardcode_minus_L='no'
653 hardcode_shlibpath_var='unsupported'
654 hardcode_automatic='no'
655 inherit_rpath='no'
656 link_all_deplibs='unknown'
657 fix_srcfile_path=''
658 always_export_symbols='no'
659 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
660 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
661 include_expsyms=''
662 prelink_cmds=''
663 file_list_spec=''
664 variables_saved_for_relink='PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH'
665 need_lib_prefix='no'
666 need_version='no'
667 version_type='linux'
668 runpath_var='LD_RUN_PATH'
669 shlibpath_var='LD_LIBRARY_PATH'
670 shlibpath_overrides_runpath='no'
671 libname_spec='lib$name'
672 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
673 soname_spec='${libname}${release}${shared_ext}$major'
674 postinstall_cmds=''
675 postuninstall_cmds=''
676 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
677 finish_eval=''
678 hardcode_into_libs='yes'
679 sys_lib_search_path_spec='/usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.5.3 /lib /usr/lib'
680 sys_lib_dlsearch_path_spec='/lib /usr/lib /emul/ia32-linux/usr/i586-tizen-linux/lib /emul/ia32-linux/usr/local/lib /emul/ia32-linux/lib /emul/ia32-linux/usr/lib '
681 hardcode_action='immediate'
682 enable_dlopen='yes'
683 enable_dlopen_self='yes'
684 enable_dlopen_self_static='yes'
685 old_striplib='strip --strip-debug'
686 striplib='strip --strip-unneeded'
687
688 LTCC='gcc'
689 LTCFLAGS='-Wall -O2 -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security  -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=vfpv3 -mfloat-abi=softfp -D__SOFTFP__ -fPIC'
690 compiler='gcc'
691
692 # Quote evaled strings.
693 for var in SED GREP EGREP FGREP LD NM LN_S lt_SP2NL lt_NL2SP reload_flag deplibs_check_method file_magic_cmd AR AR_FLAGS STRIP RANLIB CC CFLAGS compiler lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl lt_cv_sys_global_symbol_to_c_name_address lt_cv_sys_global_symbol_to_c_name_address_lib_prefix SHELL ECHO lt_prog_compiler_no_builtin_flag lt_prog_compiler_wl lt_prog_compiler_pic lt_prog_compiler_static lt_cv_prog_compiler_c_o need_locks DSYMUTIL NMEDIT LIPO OTOOL OTOOL64 shrext_cmds export_dynamic_flag_spec whole_archive_flag_spec compiler_needs_object with_gnu_ld allow_undefined_flag no_undefined_flag hardcode_libdir_flag_spec hardcode_libdir_flag_spec_ld hardcode_libdir_separator fix_srcfile_path exclude_expsyms include_expsyms file_list_spec variables_saved_for_relink libname_spec library_names_spec soname_spec finish_eval old_striplib striplib; do
694     case `eval \\$ECHO "X\\$$var"` in
695     *[\\\`\"\$]*)
696       eval "lt_$var=\\\"\`\$ECHO \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
697       ;;
698     *)
699       eval "lt_$var=\\\"\$$var\\\""
700       ;;
701     esac
702 done
703
704 # Double-quote double-evaled strings.
705 for var in reload_cmds old_postinstall_cmds old_postuninstall_cmds old_archive_cmds extract_expsyms_cmds old_archive_from_new_cmds old_archive_from_expsyms_cmds archive_cmds archive_expsym_cmds module_cmds module_expsym_cmds export_symbols_cmds prelink_cmds postinstall_cmds postuninstall_cmds finish_cmds sys_lib_search_path_spec sys_lib_dlsearch_path_spec; do
706     case `eval \\$ECHO "X\\$$var"` in
707     *[\\\`\"\$]*)
708       eval "lt_$var=\\\"\`\$ECHO \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
709       ;;
710     *)
711       eval "lt_$var=\\\"\$$var\\\""
712       ;;
713     esac
714 done
715
716 # Fix-up fallback echo if it was mangled by the above quoting rules.
717 case $lt_ECHO in
718 *'\$0 --fallback-echo"')  lt_ECHO=`$ECHO "X$lt_ECHO" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
719   ;;
720 esac
721
722 ac_aux_dir='auto-aux'
723 xsi_shell='yes'
724 lt_shell_append='yes'
725
726 # See if we are running on zsh, and set the options which allow our
727 # commands through without removal of \ escapes INIT.
728 if test -n "${ZSH_VERSION+set}" ; then
729    setopt NO_GLOB_SUBST
730 fi
731
732
733     PACKAGE='libgphoto2_port'
734     VERSION='0.8.0'
735     TIMESTAMP=''
736     RM='rm -f'
737     ofile='libtool'
738
739
740
741 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
742     # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
743     # from automake.
744     eval 'OBSOLETE_ALL_LINGUAS''="cs da de fr es eu it ja nl pl pt_BR ru sk sv uk vi zh_CN zh_TW"'
745     # Capture the value of LINGUAS because we need it to compute CATALOGS.
746     LINGUAS="%UNSET%"
747
748 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
749     # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
750     # from automake.
751     eval 'OBSOLETE_ALL_LINGUAS''="cs da de fr es eu it ja nl pl pt_BR ru sk sv uk vi zh_CN zh_TW"'
752     # Capture the value of LINGUAS because we need it to compute CATALOGS.
753     LINGUAS="%UNSET%"
754
755
756
757 # Handling of arguments.
758 for ac_config_target in $ac_config_targets
759 do
760   case $ac_config_target in
761     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
762     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
763     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
764     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
765     "default-2") CONFIG_COMMANDS="$CONFIG_COMMANDS default-2" ;;
766     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
767     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
768     "libgphoto2_port/Makefile") CONFIG_FILES="$CONFIG_FILES libgphoto2_port/Makefile" ;;
769     "libgphoto2_port.pc") CONFIG_FILES="$CONFIG_FILES libgphoto2_port.pc" ;;
770     "libgphoto2_port-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES libgphoto2_port-uninstalled.pc" ;;
771     "serial/Makefile") CONFIG_FILES="$CONFIG_FILES serial/Makefile" ;;
772     "usb/Makefile") CONFIG_FILES="$CONFIG_FILES usb/Makefile" ;;
773     "usbdiskdirect/Makefile") CONFIG_FILES="$CONFIG_FILES usbdiskdirect/Makefile" ;;
774     "usbscsi/Makefile") CONFIG_FILES="$CONFIG_FILES usbscsi/Makefile" ;;
775     "disk/Makefile") CONFIG_FILES="$CONFIG_FILES disk/Makefile" ;;
776     "ptpip/Makefile") CONFIG_FILES="$CONFIG_FILES ptpip/Makefile" ;;
777     "gphoto2-port-config") CONFIG_FILES="$CONFIG_FILES gphoto2-port-config" ;;
778     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
779     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
780     "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
781
782   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
783   esac
784 done
785
786
787 # If the user did not use the arguments to specify the items to instantiate,
788 # then the envvar interface is used.  Set only those that are not.
789 # We use the long form for the default assignment because of an extremely
790 # bizarre bug on SunOS 4.1.3.
791 if $ac_need_defaults; then
792   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
793   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
794   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
795 fi
796
797 # Have a temporary directory for convenience.  Make it in the build tree
798 # simply because there is no reason against having it here, and in addition,
799 # creating and moving files from /tmp can sometimes cause problems.
800 # Hook for its removal unless debugging.
801 # Note that there is a small window in which the directory will not be cleaned:
802 # after its creation but before its name has been assigned to `$tmp'.
803 $debug ||
804 {
805   tmp= ac_tmp=
806   trap 'exit_status=$?
807   : "${ac_tmp:=$tmp}"
808   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
809 ' 0
810   trap 'as_fn_exit 1' 1 2 13 15
811 }
812 # Create a (secure) tmp directory for tmp files.
813
814 {
815   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
816   test -d "$tmp"
817 }  ||
818 {
819   tmp=./conf$$-$RANDOM
820   (umask 077 && mkdir "$tmp")
821 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
822 ac_tmp=$tmp
823
824 # Set up the scripts for CONFIG_FILES section.
825 # No need to generate them if there are no CONFIG_FILES.
826 # This happens for instance with `./config.status config.h'.
827 if test -n "$CONFIG_FILES"; then
828
829
830 ac_cr=`echo X | tr X '\015'`
831 # On cygwin, bash can eat \r inside `` if the user requested igncr.
832 # But we know of no other shell where ac_cr would be empty at this
833 # point, so we can use a bashism as a fallback.
834 if test "x$ac_cr" = x; then
835   eval ac_cr=\$\'\\r\'
836 fi
837 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
838 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
839   ac_cs_awk_cr='\\r'
840 else
841   ac_cs_awk_cr=$ac_cr
842 fi
843
844 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
845 cat >>"$ac_tmp/subs1.awk" <<\_ACAWK &&
846 S["am__EXEEXT_FALSE"]=""
847 S["am__EXEEXT_TRUE"]="#"
848 S["LTLIBOBJS"]=""
849 S["LIBOBJS"]=""
850 S["AM_LDFLAGS"]="  -Wl,--hash-style=both -Wl,--as-needed -Wl,--rpath=/usr/lib -Wall -g"
851 S["AM_CXXFLAGS"]=" -Wall -O2 -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security  -fmessage-length=0 -ma"\
852 "rch=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=vfpv3 -mfloat-abi=softfp -D__SOFTFP__"
853 S["AM_CFLAGS"]=" -Wall -O2 -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security  -fmessage-length=0 -ma"\
854 "rch=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=vfpv3 -mfloat-abi=softfp -D__SOFTFP__ -fPIC"
855 S["AM_CPPFLAGS"]=" -I$(top_srcdir) -DLOCALEDIR=\\\"$(datadir)/locale\\\" -DIOLIBS=\\\"$(libdir)/$(PACKAGE_TARNAME)/$(VERSION)\\\"  -Wall -Wmissing-declarations -Wmissing-prot"\
856 "otypes -g -D_GPHOTO2_INTERNAL_CODE -D_GPHOTO2_SAMSUNG_PATCH_"
857 S["apidocdir"]="${prefix}/share/doc/libgphoto2_port/html/api"
858 S["ENABLE_GTK_DOC_FALSE"]=""
859 S["ENABLE_GTK_DOC_TRUE"]="#"
860 S["GTKDOC"]=""
861 S["pkgconfigdir"]="${libdir}/pkgconfig"
862 S["iolibdir"]="$(libdir)/$(PACKAGE_TARNAME)/$(VERSION)"
863 S["IOLIB_SUBDIRS"]=" serial usb usbdiskdirect usbscsi disk ptpip"
864 S["HAL_LIBS"]=""
865 S["HAL_CFLAGS"]=""
866 S["HAVE_UDEV_FALSE"]="#"
867 S["HAVE_UDEV_TRUE"]=""
868 S["udevscriptdir"]="${libdir}/udev"
869 S["HAVE_LIBUSB_FALSE"]="#"
870 S["HAVE_LIBUSB_TRUE"]=""
871 S["REQUIREMENTS_FOR_LIBUSB"]="libusb >= 0.1.4"
872 S["LIBUSB_CONFIG_PROG"]=""
873 S["PKG_CONFIG_LIBDIR"]=""
874 S["LIBUSB_LIBS"]="-lusb  "
875 S["LIBUSB_CFLAGS"]=" "
876 S["PKG_CONFIG_PATH"]="/usr/lib/pkgconfig:/usr/share/pkgconfig"
877 S["PKG_CONFIG"]="/usr/bin/pkg-config"
878 S["SERIAL_LIBS"]=""
879 S["MDNS_LIBS"]=""
880 S["POSUB"]="po"
881 S["LTLIBINTL"]=""
882 S["LIBINTL"]=""
883 S["INTLLIBS"]=""
884 S["LTLIBICONV"]=""
885 S["LIBICONV"]=""
886 S["MSGMERGE"]="/usr/bin/msgmerge"
887 S["XGETTEXT"]="/usr/bin/xgettext"
888 S["GMSGFMT"]="/usr/bin/msgfmt"
889 S["MSGFMT"]="/usr/bin/msgfmt"
890 S["USE_NLS"]="yes"
891 S["MKINSTALLDIRS"]="$(top_builddir)/auto-aux/mkinstalldirs"
892 S["GETTEXT_PACKAGE"]="libgphoto2_port-0"
893 S["MAIL_GPHOTO_TRANSLATION"]="<gphoto-translation@lists.sourceforge.net>"
894 S["MAIL_GPHOTO_USER"]="<gphoto-user@lists.sourceforge.net>"
895 S["MAIL_GPHOTO_DEVEL"]="<gphoto-devel@lists.sourceforge.net>"
896 S["URL_USB_MASSSTORAGE"]="http://www.linux-usb.org/USB-guide/x498.html"
897 S["URL_JPHOTO_HOME"]="http://jphoto.sourceforge.net/"
898 S["URL_DIGICAM_LIST"]="http://www.teaser.fr/~hfiguiere/linux/digicam.html"
899 S["URL_GPHOTO_PROJECT"]="http://sourceforge.net/projects/gphoto"
900 S["URL_GPHOTO_HOME"]="http://www.gphoto.org/"
901 S["OTOOL64"]=""
902 S["OTOOL"]=""
903 S["LIPO"]=""
904 S["NMEDIT"]=""
905 S["DSYMUTIL"]=""
906 S["lt_ECHO"]="echo"
907 S["RANLIB"]="ranlib"
908 S["AR"]="ar"
909 S["LN_S"]="ln -s"
910 S["NM"]="/usr/bin/nm -B"
911 S["ac_ct_DUMPBIN"]=""
912 S["DUMPBIN"]=""
913 S["LD"]="/usr/libexec/gcc/armv7l-tizen-linux-gnueabi/4.5.3/ld"
914 S["FGREP"]="/bin/grep -F"
915 S["EGREP"]="/bin/grep -E"
916 S["GREP"]="/bin/grep"
917 S["SED"]="sed"
918 S["LIBTOOL"]="$(SHELL) $(top_builddir)/libtool"
919 S["OBJDUMP"]="objdump"
920 S["DLLTOOL"]="dlltool"
921 S["AS"]="as"
922 S["host_os"]="linux-gnueabi"
923 S["host_vendor"]="unknown"
924 S["host_cpu"]="armv7l"
925 S["host"]="armv7l-unknown-linux-gnueabi"
926 S["build_os"]="linux-gnueabi"
927 S["build_vendor"]="unknown"
928 S["build_cpu"]="armv7l"
929 S["build"]="armv7l-unknown-linux-gnueabi"
930 S["CPP"]="gcc -E"
931 S["am__fastdepCC_FALSE"]="#"
932 S["am__fastdepCC_TRUE"]=""
933 S["CCDEPMODE"]="depmode=gcc3"
934 S["AMDEPBACKSLASH"]="\\"
935 S["AMDEP_FALSE"]="#"
936 S["AMDEP_TRUE"]=""
937 S["am__quote"]=""
938 S["am__include"]="include"
939 S["DEPDIR"]=".deps"
940 S["OBJEXT"]="o"
941 S["EXEEXT"]=""
942 S["ac_ct_CC"]="gcc"
943 S["CPPFLAGS"]=""
944 S["LDFLAGS"]=" -Wl,--hash-style=both -Wl,--as-needed -Wl,--rpath=/usr/lib"
945 S["CFLAGS"]="-Wall -O2 -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security  -fmessage-length=0 -mar"\
946 "ch=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=vfpv3 -mfloat-abi=softfp -D__SOFTFP__ -fPIC"
947 S["CC"]="gcc"
948 S["LIBGPHOTO2_PORT_VERSION_INFO"]="8:0:8"
949 S["LIBGPHOTO2_PORT_CURRENT_MIN"]="0"
950 S["LIBGPHOTO2_PORT_CURRENT"]="8"
951 S["LIBGPHOTO2_PORT_REVISION"]="0"
952 S["LIBGPHOTO2_PORT_AGE"]="8"
953 S["am__untar"]="${AMTAR} xf -"
954 S["am__tar"]="${AMTAR} chof - \"$$tardir\""
955 S["AMTAR"]="${SHELL} /home/abuild/rpmbuild/BUILD/libgphoto2-2.4.11/libgphoto2_port/auto-aux/missing --run tar"
956 S["am__leading_dot"]="."
957 S["SET_MAKE"]=""
958 S["AWK"]="gawk"
959 S["mkdir_p"]="/bin/mkdir -p"
960 S["MKDIR_P"]="/bin/mkdir -p"
961 S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s"
962 S["STRIP"]="strip"
963 S["install_sh"]="${SHELL} /home/abuild/rpmbuild/BUILD/libgphoto2-2.4.11/libgphoto2_port/auto-aux/install-sh"
964 S["MAKEINFO"]="${SHELL} /home/abuild/rpmbuild/BUILD/libgphoto2-2.4.11/libgphoto2_port/auto-aux/missing --run makeinfo"
965 S["AUTOHEADER"]="${SHELL} /home/abuild/rpmbuild/BUILD/libgphoto2-2.4.11/libgphoto2_port/auto-aux/missing --run autoheader"
966 S["AUTOMAKE"]="${SHELL} /home/abuild/rpmbuild/BUILD/libgphoto2-2.4.11/libgphoto2_port/auto-aux/missing --run automake-1.11"
967 S["AUTOCONF"]="${SHELL} /home/abuild/rpmbuild/BUILD/libgphoto2-2.4.11/libgphoto2_port/auto-aux/missing --run autoconf"
968 S["ACLOCAL"]="${SHELL} /home/abuild/rpmbuild/BUILD/libgphoto2-2.4.11/libgphoto2_port/auto-aux/missing --run aclocal-1.11"
969 S["VERSION"]="0.8.0"
970 S["PACKAGE"]="libgphoto2_port"
971 S["CYGPATH_W"]="echo"
972 S["am__isrc"]=""
973 S["INSTALL_DATA"]="${INSTALL} -m 644"
974 S["INSTALL_SCRIPT"]="${INSTALL}"
975 S["INSTALL_PROGRAM"]="${INSTALL}"
976 S["target_alias"]="armv7l-tizen-linux-gnueabi"
977 S["host_alias"]="armv7l-unknown-linux-gnueabi"
978 S["build_alias"]="armv7l-unknown-linux-gnueabi"
979 S["LIBS"]="-lpthread "
980 S["ECHO_T"]=""
981 S["ECHO_N"]="-n"
982 S["ECHO_C"]=""
983 S["DEFS"]="-DHAVE_CONFIG_H"
984 S["mandir"]="/usr/share/man"
985 S["localedir"]="$(datadir)/locale"
986 S["libdir"]="/usr/lib"
987 S["psdir"]="${docdir}"
988 S["pdfdir"]="${docdir}"
989 S["dvidir"]="${docdir}"
990 S["htmldir"]="${prefix}/share/doc/libgphoto2_port/html"
991 S["infodir"]="/usr/share/info"
992 S["docdir"]="${prefix}/share/doc/libgphoto2_port"
993 S["oldincludedir"]="/usr/include"
994 S["includedir"]="/usr/include"
995 S["localstatedir"]="/var"
996 S["sharedstatedir"]="/var/lib"
997 S["sysconfdir"]="/etc"
998 S["datadir"]="/usr/share"
999 S["datarootdir"]="${prefix}/share"
1000 S["libexecdir"]="/usr/libexec"
1001 S["sbindir"]="/usr/sbin"
1002 S["bindir"]="/usr/bin"
1003 S["program_transform_name"]="s&^&&"
1004 S["prefix"]="/usr"
1005 S["exec_prefix"]="/usr"
1006 S["PACKAGE_URL"]=""
1007 S["PACKAGE_BUGREPORT"]="gphoto-devel@lists.sourceforge.net"
1008 S["PACKAGE_STRING"]="libgphoto2 port access library 0.8.0"
1009 S["PACKAGE_VERSION"]="0.8.0"
1010 S["PACKAGE_TARNAME"]="libgphoto2_port"
1011 S["PACKAGE_NAME"]="libgphoto2 port access library"
1012 S["PATH_SEPARATOR"]=":"
1013 S["SHELL"]="/bin/sh"
1014 _ACAWK
1015 cat >>"$ac_tmp/subs1.awk" <<_ACAWK &&
1016   for (key in S) S_is_set[key] = 1
1017   FS = "\a"
1018
1019 }
1020 {
1021   line = $ 0
1022   nfields = split(line, field, "@")
1023   substed = 0
1024   len = length(field[1])
1025   for (i = 2; i < nfields; i++) {
1026     key = field[i]
1027     keylen = length(key)
1028     if (S_is_set[key]) {
1029       value = S[key]
1030       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
1031       len += length(value) + length(field[++i])
1032       substed = 1
1033     } else
1034       len += 1 + keylen
1035   }
1036
1037   print line
1038 }
1039
1040 _ACAWK
1041 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
1042   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
1043 else
1044   cat
1045 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
1046   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
1047 fi # test -n "$CONFIG_FILES"
1048
1049 # Set up the scripts for CONFIG_HEADERS section.
1050 # No need to generate them if there are no CONFIG_HEADERS.
1051 # This happens for instance with `./config.status Makefile'.
1052 if test -n "$CONFIG_HEADERS"; then
1053 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
1054 BEGIN {
1055 D["PACKAGE_NAME"]=" \"libgphoto2 port access library\""
1056 D["PACKAGE_TARNAME"]=" \"libgphoto2_port\""
1057 D["PACKAGE_VERSION"]=" \"0.8.0\""
1058 D["PACKAGE_STRING"]=" \"libgphoto2 port access library 0.8.0\""
1059 D["PACKAGE_BUGREPORT"]=" \"gphoto-devel@lists.sourceforge.net\""
1060 D["PACKAGE_URL"]=" \"\""
1061 D["PACKAGE"]=" \"libgphoto2_port\""
1062 D["VERSION"]=" \"0.8.0\""
1063 D["STDC_HEADERS"]=" 1"
1064 D["HAVE_SYS_TYPES_H"]=" 1"
1065 D["HAVE_SYS_STAT_H"]=" 1"
1066 D["HAVE_STDLIB_H"]=" 1"
1067 D["HAVE_STRING_H"]=" 1"
1068 D["HAVE_MEMORY_H"]=" 1"
1069 D["HAVE_STRINGS_H"]=" 1"
1070 D["HAVE_INTTYPES_H"]=" 1"
1071 D["HAVE_STDINT_H"]=" 1"
1072 D["HAVE_UNISTD_H"]=" 1"
1073 D["HAVE_DLFCN_H"]=" 1"
1074 D["LT_OBJDIR"]=" \".libs/\""
1075 D["HAVE_CC"]=" \"gcc\""
1076 D["URL_GPHOTO_HOME"]=" \"http://www.gphoto.org/\""
1077 D["URL_GPHOTO_PROJECT"]=" \"http://sourceforge.net/projects/gphoto\""
1078 D["URL_DIGICAM_LIST"]=" \"http://www.teaser.fr/~hfiguiere/linux/digicam.html\""
1079 D["URL_JPHOTO_HOME"]=" \"http://jphoto.sourceforge.net/\""
1080 D["URL_USB_MASSSTORAGE"]=" \"http://www.linux-usb.org/USB-guide/x498.html\""
1081 D["MAIL_GPHOTO_DEVEL"]=" \"<gphoto-devel@lists.sourceforge.net>\""
1082 D["MAIL_GPHOTO_USER"]=" \"<gphoto-user@lists.sourceforge.net>\""
1083 D["MAIL_GPHOTO_TRANSLATION"]=" \"<gphoto-translation@lists.sourceforge.net>\""
1084 D["GETTEXT_PACKAGE"]=" \"libgphoto2_port-0\""
1085 D["ENABLE_NLS"]=" 1"
1086 D["HAVE_GETTEXT"]=" 1"
1087 D["HAVE_DCGETTEXT"]=" 1"
1088 D["HAVE_ICONV"]=" 1"
1089 D["ICONV_CONST"]=" "
1090 D["HAVE_DIRENT_H"]=" 1"
1091 D["STDC_HEADERS"]=" 1"
1092 D["HAVE_STDLIB_H"]=" 1"
1093 D["HAVE_UNISTD_H"]=" 1"
1094 D["HAVE_STDIO_H"]=" 1"
1095 D["HAVE_FCNTL_H"]=" 1"
1096 D["HAVE_ERRNO_H"]=" 1"
1097 D["HAVE_SYS_TIME_H"]=" 1"
1098 D["HAVE_SYS_PARAM_H"]=" 1"
1099 D["HAVE_SYS_SELECT_H"]=" 1"
1100 D["HAVE_TERMIOS_H"]=" 1"
1101 D["HAVE_FCNTL_H"]=" 1"
1102 D["HAVE_SGTTY_H"]=" 1"
1103 D["HAVE_SYS_IOCTL_H"]=" 1"
1104 D["HAVE_SYS_TIME_H"]=" 1"
1105 D["HAVE_TERMIO_H"]=" 1"
1106 D["HAVE_UNISTD_H"]=" 1"
1107 D["HAVE_ENDIAN_H"]=" 1"
1108 D["HAVE_BYTESWAP_H"]=" 1"
1109 D["HAVE_MNTENT_H"]=" 1"
1110 D["HAVE_SCSI_SG_H"]=" 1"
1111 D["HAVE_LIMITS_H"]=" 1"
1112 D["HAVE_REGEX"]=" 1"
1113 D["HAVE_SETMNTENT"]=" 1"
1114 D["HAVE_ENDMNTENT"]=" 1"
1115 D["HAVE_STRERROR"]=" 1"
1116 D["HAVE_SNPRINTF"]=" 1"
1117 D["HAVE_VSNPRINTF"]=" 1"
1118 D["HAVE_RTS_IOCTL"]=" 1"
1119 D["HAVE_RTS_IOCTL"]=" 1"
1120 D["HAVE_VA_COPY"]=" 1"
1121 D["HAVE_SERIAL"]=" 1"
1122 D["HAVE_LIBPTHREAD"]=" 1"
1123 D["HAVE_LIBUSB"]=" 1"
1124 D["HAVE_GNU_REGEX"]=" 1"
1125   for (key in D) D_is_set[key] = 1
1126   FS = "\a"
1127 }
1128 /^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ {
1129   line = $ 0
1130   split(line, arg, " ")
1131   if (arg[1] == "#") {
1132     defundef = arg[2]
1133     mac1 = arg[3]
1134   } else {
1135     defundef = substr(arg[1], 2)
1136     mac1 = arg[2]
1137   }
1138   split(mac1, mac2, "(") #)
1139   macro = mac2[1]
1140   prefix = substr(line, 1, index(line, defundef) - 1)
1141   if (D_is_set[macro]) {
1142     # Preserve the white space surrounding the "#".
1143     print prefix "define", macro P[macro] D[macro]
1144     next
1145   } else {
1146     # Replace #undef with comments.  This is necessary, for example,
1147     # in the case of _POSIX_SOURCE, which is predefined and required
1148     # on some systems where configure will not decide to define it.
1149     if (defundef == "undef") {
1150       print "/*", prefix defundef, macro, "*/"
1151       next
1152     }
1153   }
1154 }
1155 { print }
1156 _ACAWK
1157   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
1158 fi # test -n "$CONFIG_HEADERS"
1159
1160
1161 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
1162 shift
1163 for ac_tag
1164 do
1165   case $ac_tag in
1166   :[FHLC]) ac_mode=$ac_tag; continue;;
1167   esac
1168   case $ac_mode$ac_tag in
1169   :[FHL]*:*);;
1170   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
1171   :[FH]-) ac_tag=-:-;;
1172   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
1173   esac
1174   ac_save_IFS=$IFS
1175   IFS=:
1176   set x $ac_tag
1177   IFS=$ac_save_IFS
1178   shift
1179   ac_file=$1
1180   shift
1181
1182   case $ac_mode in
1183   :L) ac_source=$1;;
1184   :[FH])
1185     ac_file_inputs=
1186     for ac_f
1187     do
1188       case $ac_f in
1189       -) ac_f="$ac_tmp/stdin";;
1190       *) # Look for the file first in the build tree, then in the source tree
1191          # (if the path is not absolute).  The absolute path cannot be DOS-style,
1192          # because $ac_f cannot contain `:'.
1193          test -f "$ac_f" ||
1194            case $ac_f in
1195            [\\/$]*) false;;
1196            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
1197            esac ||
1198            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
1199       esac
1200       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
1201       as_fn_append ac_file_inputs " '$ac_f'"
1202     done
1203
1204     # Let's still pretend it is `configure' which instantiates (i.e., don't
1205     # use $as_me), people would be surprised to read:
1206     #    /* config.h.  Generated by config.status.  */
1207     configure_input='Generated from '`
1208           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
1209         `' by configure.'
1210     if test x"$ac_file" != x-; then
1211       configure_input="$ac_file.  $configure_input"
1212       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
1213 $as_echo "$as_me: creating $ac_file" >&6;}
1214     fi
1215     # Neutralize special characters interpreted by sed in replacement strings.
1216     case $configure_input in #(
1217     *\&* | *\|* | *\\* )
1218        ac_sed_conf_input=`$as_echo "$configure_input" |
1219        sed 's/[\\\\&|]/\\\\&/g'`;; #(
1220     *) ac_sed_conf_input=$configure_input;;
1221     esac
1222
1223     case $ac_tag in
1224     *:-:* | *:-) cat >"$ac_tmp/stdin" \
1225       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
1226     esac
1227     ;;
1228   esac
1229
1230   ac_dir=`$as_dirname -- "$ac_file" ||
1231 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1232          X"$ac_file" : 'X\(//\)[^/]' \| \
1233          X"$ac_file" : 'X\(//\)$' \| \
1234          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
1235 $as_echo X"$ac_file" |
1236     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1237             s//\1/
1238             q
1239           }
1240           /^X\(\/\/\)[^/].*/{
1241             s//\1/
1242             q
1243           }
1244           /^X\(\/\/\)$/{
1245             s//\1/
1246             q
1247           }
1248           /^X\(\/\).*/{
1249             s//\1/
1250             q
1251           }
1252           s/.*/./; q'`
1253   as_dir="$ac_dir"; as_fn_mkdir_p
1254   ac_builddir=.
1255
1256 case "$ac_dir" in
1257 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1258 *)
1259   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1260   # A ".." for each directory in $ac_dir_suffix.
1261   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1262   case $ac_top_builddir_sub in
1263   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1264   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1265   esac ;;
1266 esac
1267 ac_abs_top_builddir=$ac_pwd
1268 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1269 # for backward compatibility:
1270 ac_top_builddir=$ac_top_build_prefix
1271
1272 case $srcdir in
1273   .)  # We are building in place.
1274     ac_srcdir=.
1275     ac_top_srcdir=$ac_top_builddir_sub
1276     ac_abs_top_srcdir=$ac_pwd ;;
1277   [\\/]* | ?:[\\/]* )  # Absolute name.
1278     ac_srcdir=$srcdir$ac_dir_suffix;
1279     ac_top_srcdir=$srcdir
1280     ac_abs_top_srcdir=$srcdir ;;
1281   *) # Relative name.
1282     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1283     ac_top_srcdir=$ac_top_build_prefix$srcdir
1284     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1285 esac
1286 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1287
1288
1289   case $ac_mode in
1290   :F)
1291   #
1292   # CONFIG_FILE
1293   #
1294
1295   case $INSTALL in
1296   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
1297   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
1298   esac
1299   ac_MKDIR_P=$MKDIR_P
1300   case $MKDIR_P in
1301   [\\/$]* | ?:[\\/]* ) ;;
1302   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
1303   esac
1304 # If the template does not know about datarootdir, expand it.
1305 # FIXME: This hack should be removed a few years after 2.60.
1306 ac_datarootdir_hack=; ac_datarootdir_seen=
1307 ac_sed_dataroot='
1308 /datarootdir/ {
1309   p
1310   q
1311 }
1312 /@datadir@/p
1313 /@docdir@/p
1314 /@infodir@/p
1315 /@localedir@/p
1316 /@mandir@/p'
1317 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
1318 *datarootdir*) ac_datarootdir_seen=yes;;
1319 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
1320   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
1321 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
1322   ac_datarootdir_hack='
1323   s&@datadir@&/usr/share&g
1324   s&@docdir@&${prefix}/share/doc/libgphoto2_port&g
1325   s&@infodir@&/usr/share/info&g
1326   s&@localedir@&$(datadir)/locale&g
1327   s&@mandir@&/usr/share/man&g
1328   s&\${datarootdir}&${prefix}/share&g' ;;
1329 esac
1330 ac_sed_extra="/^[        ]*VPATH[        ]*=[    ]*/{
1331 h
1332 s///
1333 s/^/:/
1334 s/[      ]*$/:/
1335 s/:\$(srcdir):/:/g
1336 s/:\${srcdir}:/:/g
1337 s/:@srcdir@:/:/g
1338 s/^:*//
1339 s/:*$//
1340 x
1341 s/\(=[   ]*\).*/\1/
1342 G
1343 s/\n//
1344 s/^[^=]*=[       ]*$//
1345 }
1346
1347 :t
1348 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1349 s|@configure_input@|$ac_sed_conf_input|;t t
1350 s&@top_builddir@&$ac_top_builddir_sub&;t t
1351 s&@top_build_prefix@&$ac_top_build_prefix&;t t
1352 s&@srcdir@&$ac_srcdir&;t t
1353 s&@abs_srcdir@&$ac_abs_srcdir&;t t
1354 s&@top_srcdir@&$ac_top_srcdir&;t t
1355 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
1356 s&@builddir@&$ac_builddir&;t t
1357 s&@abs_builddir@&$ac_abs_builddir&;t t
1358 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
1359 s&@INSTALL@&$ac_INSTALL&;t t
1360 s&@MKDIR_P@&$ac_MKDIR_P&;t t
1361 $ac_datarootdir_hack
1362 "
1363 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
1364   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1365
1366 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
1367   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
1368   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
1369       "$ac_tmp/out"`; test -z "$ac_out"; } &&
1370   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1371 which seems to be undefined.  Please make sure it is defined" >&5
1372 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1373 which seems to be undefined.  Please make sure it is defined" >&2;}
1374
1375   rm -f "$ac_tmp/stdin"
1376   case $ac_file in
1377   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
1378   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
1379   esac \
1380   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1381  ;;
1382   :H)
1383   #
1384   # CONFIG_HEADER
1385   #
1386   if test x"$ac_file" != x-; then
1387     {
1388       $as_echo "/* $configure_input  */" \
1389       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
1390     } >"$ac_tmp/config.h" \
1391       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1392     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
1393       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
1394 $as_echo "$as_me: $ac_file is unchanged" >&6;}
1395     else
1396       rm -f "$ac_file"
1397       mv "$ac_tmp/config.h" "$ac_file" \
1398         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1399     fi
1400   else
1401     $as_echo "/* $configure_input  */" \
1402       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
1403       || as_fn_error $? "could not create -" "$LINENO" 5
1404   fi
1405 # Compute "$ac_file"'s index in $config_headers.
1406 _am_arg="$ac_file"
1407 _am_stamp_count=1
1408 for _am_header in $config_headers :; do
1409   case $_am_header in
1410     $_am_arg | $_am_arg:* )
1411       break ;;
1412     * )
1413       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
1414   esac
1415 done
1416 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
1417 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1418          X"$_am_arg" : 'X\(//\)[^/]' \| \
1419          X"$_am_arg" : 'X\(//\)$' \| \
1420          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
1421 $as_echo X"$_am_arg" |
1422     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1423             s//\1/
1424             q
1425           }
1426           /^X\(\/\/\)[^/].*/{
1427             s//\1/
1428             q
1429           }
1430           /^X\(\/\/\)$/{
1431             s//\1/
1432             q
1433           }
1434           /^X\(\/\).*/{
1435             s//\1/
1436             q
1437           }
1438           s/.*/./; q'`/stamp-h$_am_stamp_count
1439  ;;
1440
1441   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
1442 $as_echo "$as_me: executing $ac_file commands" >&6;}
1443  ;;
1444   esac
1445
1446
1447   case $ac_file$ac_mode in
1448     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
1449   # Autoconf 2.62 quotes --file arguments for eval, but not when files
1450   # are listed without --file.  Let's play safe and only enable the eval
1451   # if we detect the quoting.
1452   case $CONFIG_FILES in
1453   *\'*) eval set x "$CONFIG_FILES" ;;
1454   *)   set x $CONFIG_FILES ;;
1455   esac
1456   shift
1457   for mf
1458   do
1459     # Strip MF so we end up with the name of the file.
1460     mf=`echo "$mf" | sed -e 's/:.*$//'`
1461     # Check whether this is an Automake generated Makefile or not.
1462     # We used to match only the files named `Makefile.in', but
1463     # some people rename them; so instead we look at the file content.
1464     # Grep'ing the first line is not enough: some people post-process
1465     # each Makefile.in and add a new line on top of each file to say so.
1466     # Grep'ing the whole file is not good either: AIX grep has a line
1467     # limit of 2048, but all sed's we know have understand at least 4000.
1468     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
1469       dirpart=`$as_dirname -- "$mf" ||
1470 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1471          X"$mf" : 'X\(//\)[^/]' \| \
1472          X"$mf" : 'X\(//\)$' \| \
1473          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
1474 $as_echo X"$mf" |
1475     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1476             s//\1/
1477             q
1478           }
1479           /^X\(\/\/\)[^/].*/{
1480             s//\1/
1481             q
1482           }
1483           /^X\(\/\/\)$/{
1484             s//\1/
1485             q
1486           }
1487           /^X\(\/\).*/{
1488             s//\1/
1489             q
1490           }
1491           s/.*/./; q'`
1492     else
1493       continue
1494     fi
1495     # Extract the definition of DEPDIR, am__include, and am__quote
1496     # from the Makefile without running `make'.
1497     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
1498     test -z "$DEPDIR" && continue
1499     am__include=`sed -n 's/^am__include = //p' < "$mf"`
1500     test -z "am__include" && continue
1501     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
1502     # When using ansi2knr, U may be empty or an underscore; expand it
1503     U=`sed -n 's/^U = //p' < "$mf"`
1504     # Find all dependency output files, they are included files with
1505     # $(DEPDIR) in their names.  We invoke sed twice because it is the
1506     # simplest approach to changing $(DEPDIR) to its actual value in the
1507     # expansion.
1508     for file in `sed -n "
1509       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
1510          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
1511       # Make sure the directory exists.
1512       test -f "$dirpart/$file" && continue
1513       fdir=`$as_dirname -- "$file" ||
1514 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1515          X"$file" : 'X\(//\)[^/]' \| \
1516          X"$file" : 'X\(//\)$' \| \
1517          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
1518 $as_echo X"$file" |
1519     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1520             s//\1/
1521             q
1522           }
1523           /^X\(\/\/\)[^/].*/{
1524             s//\1/
1525             q
1526           }
1527           /^X\(\/\/\)$/{
1528             s//\1/
1529             q
1530           }
1531           /^X\(\/\).*/{
1532             s//\1/
1533             q
1534           }
1535           s/.*/./; q'`
1536       as_dir=$dirpart/$fdir; as_fn_mkdir_p
1537       # echo "creating $dirpart/$file"
1538       echo '# dummy' > "$dirpart/$file"
1539     done
1540   done
1541 }
1542  ;;
1543     "libtool":C)
1544
1545     # See if we are running on zsh, and set the options which allow our
1546     # commands through without removal of \ escapes.
1547     if test -n "${ZSH_VERSION+set}" ; then
1548       setopt NO_GLOB_SUBST
1549     fi
1550
1551     cfgfile="${ofile}T"
1552     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
1553     $RM "$cfgfile"
1554
1555     cat <<_LT_EOF >> "$cfgfile"
1556 #! $SHELL
1557
1558 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
1559 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
1560 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
1561 #
1562 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
1563 #                 2006, 2007, 2008 Free Software Foundation, Inc.
1564 #   Written by Gordon Matzigkeit, 1996
1565 #
1566 #   This file is part of GNU Libtool.
1567 #
1568 # GNU Libtool is free software; you can redistribute it and/or
1569 # modify it under the terms of the GNU General Public License as
1570 # published by the Free Software Foundation; either version 2 of
1571 # the License, or (at your option) any later version.
1572 #
1573 # As a special exception to the GNU General Public License,
1574 # if you distribute this file as part of a program or library that
1575 # is built using GNU Libtool, you may include this file under the
1576 # same distribution terms that you use for the rest of that program.
1577 #
1578 # GNU Libtool is distributed in the hope that it will be useful,
1579 # but WITHOUT ANY WARRANTY; without even the implied warranty of
1580 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1581 # GNU General Public License for more details.
1582 #
1583 # You should have received a copy of the GNU General Public License
1584 # along with GNU Libtool; see the file COPYING.  If not, a copy
1585 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
1586 # obtained by writing to the Free Software Foundation, Inc.,
1587 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
1588
1589
1590 # The names of the tagged configurations supported by this script.
1591 available_tags=""
1592
1593 # ### BEGIN LIBTOOL CONFIG
1594
1595 # Whether or not to build static libraries.
1596 build_old_libs=$enable_static
1597
1598 # Assembler program.
1599 AS=$AS
1600
1601 # DLL creation program.
1602 DLLTOOL=$DLLTOOL
1603
1604 # Object dumper program.
1605 OBJDUMP=$OBJDUMP
1606
1607 # Which release of libtool.m4 was used?
1608 macro_version=$macro_version
1609 macro_revision=$macro_revision
1610
1611 # Whether or not to build shared libraries.
1612 build_libtool_libs=$enable_shared
1613
1614 # What type of objects to build.
1615 pic_mode=$pic_mode
1616
1617 # Whether or not to optimize for fast installation.
1618 fast_install=$enable_fast_install
1619
1620 # The host system.
1621 host_alias=$host_alias
1622 host=$host
1623 host_os=$host_os
1624
1625 # The build system.
1626 build_alias=$build_alias
1627 build=$build
1628 build_os=$build_os
1629
1630 # A sed program that does not truncate output.
1631 SED=$lt_SED
1632
1633 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
1634 Xsed="\$SED -e 1s/^X//"
1635
1636 # A grep program that handles long lines.
1637 GREP=$lt_GREP
1638
1639 # An ERE matcher.
1640 EGREP=$lt_EGREP
1641
1642 # A literal string matcher.
1643 FGREP=$lt_FGREP
1644
1645 # A BSD- or MS-compatible name lister.
1646 NM=$lt_NM
1647
1648 # Whether we need soft or hard links.
1649 LN_S=$lt_LN_S
1650
1651 # What is the maximum length of a command?
1652 max_cmd_len=$max_cmd_len
1653
1654 # Object file suffix (normally "o").
1655 objext=$ac_objext
1656
1657 # Executable file suffix (normally "").
1658 exeext=$exeext
1659
1660 # whether the shell understands "unset".
1661 lt_unset=$lt_unset
1662
1663 # turn spaces into newlines.
1664 SP2NL=$lt_lt_SP2NL
1665
1666 # turn newlines into spaces.
1667 NL2SP=$lt_lt_NL2SP
1668
1669 # How to create reloadable object files.
1670 reload_flag=$lt_reload_flag
1671 reload_cmds=$lt_reload_cmds
1672
1673 # Method to check whether dependent libraries are shared objects.
1674 deplibs_check_method=$lt_deplibs_check_method
1675
1676 # Command to use when deplibs_check_method == "file_magic".
1677 file_magic_cmd=$lt_file_magic_cmd
1678
1679 # The archiver.
1680 AR=$lt_AR
1681 AR_FLAGS=$lt_AR_FLAGS
1682
1683 # A symbol stripping program.
1684 STRIP=$lt_STRIP
1685
1686 # Commands used to install an old-style archive.
1687 RANLIB=$lt_RANLIB
1688 old_postinstall_cmds=$lt_old_postinstall_cmds
1689 old_postuninstall_cmds=$lt_old_postuninstall_cmds
1690
1691 # A C compiler.
1692 LTCC=$lt_CC
1693
1694 # LTCC compiler flags.
1695 LTCFLAGS=$lt_CFLAGS
1696
1697 # Take the output of nm and produce a listing of raw symbols and C names.
1698 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
1699
1700 # Transform the output of nm in a proper C declaration.
1701 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
1702
1703 # Transform the output of nm in a C name address pair.
1704 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
1705
1706 # Transform the output of nm in a C name address pair when lib prefix is needed.
1707 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
1708
1709 # The name of the directory that contains temporary libtool files.
1710 objdir=$objdir
1711
1712 # Shell to use when invoking shell scripts.
1713 SHELL=$lt_SHELL
1714
1715 # An echo program that does not interpret backslashes.
1716 ECHO=$lt_ECHO
1717
1718 # Used to examine libraries when file_magic_cmd begins with "file".
1719 MAGIC_CMD=$MAGIC_CMD
1720
1721 # Must we lock files when doing compilation?
1722 need_locks=$lt_need_locks
1723
1724 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
1725 DSYMUTIL=$lt_DSYMUTIL
1726
1727 # Tool to change global to local symbols on Mac OS X.
1728 NMEDIT=$lt_NMEDIT
1729
1730 # Tool to manipulate fat objects and archives on Mac OS X.
1731 LIPO=$lt_LIPO
1732
1733 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
1734 OTOOL=$lt_OTOOL
1735
1736 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
1737 OTOOL64=$lt_OTOOL64
1738
1739 # Old archive suffix (normally "a").
1740 libext=$libext
1741
1742 # Shared library suffix (normally ".so").
1743 shrext_cmds=$lt_shrext_cmds
1744
1745 # The commands to extract the exported symbol list from a shared archive.
1746 extract_expsyms_cmds=$lt_extract_expsyms_cmds
1747
1748 # Variables whose values should be saved in libtool wrapper scripts and
1749 # restored at link time.
1750 variables_saved_for_relink=$lt_variables_saved_for_relink
1751
1752 # Do we need the "lib" prefix for modules?
1753 need_lib_prefix=$need_lib_prefix
1754
1755 # Do we need a version for libraries?
1756 need_version=$need_version
1757
1758 # Library versioning type.
1759 version_type=$version_type
1760
1761 # Shared library runtime path variable.
1762 runpath_var=$runpath_var
1763
1764 # Shared library path variable.
1765 shlibpath_var=$shlibpath_var
1766
1767 # Is shlibpath searched before the hard-coded library search path?
1768 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
1769
1770 # Format of library name prefix.
1771 libname_spec=$lt_libname_spec
1772
1773 # List of archive names.  First name is the real one, the rest are links.
1774 # The last name is the one that the linker finds with -lNAME
1775 library_names_spec=$lt_library_names_spec
1776
1777 # The coded name of the library, if different from the real name.
1778 soname_spec=$lt_soname_spec
1779
1780 # Command to use after installation of a shared archive.
1781 postinstall_cmds=$lt_postinstall_cmds
1782
1783 # Command to use after uninstallation of a shared archive.
1784 postuninstall_cmds=$lt_postuninstall_cmds
1785
1786 # Commands used to finish a libtool library installation in a directory.
1787 finish_cmds=$lt_finish_cmds
1788
1789 # As "finish_cmds", except a single script fragment to be evaled but
1790 # not shown.
1791 finish_eval=$lt_finish_eval
1792
1793 # Whether we should hardcode library paths into libraries.
1794 hardcode_into_libs=$hardcode_into_libs
1795
1796 # Compile-time system search path for libraries.
1797 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
1798
1799 # Run-time system search path for libraries.
1800 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
1801
1802 # Whether dlopen is supported.
1803 dlopen_support=$enable_dlopen
1804
1805 # Whether dlopen of programs is supported.
1806 dlopen_self=$enable_dlopen_self
1807
1808 # Whether dlopen of statically linked programs is supported.
1809 dlopen_self_static=$enable_dlopen_self_static
1810
1811 # Commands to strip libraries.
1812 old_striplib=$lt_old_striplib
1813 striplib=$lt_striplib
1814
1815
1816 # The linker used to build libraries.
1817 LD=$lt_LD
1818
1819 # Commands used to build an old-style archive.
1820 old_archive_cmds=$lt_old_archive_cmds
1821
1822 # A language specific compiler.
1823 CC=$lt_compiler
1824
1825 # Is the compiler the GNU compiler?
1826 with_gcc=$GCC
1827
1828 # Compiler flag to turn off builtin functions.
1829 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
1830
1831 # How to pass a linker flag through the compiler.
1832 wl=$lt_lt_prog_compiler_wl
1833
1834 # Additional compiler flags for building library objects.
1835 pic_flag=$lt_lt_prog_compiler_pic
1836
1837 # Compiler flag to prevent dynamic linking.
1838 link_static_flag=$lt_lt_prog_compiler_static
1839
1840 # Does compiler simultaneously support -c and -o options?
1841 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
1842
1843 # Whether or not to add -lc for building shared libraries.
1844 build_libtool_need_lc=$archive_cmds_need_lc
1845
1846 # Whether or not to disallow shared libs when runtime libs are static.
1847 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
1848
1849 # Compiler flag to allow reflexive dlopens.
1850 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
1851
1852 # Compiler flag to generate shared objects directly from archives.
1853 whole_archive_flag_spec=$lt_whole_archive_flag_spec
1854
1855 # Whether the compiler copes with passing no objects directly.
1856 compiler_needs_object=$lt_compiler_needs_object
1857
1858 # Create an old-style archive from a shared archive.
1859 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
1860
1861 # Create a temporary old-style archive to link instead of a shared archive.
1862 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
1863
1864 # Commands used to build a shared archive.
1865 archive_cmds=$lt_archive_cmds
1866 archive_expsym_cmds=$lt_archive_expsym_cmds
1867
1868 # Commands used to build a loadable module if different from building
1869 # a shared archive.
1870 module_cmds=$lt_module_cmds
1871 module_expsym_cmds=$lt_module_expsym_cmds
1872
1873 # Whether we are building with GNU ld or not.
1874 with_gnu_ld=$lt_with_gnu_ld
1875
1876 # Flag that allows shared libraries with undefined symbols to be built.
1877 allow_undefined_flag=$lt_allow_undefined_flag
1878
1879 # Flag that enforces no undefined symbols.
1880 no_undefined_flag=$lt_no_undefined_flag
1881
1882 # Flag to hardcode \$libdir into a binary during linking.
1883 # This must work even if \$libdir does not exist
1884 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
1885
1886 # If ld is used when linking, flag to hardcode \$libdir into a binary
1887 # during linking.  This must work even if \$libdir does not exist.
1888 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
1889
1890 # Whether we need a single "-rpath" flag with a separated argument.
1891 hardcode_libdir_separator=$lt_hardcode_libdir_separator
1892
1893 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
1894 # DIR into the resulting binary.
1895 hardcode_direct=$hardcode_direct
1896
1897 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
1898 # DIR into the resulting binary and the resulting library dependency is
1899 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
1900 # library is relocated.
1901 hardcode_direct_absolute=$hardcode_direct_absolute
1902
1903 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
1904 # into the resulting binary.
1905 hardcode_minus_L=$hardcode_minus_L
1906
1907 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
1908 # into the resulting binary.
1909 hardcode_shlibpath_var=$hardcode_shlibpath_var
1910
1911 # Set to "yes" if building a shared library automatically hardcodes DIR
1912 # into the library and all subsequent libraries and executables linked
1913 # against it.
1914 hardcode_automatic=$hardcode_automatic
1915
1916 # Set to yes if linker adds runtime paths of dependent libraries
1917 # to runtime path list.
1918 inherit_rpath=$inherit_rpath
1919
1920 # Whether libtool must link a program against all its dependency libraries.
1921 link_all_deplibs=$link_all_deplibs
1922
1923 # Fix the shell variable \$srcfile for the compiler.
1924 fix_srcfile_path=$lt_fix_srcfile_path
1925
1926 # Set to "yes" if exported symbols are required.
1927 always_export_symbols=$always_export_symbols
1928
1929 # The commands to list exported symbols.
1930 export_symbols_cmds=$lt_export_symbols_cmds
1931
1932 # Symbols that should not be listed in the preloaded symbols.
1933 exclude_expsyms=$lt_exclude_expsyms
1934
1935 # Symbols that must always be exported.
1936 include_expsyms=$lt_include_expsyms
1937
1938 # Commands necessary for linking programs (against libraries) with templates.
1939 prelink_cmds=$lt_prelink_cmds
1940
1941 # Specify filename containing input files.
1942 file_list_spec=$lt_file_list_spec
1943
1944 # How to hardcode a shared library path into an executable.
1945 hardcode_action=$hardcode_action
1946
1947 # ### END LIBTOOL CONFIG
1948
1949 _LT_EOF
1950
1951   case $host_os in
1952   aix3*)
1953     cat <<\_LT_EOF >> "$cfgfile"
1954 # AIX sometimes has problems with the GCC collect2 program.  For some
1955 # reason, if we set the COLLECT_NAMES environment variable, the problems
1956 # vanish in a puff of smoke.
1957 if test "X${COLLECT_NAMES+set}" != Xset; then
1958   COLLECT_NAMES=
1959   export COLLECT_NAMES
1960 fi
1961 _LT_EOF
1962     ;;
1963   esac
1964
1965
1966 ltmain="$ac_aux_dir/ltmain.sh"
1967
1968
1969   # We use sed instead of cat because bash on DJGPP gets confused if
1970   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
1971   # text mode, it properly converts lines to CR/LF.  This bash problem
1972   # is reportedly fixed, but why not run on old versions too?
1973   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
1974     || (rm -f "$cfgfile"; exit 1)
1975
1976   case $xsi_shell in
1977   yes)
1978     cat << \_LT_EOF >> "$cfgfile"
1979
1980 # func_dirname file append nondir_replacement
1981 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
1982 # otherwise set result to NONDIR_REPLACEMENT.
1983 func_dirname ()
1984 {
1985   case ${1} in
1986     */*) func_dirname_result="${1%/*}${2}" ;;
1987     *  ) func_dirname_result="${3}" ;;
1988   esac
1989 }
1990
1991 # func_basename file
1992 func_basename ()
1993 {
1994   func_basename_result="${1##*/}"
1995 }
1996
1997 # func_dirname_and_basename file append nondir_replacement
1998 # perform func_basename and func_dirname in a single function
1999 # call:
2000 #   dirname:  Compute the dirname of FILE.  If nonempty,
2001 #             add APPEND to the result, otherwise set result
2002 #             to NONDIR_REPLACEMENT.
2003 #             value returned in "$func_dirname_result"
2004 #   basename: Compute filename of FILE.
2005 #             value retuned in "$func_basename_result"
2006 # Implementation must be kept synchronized with func_dirname
2007 # and func_basename. For efficiency, we do not delegate to
2008 # those functions but instead duplicate the functionality here.
2009 func_dirname_and_basename ()
2010 {
2011   case ${1} in
2012     */*) func_dirname_result="${1%/*}${2}" ;;
2013     *  ) func_dirname_result="${3}" ;;
2014   esac
2015   func_basename_result="${1##*/}"
2016 }
2017
2018 # func_stripname prefix suffix name
2019 # strip PREFIX and SUFFIX off of NAME.
2020 # PREFIX and SUFFIX must not contain globbing or regex special
2021 # characters, hashes, percent signs, but SUFFIX may contain a leading
2022 # dot (in which case that matches only a dot).
2023 func_stripname ()
2024 {
2025   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
2026   # positional parameters, so assign one to ordinary parameter first.
2027   func_stripname_result=${3}
2028   func_stripname_result=${func_stripname_result#"${1}"}
2029   func_stripname_result=${func_stripname_result%"${2}"}
2030 }
2031
2032 # func_opt_split
2033 func_opt_split ()
2034 {
2035   func_opt_split_opt=${1%%=*}
2036   func_opt_split_arg=${1#*=}
2037 }
2038
2039 # func_lo2o object
2040 func_lo2o ()
2041 {
2042   case ${1} in
2043     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
2044     *)    func_lo2o_result=${1} ;;
2045   esac
2046 }
2047
2048 # func_xform libobj-or-source
2049 func_xform ()
2050 {
2051   func_xform_result=${1%.*}.lo
2052 }
2053
2054 # func_arith arithmetic-term...
2055 func_arith ()
2056 {
2057   func_arith_result=$(( $* ))
2058 }
2059
2060 # func_len string
2061 # STRING may not start with a hyphen.
2062 func_len ()
2063 {
2064   func_len_result=${#1}
2065 }
2066
2067 _LT_EOF
2068     ;;
2069   *) # Bourne compatible functions.
2070     cat << \_LT_EOF >> "$cfgfile"
2071
2072 # func_dirname file append nondir_replacement
2073 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
2074 # otherwise set result to NONDIR_REPLACEMENT.
2075 func_dirname ()
2076 {
2077   # Extract subdirectory from the argument.
2078   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
2079   if test "X$func_dirname_result" = "X${1}"; then
2080     func_dirname_result="${3}"
2081   else
2082     func_dirname_result="$func_dirname_result${2}"
2083   fi
2084 }
2085
2086 # func_basename file
2087 func_basename ()
2088 {
2089   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
2090 }
2091
2092
2093 # func_stripname prefix suffix name
2094 # strip PREFIX and SUFFIX off of NAME.
2095 # PREFIX and SUFFIX must not contain globbing or regex special
2096 # characters, hashes, percent signs, but SUFFIX may contain a leading
2097 # dot (in which case that matches only a dot).
2098 # func_strip_suffix prefix name
2099 func_stripname ()
2100 {
2101   case ${2} in
2102     .*) func_stripname_result=`$ECHO "X${3}" \
2103            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
2104     *)  func_stripname_result=`$ECHO "X${3}" \
2105            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
2106   esac
2107 }
2108
2109 # sed scripts:
2110 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
2111 my_sed_long_arg='1s/^-[^=]*=//'
2112
2113 # func_opt_split
2114 func_opt_split ()
2115 {
2116   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
2117   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
2118 }
2119
2120 # func_lo2o object
2121 func_lo2o ()
2122 {
2123   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
2124 }
2125
2126 # func_xform libobj-or-source
2127 func_xform ()
2128 {
2129   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
2130 }
2131
2132 # func_arith arithmetic-term...
2133 func_arith ()
2134 {
2135   func_arith_result=`expr "$@"`
2136 }
2137
2138 # func_len string
2139 # STRING may not start with a hyphen.
2140 func_len ()
2141 {
2142   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
2143 }
2144
2145 _LT_EOF
2146 esac
2147
2148 case $lt_shell_append in
2149   yes)
2150     cat << \_LT_EOF >> "$cfgfile"
2151
2152 # func_append var value
2153 # Append VALUE to the end of shell variable VAR.
2154 func_append ()
2155 {
2156   eval "$1+=\$2"
2157 }
2158 _LT_EOF
2159     ;;
2160   *)
2161     cat << \_LT_EOF >> "$cfgfile"
2162
2163 # func_append var value
2164 # Append VALUE to the end of shell variable VAR.
2165 func_append ()
2166 {
2167   eval "$1=\$$1\$2"
2168 }
2169
2170 _LT_EOF
2171     ;;
2172   esac
2173
2174
2175   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
2176     || (rm -f "$cfgfile"; exit 1)
2177
2178   mv -f "$cfgfile" "$ofile" ||
2179     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
2180   chmod +x "$ofile"
2181
2182  ;;
2183     "default-1":C)
2184     for ac_file in $CONFIG_FILES; do
2185       # Support "outfile[:infile[:infile...]]"
2186       case "$ac_file" in
2187         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
2188       esac
2189       # PO directories have a Makefile.in generated from Makefile.in.in.
2190       case "$ac_file" in */Makefile.in)
2191         # Adjust a relative srcdir.
2192         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
2193         ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
2194         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
2195         # In autoconf-2.13 it is called $ac_given_srcdir.
2196         # In autoconf-2.50 it is called $srcdir.
2197         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
2198         case "$ac_given_srcdir" in
2199           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
2200           /*) top_srcdir="$ac_given_srcdir" ;;
2201           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
2202         esac
2203         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
2204           rm -f "$ac_dir/POTFILES"
2205           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
2206           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[   ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
2207           POMAKEFILEDEPS="POTFILES.in"
2208           # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
2209           # on $ac_dir but don't depend on user-specified configuration
2210           # parameters.
2211           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
2212             # The LINGUAS file contains the set of available languages.
2213             if test -n "$OBSOLETE_ALL_LINGUAS"; then
2214               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
2215             fi
2216             ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
2217             # Hide the ALL_LINGUAS assigment from automake.
2218             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
2219             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
2220           else
2221             # The set of available languages was given in configure.in.
2222             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
2223           fi
2224           # Compute POFILES
2225           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
2226           # Compute UPDATEPOFILES
2227           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
2228           # Compute DUMMYPOFILES
2229           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
2230           # Compute GMOFILES
2231           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
2232           case "$ac_given_srcdir" in
2233             .) srcdirpre= ;;
2234             *) srcdirpre='$(srcdir)/' ;;
2235           esac
2236           POFILES=
2237           UPDATEPOFILES=
2238           DUMMYPOFILES=
2239           GMOFILES=
2240           for lang in $ALL_LINGUAS; do
2241             POFILES="$POFILES $srcdirpre$lang.po"
2242             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
2243             DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
2244             GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
2245           done
2246           # CATALOGS depends on both $ac_dir and the user's LINGUAS
2247           # environment variable.
2248           INST_LINGUAS=
2249           if test -n "$ALL_LINGUAS"; then
2250             for presentlang in $ALL_LINGUAS; do
2251               useit=no
2252               if test "%UNSET%" != "$LINGUAS"; then
2253                 desiredlanguages="$LINGUAS"
2254               else
2255                 desiredlanguages="$ALL_LINGUAS"
2256               fi
2257               for desiredlang in $desiredlanguages; do
2258                 # Use the presentlang catalog if desiredlang is
2259                 #   a. equal to presentlang, or
2260                 #   b. a variant of presentlang (because in this case,
2261                 #      presentlang can be used as a fallback for messages
2262                 #      which are not translated in the desiredlang catalog).
2263                 case "$desiredlang" in
2264                   "$presentlang"*) useit=yes;;
2265                 esac
2266               done
2267               if test $useit = yes; then
2268                 INST_LINGUAS="$INST_LINGUAS $presentlang"
2269               fi
2270             done
2271           fi
2272           CATALOGS=
2273           if test -n "$INST_LINGUAS"; then
2274             for lang in $INST_LINGUAS; do
2275               CATALOGS="$CATALOGS $lang.gmo"
2276             done
2277           fi
2278           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
2279           sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
2280           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
2281             if test -f "$f"; then
2282               case "$f" in
2283                 *.orig | *.bak | *~) ;;
2284                 *) cat "$f" >> "$ac_dir/Makefile" ;;
2285               esac
2286             fi
2287           done
2288         fi
2289         ;;
2290       esac
2291     done ;;
2292     "default-2":C)
2293     for ac_file in $CONFIG_FILES; do
2294       # Support "outfile[:infile[:infile...]]"
2295       case "$ac_file" in
2296         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
2297       esac
2298       # PO directories have a Makefile.in generated from Makefile.in.in.
2299       case "$ac_file" in */Makefile.in)
2300         # Adjust a relative srcdir.
2301         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
2302         ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
2303         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
2304         # In autoconf-2.13 it is called $ac_given_srcdir.
2305         # In autoconf-2.50 it is called $srcdir.
2306         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
2307         case "$ac_given_srcdir" in
2308           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
2309           /*) top_srcdir="$ac_given_srcdir" ;;
2310           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
2311         esac
2312         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
2313           rm -f "$ac_dir/POTFILES"
2314           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
2315           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[   ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
2316           POMAKEFILEDEPS="POTFILES.in"
2317           # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
2318           # on $ac_dir but don't depend on user-specified configuration
2319           # parameters.
2320           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
2321             # The LINGUAS file contains the set of available languages.
2322             if test -n "$OBSOLETE_ALL_LINGUAS"; then
2323               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
2324             fi
2325             ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
2326             # Hide the ALL_LINGUAS assigment from automake.
2327             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
2328             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
2329           else
2330             # The set of available languages was given in configure.in.
2331             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
2332           fi
2333           # Compute POFILES
2334           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
2335           # Compute UPDATEPOFILES
2336           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
2337           # Compute DUMMYPOFILES
2338           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
2339           # Compute GMOFILES
2340           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
2341           case "$ac_given_srcdir" in
2342             .) srcdirpre= ;;
2343             *) srcdirpre='$(srcdir)/' ;;
2344           esac
2345           POFILES=
2346           UPDATEPOFILES=
2347           DUMMYPOFILES=
2348           GMOFILES=
2349           for lang in $ALL_LINGUAS; do
2350             POFILES="$POFILES $srcdirpre$lang.po"
2351             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
2352             DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
2353             GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
2354           done
2355           # CATALOGS depends on both $ac_dir and the user's LINGUAS
2356           # environment variable.
2357           INST_LINGUAS=
2358           if test -n "$ALL_LINGUAS"; then
2359             for presentlang in $ALL_LINGUAS; do
2360               useit=no
2361               if test "%UNSET%" != "$LINGUAS"; then
2362                 desiredlanguages="$LINGUAS"
2363               else
2364                 desiredlanguages="$ALL_LINGUAS"
2365               fi
2366               for desiredlang in $desiredlanguages; do
2367                 # Use the presentlang catalog if desiredlang is
2368                 #   a. equal to presentlang, or
2369                 #   b. a variant of presentlang (because in this case,
2370                 #      presentlang can be used as a fallback for messages
2371                 #      which are not translated in the desiredlang catalog).
2372                 case "$desiredlang" in
2373                   "$presentlang"*) useit=yes;;
2374                 esac
2375               done
2376               if test $useit = yes; then
2377                 INST_LINGUAS="$INST_LINGUAS $presentlang"
2378               fi
2379             done
2380           fi
2381           CATALOGS=
2382           if test -n "$INST_LINGUAS"; then
2383             for lang in $INST_LINGUAS; do
2384               CATALOGS="$CATALOGS $lang.gmo"
2385             done
2386           fi
2387           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
2388           sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
2389           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
2390             if test -f "$f"; then
2391               case "$f" in
2392                 *.orig | *.bak | *~) ;;
2393                 *) cat "$f" >> "$ac_dir/Makefile" ;;
2394               esac
2395             fi
2396           done
2397         fi
2398         ;;
2399       esac
2400     done ;;
2401
2402   esac
2403 done # for ac_tag
2404
2405
2406 as_fn_exit 0