1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344 |
- #! /bin/sh
- # Generated by configure.
- # Run this file to recreate the current configuration.
- # Compiler output produced by configure, useful for debugging
- # configure, is in config.log if it exists.
- debug=false
- ac_cs_recheck=false
- ac_cs_silent=false
- SHELL=${CONFIG_SHELL-/bin/sh}
- export SHELL
- ## -------------------- ##
- ## M4sh Initialization. ##
- ## -------------------- ##
- # Be more Bourne compatible
- DUALCASE=1; export DUALCASE # for MKS sh
- if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
- else
- case `(set -o) 2>/dev/null` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
- esac
- fi
- as_nl='
- '
- export as_nl
- # Printing a long string crashes Solaris 7 /usr/bin/printf.
- as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
- as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
- as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
- # Prefer a ksh shell builtin over an external printf program on Solaris,
- # but without wasting forks for bash or zsh.
- if test -z "$BASH_VERSION$ZSH_VERSION" \
- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='print -r --'
- as_echo_n='print -rn --'
- elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='printf %s\n'
- as_echo_n='printf %s'
- else
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
- as_echo_n='/usr/ucb/echo -n'
- else
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
- as_echo_n_body='eval
- arg=$1;
- case $arg in #(
- *"$as_nl"*)
- expr "X$arg" : "X\\(.*\\)$as_nl";
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
- esac;
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
- '
- export as_echo_n_body
- as_echo_n='sh -c $as_echo_n_body as_echo'
- fi
- export as_echo_body
- as_echo='sh -c $as_echo_body as_echo'
- fi
- # The user is always right.
- if test "${PATH_SEPARATOR+set}" != set; then
- PATH_SEPARATOR=:
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
- PATH_SEPARATOR=';'
- }
- fi
- # IFS
- # We need space, tab and new line, in precisely that order. Quoting is
- # there to prevent editors from complaining about space-tab.
- # (If _AS_PATH_WALK were called with IFS unset, it would disable word
- # splitting by setting IFS to empty value.)
- IFS=" "" $as_nl"
- # Find who we are. Look in the path if we contain no directory separator.
- as_myself=
- case $0 in #((
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- for as_dir in $PATH
- do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
- done
- IFS=$as_save_IFS
- ;;
- esac
- # We did not find ourselves, most probably we were run as `sh COMMAND'
- # in which case we are not to be found in the path.
- if test "x$as_myself" = x; then
- as_myself=$0
- fi
- if test ! -f "$as_myself"; then
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- exit 1
- fi
- # Unset variables that we do not need and which cause bugs (e.g. in
- # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
- # suppresses any "Segmentation fault" message there. '((' could
- # trigger a bug in pdksh 5.2.14.
- for as_var in BASH_ENV ENV MAIL MAILPATH
- do eval test x\${$as_var+set} = xset \
- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
- done
- PS1='$ '
- PS2='> '
- PS4='+ '
- # NLS nuisances.
- LC_ALL=C
- export LC_ALL
- LANGUAGE=C
- export LANGUAGE
- # CDPATH.
- (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
- # as_fn_error STATUS ERROR [LINENO LOG_FD]
- # ----------------------------------------
- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
- # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
- # script with STATUS, using 1 if that was 0.
- as_fn_error ()
- {
- as_status=$1; test $as_status -eq 0 && as_status=1
- if test "$4"; then
- as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
- fi
- $as_echo "$as_me: error: $2" >&2
- as_fn_exit $as_status
- } # as_fn_error
- # as_fn_set_status STATUS
- # -----------------------
- # Set $? to STATUS, without forking.
- as_fn_set_status ()
- {
- return $1
- } # as_fn_set_status
- # as_fn_exit STATUS
- # -----------------
- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
- as_fn_exit ()
- {
- set +e
- as_fn_set_status $1
- exit $1
- } # as_fn_exit
- # as_fn_unset VAR
- # ---------------
- # Portably unset VAR.
- as_fn_unset ()
- {
- { eval $1=; unset $1;}
- }
- as_unset=as_fn_unset
- # as_fn_append VAR VALUE
- # ----------------------
- # Append the text in VALUE to the end of the definition contained in VAR. Take
- # advantage of any shell optimizations that allow amortized linear growth over
- # repeated appends, instead of the typical quadratic growth present in naive
- # implementations.
- if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
- eval 'as_fn_append ()
- {
- eval $1+=\$2
- }'
- else
- as_fn_append ()
- {
- eval $1=\$$1\$2
- }
- fi # as_fn_append
- # as_fn_arith ARG...
- # ------------------
- # Perform arithmetic evaluation on the ARGs, and store the result in the
- # global $as_val. Take advantage of shells that can avoid forks. The arguments
- # must be portable across $(()) and expr.
- if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
- eval 'as_fn_arith ()
- {
- as_val=$(( $* ))
- }'
- else
- as_fn_arith ()
- {
- as_val=`expr "$@" || test $? -eq 1`
- }
- fi # as_fn_arith
- if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
- else
- as_expr=false
- fi
- if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
- else
- as_basename=false
- fi
- if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
- else
- as_dirname=false
- fi
- as_me=`$as_basename -- "$0" ||
- $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
- $as_echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- # Avoid depending upon Character Ranges.
- as_cr_letters='abcdefghijklmnopqrstuvwxyz'
- as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
- as_cr_Letters=$as_cr_letters$as_cr_LETTERS
- as_cr_digits='0123456789'
- as_cr_alnum=$as_cr_Letters$as_cr_digits
- ECHO_C= ECHO_N= ECHO_T=
- case `echo -n x` in #(((((
- -n*)
- case `echo 'xy\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- xy) ECHO_C='\c';;
- *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
- ECHO_T=' ';;
- esac;;
- *)
- ECHO_N='-n';;
- esac
- rm -f conf$$ conf$$.exe conf$$.file
- if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
- else
- rm -f conf$$.dir
- mkdir conf$$.dir 2>/dev/null
- fi
- if (echo >conf$$.file) 2>/dev/null; then
- if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
- elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
- else
- as_ln_s='cp -p'
- fi
- else
- as_ln_s='cp -p'
- fi
- rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
- rmdir conf$$.dir 2>/dev/null
- # as_fn_mkdir_p
- # -------------
- # Create "$as_dir" as a directory, including parents if necessary.
- as_fn_mkdir_p ()
- {
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || eval $as_mkdir_p || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
- $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
- $as_echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
- } # as_fn_mkdir_p
- if mkdir -p . 2>/dev/null; then
- as_mkdir_p='mkdir -p "$as_dir"'
- else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
- fi
- if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
- else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in #(
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
- fi
- as_executable_p=$as_test_x
- # Sed expression to map a string onto a valid CPP name.
- as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
- # Sed expression to map a string onto a valid variable name.
- as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
- exec 6>&1
- ## ----------------------------------- ##
- ## Main body of $CONFIG_STATUS script. ##
- ## ----------------------------------- ##
- # Save the log message, to keep $0 and so on meaningful, and to
- # report actual input values of CONFIG_FILES etc. instead of their
- # values after options handling.
- ac_log="
- This file was extended by cgminer $as_me 4.3.5-scrypt.2, which was
- generated by GNU Autoconf 2.68. Invocation command line was
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- CONFIG_LINKS = $CONFIG_LINKS
- CONFIG_COMMANDS = $CONFIG_COMMANDS
- $ $0 $@
- on `(hostname || uname -n) 2>/dev/null | sed 1q`
- "
- # Files that config.status was made for.
- config_files=" Makefile compat/Makefile ccan/Makefile lib/Makefile"
- config_headers=" config.h"
- config_commands=" depfiles libtool"
- ac_cs_usage="\
- \`$as_me' instantiates files and other configuration actions
- from templates according to the current configuration. Unless the files
- and actions are specified as TAGs, all are instantiated by default.
- Usage: $0 [OPTION]... [TAG]...
- -h, --help print this help, then exit
- -V, --version print version number and configuration settings, then exit
- --config print configuration, then exit
- -q, --quiet, --silent
- do not print progress messages
- -d, --debug don't remove temporary files
- --recheck update $as_me by reconfiguring in the same conditions
- --file=FILE[:TEMPLATE]
- instantiate the configuration file FILE
- --header=FILE[:TEMPLATE]
- instantiate the configuration header FILE
- Configuration files:
- $config_files
- Configuration headers:
- $config_headers
- Configuration commands:
- $config_commands
- Report bugs to <kernel@kolivas.org>."
- ac_cs_config="'--enable-scrypt' '--enable-lketc' '--enable-zeus'"
- ac_cs_version="\
- cgminer config.status 4.3.5-scrypt.2
- configured by ./configure, generated by GNU Autoconf 2.68,
- with options \"$ac_cs_config\"
- Copyright (C) 2010 Free Software Foundation, Inc.
- This config.status script is free software; the Free Software Foundation
- gives unlimited permission to copy, distribute and modify it."
- ac_pwd='/home/cross/code'
- srcdir='.'
- INSTALL='/bin/install -c'
- MKDIR_P='/bin/mkdir -p'
- AWK='gawk'
- test -n "$AWK" || AWK=awk
- # The default lists apply if the user does not specify any file.
- ac_need_defaults=:
- while test $# != 0
- do
- case $1 in
- --*=?*)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
- ac_shift=:
- ;;
- --*=)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=
- ac_shift=:
- ;;
- *)
- ac_option=$1
- ac_optarg=$2
- ac_shift=shift
- ;;
- esac
- case $ac_option in
- # Handling of the options.
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ac_cs_recheck=: ;;
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- $as_echo "$ac_cs_version"; exit ;;
- --config | --confi | --conf | --con | --co | --c )
- $as_echo "$ac_cs_config"; exit ;;
- --debug | --debu | --deb | --de | --d | -d )
- debug=: ;;
- --file | --fil | --fi | --f )
- $ac_shift
- case $ac_optarg in
- *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
- '') as_fn_error $? "missing file argument" ;;
- esac
- as_fn_append CONFIG_FILES " '$ac_optarg'"
- ac_need_defaults=false;;
- --header | --heade | --head | --hea )
- $ac_shift
- case $ac_optarg in
- *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- as_fn_append CONFIG_HEADERS " '$ac_optarg'"
- ac_need_defaults=false;;
- --he | --h)
- # Conflict between --help and --header
- as_fn_error $? "ambiguous option: \`$1'
- Try \`$0 --help' for more information.";;
- --help | --hel | -h )
- $as_echo "$ac_cs_usage"; exit ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
- ac_cs_silent=: ;;
- # This is an error.
- -*) as_fn_error $? "unrecognized option: \`$1'
- Try \`$0 --help' for more information." ;;
- *) as_fn_append ac_config_targets " $1"
- ac_need_defaults=false ;;
- esac
- shift
- done
- ac_configure_extra_args=
- if $ac_cs_silent; then
- exec 6>/dev/null
- ac_configure_extra_args="$ac_configure_extra_args --silent"
- fi
- if $ac_cs_recheck; then
- set X '/bin/sh' './configure' '--enable-scrypt' '--enable-lketc' '--enable-zeus' $ac_configure_extra_args --no-create --no-recursion
- shift
- $as_echo "running CONFIG_SHELL=/bin/sh $*" >&6
- CONFIG_SHELL='/bin/sh'
- export CONFIG_SHELL
- exec "$@"
- fi
- exec 5>>config.log
- {
- echo
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
- ## Running $as_me. ##
- _ASBOX
- $as_echo "$ac_log"
- } >&5
- #
- # INIT-COMMANDS
- #
- AMDEP_TRUE="" ac_aux_dir="."
- # The HP-UX ksh and POSIX shell print the target directory to stdout
- # if CDPATH is set.
- (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
- sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
- double_quote_subst='s/\(["`\\]\)/\\\1/g'
- delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
- macro_version='2.4'
- macro_revision='1.3294'
- enable_shared='no'
- enable_static='yes'
- pic_mode='default'
- enable_fast_install='needless'
- SHELL='/bin/sh'
- ECHO='printf %s\n'
- host_alias=''
- host='i686-pc-mingw32'
- host_os='mingw32'
- build_alias=''
- build='i686-pc-mingw32'
- build_os='mingw32'
- SED='/bin/sed'
- Xsed='/bin/sed -e 1s/^X//'
- GREP='/bin/grep'
- EGREP='/bin/grep -E'
- FGREP='/bin/grep -F'
- LD='c:/mingw/mingw32/bin/ld.exe'
- NM='/mingw/bin/nm'
- LN_S='cp -p'
- max_cmd_len='8192'
- ac_objext='o'
- exeext=''
- lt_unset='unset'
- lt_SP2NL='tr \040 \012'
- lt_NL2SP='tr \015\012 \040\040'
- lt_cv_to_host_file_cmd='func_convert_file_msys_to_w32'
- lt_cv_to_tool_file_cmd='func_convert_file_msys_to_w32'
- reload_flag=' -r'
- reload_cmds='$LD$reload_flag -o $output$reload_objs'
- OBJDUMP='objdump'
- deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
- file_magic_cmd='func_win32_libid'
- file_magic_glob=''
- want_nocaseglob='yes'
- DLLTOOL='dlltool'
- sharedlib_from_linklib_cmd='func_cygming_dll_for_implib'
- AR='ar'
- AR_FLAGS='cru'
- archiver_list_spec='@'
- STRIP='strip'
- RANLIB='ranlib'
- old_postinstall_cmds='chmod 644 $oldlib~$RANLIB $oldlib'
- old_postuninstall_cmds=''
- old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $oldlib'
- lock_old_archive_extraction='no'
- CC='gcc'
- CFLAGS='-g -O2'
- compiler='gcc'
- GCC='yes'
- lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)
\{0,1\}$/\1 _\2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
- lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
- lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\'''
- 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'\'''
- nm_file_list_spec='@'
- lt_sysroot=''
- objdir='.libs'
- MAGIC_CMD='file'
- lt_prog_compiler_no_builtin_flag=' -fno-builtin'
- lt_prog_compiler_pic=' -DDLL_EXPORT -DPIC'
- lt_prog_compiler_wl='-Wl,'
- lt_prog_compiler_static='-static'
- lt_cv_prog_compiler_c_o='yes'
- need_locks='no'
- MANIFEST_TOOL=':'
- DSYMUTIL=''
- NMEDIT=''
- LIPO=''
- OTOOL=''
- OTOOL64=''
- libext='a'
- shrext_cmds='.dll'
- extract_expsyms_cmds=''
- archive_cmds_need_lc='yes'
- enable_shared_with_static_runtimes='yes'
- export_dynamic_flag_spec='${wl}--export-all-symbols'
- whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
- compiler_needs_object='no'
- old_archive_from_new_cmds=''
- old_archive_from_expsyms_cmds=''
- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
- archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
- cp $export_symbols $output_objdir/$soname.def;
- else
- echo EXPORTS > $output_objdir/$soname.def;
- cat $export_symbols >> $output_objdir/$soname.def;
- fi~
- $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
- module_cmds=''
- module_expsym_cmds=''
- with_gnu_ld='yes'
- allow_undefined_flag='unsupported'
- no_undefined_flag=''
- hardcode_libdir_flag_spec='-L$libdir'
- hardcode_libdir_flag_spec_ld=''
- hardcode_libdir_separator=''
- hardcode_direct='no'
- hardcode_direct_absolute='no'
- hardcode_minus_L='no'
- hardcode_shlibpath_var='unsupported'
- hardcode_automatic='no'
- inherit_rpath='no'
- link_all_deplibs='unknown'
- always_export_symbols='no'
- export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
- exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
- include_expsyms=''
- prelink_cmds=''
- postlink_cmds=''
- file_list_spec=''
- variables_saved_for_relink='PATH PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH'
- need_lib_prefix='no'
- need_version='no'
- version_type='windows'
- runpath_var='LD_RUN_PATH'
- shlibpath_var='PATH'
- shlibpath_overrides_runpath='yes'
- libname_spec='lib$name'
- library_names_spec='$libname.dll.a'
- soname_spec='${libname}`echo ${release} | $SED -e s/[.]/-/g`${versuffix}${shared_ext}'
- install_override_mode=''
- postinstall_cmds='base_file=`basename \${file}`~
- dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
- dldir=$destdir/`dirname \$dlpath`~
- test -d \$dldir || mkdir -p \$dldir~
- $install_prog $dir/$dlname \$dldir/$dlname~
- chmod a+x \$dldir/$dlname~
- if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
- eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
- fi'
- postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
- dlpath=$dir/\$dldll~
- $RM \$dlpath'
- finish_cmds=''
- finish_eval=''
- hardcode_into_libs='no'
- sys_lib_search_path_spec='c:/mingw/lib/gcc/mingw32/6.3.0 c:/mingw/lib/gcc c:/mingw/mingw32/lib c:/mingw/lib /lib /usr/lib '
- sys_lib_dlsearch_path_spec='/lib /usr/lib'
- hardcode_action='immediate'
- enable_dlopen='unknown'
- enable_dlopen_self='unknown'
- enable_dlopen_self_static='unknown'
- old_striplib='strip --strip-debug'
- striplib='strip --strip-unneeded'
- LTCC='gcc'
- LTCFLAGS='-g -O2'
- compiler='gcc'
- # A function that is used when there is no print builtin or printf.
- func_fallback_echo ()
- {
- eval 'cat <<_LTECHO_EOF
- $1
- _LTECHO_EOF'
- }
- # Quote evaled strings.
- for var in SHELL ECHO SED GREP EGREP FGREP LD NM LN_S lt_SP2NL lt_NL2SP reload_flag OBJDUMP deplibs_check_method file_magic_cmd file_magic_glob want_nocaseglob DLLTOOL sharedlib_from_linklib_cmd AR AR_FLAGS archiver_list_spec 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 nm_file_list_spec lt_prog_compiler_no_builtin_flag lt_prog_compiler_pic lt_prog_compiler_wl lt_prog_compiler_static lt_cv_prog_compiler_c_o need_locks MANIFEST_TOOL 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 exclude_expsyms include_expsyms file_list_spec variables_saved_for_relink libname_spec library_names_spec soname_spec install_override_mode finish_eval old_striplib striplib; do
- case `eval \\$ECHO \\""\\$$var"\\"` in
- *[\\\`\"\$]*)
- eval "lt_$var=\\\"\`\$ECHO \"\$$var\" | \$SED \"\$sed_quote_subst\"\`\\\""
- ;;
- *)
- eval "lt_$var=\\\"\$$var\\\""
- ;;
- esac
- done
- # Double-quote double-evaled strings.
- 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 postlink_cmds postinstall_cmds postuninstall_cmds finish_cmds sys_lib_search_path_spec sys_lib_dlsearch_path_spec; do
- case `eval \\$ECHO \\""\\$$var"\\"` in
- *[\\\`\"\$]*)
- eval "lt_$var=\\\"\`\$ECHO \"\$$var\" | \$SED -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
- ;;
- *)
- eval "lt_$var=\\\"\$$var\\\""
- ;;
- esac
- done
- ac_aux_dir='.'
- xsi_shell='yes'
- lt_shell_append='yes'
- # See if we are running on zsh, and set the options which allow our
- # commands through without removal of \ escapes INIT.
- if test -n "${ZSH_VERSION+set}" ; then
- setopt NO_GLOB_SUBST
- fi
- PACKAGE='cgminer'
- VERSION='4.3.5-scrypt.2'
- TIMESTAMP=''
- RM='rm -f'
- ofile='libtool'
- # Handling of arguments.
- for ac_config_target in $ac_config_targets
- do
- case $ac_config_target in
- "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
- "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
- "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
- "") CONFIG_FILES="$CONFIG_FILES " ;;
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
- "compat/Makefile") CONFIG_FILES="$CONFIG_FILES compat/Makefile" ;;
- "ccan/Makefile") CONFIG_FILES="$CONFIG_FILES ccan/Makefile" ;;
- "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
- *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
- esac
- done
- # If the user did not use the arguments to specify the items to instantiate,
- # then the envvar interface is used. Set only those that are not.
- # We use the long form for the default assignment because of an extremely
- # bizarre bug on SunOS 4.1.3.
- if $ac_need_defaults; then
- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
- test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
- test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
- fi
- # Have a temporary directory for convenience. Make it in the build tree
- # simply because there is no reason against having it here, and in addition,
- # creating and moving files from /tmp can sometimes cause problems.
- # Hook for its removal unless debugging.
- # Note that there is a small window in which the directory will not be cleaned:
- # after its creation but before its name has been assigned to `$tmp'.
- $debug ||
- {
- tmp= ac_tmp=
- trap 'exit_status=$?
- : "${ac_tmp:=$tmp}"
- { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
- ' 0
- trap 'as_fn_exit 1' 1 2 13 15
- }
- # Create a (secure) tmp directory for tmp files.
- {
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- test -d "$tmp"
- } ||
- {
- tmp=./conf$$-$RANDOM
- (umask 077 && mkdir "$tmp")
- } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
- ac_tmp=$tmp
- # Set up the scripts for CONFIG_FILES section.
- # No need to generate them if there are no CONFIG_FILES.
- # This happens for instance with `./config.status config.h'.
- if test -n "$CONFIG_FILES"; then
- ac_cr=`echo X | tr X '\015'`
- # On cygwin, bash can eat \r inside `` if the user requested igncr.
- # But we know of no other shell where ac_cr would be empty at this
- # point, so we can use a bashism as a fallback.
- if test "x$ac_cr" = x; then
- eval ac_cr=\$\'\\r\'
- fi
- ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
- if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
- ac_cs_awk_cr='\\r'
- else
- ac_cs_awk_cr=$ac_cr
- fi
- echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
- cat >>"$ac_tmp/subs1.awk" <<\_ACAWK &&
- S["gltests_LTLIBOBJS"]=""
- S["gltests_LIBOBJS"]=""
- S["gl_LTLIBOBJS"]=" memmem.lo sigaction.lo sigprocmask.lo"
- S["gl_LIBOBJS"]=" memmem.o sigaction.o sigprocmask.o"
- S["am__EXEEXT_FALSE"]="#"
- S["am__EXEEXT_TRUE"]=""
- S["LTLIBOBJS"]=""
- S["LIBOBJS"]=""
- S["RT_LIBS"]=""
- S["MATH_LIBS"]="-lm"
- S["MM_LIBS"]="-lwinmm"
- S["WS2_LIBS"]="-lws2_32"
- S["PDCURSES_LIBS"]=""
- S["NCURSES_LIBS"]=""
- S["PTHREAD_LIBS"]="-lpthread"
- S["DLOPEN_FLAGS"]=""
- S["PTHREAD_FLAGS"]=""
- S["JANSSON_LIBS"]="compat/jansson-2.5/src/.libs/libjansson.a"
- S["LIBCURL_LIBS"]="-LC:/MinGW/lib -lcurl -lcurldll "
- S["LIBCURL_CFLAGS"]="@CPPFLAG_CURL_STATICLIB@ -IC:/MinGW/include "
- S["LIBUDEV_LIBS"]=""
- S["WANT_STATIC_LIBUSB_FALSE"]="#"
- S["WANT_STATIC_LIBUSB_TRUE"]=""
- S["subdirs"]=" compat/libusb-1.0 compat/jansson-2.5"
- S["LIBUSB_LIBS"]="compat/libusb-1.0/libusb/.libs/libusb-1.0.a"
- S["LIBUSB_CFLAGS"]=""
- S["PKG_CONFIG_LIBDIR"]=""
- S["PKG_CONFIG_PATH"]=""
- S["PKG_CONFIG"]="/mingw/bin/pkg-config"
- S["HAVE_x86_64_FALSE"]=""
- S["HAVE_x86_64_TRUE"]="#"
- S["HAVE_WINDOWS_FALSE"]="#"
- S["HAVE_WINDOWS_TRUE"]=""
- S["HAVE_CURSES_FALSE"]="#"
- S["HAVE_CURSES_TRUE"]=""
- S["WANT_LIBBITFURY_FALSE"]=""
- S["WANT_LIBBITFURY_TRUE"]="#"
- S["WANT_USBUTILS_FALSE"]="#"
- S["WANT_USBUTILS_TRUE"]=""
- S["NEED_FPGAUTILS_FALSE"]="#"
- S["NEED_FPGAUTILS_TRUE"]=""
- S["HAS_LKETC_FALSE"]="#"
- S["HAS_LKETC_TRUE"]=""
- S["HAS_ZEUS_FALSE"]="#"
- S["HAS_ZEUS_TRUE"]=""
- S["HAS_GRIDSEED_FALSE"]=""
- S["HAS_GRIDSEED_TRUE"]="#"
- S["HAS_SPONDOOLIES_FALSE"]=""
- S["HAS_SPONDOOLIES_TRUE"]="#"
- S["HAS_MODMINER_FALSE"]=""
- S["HAS_MODMINER_TRUE"]="#"
- S["HAS_MINION_FALSE"]=""
- S["HAS_MINION_TRUE"]="#"
- S["HAS_AVALON2_FALSE"]=""
- S["HAS_AVALON2_TRUE"]="#"
- S["HAS_KNC_FALSE"]=""
- S["HAS_KNC_TRUE"]="#"
- S["HAS_KLONDIKE_FALSE"]=""
- S["HAS_KLONDIKE_TRUE"]="#"
- S["HAS_ICARUS_FALSE"]=""
- S["HAS_ICARUS_TRUE"]="#"
- S["HAS_HASHFAST_FALSE"]=""
- S["HAS_HASHFAST_TRUE"]="#"
- S["HAS_DRILLBIT_FALSE"]=""
- S["HAS_DRILLBIT_TRUE"]="#"
- S["HAS_BITMINE_A1_FALSE"]=""
- S["HAS_BITMINE_A1_TRUE"]="#"
- S["HAS_COINTERRA_FALSE"]=""
- S["HAS_COINTERRA_TRUE"]="#"
- S["HAS_BITFURY_FALSE"]=""
- S["HAS_BITFURY_TRUE"]="#"
- S["HAS_BITFORCE_FALSE"]=""
- S["HAS_BITFORCE_TRUE"]="#"
- S["HAS_BFLSC_FALSE"]=""
- S["HAS_BFLSC_TRUE"]="#"
- S["HAS_BAB_FALSE"]=""
- S["HAS_BAB_TRUE"]="#"
- S["HAS_AVALON_FALSE"]=""
- S["HAS_AVALON_TRUE"]="#"
- S["HAS_ANT_S2_FALSE"]=""
- S["HAS_ANT_S2_TRUE"]="#"
- S["HAS_ANT_S1_FALSE"]=""
- S["HAS_ANT_S1_TRUE"]="#"
- S["HAS_SCRYPT_FALSE"]="#"
- S["HAS_SCRYPT_TRUE"]=""
- S["ALLOCA"]=""
- S["LIBGNU_LTLIBDEPS"]=""
- S["LIBGNU_LIBDEPS"]=""
- S["gltests_WITNESS"]="IN_CGMINER_GNULIB_TESTS"
- S["NEXT_AS_FIRST_DIRECTIVE_STRING_H"]="<string.h>"
- S["NEXT_STRING_H"]="<string.h>"
- S["GL_GENERATE_STDINT_H_FALSE"]=""
- S["GL_GENERATE_STDINT_H_TRUE"]="#"
- S["STDINT_H"]=""
- S["WINT_T_SUFFIX"]=""
- S["WCHAR_T_SUFFIX"]=""
- S["SIG_ATOMIC_T_SUFFIX"]=""
- S["SIZE_T_SUFFIX"]=""
- S["PTRDIFF_T_SUFFIX"]=""
- S["HAVE_SIGNED_WINT_T"]=""
- S["HAVE_SIGNED_WCHAR_T"]=""
- S["HAVE_SIGNED_SIG_ATOMIC_T"]=""
- S["BITSIZEOF_WINT_T"]=""
- S["BITSIZEOF_WCHAR_T"]=""
- S["BITSIZEOF_SIG_ATOMIC_T"]=""
- S["BITSIZEOF_SIZE_T"]=""
- S["BITSIZEOF_PTRDIFF_T"]=""
- S["HAVE_SYS_BITYPES_H"]=""
- S["HAVE_SYS_INTTYPES_H"]=""
- S["HAVE_STDINT_H"]="1"
- S["NEXT_AS_FIRST_DIRECTIVE_STDINT_H"]="<stdint.h>"
- S["NEXT_STDINT_H"]="<stdint.h>"
- S["HAVE_SYS_TYPES_H"]="1"
- S["HAVE_INTTYPES_H"]="1"
- S["HAVE_WCHAR_H"]="1"
- S["HAVE_UNSIGNED_LONG_LONG_INT"]="1"
- S["HAVE_LONG_LONG_INT"]="1"
- S["NEXT_AS_FIRST_DIRECTIVE_STDDEF_H"]=""
- S["NEXT_STDDEF_H"]=""
- S["GL_GENERATE_STDDEF_H_FALSE"]=""
- S["GL_GENERATE_STDDEF_H_TRUE"]="#"
- S["STDDEF_H"]=""
- S["HAVE_WCHAR_T"]="1"
- S["REPLACE_NULL"]="0"
- S["NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H"]="<signal.h>"
- S["NEXT_SIGNAL_H"]="<signal.h>"
- S["PRAGMA_COLUMNS"]=""
- S["PRAGMA_SYSTEM_HEADER"]="#pragma GCC system_header"
- S["INCLUDE_NEXT_AS_FIRST_DIRECTIVE"]="include_next"
- S["INCLUDE_NEXT"]="include_next"
- S["HAVE_SIGHANDLER_T"]="0"
- S["HAVE_TYPE_VOLATILE_SIG_ATOMIC_T"]="1"
- S["HAVE_STRUCT_SIGACTION_SA_SIGACTION"]="1"
- S["HAVE_SIGACTION"]="0"
- S["HAVE_SIGINFO_T"]="0"
- S["HAVE_SIGSET_T"]="1"
- S["HAVE_POSIX_SIGNALBLOCKING"]="0"
- S["GNULIB_SIGACTION"]="1"
- S["GNULIB_SIGPROCMASK"]="1"
- S["GNULIB_SIGNAL_H_SIGPIPE"]="0"
- S["APPLE_UNIVERSAL_BUILD"]="0"
- S["UNDEFINE_STRTOK_R"]="0"
- S["REPLACE_STRTOK_R"]="0"
- S["REPLACE_STRSIGNAL"]="0"
- S["REPLACE_STRNLEN"]="0"
- S["REPLACE_STRNDUP"]="0"
- S["REPLACE_STRNCAT"]="0"
- S["REPLACE_STRERROR_R"]="0"
- S["REPLACE_STRERROR"]="0"
- S["REPLACE_STRCHRNUL"]="0"
- S["REPLACE_STRCASESTR"]="0"
- S["REPLACE_STRSTR"]="0"
- S["REPLACE_STRDUP"]="0"
- S["REPLACE_STPNCPY"]="0"
- S["REPLACE_MEMMEM"]="0"
- S["REPLACE_MEMCHR"]="0"
- S["HAVE_STRVERSCMP"]="1"
- S["HAVE_DECL_STRSIGNAL"]="1"
- S["HAVE_DECL_STRERROR_R"]="1"
- S["HAVE_DECL_STRTOK_R"]="1"
- S["HAVE_STRCASESTR"]="1"
- S["HAVE_STRSEP"]="1"
- S["HAVE_STRPBRK"]="1"
- S["HAVE_DECL_STRNLEN"]="1"
- S["HAVE_DECL_STRNDUP"]="1"
- S["HAVE_DECL_STRDUP"]="1"
- S["HAVE_STRCHRNUL"]="1"
- S["HAVE_STPNCPY"]="1"
- S["HAVE_STPCPY"]="1"
- S["HAVE_RAWMEMCHR"]="1"
- S["HAVE_DECL_MEMRCHR"]="1"
- S["HAVE_MEMPCPY"]="1"
- S["HAVE_DECL_MEMMEM"]="0"
- S["HAVE_MEMCHR"]="1"
- S["HAVE_MBSLEN"]="0"
- S["GNULIB_STRVERSCMP"]="0"
- S["GNULIB_STRSIGNAL"]="0"
- S["GNULIB_STRERROR_R"]="0"
- S["GNULIB_STRERROR"]="0"
- S["GNULIB_MBSTOK_R"]="0"
- S["GNULIB_MBSSEP"]="0"
- S["GNULIB_MBSSPN"]="0"
- S["GNULIB_MBSPBRK"]="0"
- S["GNULIB_MBSCSPN"]="0"
- S["GNULIB_MBSCASESTR"]="0"
- S["GNULIB_MBSPCASECMP"]="0"
- S["GNULIB_MBSNCASECMP"]="0"
- S["GNULIB_MBSCASECMP"]="0"
- S["GNULIB_MBSSTR"]="0"
- S["GNULIB_MBSRCHR"]="0"
- S["GNULIB_MBSCHR"]="0"
- S["GNULIB_MBSNLEN"]="0"
- S["GNULIB_MBSLEN"]="0"
- S["GNULIB_STRTOK_R"]="0"
- S["GNULIB_STRCASESTR"]="0"
- S["GNULIB_STRSTR"]="0"
- S["GNULIB_STRSEP"]="0"
- S["GNULIB_STRPBRK"]="0"
- S["GNULIB_STRNLEN"]="0"
- S["GNULIB_STRNDUP"]="0"
- S["GNULIB_STRNCAT"]="0"
- S["GNULIB_STRDUP"]="0"
- S["GNULIB_STRCHRNUL"]="0"
- S["GNULIB_STPNCPY"]="0"
- S["GNULIB_STPCPY"]="0"
- S["GNULIB_RAWMEMCHR"]="0"
- S["GNULIB_MEMRCHR"]="0"
- S["GNULIB_MEMPCPY"]="0"
- S["GNULIB_MEMMEM"]="1"
- S["GNULIB_MEMCHR"]="1"
- S["GL_COND_LIBTOOL_FALSE"]=""
- S["GL_COND_LIBTOOL_TRUE"]="#"
- S["OTOOL64"]=""
- S["OTOOL"]=""
- S["LIPO"]=""
- S["NMEDIT"]=""
- S["DSYMUTIL"]=""
- S["MANIFEST_TOOL"]=":"
- S["ac_ct_AR"]="ar"
- S["AR"]="ar"
- S["DLLTOOL"]="dlltool"
- S["OBJDUMP"]="objdump"
- S["LN_S"]="cp -p"
- S["NM"]="/mingw/bin/nm"
- S["ac_ct_DUMPBIN"]=""
- S["DUMPBIN"]=""
- S["LD"]="c:/mingw/mingw32/bin/ld.exe"
- S["FGREP"]="/bin/grep -F"
- S["SED"]="/bin/sed"
- S["LIBTOOL"]="$(SHELL) $(top_builddir)/libtool"
- S["RANLIB"]="ranlib"
- S["MAINT"]="#"
- S["MAINTAINER_MODE_FALSE"]=""
- S["MAINTAINER_MODE_TRUE"]="#"
- S["VMAJ"]="4"
- S["release_info"]=""
- S["version_info"]="7:5:3"
- S["EGREP"]="/bin/grep -E"
- S["GREP"]="/bin/grep"
- S["CPP"]="gcc -E"
- S["am__fastdepCC_FALSE"]="#"
- S["am__fastdepCC_TRUE"]=""
- S["CCDEPMODE"]="depmode=gcc3"
- S["AMDEPBACKSLASH"]="\\"
- S["AMDEP_FALSE"]="#"
- S["AMDEP_TRUE"]=""
- S["am__quote"]=""
- S["am__include"]="include"
- S["DEPDIR"]=".deps"
- S["OBJEXT"]="o"
- S["EXEEXT"]=".exe"
- S["ac_ct_CC"]="gcc"
- S["CPPFLAGS"]=""
- S["LDFLAGS"]=""
- S["CFLAGS"]="-g -O2"
- S["CC"]="gcc"
- S["AM_BACKSLASH"]="\\"
- S["AM_DEFAULT_VERBOSITY"]="0"
- S["am__untar"]="${AMTAR} xf -"
- S["am__tar"]="${AMTAR} chof - \"$$tardir\""
- S["AMTAR"]="${SHELL} /home/cross/code/missing --run tar"
- S["am__leading_dot"]="."
- S["SET_MAKE"]=""
- S["AWK"]="gawk"
- S["mkdir_p"]="/bin/mkdir -p"
- S["MKDIR_P"]="/bin/mkdir -p"
- S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s"
- S["STRIP"]="strip"
- S["install_sh"]="${SHELL} /home/cross/code/install-sh"
- S["MAKEINFO"]="${SHELL} /home/cross/code/missing --run makeinfo"
- S["AUTOHEADER"]="${SHELL} /home/cross/code/missing --run autoheader"
- S["AUTOMAKE"]="${SHELL} /home/cross/code/missing --run automake-1.11"
- S["AUTOCONF"]="${SHELL} /home/cross/code/missing --run autoconf"
- S["ACLOCAL"]="${SHELL} /home/cross/code/missing --run aclocal-1.11"
- S["VERSION"]="4.3.5-scrypt.2"
- S["PACKAGE"]="cgminer"
- S["CYGPATH_W"]="echo"
- S["am__isrc"]=""
- S["INSTALL_DATA"]="${INSTALL} -m 644"
- S["INSTALL_SCRIPT"]="${INSTALL}"
- S["INSTALL_PROGRAM"]="${INSTALL}"
- S["target_os"]="mingw32"
- S["target_vendor"]="pc"
- S["target_cpu"]="i686"
- S["target"]="i686-pc-mingw32"
- S["host_os"]="mingw32"
- S["host_vendor"]="pc"
- S["host_cpu"]="i686"
- S["host"]="i686-pc-mingw32"
- S["build_os"]="mingw32"
- S["build_vendor"]="pc"
- S["build_cpu"]="i686"
- S["build"]="i686-pc-mingw32"
- S["target_alias"]=""
- S["host_alias"]=""
- S["build_alias"]=""
- S["LIBS"]="-lpdcurses -lpthread "
- S["ECHO_T"]=""
- S["ECHO_N"]="-n"
- S["ECHO_C"]=""
- S["DEFS"]="-DHAVE_CONFIG_H"
- S["mandir"]="${datarootdir}/man"
- S["localedir"]="${datarootdir}/locale"
- S["libdir"]="${exec_prefix}/lib"
- S["psdir"]="${docdir}"
- S["pdfdir"]="${docdir}"
- S["dvidir"]="${docdir}"
- S["htmldir"]="${docdir}"
- S["infodir"]="${datarootdir}/info"
- S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}"
- S["oldincludedir"]="/usr/include"
- S["includedir"]="${prefix}/include"
- S["localstatedir"]="${prefix}/var"
- S["sharedstatedir"]="${prefix}/com"
- S["sysconfdir"]="${prefix}/etc"
- S["datadir"]="${datarootdir}"
- S["datarootdir"]="${prefix}/share"
- S["libexecdir"]="${exec_prefix}/libexec"
- S["sbindir"]="${exec_prefix}/sbin"
- S["bindir"]="${exec_prefix}/bin"
- S["program_transform_name"]="s,x,x,"
- S["prefix"]="/usr/local"
- S["exec_prefix"]="${prefix}"
- S["PACKAGE_URL"]=""
- S["PACKAGE_BUGREPORT"]="kernel@kolivas.org"
- S["PACKAGE_STRING"]="cgminer 4.3.5-scrypt.2"
- S["PACKAGE_VERSION"]="4.3.5-scrypt.2"
- S["PACKAGE_TARNAME"]="cgminer"
- S["PACKAGE_NAME"]="cgminer"
- S["PATH_SEPARATOR"]=":"
- S["SHELL"]="/bin/sh"
- _ACAWK
- cat >>"$ac_tmp/subs1.awk" <<_ACAWK &&
- for (key in S) S_is_set[key] = 1
- FS = ""
- }
- {
- line = $ 0
- nfields = split(line, field, "@")
- substed = 0
- len = length(field[1])
- for (i = 2; i < nfields; i++) {
- key = field[i]
- keylen = length(key)
- if (S_is_set[key]) {
- value = S[key]
- line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
- len += length(value) + length(field[++i])
- substed = 1
- } else
- len += 1 + keylen
- }
- print line
- }
- _ACAWK
- if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
- sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
- else
- cat
- fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
- || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
- fi # test -n "$CONFIG_FILES"
- # Set up the scripts for CONFIG_HEADERS section.
- # No need to generate them if there are no CONFIG_HEADERS.
- # This happens for instance with `./config.status Makefile'.
- if test -n "$CONFIG_HEADERS"; then
- cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
- BEGIN {
- D["PACKAGE_NAME"]=" \"cgminer\""
- D["PACKAGE_TARNAME"]=" \"cgminer\""
- D["PACKAGE_VERSION"]=" \"4.3.5-scrypt.2\""
- D["PACKAGE_STRING"]=" \"cgminer 4.3.5-scrypt.2\""
- D["PACKAGE_BUGREPORT"]=" \"kernel@kolivas.org\""
- D["PACKAGE_URL"]=" \"\""
- D["PACKAGE"]=" \"cgminer\""
- D["VERSION"]=" \"4.3.5-scrypt.2\""
- D["STDC_HEADERS"]=" 1"
- D["HAVE_SYS_TYPES_H"]=" 1"
- D["HAVE_SYS_STAT_H"]=" 1"
- D["HAVE_STDLIB_H"]=" 1"
- D["HAVE_STRING_H"]=" 1"
- D["HAVE_MEMORY_H"]=" 1"
- D["HAVE_STRINGS_H"]=" 1"
- D["HAVE_INTTYPES_H"]=" 1"
- D["HAVE_STDINT_H"]=" 1"
- D["HAVE_UNISTD_H"]=" 1"
- D["__EXTENSIONS__"]=" 1"
- D["_ALL_SOURCE"]=" 1"
- D["_GNU_SOURCE"]=" 1"
- D["_POSIX_PTHREAD_SEMANTICS"]=" 1"
- D["_TANDEM_SOURCE"]=" 1"
- D["CGMINER_MAJOR_VERSION"]=" 4"
- D["CGMINER_MINOR_VERSION"]=" 3"
- D["CGMINER_MINOR_SUBVERSION"]=" 5"
- D["HAVE_DLFCN_H"]=" 1"
- D["LT_OBJDIR"]=" \".libs/\""
- D["HAVE_WCHAR_H"]=" 1"
- D["HAVE_STDINT_H"]=" 1"
- D["HAVE_MPROTECT"]=" 1"
- D["HAVE_DECL_MEMMEM"]=" 0"
- D["restrict"]=" __restrict"
- D["uid_t"]=" int"
- D["gid_t"]=" int"
- D["HAVE_WCHAR_T"]=" 1"
- D["HAVE_UNSIGNED_LONG_LONG_INT"]=" 1"
- D["HAVE_LONG_LONG_INT"]=" 1"
- D["HAVE_RAW_DECL_STRDUP"]=" 1"
- D["HAVE_RAW_DECL_STRNCAT"]=" 1"
- D["HAVE_RAW_DECL_STRNLEN"]=" 1"
- D["HAVE_RAW_DECL_STRPBRK"]=" 1"
- D["HAVE_RAW_DECL_STRTOK_R"]=" 1"
- D["HAVE_RAW_DECL_STRERROR_R"]=" 1"
- D["GNULIB_TEST_MEMCHR"]=" 1"
- D["GNULIB_TEST_MEMMEM"]=" 1"
- D["GNULIB_TEST_SIGACTION"]=" 1"
- D["HAVE_SIGSET_T"]=" 1"
- D["GNULIB_TEST_SIGPROCMASK"]=" 1"
- D["STDC_HEADERS"]=" 1"
- D["HAVE_ALLOCA"]=" 1"
- D["_WIN32_WINNT"]=" 0x0501"
- D["HAVE_LIBPTHREAD"]=" 1"
- D["USE_SCRYPT"]=" 1"
- D["USE_FPGA_SERIAL"]=" 1"
- D["USE_ZEUS"]=" 1"
- D["USE_FPGA_SERIAL"]=" 1"
- D["USE_LKETC"]=" 1"
- D["HAVE_CURSES"]=" 1"
- D["USE_USBUTILS"]=" 1"
- D["CURL_HAS_KEEPALIVE"]=" 1"
- D["HAVE_LIBCURL"]=" 1"
- D["EXECV_2ND_ARG_TYPE"]=" const char* const*"
- D["HAVE_ATTRIBUTE_COLD"]=" 1"
- D["HAVE_ATTRIBUTE_CONST"]=" 1"
- D["HAVE_ATTRIBUTE_NORETURN"]=" 1"
- D["HAVE_ATTRIBUTE_PRINTF"]=" 1"
- D["HAVE_ATTRIBUTE_UNUSED"]=" 1"
- D["HAVE_ATTRIBUTE_USED"]=" 1"
- D["HAVE_BUILTIN_CONSTANT_P"]=" 1"
- D["HAVE_BUILTIN_TYPES_COMPATIBLE_P"]=" 1"
- D["HAVE_WARN_UNUSED_RESULT"]=" 1"
- D["CGMINER_PREFIX"]=" \"/usr/local/bin\""
- for (key in D) D_is_set[key] = 1
- FS = ""
- }
- /^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ {
- line = $ 0
- split(line, arg, " ")
- if (arg[1] == "#") {
- defundef = arg[2]
- mac1 = arg[3]
- } else {
- defundef = substr(arg[1], 2)
- mac1 = arg[2]
- }
- split(mac1, mac2, "(") #)
- macro = mac2[1]
- prefix = substr(line, 1, index(line, defundef) - 1)
- if (D_is_set[macro]) {
- # Preserve the white space surrounding the "#".
- print prefix "define", macro P[macro] D[macro]
- next
- } else {
- # Replace #undef with comments. This is necessary, for example,
- # in the case of _POSIX_SOURCE, which is predefined and required
- # on some systems where configure will not decide to define it.
- if (defundef == "undef") {
- print "/*", prefix defundef, macro, "*/"
- next
- }
- }
- }
- { print }
- _ACAWK
- as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
- fi # test -n "$CONFIG_HEADERS"
- eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
- shift
- for ac_tag
- do
- case $ac_tag in
- :[FHLC]) ac_mode=$ac_tag; continue;;
- esac
- case $ac_mode$ac_tag in
- :[FHL]*:*);;
- :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
- :[FH]-) ac_tag=-:-;;
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
- esac
- ac_save_IFS=$IFS
- IFS=:
- set x $ac_tag
- IFS=$ac_save_IFS
- shift
- ac_file=$1
- shift
- case $ac_mode in
- :L) ac_source=$1;;
- :[FH])
- ac_file_inputs=
- for ac_f
- do
- case $ac_f in
- -) ac_f="$ac_tmp/stdin";;
- *) # Look for the file first in the build tree, then in the source tree
- # (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
- test -f "$ac_f" ||
- case $ac_f in
- [\\/$]*) false;;
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- esac ||
- as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
- esac
- case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
- as_fn_append ac_file_inputs " '$ac_f'"
- done
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated by config.status. */
- configure_input='Generated from '`
- $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
- `' by configure.'
- if test x"$ac_file" != x-; then
- configure_input="$ac_file. $configure_input"
- { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
- $as_echo "$as_me: creating $ac_file" >&6;}
- fi
- # Neutralize special characters interpreted by sed in replacement strings.
- case $configure_input in #(
- *\&* | *\|* | *\\* )
- ac_sed_conf_input=`$as_echo "$configure_input" |
- sed 's/[\\\\&|]/\\\\&/g'`;; #(
- *) ac_sed_conf_input=$configure_input;;
- esac
- case $ac_tag in
- *:-:* | *:-) cat >"$ac_tmp/stdin" \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
- esac
- ;;
- esac
- ac_dir=`$as_dirname -- "$ac_file" ||
- $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$ac_file" : 'X\(//\)[^/]' \| \
- X"$ac_file" : 'X\(//\)$' \| \
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
- $as_echo X"$ac_file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- as_dir="$ac_dir"; as_fn_mkdir_p
- ac_builddir=.
- case "$ac_dir" in
- .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *)
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
- esac
- ac_abs_top_builddir=$ac_pwd
- ac_abs_builddir=$ac_pwd$ac_dir_suffix
- # for backward compatibility:
- ac_top_builddir=$ac_top_build_prefix
- case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
- esac
- ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
- case $ac_mode in
- :F)
- #
- # CONFIG_FILE
- #
- case $INSTALL in
- [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
- esac
- ac_MKDIR_P=$MKDIR_P
- case $MKDIR_P in
- [\\/$]* | ?:[\\/]* ) ;;
- */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
- esac
- # If the template does not know about datarootdir, expand it.
- # FIXME: This hack should be removed a few years after 2.60.
- ac_datarootdir_hack=; ac_datarootdir_seen=
- ac_sed_dataroot='
- /datarootdir/ {
- p
- q
- }
- /@datadir@/p
- /@docdir@/p
- /@infodir@/p
- /@localedir@/p
- /@mandir@/p'
- case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
- *datarootdir*) ac_datarootdir_seen=yes;;
- *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
- $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
- ac_datarootdir_hack='
- s&@datadir@&${datarootdir}&g
- s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
- s&@infodir@&${datarootdir}/info&g
- s&@localedir@&${datarootdir}/locale&g
- s&@mandir@&${datarootdir}/man&g
- s&\${datarootdir}&${prefix}/share&g' ;;
- esac
- ac_sed_extra="/^[ ]*VPATH[ ]*=[ ]*/{
- h
- s///
- s/^/:/
- s/[ ]*$/:/
- s/:\$(srcdir):/:/g
- s/:\${srcdir}:/:/g
- s/:@srcdir@:/:/g
- s/^:*//
- s/:*$//
- x
- s/\(=[ ]*\).*/\1/
- G
- s/\n//
- s/^[^=]*=[ ]*$//
- }
- :t
- /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
- s|@configure_input@|$ac_sed_conf_input|;t t
- s&@top_builddir@&$ac_top_builddir_sub&;t t
- s&@top_build_prefix@&$ac_top_build_prefix&;t t
- s&@srcdir@&$ac_srcdir&;t t
- s&@abs_srcdir@&$ac_abs_srcdir&;t t
- s&@top_srcdir@&$ac_top_srcdir&;t t
- s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
- s&@builddir@&$ac_builddir&;t t
- s&@abs_builddir@&$ac_abs_builddir&;t t
- s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
- s&@INSTALL@&$ac_INSTALL&;t t
- s&@MKDIR_P@&$ac_MKDIR_P&;t t
- $ac_datarootdir_hack
- "
- eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
- >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
- test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
- { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
- "$ac_tmp/out"`; test -z "$ac_out"; } &&
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
- which seems to be undefined. Please make sure it is defined" >&5
- $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
- which seems to be undefined. Please make sure it is defined" >&2;}
- rm -f "$ac_tmp/stdin"
- case $ac_file in
- -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
- *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
- esac \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5
- ;;
- :H)
- #
- # CONFIG_HEADER
- #
- if test x"$ac_file" != x-; then
- {
- $as_echo "/* $configure_input */" \
- && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
- } >"$ac_tmp/config.h" \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5
- if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
- $as_echo "$as_me: $ac_file is unchanged" >&6;}
- else
- rm -f "$ac_file"
- mv "$ac_tmp/config.h" "$ac_file" \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5
- fi
- else
- $as_echo "/* $configure_input */" \
- && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
- || as_fn_error $? "could not create -" "$LINENO" 5
- fi
- # Compute "$ac_file"'s index in $config_headers.
- _am_arg="$ac_file"
- _am_stamp_count=1
- for _am_header in $config_headers :; do
- case $_am_header in
- $_am_arg | $_am_arg:* )
- break ;;
- * )
- _am_stamp_count=`expr $_am_stamp_count + 1` ;;
- esac
- done
- echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
- $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$_am_arg" : 'X\(//\)[^/]' \| \
- X"$_am_arg" : 'X\(//\)$' \| \
- X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
- $as_echo X"$_am_arg" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`/stamp-h$_am_stamp_count
- ;;
- :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
- $as_echo "$as_me: executing $ac_file commands" >&6;}
- ;;
- esac
- case $ac_file$ac_mode in
- "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
- # are listed without --file. Let's play safe and only enable the eval
- # if we detect the quoting.
- case $CONFIG_FILES in
- *\'*) eval set x "$CONFIG_FILES" ;;
- *) set x $CONFIG_FILES ;;
- esac
- shift
- for mf
- do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # Grep'ing the whole file is not good either: AIX grep has a line
- # limit of 2048, but all sed's we know have understand at least 4000.
- if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
- dirpart=`$as_dirname -- "$mf" ||
- $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$mf" : 'X\(//\)[^/]' \| \
- X"$mf" : 'X\(//\)$' \| \
- X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
- $as_echo X"$mf" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`$as_dirname -- "$file" ||
- $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$file" : 'X\(//\)[^/]' \| \
- X"$file" : 'X\(//\)$' \| \
- X"$file" : 'X\(/\)' \| . 2>/dev/null ||
- $as_echo X"$file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- as_dir=$dirpart/$fdir; as_fn_mkdir_p
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
- done
- }
- ;;
- "libtool":C)
- # See if we are running on zsh, and set the options which allow our
- # commands through without removal of \ escapes.
- if test -n "${ZSH_VERSION+set}" ; then
- setopt NO_GLOB_SUBST
- fi
- cfgfile="${ofile}T"
- trap "$RM \"$cfgfile\"; exit 1" 1 2 15
- $RM "$cfgfile"
- cat <<_LT_EOF >> "$cfgfile"
- #! $SHELL
- # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
- # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
- # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
- # NOTE: Changes made to this file will be lost: look at ltmain.sh.
- #
- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
- # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
- # Inc.
- # Written by Gordon Matzigkeit, 1996
- #
- # This file is part of GNU Libtool.
- #
- # GNU Libtool is free software; you can redistribute it and/or
- # modify it under the terms of the GNU General Public License as
- # published by the Free Software Foundation; either version 2 of
- # the License, or (at your option) any later version.
- #
- # As a special exception to the GNU General Public License,
- # if you distribute this file as part of a program or library that
- # is built using GNU Libtool, you may include this file under the
- # same distribution terms that you use for the rest of that program.
- #
- # GNU Libtool is distributed in the hope that it will be useful,
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- # GNU General Public License for more details.
- #
- # You should have received a copy of the GNU General Public License
- # along with GNU Libtool; see the file COPYING. If not, a copy
- # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
- # obtained by writing to the Free Software Foundation, Inc.,
- # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- # The names of the tagged configurations supported by this script.
- available_tags=""
- # ### BEGIN LIBTOOL CONFIG
- # Which release of libtool.m4 was used?
- macro_version=$macro_version
- macro_revision=$macro_revision
- # Whether or not to build shared libraries.
- build_libtool_libs=$enable_shared
- # Whether or not to build static libraries.
- build_old_libs=$enable_static
- # What type of objects to build.
- pic_mode=$pic_mode
- # Whether or not to optimize for fast installation.
- fast_install=$enable_fast_install
- # Shell to use when invoking shell scripts.
- SHELL=$lt_SHELL
- # An echo program that protects backslashes.
- ECHO=$lt_ECHO
- # The host system.
- host_alias=$host_alias
- host=$host
- host_os=$host_os
- # The build system.
- build_alias=$build_alias
- build=$build
- build_os=$build_os
- # A sed program that does not truncate output.
- SED=$lt_SED
- # Sed that helps us avoid accidentally triggering echo(1) options like -n.
- Xsed="\$SED -e 1s/^X//"
- # A grep program that handles long lines.
- GREP=$lt_GREP
- # An ERE matcher.
- EGREP=$lt_EGREP
- # A literal string matcher.
- FGREP=$lt_FGREP
- # A BSD- or MS-compatible name lister.
- NM=$lt_NM
- # Whether we need soft or hard links.
- LN_S=$lt_LN_S
- # What is the maximum length of a command?
- max_cmd_len=$max_cmd_len
- # Object file suffix (normally "o").
- objext=$ac_objext
- # Executable file suffix (normally "").
- exeext=$exeext
- # whether the shell understands "unset".
- lt_unset=$lt_unset
- # turn spaces into newlines.
- SP2NL=$lt_lt_SP2NL
- # turn newlines into spaces.
- NL2SP=$lt_lt_NL2SP
- # convert \$build file names to \$host format.
- to_host_file_cmd=$lt_cv_to_host_file_cmd
- # convert \$build files to toolchain format.
- to_tool_file_cmd=$lt_cv_to_tool_file_cmd
- # An object symbol dumper.
- OBJDUMP=$lt_OBJDUMP
- # Method to check whether dependent libraries are shared objects.
- deplibs_check_method=$lt_deplibs_check_method
- # Command to use when deplibs_check_method = "file_magic".
- file_magic_cmd=$lt_file_magic_cmd
- # How to find potential files when deplibs_check_method = "file_magic".
- file_magic_glob=$lt_file_magic_glob
- # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
- want_nocaseglob=$lt_want_nocaseglob
- # DLL creation program.
- DLLTOOL=$lt_DLLTOOL
- # Command to associate shared and link libraries.
- sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
- # The archiver.
- AR=$lt_AR
- # Flags to create an archive.
- AR_FLAGS=$lt_AR_FLAGS
- # How to feed a file listing to the archiver.
- archiver_list_spec=$lt_archiver_list_spec
- # A symbol stripping program.
- STRIP=$lt_STRIP
- # Commands used to install an old-style archive.
- RANLIB=$lt_RANLIB
- old_postinstall_cmds=$lt_old_postinstall_cmds
- old_postuninstall_cmds=$lt_old_postuninstall_cmds
- # Whether to use a lock for old archive extraction.
- lock_old_archive_extraction=$lock_old_archive_extraction
- # A C compiler.
- LTCC=$lt_CC
- # LTCC compiler flags.
- LTCFLAGS=$lt_CFLAGS
- # Take the output of nm and produce a listing of raw symbols and C names.
- global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
- # Transform the output of nm in a proper C declaration.
- global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
- # Transform the output of nm in a C name address pair.
- global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
- # Transform the output of nm in a C name address pair when lib prefix is needed.
- global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
- # Specify filename containing input files for \$NM.
- nm_file_list_spec=$lt_nm_file_list_spec
- # The root where to search for dependent libraries,and in which our libraries should be installed.
- lt_sysroot=$lt_sysroot
- # The name of the directory that contains temporary libtool files.
- objdir=$objdir
- # Used to examine libraries when file_magic_cmd begins with "file".
- MAGIC_CMD=$MAGIC_CMD
- # Must we lock files when doing compilation?
- need_locks=$lt_need_locks
- # Manifest tool.
- MANIFEST_TOOL=$lt_MANIFEST_TOOL
- # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
- DSYMUTIL=$lt_DSYMUTIL
- # Tool to change global to local symbols on Mac OS X.
- NMEDIT=$lt_NMEDIT
- # Tool to manipulate fat objects and archives on Mac OS X.
- LIPO=$lt_LIPO
- # ldd/readelf like tool for Mach-O binaries on Mac OS X.
- OTOOL=$lt_OTOOL
- # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
- OTOOL64=$lt_OTOOL64
- # Old archive suffix (normally "a").
- libext=$libext
- # Shared library suffix (normally ".so").
- shrext_cmds=$lt_shrext_cmds
- # The commands to extract the exported symbol list from a shared archive.
- extract_expsyms_cmds=$lt_extract_expsyms_cmds
- # Variables whose values should be saved in libtool wrapper scripts and
- # restored at link time.
- variables_saved_for_relink=$lt_variables_saved_for_relink
- # Do we need the "lib" prefix for modules?
- need_lib_prefix=$need_lib_prefix
- # Do we need a version for libraries?
- need_version=$need_version
- # Library versioning type.
- version_type=$version_type
- # Shared library runtime path variable.
- runpath_var=$runpath_var
- # Shared library path variable.
- shlibpath_var=$shlibpath_var
- # Is shlibpath searched before the hard-coded library search path?
- shlibpath_overrides_runpath=$shlibpath_overrides_runpath
- # Format of library name prefix.
- libname_spec=$lt_libname_spec
- # List of archive names. First name is the real one, the rest are links.
- # The last name is the one that the linker finds with -lNAME
- library_names_spec=$lt_library_names_spec
- # The coded name of the library, if different from the real name.
- soname_spec=$lt_soname_spec
- # Permission mode override for installation of shared libraries.
- install_override_mode=$lt_install_override_mode
- # Command to use after installation of a shared archive.
- postinstall_cmds=$lt_postinstall_cmds
- # Command to use after uninstallation of a shared archive.
- postuninstall_cmds=$lt_postuninstall_cmds
- # Commands used to finish a libtool library installation in a directory.
- finish_cmds=$lt_finish_cmds
- # As "finish_cmds", except a single script fragment to be evaled but
- # not shown.
- finish_eval=$lt_finish_eval
- # Whether we should hardcode library paths into libraries.
- hardcode_into_libs=$hardcode_into_libs
- # Compile-time system search path for libraries.
- sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
- # Run-time system search path for libraries.
- sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
- # Whether dlopen is supported.
- dlopen_support=$enable_dlopen
- # Whether dlopen of programs is supported.
- dlopen_self=$enable_dlopen_self
- # Whether dlopen of statically linked programs is supported.
- dlopen_self_static=$enable_dlopen_self_static
- # Commands to strip libraries.
- old_striplib=$lt_old_striplib
- striplib=$lt_striplib
- # The linker used to build libraries.
- LD=$lt_LD
- # How to create reloadable object files.
- reload_flag=$lt_reload_flag
- reload_cmds=$lt_reload_cmds
- # Commands used to build an old-style archive.
- old_archive_cmds=$lt_old_archive_cmds
- # A language specific compiler.
- CC=$lt_compiler
- # Is the compiler the GNU compiler?
- with_gcc=$GCC
- # Compiler flag to turn off builtin functions.
- no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
- # Additional compiler flags for building library objects.
- pic_flag=$lt_lt_prog_compiler_pic
- # How to pass a linker flag through the compiler.
- wl=$lt_lt_prog_compiler_wl
- # Compiler flag to prevent dynamic linking.
- link_static_flag=$lt_lt_prog_compiler_static
- # Does compiler simultaneously support -c and -o options?
- compiler_c_o=$lt_lt_cv_prog_compiler_c_o
- # Whether or not to add -lc for building shared libraries.
- build_libtool_need_lc=$archive_cmds_need_lc
- # Whether or not to disallow shared libs when runtime libs are static.
- allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
- # Compiler flag to allow reflexive dlopens.
- export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
- # Compiler flag to generate shared objects directly from archives.
- whole_archive_flag_spec=$lt_whole_archive_flag_spec
- # Whether the compiler copes with passing no objects directly.
- compiler_needs_object=$lt_compiler_needs_object
- # Create an old-style archive from a shared archive.
- old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
- # Create a temporary old-style archive to link instead of a shared archive.
- old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
- # Commands used to build a shared archive.
- archive_cmds=$lt_archive_cmds
- archive_expsym_cmds=$lt_archive_expsym_cmds
- # Commands used to build a loadable module if different from building
- # a shared archive.
- module_cmds=$lt_module_cmds
- module_expsym_cmds=$lt_module_expsym_cmds
- # Whether we are building with GNU ld or not.
- with_gnu_ld=$lt_with_gnu_ld
- # Flag that allows shared libraries with undefined symbols to be built.
- allow_undefined_flag=$lt_allow_undefined_flag
- # Flag that enforces no undefined symbols.
- no_undefined_flag=$lt_no_undefined_flag
- # Flag to hardcode \$libdir into a binary during linking.
- # This must work even if \$libdir does not exist
- hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
- # If ld is used when linking, flag to hardcode \$libdir into a binary
- # during linking. This must work even if \$libdir does not exist.
- hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
- # Whether we need a single "-rpath" flag with a separated argument.
- hardcode_libdir_separator=$lt_hardcode_libdir_separator
- # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
- # DIR into the resulting binary.
- hardcode_direct=$hardcode_direct
- # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
- # DIR into the resulting binary and the resulting library dependency is
- # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
- # library is relocated.
- hardcode_direct_absolute=$hardcode_direct_absolute
- # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
- # into the resulting binary.
- hardcode_minus_L=$hardcode_minus_L
- # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
- # into the resulting binary.
- hardcode_shlibpath_var=$hardcode_shlibpath_var
- # Set to "yes" if building a shared library automatically hardcodes DIR
- # into the library and all subsequent libraries and executables linked
- # against it.
- hardcode_automatic=$hardcode_automatic
- # Set to yes if linker adds runtime paths of dependent libraries
- # to runtime path list.
- inherit_rpath=$inherit_rpath
- # Whether libtool must link a program against all its dependency libraries.
- link_all_deplibs=$link_all_deplibs
- # Set to "yes" if exported symbols are required.
- always_export_symbols=$always_export_symbols
- # The commands to list exported symbols.
- export_symbols_cmds=$lt_export_symbols_cmds
- # Symbols that should not be listed in the preloaded symbols.
- exclude_expsyms=$lt_exclude_expsyms
- # Symbols that must always be exported.
- include_expsyms=$lt_include_expsyms
- # Commands necessary for linking programs (against libraries) with templates.
- prelink_cmds=$lt_prelink_cmds
- # Commands necessary for finishing linking programs.
- postlink_cmds=$lt_postlink_cmds
- # Specify filename containing input files.
- file_list_spec=$lt_file_list_spec
- # How to hardcode a shared library path into an executable.
- hardcode_action=$hardcode_action
- # ### END LIBTOOL CONFIG
- _LT_EOF
- case $host_os in
- aix3*)
- cat <<\_LT_EOF >> "$cfgfile"
- # AIX sometimes has problems with the GCC collect2 program. For some
- # reason, if we set the COLLECT_NAMES environment variable, the problems
- # vanish in a puff of smoke.
- if test "X${COLLECT_NAMES+set}" != Xset; then
- COLLECT_NAMES=
- export COLLECT_NAMES
- fi
- _LT_EOF
- ;;
- esac
- ltmain="$ac_aux_dir/ltmain.sh"
- # We use sed instead of cat because bash on DJGPP gets confused if
- # if finds mixed CR/LF and LF-only lines. Since sed operates in
- # text mode, it properly converts lines to CR/LF. This bash problem
- # is reportedly fixed, but why not run on old versions too?
- sed '$q' "$ltmain" >> "$cfgfile" \
- || (rm -f "$cfgfile"; exit 1)
- if test x"$xsi_shell" = xyes; then
- sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
- func_dirname ()\
- {\
- \ case ${1} in\
- \ */*) func_dirname_result="${1%/*}${2}" ;;\
- \ * ) func_dirname_result="${3}" ;;\
- \ esac\
- } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
- && mv -f "$cfgfile.tmp" "$cfgfile" \
- || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
- test 0 -eq $? || _lt_function_replace_fail=:
- sed -e '/^func_basename ()$/,/^} # func_basename /c\
- func_basename ()\
- {\
- \ func_basename_result="${1##*/}"\
- } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
- && mv -f "$cfgfile.tmp" "$cfgfile" \
- || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
- test 0 -eq $? || _lt_function_replace_fail=:
- sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
- func_dirname_and_basename ()\
- {\
- \ case ${1} in\
- \ */*) func_dirname_result="${1%/*}${2}" ;;\
- \ * ) func_dirname_result="${3}" ;;\
- \ esac\
- \ func_basename_result="${1##*/}"\
- } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
- && mv -f "$cfgfile.tmp" "$cfgfile" \
- || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
- test 0 -eq $? || _lt_function_replace_fail=:
- sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
- func_stripname ()\
- {\
- \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
- \ # positional parameters, so assign one to ordinary parameter first.\
- \ func_stripname_result=${3}\
- \ func_stripname_result=${func_stripname_result#"${1}"}\
- \ func_stripname_result=${func_stripname_result%"${2}"}\
- } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
- && mv -f "$cfgfile.tmp" "$cfgfile" \
- || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
- test 0 -eq $? || _lt_function_replace_fail=:
- sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
- func_split_long_opt ()\
- {\
- \ func_split_long_opt_name=${1%%=*}\
- \ func_split_long_opt_arg=${1#*=}\
- } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
- && mv -f "$cfgfile.tmp" "$cfgfile" \
- || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
- test 0 -eq $? || _lt_function_replace_fail=:
- sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
- func_split_short_opt ()\
- {\
- \ func_split_short_opt_arg=${1#??}\
- \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
- } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
- && mv -f "$cfgfile.tmp" "$cfgfile" \
- || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
- test 0 -eq $? || _lt_function_replace_fail=:
- sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
- func_lo2o ()\
- {\
- \ case ${1} in\
- \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
- \ *) func_lo2o_result=${1} ;;\
- \ esac\
- } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
- && mv -f "$cfgfile.tmp" "$cfgfile" \
- || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
- test 0 -eq $? || _lt_function_replace_fail=:
- sed -e '/^func_xform ()$/,/^} # func_xform /c\
- func_xform ()\
- {\
- func_xform_result=${1%.*}.lo\
- } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
- && mv -f "$cfgfile.tmp" "$cfgfile" \
- || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
- test 0 -eq $? || _lt_function_replace_fail=:
- sed -e '/^func_arith ()$/,/^} # func_arith /c\
- func_arith ()\
- {\
- func_arith_result=$(( $* ))\
- } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
- && mv -f "$cfgfile.tmp" "$cfgfile" \
- || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
- test 0 -eq $? || _lt_function_replace_fail=:
- sed -e '/^func_len ()$/,/^} # func_len /c\
- func_len ()\
- {\
- func_len_result=${#1}\
- } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
- && mv -f "$cfgfile.tmp" "$cfgfile" \
- || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
- test 0 -eq $? || _lt_function_replace_fail=:
- fi
- if test x"$lt_shell_append" = xyes; then
- sed -e '/^func_append ()$/,/^} # func_append /c\
- func_append ()\
- {\
- eval "${1}+=\\${2}"\
- } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
- && mv -f "$cfgfile.tmp" "$cfgfile" \
- || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
- test 0 -eq $? || _lt_function_replace_fail=:
- sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
- func_append_quoted ()\
- {\
- \ func_quote_for_eval "${2}"\
- \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
- } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
- && mv -f "$cfgfile.tmp" "$cfgfile" \
- || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
- test 0 -eq $? || _lt_function_replace_fail=:
- # Save a `func_append' function call where possible by direct use of '+='
- sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
- && mv -f "$cfgfile.tmp" "$cfgfile" \
- || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
- test 0 -eq $? || _lt_function_replace_fail=:
- else
- # Save a `func_append' function call even when '+=' is not available
- sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
- && mv -f "$cfgfile.tmp" "$cfgfile" \
- || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
- test 0 -eq $? || _lt_function_replace_fail=:
- fi
- if test x"$_lt_function_replace_fail" = x":"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
- $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
- fi
- mv -f "$cfgfile" "$ofile" ||
- (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
- chmod +x "$ofile"
- ;;
- esac
- done # for ac_tag
- as_fn_exit 0
|