config.status 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998
  1. #! /bin/bash
  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. debug=false
  7. ac_cs_recheck=false
  8. ac_cs_silent=false
  9. SHELL=${CONFIG_SHELL-/bin/bash}
  10. export SHELL
  11. ## -------------------- ##
  12. ## M4sh Initialization. ##
  13. ## -------------------- ##
  14. # Be more Bourne compatible
  15. DUALCASE=1; export DUALCASE # for MKS sh
  16. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  17. emulate sh
  18. NULLCMD=:
  19. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  20. # is contrary to our usage. Disable this feature.
  21. alias -g '${1+"$@"}'='"$@"'
  22. setopt NO_GLOB_SUBST
  23. else
  24. case `(set -o) 2>/dev/null` in #(
  25. *posix*) :
  26. set -o posix ;; #(
  27. *) :
  28. ;;
  29. esac
  30. fi
  31. as_nl='
  32. '
  33. export as_nl
  34. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  35. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  36. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  37. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  38. # Prefer a ksh shell builtin over an external printf program on Solaris,
  39. # but without wasting forks for bash or zsh.
  40. if test -z "$BASH_VERSION$ZSH_VERSION" \
  41. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  42. as_echo='print -r --'
  43. as_echo_n='print -rn --'
  44. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  45. as_echo='printf %s\n'
  46. as_echo_n='printf %s'
  47. else
  48. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  49. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  50. as_echo_n='/usr/ucb/echo -n'
  51. else
  52. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  53. as_echo_n_body='eval
  54. arg=$1;
  55. case $arg in #(
  56. *"$as_nl"*)
  57. expr "X$arg" : "X\\(.*\\)$as_nl";
  58. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  59. esac;
  60. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  61. '
  62. export as_echo_n_body
  63. as_echo_n='sh -c $as_echo_n_body as_echo'
  64. fi
  65. export as_echo_body
  66. as_echo='sh -c $as_echo_body as_echo'
  67. fi
  68. # The user is always right.
  69. if test "${PATH_SEPARATOR+set}" != set; then
  70. PATH_SEPARATOR=:
  71. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  72. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  73. PATH_SEPARATOR=';'
  74. }
  75. fi
  76. # IFS
  77. # We need space, tab and new line, in precisely that order. Quoting is
  78. # there to prevent editors from complaining about space-tab.
  79. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  80. # splitting by setting IFS to empty value.)
  81. IFS=" "" $as_nl"
  82. # Find who we are. Look in the path if we contain no directory separator.
  83. as_myself=
  84. case $0 in #((
  85. *[\\/]* ) as_myself=$0 ;;
  86. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  87. for as_dir in $PATH
  88. do
  89. IFS=$as_save_IFS
  90. test -z "$as_dir" && as_dir=.
  91. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  92. done
  93. IFS=$as_save_IFS
  94. ;;
  95. esac
  96. # We did not find ourselves, most probably we were run as `sh COMMAND'
  97. # in which case we are not to be found in the path.
  98. if test "x$as_myself" = x; then
  99. as_myself=$0
  100. fi
  101. if test ! -f "$as_myself"; then
  102. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  103. exit 1
  104. fi
  105. # Unset variables that we do not need and which cause bugs (e.g. in
  106. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  107. # suppresses any "Segmentation fault" message there. '((' could
  108. # trigger a bug in pdksh 5.2.14.
  109. for as_var in BASH_ENV ENV MAIL MAILPATH
  110. do eval test x\${$as_var+set} = xset \
  111. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  112. done
  113. PS1='$ '
  114. PS2='> '
  115. PS4='+ '
  116. # NLS nuisances.
  117. LC_ALL=C
  118. export LC_ALL
  119. LANGUAGE=C
  120. export LANGUAGE
  121. # CDPATH.
  122. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  123. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  124. # ----------------------------------------
  125. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  126. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  127. # script with STATUS, using 1 if that was 0.
  128. as_fn_error ()
  129. {
  130. as_status=$1; test $as_status -eq 0 && as_status=1
  131. if test "$4"; then
  132. as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  133. $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  134. fi
  135. $as_echo "$as_me: error: $2" >&2
  136. as_fn_exit $as_status
  137. } # as_fn_error
  138. # as_fn_set_status STATUS
  139. # -----------------------
  140. # Set $? to STATUS, without forking.
  141. as_fn_set_status ()
  142. {
  143. return $1
  144. } # as_fn_set_status
  145. # as_fn_exit STATUS
  146. # -----------------
  147. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  148. as_fn_exit ()
  149. {
  150. set +e
  151. as_fn_set_status $1
  152. exit $1
  153. } # as_fn_exit
  154. # as_fn_unset VAR
  155. # ---------------
  156. # Portably unset VAR.
  157. as_fn_unset ()
  158. {
  159. { eval $1=; unset $1;}
  160. }
  161. as_unset=as_fn_unset
  162. # as_fn_append VAR VALUE
  163. # ----------------------
  164. # Append the text in VALUE to the end of the definition contained in VAR. Take
  165. # advantage of any shell optimizations that allow amortized linear growth over
  166. # repeated appends, instead of the typical quadratic growth present in naive
  167. # implementations.
  168. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  169. eval 'as_fn_append ()
  170. {
  171. eval $1+=\$2
  172. }'
  173. else
  174. as_fn_append ()
  175. {
  176. eval $1=\$$1\$2
  177. }
  178. fi # as_fn_append
  179. # as_fn_arith ARG...
  180. # ------------------
  181. # Perform arithmetic evaluation on the ARGs, and store the result in the
  182. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  183. # must be portable across $(()) and expr.
  184. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  185. eval 'as_fn_arith ()
  186. {
  187. as_val=$(( $* ))
  188. }'
  189. else
  190. as_fn_arith ()
  191. {
  192. as_val=`expr "$@" || test $? -eq 1`
  193. }
  194. fi # as_fn_arith
  195. if expr a : '\(a\)' >/dev/null 2>&1 &&
  196. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  197. as_expr=expr
  198. else
  199. as_expr=false
  200. fi
  201. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  202. as_basename=basename
  203. else
  204. as_basename=false
  205. fi
  206. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  207. as_dirname=dirname
  208. else
  209. as_dirname=false
  210. fi
  211. as_me=`$as_basename -- "$0" ||
  212. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  213. X"$0" : 'X\(//\)$' \| \
  214. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  215. $as_echo X/"$0" |
  216. sed '/^.*\/\([^/][^/]*\)\/*$/{
  217. s//\1/
  218. q
  219. }
  220. /^X\/\(\/\/\)$/{
  221. s//\1/
  222. q
  223. }
  224. /^X\/\(\/\).*/{
  225. s//\1/
  226. q
  227. }
  228. s/.*/./; q'`
  229. # Avoid depending upon Character Ranges.
  230. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  231. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  232. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  233. as_cr_digits='0123456789'
  234. as_cr_alnum=$as_cr_Letters$as_cr_digits
  235. ECHO_C= ECHO_N= ECHO_T=
  236. case `echo -n x` in #(((((
  237. -n*)
  238. case `echo 'xy\c'` in
  239. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  240. xy) ECHO_C='\c';;
  241. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  242. ECHO_T=' ';;
  243. esac;;
  244. *)
  245. ECHO_N='-n';;
  246. esac
  247. rm -f conf$$ conf$$.exe conf$$.file
  248. if test -d conf$$.dir; then
  249. rm -f conf$$.dir/conf$$.file
  250. else
  251. rm -f conf$$.dir
  252. mkdir conf$$.dir 2>/dev/null
  253. fi
  254. if (echo >conf$$.file) 2>/dev/null; then
  255. if ln -s conf$$.file conf$$ 2>/dev/null; then
  256. as_ln_s='ln -s'
  257. # ... but there are two gotchas:
  258. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  259. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  260. # In both cases, we have to default to `cp -p'.
  261. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  262. as_ln_s='cp -p'
  263. elif ln conf$$.file conf$$ 2>/dev/null; then
  264. as_ln_s=ln
  265. else
  266. as_ln_s='cp -p'
  267. fi
  268. else
  269. as_ln_s='cp -p'
  270. fi
  271. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  272. rmdir conf$$.dir 2>/dev/null
  273. # as_fn_mkdir_p
  274. # -------------
  275. # Create "$as_dir" as a directory, including parents if necessary.
  276. as_fn_mkdir_p ()
  277. {
  278. case $as_dir in #(
  279. -*) as_dir=./$as_dir;;
  280. esac
  281. test -d "$as_dir" || eval $as_mkdir_p || {
  282. as_dirs=
  283. while :; do
  284. case $as_dir in #(
  285. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  286. *) as_qdir=$as_dir;;
  287. esac
  288. as_dirs="'$as_qdir' $as_dirs"
  289. as_dir=`$as_dirname -- "$as_dir" ||
  290. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  291. X"$as_dir" : 'X\(//\)[^/]' \| \
  292. X"$as_dir" : 'X\(//\)$' \| \
  293. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  294. $as_echo X"$as_dir" |
  295. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  296. s//\1/
  297. q
  298. }
  299. /^X\(\/\/\)[^/].*/{
  300. s//\1/
  301. q
  302. }
  303. /^X\(\/\/\)$/{
  304. s//\1/
  305. q
  306. }
  307. /^X\(\/\).*/{
  308. s//\1/
  309. q
  310. }
  311. s/.*/./; q'`
  312. test -d "$as_dir" && break
  313. done
  314. test -z "$as_dirs" || eval "mkdir $as_dirs"
  315. } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  316. } # as_fn_mkdir_p
  317. if mkdir -p . 2>/dev/null; then
  318. as_mkdir_p='mkdir -p "$as_dir"'
  319. else
  320. test -d ./-p && rmdir ./-p
  321. as_mkdir_p=false
  322. fi
  323. if test -x / >/dev/null 2>&1; then
  324. as_test_x='test -x'
  325. else
  326. if ls -dL / >/dev/null 2>&1; then
  327. as_ls_L_option=L
  328. else
  329. as_ls_L_option=
  330. fi
  331. as_test_x='
  332. eval sh -c '\''
  333. if test -d "$1"; then
  334. test -d "$1/.";
  335. else
  336. case $1 in #(
  337. -*)set "./$1";;
  338. esac;
  339. case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  340. ???[sx]*):;;*)false;;esac;fi
  341. '\'' sh
  342. '
  343. fi
  344. as_executable_p=$as_test_x
  345. # Sed expression to map a string onto a valid CPP name.
  346. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  347. # Sed expression to map a string onto a valid variable name.
  348. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  349. exec 6>&1
  350. ## ----------------------------------- ##
  351. ## Main body of $CONFIG_STATUS script. ##
  352. ## ----------------------------------- ##
  353. # Save the log message, to keep $0 and so on meaningful, and to
  354. # report actual input values of CONFIG_FILES etc. instead of their
  355. # values after options handling.
  356. ac_log="
  357. This file was extended by libnl $as_me 1.1.4, which was
  358. generated by GNU Autoconf 2.68. Invocation command line was
  359. CONFIG_FILES = $CONFIG_FILES
  360. CONFIG_HEADERS = $CONFIG_HEADERS
  361. CONFIG_LINKS = $CONFIG_LINKS
  362. CONFIG_COMMANDS = $CONFIG_COMMANDS
  363. $ $0 $@
  364. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  365. "
  366. # Files that config.status was made for.
  367. config_files=" Makefile.opts libnl-1.pc doc/Doxyfile"
  368. config_headers=" lib/defs.h"
  369. ac_cs_usage="\
  370. \`$as_me' instantiates files and other configuration actions
  371. from templates according to the current configuration. Unless the files
  372. and actions are specified as TAGs, all are instantiated by default.
  373. Usage: $0 [OPTION]... [TAG]...
  374. -h, --help print this help, then exit
  375. -V, --version print version number and configuration settings, then exit
  376. --config print configuration, then exit
  377. -q, --quiet, --silent
  378. do not print progress messages
  379. -d, --debug don't remove temporary files
  380. --recheck update $as_me by reconfiguring in the same conditions
  381. --file=FILE[:TEMPLATE]
  382. instantiate the configuration file FILE
  383. --header=FILE[:TEMPLATE]
  384. instantiate the configuration header FILE
  385. Configuration files:
  386. $config_files
  387. Configuration headers:
  388. $config_headers
  389. Report bugs to <tgraf@suug.ch>."
  390. ac_cs_config="'--host=arm-linux-gnueabi' '--prefix=/opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/EVSE/GPL/libnl-1.1.4/release' 'host_alias=arm-linux-gnueabi' 'CC=/opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-gcc'"
  391. ac_cs_version="\
  392. libnl config.status 1.1.4
  393. configured by ./configure, generated by GNU Autoconf 2.68,
  394. with options \"$ac_cs_config\"
  395. Copyright (C) 2010 Free Software Foundation, Inc.
  396. This config.status script is free software; the Free Software Foundation
  397. gives unlimited permission to copy, distribute and modify it."
  398. ac_pwd='/opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/EVSE/GPL/libnl-1.1.4'
  399. srcdir='.'
  400. INSTALL='/usr/bin/install -c'
  401. test -n "$AWK" || AWK=awk
  402. # The default lists apply if the user does not specify any file.
  403. ac_need_defaults=:
  404. while test $# != 0
  405. do
  406. case $1 in
  407. --*=?*)
  408. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  409. ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  410. ac_shift=:
  411. ;;
  412. --*=)
  413. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  414. ac_optarg=
  415. ac_shift=:
  416. ;;
  417. *)
  418. ac_option=$1
  419. ac_optarg=$2
  420. ac_shift=shift
  421. ;;
  422. esac
  423. case $ac_option in
  424. # Handling of the options.
  425. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  426. ac_cs_recheck=: ;;
  427. --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  428. $as_echo "$ac_cs_version"; exit ;;
  429. --config | --confi | --conf | --con | --co | --c )
  430. $as_echo "$ac_cs_config"; exit ;;
  431. --debug | --debu | --deb | --de | --d | -d )
  432. debug=: ;;
  433. --file | --fil | --fi | --f )
  434. $ac_shift
  435. case $ac_optarg in
  436. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  437. '') as_fn_error $? "missing file argument" ;;
  438. esac
  439. as_fn_append CONFIG_FILES " '$ac_optarg'"
  440. ac_need_defaults=false;;
  441. --header | --heade | --head | --hea )
  442. $ac_shift
  443. case $ac_optarg in
  444. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  445. esac
  446. as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  447. ac_need_defaults=false;;
  448. --he | --h)
  449. # Conflict between --help and --header
  450. as_fn_error $? "ambiguous option: \`$1'
  451. Try \`$0 --help' for more information.";;
  452. --help | --hel | -h )
  453. $as_echo "$ac_cs_usage"; exit ;;
  454. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  455. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  456. ac_cs_silent=: ;;
  457. # This is an error.
  458. -*) as_fn_error $? "unrecognized option: \`$1'
  459. Try \`$0 --help' for more information." ;;
  460. *) as_fn_append ac_config_targets " $1"
  461. ac_need_defaults=false ;;
  462. esac
  463. shift
  464. done
  465. ac_configure_extra_args=
  466. if $ac_cs_silent; then
  467. exec 6>/dev/null
  468. ac_configure_extra_args="$ac_configure_extra_args --silent"
  469. fi
  470. if $ac_cs_recheck; then
  471. set X '/bin/bash' './configure' '--host=arm-linux-gnueabi' '--prefix=/opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/EVSE/GPL/libnl-1.1.4/release' 'host_alias=arm-linux-gnueabi' 'CC=/opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-gcc' $ac_configure_extra_args --no-create --no-recursion
  472. shift
  473. $as_echo "running CONFIG_SHELL=/bin/bash $*" >&6
  474. CONFIG_SHELL='/bin/bash'
  475. export CONFIG_SHELL
  476. exec "$@"
  477. fi
  478. exec 5>>config.log
  479. {
  480. echo
  481. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  482. ## Running $as_me. ##
  483. _ASBOX
  484. $as_echo "$ac_log"
  485. } >&5
  486. # Handling of arguments.
  487. for ac_config_target in $ac_config_targets
  488. do
  489. case $ac_config_target in
  490. "lib/defs.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/defs.h" ;;
  491. "Makefile.opts") CONFIG_FILES="$CONFIG_FILES Makefile.opts" ;;
  492. "libnl-1.pc") CONFIG_FILES="$CONFIG_FILES libnl-1.pc" ;;
  493. "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
  494. *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  495. esac
  496. done
  497. # If the user did not use the arguments to specify the items to instantiate,
  498. # then the envvar interface is used. Set only those that are not.
  499. # We use the long form for the default assignment because of an extremely
  500. # bizarre bug on SunOS 4.1.3.
  501. if $ac_need_defaults; then
  502. test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  503. test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  504. fi
  505. # Have a temporary directory for convenience. Make it in the build tree
  506. # simply because there is no reason against having it here, and in addition,
  507. # creating and moving files from /tmp can sometimes cause problems.
  508. # Hook for its removal unless debugging.
  509. # Note that there is a small window in which the directory will not be cleaned:
  510. # after its creation but before its name has been assigned to `$tmp'.
  511. $debug ||
  512. {
  513. tmp= ac_tmp=
  514. trap 'exit_status=$?
  515. : "${ac_tmp:=$tmp}"
  516. { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  517. ' 0
  518. trap 'as_fn_exit 1' 1 2 13 15
  519. }
  520. # Create a (secure) tmp directory for tmp files.
  521. {
  522. tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  523. test -d "$tmp"
  524. } ||
  525. {
  526. tmp=./conf$$-$RANDOM
  527. (umask 077 && mkdir "$tmp")
  528. } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  529. ac_tmp=$tmp
  530. # Set up the scripts for CONFIG_FILES section.
  531. # No need to generate them if there are no CONFIG_FILES.
  532. # This happens for instance with `./config.status config.h'.
  533. if test -n "$CONFIG_FILES"; then
  534. ac_cr=`echo X | tr X '\015'`
  535. # On cygwin, bash can eat \r inside `` if the user requested igncr.
  536. # But we know of no other shell where ac_cr would be empty at this
  537. # point, so we can use a bashism as a fallback.
  538. if test "x$ac_cr" = x; then
  539. eval ac_cr=\$\'\\r\'
  540. fi
  541. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  542. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  543. ac_cs_awk_cr='\\r'
  544. else
  545. ac_cs_awk_cr=$ac_cr
  546. fi
  547. echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
  548. cat >>"$ac_tmp/subs1.awk" <<\_ACAWK &&
  549. S["LTLIBOBJS"]=""
  550. S["LIBOBJS"]=""
  551. S["LIBNL_LIB"]="-lm -lpthread"
  552. S["INSTALL_DATA"]="${INSTALL} -m 644"
  553. S["INSTALL_SCRIPT"]="${INSTALL}"
  554. S["INSTALL_PROGRAM"]="${INSTALL}"
  555. S["OBJEXT"]="o"
  556. S["EXEEXT"]=""
  557. S["ac_ct_CC"]=""
  558. S["CPPFLAGS"]=""
  559. S["LDFLAGS"]=""
  560. S["CFLAGS"]="-g -O2"
  561. S["CC"]="/opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-gcc"
  562. S["target_alias"]=""
  563. S["host_alias"]="arm-linux-gnueabi"
  564. S["build_alias"]=""
  565. S["LIBS"]=""
  566. S["ECHO_T"]=""
  567. S["ECHO_N"]="-n"
  568. S["ECHO_C"]=""
  569. S["DEFS"]="-DHAVE_CONFIG_H"
  570. S["mandir"]="${datarootdir}/man"
  571. S["localedir"]="${datarootdir}/locale"
  572. S["libdir"]="${exec_prefix}/lib"
  573. S["psdir"]="${docdir}"
  574. S["pdfdir"]="${docdir}"
  575. S["dvidir"]="${docdir}"
  576. S["htmldir"]="${docdir}"
  577. S["infodir"]="${datarootdir}/info"
  578. S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}"
  579. S["oldincludedir"]="/usr/include"
  580. S["includedir"]="${prefix}/include"
  581. S["localstatedir"]="${prefix}/var"
  582. S["sharedstatedir"]="${prefix}/com"
  583. S["sysconfdir"]="${prefix}/etc"
  584. S["datadir"]="${datarootdir}"
  585. S["datarootdir"]="${prefix}/share"
  586. S["libexecdir"]="${exec_prefix}/libexec"
  587. S["sbindir"]="${exec_prefix}/sbin"
  588. S["bindir"]="${exec_prefix}/bin"
  589. S["program_transform_name"]="s,x,x,"
  590. S["prefix"]="/opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/EVSE/GPL/libnl-1.1.4/release"
  591. S["exec_prefix"]="${prefix}"
  592. S["PACKAGE_URL"]=""
  593. S["PACKAGE_BUGREPORT"]="tgraf@suug.ch"
  594. S["PACKAGE_STRING"]="libnl 1.1.4"
  595. S["PACKAGE_VERSION"]="1.1.4"
  596. S["PACKAGE_TARNAME"]="libnl"
  597. S["PACKAGE_NAME"]="libnl"
  598. S["PATH_SEPARATOR"]=":"
  599. S["SHELL"]="/bin/bash"
  600. _ACAWK
  601. cat >>"$ac_tmp/subs1.awk" <<_ACAWK &&
  602. for (key in S) S_is_set[key] = 1
  603. FS = ""
  604. }
  605. {
  606. line = $ 0
  607. nfields = split(line, field, "@")
  608. substed = 0
  609. len = length(field[1])
  610. for (i = 2; i < nfields; i++) {
  611. key = field[i]
  612. keylen = length(key)
  613. if (S_is_set[key]) {
  614. value = S[key]
  615. line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  616. len += length(value) + length(field[++i])
  617. substed = 1
  618. } else
  619. len += 1 + keylen
  620. }
  621. print line
  622. }
  623. _ACAWK
  624. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  625. sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  626. else
  627. cat
  628. fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  629. || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
  630. fi # test -n "$CONFIG_FILES"
  631. # Set up the scripts for CONFIG_HEADERS section.
  632. # No need to generate them if there are no CONFIG_HEADERS.
  633. # This happens for instance with `./config.status Makefile'.
  634. if test -n "$CONFIG_HEADERS"; then
  635. cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
  636. BEGIN {
  637. D["PACKAGE_NAME"]=" \"libnl\""
  638. D["PACKAGE_TARNAME"]=" \"libnl\""
  639. D["PACKAGE_VERSION"]=" \"1.1.4\""
  640. D["PACKAGE_STRING"]=" \"libnl 1.1.4\""
  641. D["PACKAGE_BUGREPORT"]=" \"tgraf@suug.ch\""
  642. D["PACKAGE_URL"]=" \"\""
  643. for (key in D) D_is_set[key] = 1
  644. FS = ""
  645. }
  646. /^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ {
  647. line = $ 0
  648. split(line, arg, " ")
  649. if (arg[1] == "#") {
  650. defundef = arg[2]
  651. mac1 = arg[3]
  652. } else {
  653. defundef = substr(arg[1], 2)
  654. mac1 = arg[2]
  655. }
  656. split(mac1, mac2, "(") #)
  657. macro = mac2[1]
  658. prefix = substr(line, 1, index(line, defundef) - 1)
  659. if (D_is_set[macro]) {
  660. # Preserve the white space surrounding the "#".
  661. print prefix "define", macro P[macro] D[macro]
  662. next
  663. } else {
  664. # Replace #undef with comments. This is necessary, for example,
  665. # in the case of _POSIX_SOURCE, which is predefined and required
  666. # on some systems where configure will not decide to define it.
  667. if (defundef == "undef") {
  668. print "/*", prefix defundef, macro, "*/"
  669. next
  670. }
  671. }
  672. }
  673. { print }
  674. _ACAWK
  675. as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
  676. fi # test -n "$CONFIG_HEADERS"
  677. eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
  678. shift
  679. for ac_tag
  680. do
  681. case $ac_tag in
  682. :[FHLC]) ac_mode=$ac_tag; continue;;
  683. esac
  684. case $ac_mode$ac_tag in
  685. :[FHL]*:*);;
  686. :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
  687. :[FH]-) ac_tag=-:-;;
  688. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  689. esac
  690. ac_save_IFS=$IFS
  691. IFS=:
  692. set x $ac_tag
  693. IFS=$ac_save_IFS
  694. shift
  695. ac_file=$1
  696. shift
  697. case $ac_mode in
  698. :L) ac_source=$1;;
  699. :[FH])
  700. ac_file_inputs=
  701. for ac_f
  702. do
  703. case $ac_f in
  704. -) ac_f="$ac_tmp/stdin";;
  705. *) # Look for the file first in the build tree, then in the source tree
  706. # (if the path is not absolute). The absolute path cannot be DOS-style,
  707. # because $ac_f cannot contain `:'.
  708. test -f "$ac_f" ||
  709. case $ac_f in
  710. [\\/$]*) false;;
  711. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  712. esac ||
  713. as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  714. esac
  715. case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  716. as_fn_append ac_file_inputs " '$ac_f'"
  717. done
  718. # Let's still pretend it is `configure' which instantiates (i.e., don't
  719. # use $as_me), people would be surprised to read:
  720. # /* config.h. Generated by config.status. */
  721. configure_input='Generated from '`
  722. $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  723. `' by configure.'
  724. if test x"$ac_file" != x-; then
  725. configure_input="$ac_file. $configure_input"
  726. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  727. $as_echo "$as_me: creating $ac_file" >&6;}
  728. fi
  729. # Neutralize special characters interpreted by sed in replacement strings.
  730. case $configure_input in #(
  731. *\&* | *\|* | *\\* )
  732. ac_sed_conf_input=`$as_echo "$configure_input" |
  733. sed 's/[\\\\&|]/\\\\&/g'`;; #(
  734. *) ac_sed_conf_input=$configure_input;;
  735. esac
  736. case $ac_tag in
  737. *:-:* | *:-) cat >"$ac_tmp/stdin" \
  738. || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  739. esac
  740. ;;
  741. esac
  742. ac_dir=`$as_dirname -- "$ac_file" ||
  743. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  744. X"$ac_file" : 'X\(//\)[^/]' \| \
  745. X"$ac_file" : 'X\(//\)$' \| \
  746. X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  747. $as_echo X"$ac_file" |
  748. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  749. s//\1/
  750. q
  751. }
  752. /^X\(\/\/\)[^/].*/{
  753. s//\1/
  754. q
  755. }
  756. /^X\(\/\/\)$/{
  757. s//\1/
  758. q
  759. }
  760. /^X\(\/\).*/{
  761. s//\1/
  762. q
  763. }
  764. s/.*/./; q'`
  765. as_dir="$ac_dir"; as_fn_mkdir_p
  766. ac_builddir=.
  767. case "$ac_dir" in
  768. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  769. *)
  770. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  771. # A ".." for each directory in $ac_dir_suffix.
  772. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  773. case $ac_top_builddir_sub in
  774. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  775. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  776. esac ;;
  777. esac
  778. ac_abs_top_builddir=$ac_pwd
  779. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  780. # for backward compatibility:
  781. ac_top_builddir=$ac_top_build_prefix
  782. case $srcdir in
  783. .) # We are building in place.
  784. ac_srcdir=.
  785. ac_top_srcdir=$ac_top_builddir_sub
  786. ac_abs_top_srcdir=$ac_pwd ;;
  787. [\\/]* | ?:[\\/]* ) # Absolute name.
  788. ac_srcdir=$srcdir$ac_dir_suffix;
  789. ac_top_srcdir=$srcdir
  790. ac_abs_top_srcdir=$srcdir ;;
  791. *) # Relative name.
  792. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  793. ac_top_srcdir=$ac_top_build_prefix$srcdir
  794. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  795. esac
  796. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  797. case $ac_mode in
  798. :F)
  799. #
  800. # CONFIG_FILE
  801. #
  802. case $INSTALL in
  803. [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  804. *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  805. esac
  806. # If the template does not know about datarootdir, expand it.
  807. # FIXME: This hack should be removed a few years after 2.60.
  808. ac_datarootdir_hack=; ac_datarootdir_seen=
  809. ac_sed_dataroot='
  810. /datarootdir/ {
  811. p
  812. q
  813. }
  814. /@datadir@/p
  815. /@docdir@/p
  816. /@infodir@/p
  817. /@localedir@/p
  818. /@mandir@/p'
  819. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  820. *datarootdir*) ac_datarootdir_seen=yes;;
  821. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  822. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  823. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  824. ac_datarootdir_hack='
  825. s&@datadir@&${datarootdir}&g
  826. s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
  827. s&@infodir@&${datarootdir}/info&g
  828. s&@localedir@&${datarootdir}/locale&g
  829. s&@mandir@&${datarootdir}/man&g
  830. s&\${datarootdir}&${prefix}/share&g' ;;
  831. esac
  832. ac_sed_extra="/^[ ]*VPATH[ ]*=[ ]*/{
  833. h
  834. s///
  835. s/^/:/
  836. s/[ ]*$/:/
  837. s/:\$(srcdir):/:/g
  838. s/:\${srcdir}:/:/g
  839. s/:@srcdir@:/:/g
  840. s/^:*//
  841. s/:*$//
  842. x
  843. s/\(=[ ]*\).*/\1/
  844. G
  845. s/\n//
  846. s/^[^=]*=[ ]*$//
  847. }
  848. :t
  849. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  850. s|@configure_input@|$ac_sed_conf_input|;t t
  851. s&@top_builddir@&$ac_top_builddir_sub&;t t
  852. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  853. s&@srcdir@&$ac_srcdir&;t t
  854. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  855. s&@top_srcdir@&$ac_top_srcdir&;t t
  856. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  857. s&@builddir@&$ac_builddir&;t t
  858. s&@abs_builddir@&$ac_abs_builddir&;t t
  859. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  860. s&@INSTALL@&$ac_INSTALL&;t t
  861. $ac_datarootdir_hack
  862. "
  863. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  864. >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  865. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  866. { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  867. { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
  868. "$ac_tmp/out"`; test -z "$ac_out"; } &&
  869. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  870. which seems to be undefined. Please make sure it is defined" >&5
  871. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  872. which seems to be undefined. Please make sure it is defined" >&2;}
  873. rm -f "$ac_tmp/stdin"
  874. case $ac_file in
  875. -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  876. *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  877. esac \
  878. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  879. ;;
  880. :H)
  881. #
  882. # CONFIG_HEADER
  883. #
  884. if test x"$ac_file" != x-; then
  885. {
  886. $as_echo "/* $configure_input */" \
  887. && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
  888. } >"$ac_tmp/config.h" \
  889. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  890. if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
  891. { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  892. $as_echo "$as_me: $ac_file is unchanged" >&6;}
  893. else
  894. rm -f "$ac_file"
  895. mv "$ac_tmp/config.h" "$ac_file" \
  896. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  897. fi
  898. else
  899. $as_echo "/* $configure_input */" \
  900. && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
  901. || as_fn_error $? "could not create -" "$LINENO" 5
  902. fi
  903. ;;
  904. esac
  905. done # for ac_tag
  906. as_fn_exit 0