PageRenderTime 59ms CodeModel.GetById 13ms RepoModel.GetById 0ms app.codeStats 2ms

/libpcap/configure

https://gitlab.com/g10h4ck/nmap-gsoc2015
Shell | 9730 lines | 7496 code | 991 blank | 1243 comment | 862 complexity | d587c1cc9746659cb6f37fc3ae7a6f49 MD5 | raw file
Possible License(s): BSD-3-Clause, GPL-2.0, Apache-2.0, LGPL-2.0, LGPL-2.1, MIT

Large files files are truncated, but you can click here to view the full file

  1. #! /bin/sh
  2. # Guess values for system-dependent variables and create Makefiles.
  3. # Generated by GNU Autoconf 2.69.
  4. #
  5. #
  6. # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
  7. #
  8. #
  9. # This configure script is free software; the Free Software Foundation
  10. # gives unlimited permission to copy, distribute and modify it.
  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. # Use a proper internal environment variable to ensure we don't fall
  124. # into an infinite loop, continuously re-executing ourselves.
  125. if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
  126. _as_can_reexec=no; export _as_can_reexec;
  127. # We cannot yet assume a decent shell, so we have to provide a
  128. # neutralization value for shells without unset; and this also
  129. # works around shells that cannot unset nonexistent variables.
  130. # Preserve -v and -x to the replacement shell.
  131. BASH_ENV=/dev/null
  132. ENV=/dev/null
  133. (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  134. case $- in # ((((
  135. *v*x* | *x*v* ) as_opts=-vx ;;
  136. *v* ) as_opts=-v ;;
  137. *x* ) as_opts=-x ;;
  138. * ) as_opts= ;;
  139. esac
  140. exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  141. # Admittedly, this is quite paranoid, since all the known shells bail
  142. # out after a failed `exec'.
  143. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  144. as_fn_exit 255
  145. fi
  146. # We don't want this to propagate to other subprocesses.
  147. { _as_can_reexec=; unset _as_can_reexec;}
  148. if test "x$CONFIG_SHELL" = x; then
  149. as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  150. emulate sh
  151. NULLCMD=:
  152. # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  153. # is contrary to our usage. Disable this feature.
  154. alias -g '\${1+\"\$@\"}'='\"\$@\"'
  155. setopt NO_GLOB_SUBST
  156. else
  157. case \`(set -o) 2>/dev/null\` in #(
  158. *posix*) :
  159. set -o posix ;; #(
  160. *) :
  161. ;;
  162. esac
  163. fi
  164. "
  165. as_required="as_fn_return () { (exit \$1); }
  166. as_fn_success () { as_fn_return 0; }
  167. as_fn_failure () { as_fn_return 1; }
  168. as_fn_ret_success () { return 0; }
  169. as_fn_ret_failure () { return 1; }
  170. exitcode=0
  171. as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  172. as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  173. as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  174. as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  175. if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  176. else
  177. exitcode=1; echo positional parameters were not saved.
  178. fi
  179. test x\$exitcode = x0 || exit 1
  180. test -x / || exit 1"
  181. as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  182. as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  183. eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  184. test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  185. test \$(( 1 + 1 )) = 2 || exit 1"
  186. if (eval "$as_required") 2>/dev/null; then :
  187. as_have_required=yes
  188. else
  189. as_have_required=no
  190. fi
  191. if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  192. else
  193. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  194. as_found=false
  195. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  196. do
  197. IFS=$as_save_IFS
  198. test -z "$as_dir" && as_dir=.
  199. as_found=:
  200. case $as_dir in #(
  201. /*)
  202. for as_base in sh bash ksh sh5; do
  203. # Try only shells that exist, to save several forks.
  204. as_shell=$as_dir/$as_base
  205. if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  206. { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  207. CONFIG_SHELL=$as_shell as_have_required=yes
  208. if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  209. break 2
  210. fi
  211. fi
  212. done;;
  213. esac
  214. as_found=false
  215. done
  216. $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  217. { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  218. CONFIG_SHELL=$SHELL as_have_required=yes
  219. fi; }
  220. IFS=$as_save_IFS
  221. if test "x$CONFIG_SHELL" != x; then :
  222. export CONFIG_SHELL
  223. # We cannot yet assume a decent shell, so we have to provide a
  224. # neutralization value for shells without unset; and this also
  225. # works around shells that cannot unset nonexistent variables.
  226. # Preserve -v and -x to the replacement shell.
  227. BASH_ENV=/dev/null
  228. ENV=/dev/null
  229. (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  230. case $- in # ((((
  231. *v*x* | *x*v* ) as_opts=-vx ;;
  232. *v* ) as_opts=-v ;;
  233. *x* ) as_opts=-x ;;
  234. * ) as_opts= ;;
  235. esac
  236. exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  237. # Admittedly, this is quite paranoid, since all the known shells bail
  238. # out after a failed `exec'.
  239. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  240. exit 255
  241. fi
  242. if test x$as_have_required = xno; then :
  243. $as_echo "$0: This script requires a shell more modern than all"
  244. $as_echo "$0: the shells that I found on your system."
  245. if test x${ZSH_VERSION+set} = xset ; then
  246. $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  247. $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  248. else
  249. $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
  250. $0: including any error possibly output before this
  251. $0: message. Then install a modern shell, or manually run
  252. $0: the script under such a shell if you do have one."
  253. fi
  254. exit 1
  255. fi
  256. fi
  257. fi
  258. SHELL=${CONFIG_SHELL-/bin/sh}
  259. export SHELL
  260. # Unset more variables known to interfere with behavior of common tools.
  261. CLICOLOR_FORCE= GREP_OPTIONS=
  262. unset CLICOLOR_FORCE GREP_OPTIONS
  263. ## --------------------- ##
  264. ## M4sh Shell Functions. ##
  265. ## --------------------- ##
  266. # as_fn_unset VAR
  267. # ---------------
  268. # Portably unset VAR.
  269. as_fn_unset ()
  270. {
  271. { eval $1=; unset $1;}
  272. }
  273. as_unset=as_fn_unset
  274. # as_fn_set_status STATUS
  275. # -----------------------
  276. # Set $? to STATUS, without forking.
  277. as_fn_set_status ()
  278. {
  279. return $1
  280. } # as_fn_set_status
  281. # as_fn_exit STATUS
  282. # -----------------
  283. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  284. as_fn_exit ()
  285. {
  286. set +e
  287. as_fn_set_status $1
  288. exit $1
  289. } # as_fn_exit
  290. # as_fn_mkdir_p
  291. # -------------
  292. # Create "$as_dir" as a directory, including parents if necessary.
  293. as_fn_mkdir_p ()
  294. {
  295. case $as_dir in #(
  296. -*) as_dir=./$as_dir;;
  297. esac
  298. test -d "$as_dir" || eval $as_mkdir_p || {
  299. as_dirs=
  300. while :; do
  301. case $as_dir in #(
  302. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  303. *) as_qdir=$as_dir;;
  304. esac
  305. as_dirs="'$as_qdir' $as_dirs"
  306. as_dir=`$as_dirname -- "$as_dir" ||
  307. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  308. X"$as_dir" : 'X\(//\)[^/]' \| \
  309. X"$as_dir" : 'X\(//\)$' \| \
  310. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  311. $as_echo X"$as_dir" |
  312. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  313. s//\1/
  314. q
  315. }
  316. /^X\(\/\/\)[^/].*/{
  317. s//\1/
  318. q
  319. }
  320. /^X\(\/\/\)$/{
  321. s//\1/
  322. q
  323. }
  324. /^X\(\/\).*/{
  325. s//\1/
  326. q
  327. }
  328. s/.*/./; q'`
  329. test -d "$as_dir" && break
  330. done
  331. test -z "$as_dirs" || eval "mkdir $as_dirs"
  332. } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  333. } # as_fn_mkdir_p
  334. # as_fn_executable_p FILE
  335. # -----------------------
  336. # Test if FILE is an executable regular file.
  337. as_fn_executable_p ()
  338. {
  339. test -f "$1" && test -x "$1"
  340. } # as_fn_executable_p
  341. # as_fn_append VAR VALUE
  342. # ----------------------
  343. # Append the text in VALUE to the end of the definition contained in VAR. Take
  344. # advantage of any shell optimizations that allow amortized linear growth over
  345. # repeated appends, instead of the typical quadratic growth present in naive
  346. # implementations.
  347. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  348. eval 'as_fn_append ()
  349. {
  350. eval $1+=\$2
  351. }'
  352. else
  353. as_fn_append ()
  354. {
  355. eval $1=\$$1\$2
  356. }
  357. fi # as_fn_append
  358. # as_fn_arith ARG...
  359. # ------------------
  360. # Perform arithmetic evaluation on the ARGs, and store the result in the
  361. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  362. # must be portable across $(()) and expr.
  363. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  364. eval 'as_fn_arith ()
  365. {
  366. as_val=$(( $* ))
  367. }'
  368. else
  369. as_fn_arith ()
  370. {
  371. as_val=`expr "$@" || test $? -eq 1`
  372. }
  373. fi # as_fn_arith
  374. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  375. # ----------------------------------------
  376. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  377. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  378. # script with STATUS, using 1 if that was 0.
  379. as_fn_error ()
  380. {
  381. as_status=$1; test $as_status -eq 0 && as_status=1
  382. if test "$4"; then
  383. as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  384. $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  385. fi
  386. $as_echo "$as_me: error: $2" >&2
  387. as_fn_exit $as_status
  388. } # as_fn_error
  389. if expr a : '\(a\)' >/dev/null 2>&1 &&
  390. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  391. as_expr=expr
  392. else
  393. as_expr=false
  394. fi
  395. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  396. as_basename=basename
  397. else
  398. as_basename=false
  399. fi
  400. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  401. as_dirname=dirname
  402. else
  403. as_dirname=false
  404. fi
  405. as_me=`$as_basename -- "$0" ||
  406. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  407. X"$0" : 'X\(//\)$' \| \
  408. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  409. $as_echo X/"$0" |
  410. sed '/^.*\/\([^/][^/]*\)\/*$/{
  411. s//\1/
  412. q
  413. }
  414. /^X\/\(\/\/\)$/{
  415. s//\1/
  416. q
  417. }
  418. /^X\/\(\/\).*/{
  419. s//\1/
  420. q
  421. }
  422. s/.*/./; q'`
  423. # Avoid depending upon Character Ranges.
  424. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  425. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  426. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  427. as_cr_digits='0123456789'
  428. as_cr_alnum=$as_cr_Letters$as_cr_digits
  429. as_lineno_1=$LINENO as_lineno_1a=$LINENO
  430. as_lineno_2=$LINENO as_lineno_2a=$LINENO
  431. eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  432. test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  433. # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
  434. sed -n '
  435. p
  436. /[$]LINENO/=
  437. ' <$as_myself |
  438. sed '
  439. s/[$]LINENO.*/&-/
  440. t lineno
  441. b
  442. :lineno
  443. N
  444. :loop
  445. s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  446. t loop
  447. s/-\n.*//
  448. ' >$as_me.lineno &&
  449. chmod +x "$as_me.lineno" ||
  450. { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  451. # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
  452. # already done that, so ensure we don't try to do so again and fall
  453. # in an infinite loop. This has already happened in practice.
  454. _as_can_reexec=no; export _as_can_reexec
  455. # Don't try to exec as it changes $[0], causing all sort of problems
  456. # (the dirname of $[0] is not the place where we might find the
  457. # original and so on. Autoconf is especially sensitive to this).
  458. . "./$as_me.lineno"
  459. # Exit status is that of the last command.
  460. exit
  461. }
  462. ECHO_C= ECHO_N= ECHO_T=
  463. case `echo -n x` in #(((((
  464. -n*)
  465. case `echo 'xy\c'` in
  466. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  467. xy) ECHO_C='\c';;
  468. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  469. ECHO_T=' ';;
  470. esac;;
  471. *)
  472. ECHO_N='-n';;
  473. esac
  474. rm -f conf$$ conf$$.exe conf$$.file
  475. if test -d conf$$.dir; then
  476. rm -f conf$$.dir/conf$$.file
  477. else
  478. rm -f conf$$.dir
  479. mkdir conf$$.dir 2>/dev/null
  480. fi
  481. if (echo >conf$$.file) 2>/dev/null; then
  482. if ln -s conf$$.file conf$$ 2>/dev/null; then
  483. as_ln_s='ln -s'
  484. # ... but there are two gotchas:
  485. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  486. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  487. # In both cases, we have to default to `cp -pR'.
  488. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  489. as_ln_s='cp -pR'
  490. elif ln conf$$.file conf$$ 2>/dev/null; then
  491. as_ln_s=ln
  492. else
  493. as_ln_s='cp -pR'
  494. fi
  495. else
  496. as_ln_s='cp -pR'
  497. fi
  498. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  499. rmdir conf$$.dir 2>/dev/null
  500. if mkdir -p . 2>/dev/null; then
  501. as_mkdir_p='mkdir -p "$as_dir"'
  502. else
  503. test -d ./-p && rmdir ./-p
  504. as_mkdir_p=false
  505. fi
  506. as_test_x='test -x'
  507. as_executable_p=as_fn_executable_p
  508. # Sed expression to map a string onto a valid CPP name.
  509. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  510. # Sed expression to map a string onto a valid variable name.
  511. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  512. test -n "$DJDIR" || exec 7<&0 </dev/null
  513. exec 6>&1
  514. # Name of the host.
  515. # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  516. # so uname gets run too.
  517. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  518. #
  519. # Initializations.
  520. #
  521. ac_default_prefix=/usr/local
  522. ac_clean_files=
  523. ac_config_libobj_dir=.
  524. LIBOBJS=
  525. cross_compiling=no
  526. subdirs=
  527. MFLAGS=
  528. MAKEFLAGS=
  529. # Identity of this package.
  530. PACKAGE_NAME=
  531. PACKAGE_TARNAME=
  532. PACKAGE_VERSION=
  533. PACKAGE_STRING=
  534. PACKAGE_BUGREPORT=
  535. PACKAGE_URL=
  536. ac_unique_file="pcap.c"
  537. # Factoring default headers for most tests.
  538. ac_includes_default="\
  539. #include <stdio.h>
  540. #ifdef HAVE_SYS_TYPES_H
  541. # include <sys/types.h>
  542. #endif
  543. #ifdef HAVE_SYS_STAT_H
  544. # include <sys/stat.h>
  545. #endif
  546. #ifdef STDC_HEADERS
  547. # include <stdlib.h>
  548. # include <stddef.h>
  549. #else
  550. # ifdef HAVE_STDLIB_H
  551. # include <stdlib.h>
  552. # endif
  553. #endif
  554. #ifdef HAVE_STRING_H
  555. # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  556. # include <memory.h>
  557. # endif
  558. # include <string.h>
  559. #endif
  560. #ifdef HAVE_STRINGS_H
  561. # include <strings.h>
  562. #endif
  563. #ifdef HAVE_INTTYPES_H
  564. # include <inttypes.h>
  565. #endif
  566. #ifdef HAVE_STDINT_H
  567. # include <stdint.h>
  568. #endif
  569. #ifdef HAVE_UNISTD_H
  570. # include <unistd.h>
  571. #endif"
  572. ac_subst_vars='LTLIBOBJS
  573. INSTALL_DATA
  574. INSTALL_SCRIPT
  575. INSTALL_PROGRAM
  576. PCAP_SUPPORT_PACKET_RING
  577. DBUS_SRC
  578. PCAP_SUPPORT_DBUS
  579. PKGCONFIG
  580. CAN_SRC
  581. PCAP_SUPPORT_CAN
  582. CANUSB_SRC
  583. PCAP_SUPPORT_CANUSB
  584. BT_MONITOR_SRC
  585. BT_SRC
  586. PCAP_SUPPORT_BT
  587. NETFILTER_SRC
  588. PCAP_SUPPORT_NETFILTER
  589. USB_SRC
  590. PCAP_SUPPORT_USB
  591. MAN_MISC_INFO
  592. MAN_FILE_FORMATS
  593. DYEXT
  594. SSRC
  595. ADDLARCHIVEOBJS
  596. ADDLOBJS
  597. V_RPATH_OPT
  598. V_SONAME_OPT
  599. V_SHLIB_OPT
  600. V_SHLIB_CMD
  601. V_PCAP
  602. V_INCLS
  603. V_FINDALLDEVS
  604. V_DEFS
  605. V_CCOPT
  606. MKDEP
  607. DEPENDENCY_CFLAG
  608. LN_S
  609. AR
  610. RANLIB
  611. HAVE_LINUX_TPACKET_AUXDATA
  612. LIBOBJS
  613. EGREP
  614. GREP
  615. CPP
  616. OBJEXT
  617. EXEEXT
  618. ac_ct_CC
  619. CPPFLAGS
  620. LDFLAGS
  621. CFLAGS
  622. CC
  623. SHLICC2
  624. target_os
  625. target_vendor
  626. target_cpu
  627. target
  628. host_os
  629. host_vendor
  630. host_cpu
  631. host
  632. build_os
  633. build_vendor
  634. build_cpu
  635. build
  636. target_alias
  637. host_alias
  638. build_alias
  639. LIBS
  640. ECHO_T
  641. ECHO_N
  642. ECHO_C
  643. DEFS
  644. mandir
  645. localedir
  646. libdir
  647. psdir
  648. pdfdir
  649. dvidir
  650. htmldir
  651. infodir
  652. docdir
  653. oldincludedir
  654. includedir
  655. localstatedir
  656. sharedstatedir
  657. sysconfdir
  658. datadir
  659. datarootdir
  660. libexecdir
  661. sbindir
  662. bindir
  663. program_transform_name
  664. prefix
  665. exec_prefix
  666. PACKAGE_URL
  667. PACKAGE_BUGREPORT
  668. PACKAGE_STRING
  669. PACKAGE_VERSION
  670. PACKAGE_TARNAME
  671. PACKAGE_NAME
  672. PATH_SEPARATOR
  673. SHELL'
  674. ac_subst_files=''
  675. ac_user_opts='
  676. enable_option_checking
  677. with_gcc
  678. enable_largefile
  679. enable_protochain
  680. with_sita
  681. with_pcap
  682. with_libnl
  683. enable_ipv6
  684. enable_optimizer_dbg
  685. enable_yydebug
  686. with_dag
  687. with_dag_includes
  688. with_dag_libraries
  689. with_septel
  690. with_snf
  691. with_snf_includes
  692. with_snf_libraries
  693. enable_universal
  694. enable_shared
  695. enable_usb
  696. enable_bluetooth
  697. enable_canusb
  698. enable_can
  699. enable_dbus
  700. enable_packet_ring
  701. '
  702. ac_precious_vars='build_alias
  703. host_alias
  704. target_alias
  705. CC
  706. CFLAGS
  707. LDFLAGS
  708. LIBS
  709. CPPFLAGS
  710. CPP'
  711. # Initialize some variables set by options.
  712. ac_init_help=
  713. ac_init_version=false
  714. ac_unrecognized_opts=
  715. ac_unrecognized_sep=
  716. # The variables have the same names as the options, with
  717. # dashes changed to underlines.
  718. cache_file=/dev/null
  719. exec_prefix=NONE
  720. no_create=
  721. no_recursion=
  722. prefix=NONE
  723. program_prefix=NONE
  724. program_suffix=NONE
  725. program_transform_name=s,x,x,
  726. silent=
  727. site=
  728. srcdir=
  729. verbose=
  730. x_includes=NONE
  731. x_libraries=NONE
  732. # Installation directory options.
  733. # These are left unexpanded so users can "make install exec_prefix=/foo"
  734. # and all the variables that are supposed to be based on exec_prefix
  735. # by default will actually change.
  736. # Use braces instead of parens because sh, perl, etc. also accept them.
  737. # (The list follows the same order as the GNU Coding Standards.)
  738. bindir='${exec_prefix}/bin'
  739. sbindir='${exec_prefix}/sbin'
  740. libexecdir='${exec_prefix}/libexec'
  741. datarootdir='${prefix}/share'
  742. datadir='${datarootdir}'
  743. sysconfdir='${prefix}/etc'
  744. sharedstatedir='${prefix}/com'
  745. localstatedir='${prefix}/var'
  746. includedir='${prefix}/include'
  747. oldincludedir='/usr/include'
  748. docdir='${datarootdir}/doc/${PACKAGE}'
  749. infodir='${datarootdir}/info'
  750. htmldir='${docdir}'
  751. dvidir='${docdir}'
  752. pdfdir='${docdir}'
  753. psdir='${docdir}'
  754. libdir='${exec_prefix}/lib'
  755. localedir='${datarootdir}/locale'
  756. mandir='${datarootdir}/man'
  757. ac_prev=
  758. ac_dashdash=
  759. for ac_option
  760. do
  761. # If the previous option needs an argument, assign it.
  762. if test -n "$ac_prev"; then
  763. eval $ac_prev=\$ac_option
  764. ac_prev=
  765. continue
  766. fi
  767. case $ac_option in
  768. *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  769. *=) ac_optarg= ;;
  770. *) ac_optarg=yes ;;
  771. esac
  772. # Accept the important Cygnus configure options, so we can diagnose typos.
  773. case $ac_dashdash$ac_option in
  774. --)
  775. ac_dashdash=yes ;;
  776. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  777. ac_prev=bindir ;;
  778. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  779. bindir=$ac_optarg ;;
  780. -build | --build | --buil | --bui | --bu)
  781. ac_prev=build_alias ;;
  782. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  783. build_alias=$ac_optarg ;;
  784. -cache-file | --cache-file | --cache-fil | --cache-fi \
  785. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  786. ac_prev=cache_file ;;
  787. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  788. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  789. cache_file=$ac_optarg ;;
  790. --config-cache | -C)
  791. cache_file=config.cache ;;
  792. -datadir | --datadir | --datadi | --datad)
  793. ac_prev=datadir ;;
  794. -datadir=* | --datadir=* | --datadi=* | --datad=*)
  795. datadir=$ac_optarg ;;
  796. -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  797. | --dataroo | --dataro | --datar)
  798. ac_prev=datarootdir ;;
  799. -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  800. | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  801. datarootdir=$ac_optarg ;;
  802. -disable-* | --disable-*)
  803. ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  804. # Reject names that are not valid shell variable names.
  805. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  806. as_fn_error $? "invalid feature name: $ac_useropt"
  807. ac_useropt_orig=$ac_useropt
  808. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  809. case $ac_user_opts in
  810. *"
  811. "enable_$ac_useropt"
  812. "*) ;;
  813. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  814. ac_unrecognized_sep=', ';;
  815. esac
  816. eval enable_$ac_useropt=no ;;
  817. -docdir | --docdir | --docdi | --doc | --do)
  818. ac_prev=docdir ;;
  819. -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  820. docdir=$ac_optarg ;;
  821. -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  822. ac_prev=dvidir ;;
  823. -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  824. dvidir=$ac_optarg ;;
  825. -enable-* | --enable-*)
  826. ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  827. # Reject names that are not valid shell variable names.
  828. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  829. as_fn_error $? "invalid feature name: $ac_useropt"
  830. ac_useropt_orig=$ac_useropt
  831. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  832. case $ac_user_opts in
  833. *"
  834. "enable_$ac_useropt"
  835. "*) ;;
  836. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  837. ac_unrecognized_sep=', ';;
  838. esac
  839. eval enable_$ac_useropt=\$ac_optarg ;;
  840. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  841. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  842. | --exec | --exe | --ex)
  843. ac_prev=exec_prefix ;;
  844. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  845. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  846. | --exec=* | --exe=* | --ex=*)
  847. exec_prefix=$ac_optarg ;;
  848. -gas | --gas | --ga | --g)
  849. # Obsolete; use --with-gas.
  850. with_gas=yes ;;
  851. -help | --help | --hel | --he | -h)
  852. ac_init_help=long ;;
  853. -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  854. ac_init_help=recursive ;;
  855. -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  856. ac_init_help=short ;;
  857. -host | --host | --hos | --ho)
  858. ac_prev=host_alias ;;
  859. -host=* | --host=* | --hos=* | --ho=*)
  860. host_alias=$ac_optarg ;;
  861. -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  862. ac_prev=htmldir ;;
  863. -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  864. | --ht=*)
  865. htmldir=$ac_optarg ;;
  866. -includedir | --includedir | --includedi | --included | --include \
  867. | --includ | --inclu | --incl | --inc)
  868. ac_prev=includedir ;;
  869. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  870. | --includ=* | --inclu=* | --incl=* | --inc=*)
  871. includedir=$ac_optarg ;;
  872. -infodir | --infodir | --infodi | --infod | --info | --inf)
  873. ac_prev=infodir ;;
  874. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  875. infodir=$ac_optarg ;;
  876. -libdir | --libdir | --libdi | --libd)
  877. ac_prev=libdir ;;
  878. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  879. libdir=$ac_optarg ;;
  880. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  881. | --libexe | --libex | --libe)
  882. ac_prev=libexecdir ;;
  883. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  884. | --libexe=* | --libex=* | --libe=*)
  885. libexecdir=$ac_optarg ;;
  886. -localedir | --localedir | --localedi | --localed | --locale)
  887. ac_prev=localedir ;;
  888. -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  889. localedir=$ac_optarg ;;
  890. -localstatedir | --localstatedir | --localstatedi | --localstated \
  891. | --localstate | --localstat | --localsta | --localst | --locals)
  892. ac_prev=localstatedir ;;
  893. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  894. | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  895. localstatedir=$ac_optarg ;;
  896. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  897. ac_prev=mandir ;;
  898. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  899. mandir=$ac_optarg ;;
  900. -nfp | --nfp | --nf)
  901. # Obsolete; use --without-fp.
  902. with_fp=no ;;
  903. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  904. | --no-cr | --no-c | -n)
  905. no_create=yes ;;
  906. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  907. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  908. no_recursion=yes ;;
  909. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  910. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  911. | --oldin | --oldi | --old | --ol | --o)
  912. ac_prev=oldincludedir ;;
  913. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  914. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  915. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  916. oldincludedir=$ac_optarg ;;
  917. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  918. ac_prev=prefix ;;
  919. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  920. prefix=$ac_optarg ;;
  921. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  922. | --program-pre | --program-pr | --program-p)
  923. ac_prev=program_prefix ;;
  924. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  925. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  926. program_prefix=$ac_optarg ;;
  927. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  928. | --program-suf | --program-su | --program-s)
  929. ac_prev=program_suffix ;;
  930. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  931. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  932. program_suffix=$ac_optarg ;;
  933. -program-transform-name | --program-transform-name \
  934. | --program-transform-nam | --program-transform-na \
  935. | --program-transform-n | --program-transform- \
  936. | --program-transform | --program-transfor \
  937. | --program-transfo | --program-transf \
  938. | --program-trans | --program-tran \
  939. | --progr-tra | --program-tr | --program-t)
  940. ac_prev=program_transform_name ;;
  941. -program-transform-name=* | --program-transform-name=* \
  942. | --program-transform-nam=* | --program-transform-na=* \
  943. | --program-transform-n=* | --program-transform-=* \
  944. | --program-transform=* | --program-transfor=* \
  945. | --program-transfo=* | --program-transf=* \
  946. | --program-trans=* | --program-tran=* \
  947. | --progr-tra=* | --program-tr=* | --program-t=*)
  948. program_transform_name=$ac_optarg ;;
  949. -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  950. ac_prev=pdfdir ;;
  951. -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  952. pdfdir=$ac_optarg ;;
  953. -psdir | --psdir | --psdi | --psd | --ps)
  954. ac_prev=psdir ;;
  955. -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  956. psdir=$ac_optarg ;;
  957. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  958. | -silent | --silent | --silen | --sile | --sil)
  959. silent=yes ;;
  960. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  961. ac_prev=sbindir ;;
  962. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  963. | --sbi=* | --sb=*)
  964. sbindir=$ac_optarg ;;
  965. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  966. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  967. | --sharedst | --shareds | --shared | --share | --shar \
  968. | --sha | --sh)
  969. ac_prev=sharedstatedir ;;
  970. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  971. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  972. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  973. | --sha=* | --sh=*)
  974. sharedstatedir=$ac_optarg ;;
  975. -site | --site | --sit)
  976. ac_prev=site ;;
  977. -site=* | --site=* | --sit=*)
  978. site=$ac_optarg ;;
  979. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  980. ac_prev=srcdir ;;
  981. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  982. srcdir=$ac_optarg ;;
  983. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  984. | --syscon | --sysco | --sysc | --sys | --sy)
  985. ac_prev=sysconfdir ;;
  986. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  987. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  988. sysconfdir=$ac_optarg ;;
  989. -target | --target | --targe | --targ | --tar | --ta | --t)
  990. ac_prev=target_alias ;;
  991. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  992. target_alias=$ac_optarg ;;
  993. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  994. verbose=yes ;;
  995. -version | --version | --versio | --versi | --vers | -V)
  996. ac_init_version=: ;;
  997. -with-* | --with-*)
  998. ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  999. # Reject names that are not valid shell variable names.
  1000. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1001. as_fn_error $? "invalid package name: $ac_useropt"
  1002. ac_useropt_orig=$ac_useropt
  1003. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1004. case $ac_user_opts in
  1005. *"
  1006. "with_$ac_useropt"
  1007. "*) ;;
  1008. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  1009. ac_unrecognized_sep=', ';;
  1010. esac
  1011. eval with_$ac_useropt=\$ac_optarg ;;
  1012. -without-* | --without-*)
  1013. ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1014. # Reject names that are not valid shell variable names.
  1015. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1016. as_fn_error $? "invalid package name: $ac_useropt"
  1017. ac_useropt_orig=$ac_useropt
  1018. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1019. case $ac_user_opts in
  1020. *"
  1021. "with_$ac_useropt"
  1022. "*) ;;
  1023. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  1024. ac_unrecognized_sep=', ';;
  1025. esac
  1026. eval with_$ac_useropt=no ;;
  1027. --x)
  1028. # Obsolete; use --with-x.
  1029. with_x=yes ;;
  1030. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1031. | --x-incl | --x-inc | --x-in | --x-i)
  1032. ac_prev=x_includes ;;
  1033. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1034. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1035. x_includes=$ac_optarg ;;
  1036. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1037. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1038. ac_prev=x_libraries ;;
  1039. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1040. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1041. x_libraries=$ac_optarg ;;
  1042. -*) as_fn_error $? "unrecognized option: \`$ac_option'
  1043. Try \`$0 --help' for more information"
  1044. ;;
  1045. *=*)
  1046. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1047. # Reject names that are not valid shell variable names.
  1048. case $ac_envvar in #(
  1049. '' | [0-9]* | *[!_$as_cr_alnum]* )
  1050. as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
  1051. esac
  1052. eval $ac_envvar=\$ac_optarg
  1053. export $ac_envvar ;;
  1054. *)
  1055. # FIXME: should be removed in autoconf 3.0.
  1056. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1057. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1058. $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1059. : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
  1060. ;;
  1061. esac
  1062. done
  1063. if test -n "$ac_prev"; then
  1064. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1065. as_fn_error $? "missing argument to $ac_option"
  1066. fi
  1067. if test -n "$ac_unrecognized_opts"; then
  1068. case $enable_option_checking in
  1069. no) ;;
  1070. fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
  1071. *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1072. esac
  1073. fi
  1074. # Check all directory arguments for consistency.
  1075. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1076. datadir sysconfdir sharedstatedir localstatedir includedir \
  1077. oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1078. libdir localedir mandir
  1079. do
  1080. eval ac_val=\$$ac_var
  1081. # Remove trailing slashes.
  1082. case $ac_val in
  1083. */ )
  1084. ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1085. eval $ac_var=\$ac_val;;
  1086. esac
  1087. # Be sure to have absolute directory names.
  1088. case $ac_val in
  1089. [\\/$]* | ?:[\\/]* ) continue;;
  1090. NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1091. esac
  1092. as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
  1093. done
  1094. # There might be people who depend on the old broken behavior: `$host'
  1095. # used to hold the argument of --host etc.
  1096. # FIXME: To remove some day.
  1097. build=$build_alias
  1098. host=$host_alias
  1099. target=$target_alias
  1100. # FIXME: To remove some day.
  1101. if test "x$host_alias" != x; then
  1102. if test "x$build_alias" = x; then
  1103. cross_compiling=maybe
  1104. elif test "x$build_alias" != "x$host_alias"; then
  1105. cross_compiling=yes
  1106. fi
  1107. fi
  1108. ac_tool_prefix=
  1109. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1110. test "$silent" = yes && exec 6>/dev/null
  1111. ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1112. ac_ls_di=`ls -di .` &&
  1113. ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1114. as_fn_error $? "working directory cannot be determined"
  1115. test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1116. as_fn_error $? "pwd does not report name of working directory"
  1117. # Find the source files, if location was not specified.
  1118. if test -z "$srcdir"; then
  1119. ac_srcdir_defaulted=yes
  1120. # Try the directory containing this script, then the parent directory.
  1121. ac_confdir=`$as_dirname -- "$as_myself" ||
  1122. $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1123. X"$as_myself" : 'X\(//\)[^/]' \| \
  1124. X"$as_myself" : 'X\(//\)$' \| \
  1125. X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1126. $as_echo X"$as_myself" |
  1127. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1128. s//\1/
  1129. q
  1130. }
  1131. /^X\(\/\/\)[^/].*/{
  1132. s//\1/
  1133. q
  1134. }
  1135. /^X\(\/\/\)$/{
  1136. s//\1/
  1137. q
  1138. }
  1139. /^X\(\/\).*/{
  1140. s//\1/
  1141. q
  1142. }
  1143. s/.*/./; q'`
  1144. srcdir=$ac_confdir
  1145. if test ! -r "$srcdir/$ac_unique_file"; then
  1146. srcdir=..
  1147. fi
  1148. else
  1149. ac_srcdir_defaulted=no
  1150. fi
  1151. if test ! -r "$srcdir/$ac_unique_file"; then
  1152. test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1153. as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
  1154. fi
  1155. ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1156. ac_abs_confdir=`(
  1157. cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
  1158. pwd)`
  1159. # When building in place, set srcdir=.
  1160. if test "$ac_abs_confdir" = "$ac_pwd"; then
  1161. srcdir=.
  1162. fi
  1163. # Remove unnecessary trailing slashes from srcdir.
  1164. # Double slashes in file names in object file debugging info
  1165. # mess up M-x gdb in Emacs.
  1166. case $srcdir in
  1167. */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1168. esac
  1169. for ac_var in $ac_precious_vars; do
  1170. eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1171. eval ac_env_${ac_var}_value=\$${ac_var}
  1172. eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1173. eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1174. done
  1175. #
  1176. # Report the --help message.
  1177. #
  1178. if test "$ac_init_help" = "long"; then
  1179. # Omit some internal or obsolete options to make the list less imposing.
  1180. # This message is too long to be a string in the A/UX 3.1 sh.
  1181. cat <<_ACEOF
  1182. \`configure' configures this package to adapt to many kinds of systems.
  1183. Usage: $0 [OPTION]... [VAR=VALUE]...
  1184. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1185. VAR=VALUE. See below for descriptions of some of the useful variables.
  1186. Defaults for the options are specified in brackets.
  1187. Configuration:
  1188. -h, --help display this help and exit
  1189. --help=short display options specific to this package
  1190. --help=recursive display the short help of all the included packages
  1191. -V, --version display version information and exit
  1192. -q, --quiet, --silent do not print \`checking ...' messages
  1193. --cache-file=FILE cache test results in FILE [disabled]
  1194. -C, --config-cache alias for \`--cache-file=config.cache'
  1195. -n, --no-create do not create output files
  1196. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  1197. Installation directories:
  1198. --prefix=PREFIX install architecture-independent files in PREFIX
  1199. [$ac_default_prefix]
  1200. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  1201. [PREFIX]
  1202. By default, \`make install' will install all the files in
  1203. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  1204. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1205. for instance \`--prefix=\$HOME'.
  1206. For better control, use the options below.
  1207. Fine tuning of the installation directories:
  1208. --bindir=DIR user executables [EPREFIX/bin]
  1209. --sbindir=DIR system admin executables [EPREFIX/sbin]
  1210. --libexecdir=DIR program executables [EPREFIX/libexec]
  1211. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  1212. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  1213. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  1214. --libdir=DIR object code libraries [EPREFIX/lib]
  1215. --includedir=DIR C header files [PREFIX/include]
  1216. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  1217. --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  1218. --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  1219. --infodir=DIR info documentation [DATAROOTDIR/info]
  1220. --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  1221. --mandir=DIR man documentation [DATAROOTDIR/man]
  1222. --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
  1223. --htmldir=DIR html documentation [DOCDIR]
  1224. --dvidir=DIR dvi documentation [DOCDIR]
  1225. --pdfdir=DIR pdf documentation [DOCDIR]
  1226. --psdir=DIR ps documentation [DOCDIR]
  1227. _ACEOF
  1228. cat <<\_ACEOF
  1229. System types:
  1230. --build=BUILD configure for building on BUILD [guessed]
  1231. --host=HOST cross-compile to build programs to run on HOST [BUILD]
  1232. --target=TARGET configure for building compilers for TARGET [HOST]
  1233. _ACEOF
  1234. fi
  1235. if test -n "$ac_init_help"; then
  1236. cat <<\_ACEOF
  1237. Optional Features:
  1238. --disable-option-checking ignore unrecognized --enable/--with options
  1239. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  1240. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  1241. --disable-largefile omit support for large files
  1242. --disable-protochain disable \"protochain\" insn
  1243. --enable-ipv6 build IPv6-capable version [default=yes, if
  1244. getaddrinfo available]
  1245. --enable-optimizer-dbg build optimizer debugging code
  1246. --enable-yydebug build parser debugging code
  1247. --disable-universal don't build universal on OS X
  1248. --enable-shared build shared libraries [default=no]
  1249. --enable-usb enable nusb support [default=yes, if support
  1250. available]
  1251. --enable-bluetooth enable Bluetooth support [default=no]
  1252. --enable-canusb enable canusb support [default=no]
  1253. --enable-can enable CAN support [default=no]
  1254. --enable-dbus enable D-Bus capture support [default=no]
  1255. --enable-packet-ring enable Linux packet ring support [default=yes]
  1256. Optional Packages:
  1257. --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  1258. --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  1259. --without-gcc don't use gcc
  1260. --with-sita include SITA support
  1261. --with-pcap=TYPE use packet capture TYPE
  1262. --without-libnl disable libnl support [default=disabled]
  1263. --with-dag[=DIR] include Endace DAG support ["yes", "no" or DIR;
  1264. default="yes" on BSD and Linux if present]
  1265. --with-dag-includes=DIR Endace DAG include directory
  1266. --with-dag-libraries=DIR
  1267. Endace DAG library directory
  1268. --with-septel[=DIR] include Septel support (located in directory DIR, if
  1269. supplied). [default=yes, on Linux, if present]
  1270. --with-snf[=DIR] include Myricom SNF support ["yes", "no" or DIR;
  1271. default="yes" on BSD and Linux if present]
  1272. --with-snf-includes=DIR Myricom SNF include directory
  1273. --with-snf-libraries=DIR
  1274. Myricom SNF library directory
  1275. Some influential environment variables:
  1276. CC C compiler command
  1277. CFLAGS C compiler flags
  1278. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  1279. nonstandard directory <lib dir>
  1280. LIBS libraries to pass to the linker, e.g. -l<library>
  1281. CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  1282. you have headers in a nonstandard directory <include dir>
  1283. CPP C preprocessor
  1284. Use these variables to override the choices made by `configure' or to help
  1285. it to find libraries and programs with nonstandard names/locations.
  1286. Report bugs to the package provider.
  1287. _ACEOF
  1288. ac_status=$?
  1289. fi
  1290. if test "$ac_init_help" = "recursive"; then
  1291. # If there are subdirs, report their specific --help.
  1292. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1293. test -d "$ac_dir" ||
  1294. { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1295. continue
  1296. ac_builddir=.
  1297. case "$ac_dir" in
  1298. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1299. *)
  1300. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1301. # A ".." for each directory in $ac_dir_suffix.
  1302. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1303. case $ac_top_builddir_sub in
  1304. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1305. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1306. esac ;;
  1307. esac
  1308. ac_abs_top_builddir=$ac_pwd
  1309. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1310. # for backward compatibility:
  1311. ac_top_builddir=$ac_top_build_prefix
  1312. case $srcdir in
  1313. .) # We are building in place.
  1314. ac_srcdir=.
  1315. ac_top_srcdir=$ac_top_builddir_sub
  1316. ac_abs_top_srcdir=$ac_pwd ;;
  1317. [\\/]* | ?:[\\/]* ) # Absolute name.
  1318. ac_srcdir=$srcdir$ac_dir_suffix;
  1319. ac_top_srcdir=$srcdir
  1320. ac_abs_top_srcdir=$srcdir ;;
  1321. *) # Relative name.
  1322. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1323. ac_top_srcdir=$ac_top_build_prefix$srcdir
  1324. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1325. esac
  1326. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1327. cd "$ac_dir" || { ac_status=$?; continue; }
  1328. # Check for guested configure.
  1329. if test -f "$ac_srcdir/configure.gnu"; then
  1330. echo &&
  1331. $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1332. elif test -f "$ac_srcdir/configure"; then
  1333. echo &&
  1334. $SHELL "$ac_srcdir/configure" --help=recursive
  1335. else
  1336. $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1337. fi || ac_status=$?
  1338. cd "$ac_pwd" || { ac_status=$?; break; }
  1339. done
  1340. fi
  1341. test -n "$ac_init_help" && exit $ac_status
  1342. if $ac_init_version; then
  1343. cat <<\_ACEOF
  1344. configure
  1345. generated by GNU Autoconf 2.69
  1346. Copyright (C) 2012 Free Software Foundation, Inc.
  1347. This configure script is free software; the Free Software Foundation
  1348. gives unlimited permission to copy, distribute and modify it.
  1349. _ACEOF
  1350. exit
  1351. fi
  1352. ## ------------------------ ##
  1353. ## Autoconf initialization. ##
  1354. ## ------------------------ ##
  1355. # ac_fn_c_try_compile LINENO
  1356. # --------------------------
  1357. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  1358. ac_fn_c_try_compile ()
  1359. {
  1360. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1361. rm -f conftest.$ac_objext
  1362. if { { ac_try="$ac_compile"
  1363. case "(($ac_try" in
  1364. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1365. *) ac_try_echo=$ac_try;;
  1366. esac
  1367. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1368. $as_echo "$ac_try_echo"; } >&5
  1369. (eval "$ac_compile") 2>conftest.err
  1370. ac_status=$?
  1371. if test -s conftest.err; then
  1372. grep -v '^ *+' conftest.err >conftest.er1
  1373. cat conftest.er1 >&5
  1374. mv -f conftest.er1 conftest.err
  1375. fi
  1376. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1377. test $ac_status = 0; } && {
  1378. test -z "$ac_c_werror_flag" ||
  1379. test ! -s conftest.err
  1380. } && test -s conftest.$ac_objext; then :
  1381. ac_retval=0
  1382. else
  1383. $as_echo "$as_me: failed program was:" >&5
  1384. sed 's/^/| /' conftest.$ac_ext >&5
  1385. ac_retval=1
  1386. fi
  1387. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1388. as_fn_set_status $ac_retval
  1389. } # ac_fn_c_try_compile
  1390. # ac_fn_c_try_cpp LINENO
  1391. # ----------------------
  1392. # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  1393. ac_fn_c_try_cpp ()
  1394. {
  1395. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1396. if { { ac_try="$ac_cpp conftest.$ac_ext"
  1397. case "(($ac_try" in
  1398. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1399. *) ac_try_echo=$ac_try;;
  1400. esac
  1401. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1402. $as_echo "$ac_try_echo"; } >&5
  1403. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  1404. ac_status=$?
  1405. if test -s conftest.err; then
  1406. grep -v '^ *+' conftest.err >conftest.er1
  1407. cat conftest.er1 >&5
  1408. mv -f conftest.er1 conftest.err
  1409. fi
  1410. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1411. test $ac_status = 0; } > conftest.i && {
  1412. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  1413. test ! -s conftest.err
  1414. }; then :
  1415. ac_retval=0
  1416. else
  1417. $as_echo "$as_me: failed program was:" >&5
  1418. sed 's/^/| /' conftest.$ac_ext >&5
  1419. ac_retval=1
  1420. fi
  1421. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1422. as_fn_set_status $ac_retval
  1423. } # ac_fn_c_try_cpp
  1424. # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
  1425. # -------------------------------------------------------
  1426. # Tests whether HEADER exists, giving a warning if it cannot be compiled using
  1427. # the include files in INCLUDES and setting the cache variable VAR
  1428. # accordingly.
  1429. ac_fn_c_check_header_mongrel ()
  1430. {
  1431. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1432. if eval \${$3+:} false; then :
  1433. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1434. $as_echo_n "checking for $2... " >&6; }
  1435. if eval \${$3+:} false; then :
  1436. $as_echo_n "(cached) " >&6
  1437. fi
  1438. eval ac_res=\$$3
  1439. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1440. $as_echo "$ac_res" >&6; }
  1441. else
  1442. # Is the header compilable?
  1443. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  1444. $as_echo_n "checking $2 usability... " >&6; }
  1445. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1446. /* end confdefs.h. */
  1447. $4
  1448. #include <$2>
  1449. _ACEOF
  1450. if ac_fn_c_try_compile "$LINENO"; then :
  1451. ac_header_compiler=yes
  1452. else
  1453. ac_header_compiler=no
  1454. fi
  1455. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1456. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  1457. $as_echo "$ac_header_compiler" >&6; }
  1458. # Is the header present?
  1459. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  1460. $as_echo_n "checking $2 presence... " >&6; }
  1461. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1462. /* end confdefs.h. */
  1463. #include <$2>
  1464. _ACEOF
  1465. if ac_fn_c_try_cpp "$LINENO"; then :
  1466. ac_header_preproc=yes
  1467. else
  1468. ac_header_preproc=no
  1469. fi
  1470. rm -f conftest.err conftest.i conftest.$ac_ext
  1471. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  1472. $as_echo "$ac_header_preproc" >&6; }
  1473. # So? What about this header?
  1474. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
  1475. yes:no: )
  1476. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  1477. $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  1478. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  1479. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  1480. ;;
  1481. no:yes:* )
  1482. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  1483. $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  1484. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
  1485. $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
  1486. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  1487. $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  1488. { $as_echo "$as_me:${as_linen…

Large files files are truncated, but you can click here to view the full file