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 7debug=false 8ac_cs_recheck=false 9ac_cs_silent=false 10 11SHELL=${CONFIG_SHELL-/bin/bash} 12export SHELL 13## -------------------- ## 14## M4sh Initialization. ## 15## -------------------- ## 16 17# Be more Bourne compatible 18DUALCASE=1; export DUALCASE # for MKS sh 19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 20 emulate sh 21 NULLCMD=: 22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 23 # is contrary to our usage. Disable this feature. 24 alias -g '${1+"$@"}'='"$@"' 25 setopt NO_GLOB_SUBST 26else 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 32esac 33fi 34 35 36as_nl=' 37' 38export as_nl 39# Printing a long string crashes Solaris 7 /usr/bin/printf. 40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43# Prefer a ksh shell builtin over an external printf program on Solaris, 44# but without wasting forks for bash or zsh. 45if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72fi 73 74# The user is always right. 75if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 81fi 82 83 84# IFS 85# We need space, tab and new line, in precisely that order. Quoting is 86# there to prevent editors from complaining about space-tab. 87# (If _AS_PATH_WALK were called with IFS unset, it would disable word 88# splitting by setting IFS to empty value.) 89IFS=" "" $as_nl" 90 91# Find who we are. Look in the path if we contain no directory separator. 92as_myself= 93case $0 in #(( 94 *[\\/]* ) as_myself=$0 ;; 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 96for as_dir in $PATH 97do 98 IFS=$as_save_IFS 99 test -z "$as_dir" && as_dir=. 100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 101 done 102IFS=$as_save_IFS 103 104 ;; 105esac 106# We did not find ourselves, most probably we were run as `sh COMMAND' 107# in which case we are not to be found in the path. 108if test "x$as_myself" = x; then 109 as_myself=$0 110fi 111if test ! -f "$as_myself"; then 112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113 exit 1 114fi 115 116# Unset variables that we do not need and which cause bugs (e.g. in 117# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118# suppresses any "Segmentation fault" message there. '((' could 119# trigger a bug in pdksh 5.2.14. 120for as_var in BASH_ENV ENV MAIL MAILPATH 121do eval test x\${$as_var+set} = xset \ 122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 123done 124PS1='$ ' 125PS2='> ' 126PS4='+ ' 127 128# NLS nuisances. 129LC_ALL=C 130export LC_ALL 131LANGUAGE=C 132export LANGUAGE 133 134# CDPATH. 135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 137 138# as_fn_error STATUS ERROR [LINENO LOG_FD] 139# ---------------------------------------- 140# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 141# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 142# script with STATUS, using 1 if that was 0. 143as_fn_error () 144{ 145 as_status=$1; test $as_status -eq 0 && as_status=1 146 if test "$4"; then 147 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 148 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 149 fi 150 $as_echo "$as_me: error: $2" >&2 151 as_fn_exit $as_status 152} # as_fn_error 153 154 155# as_fn_set_status STATUS 156# ----------------------- 157# Set $? to STATUS, without forking. 158as_fn_set_status () 159{ 160 return $1 161} # as_fn_set_status 162 163# as_fn_exit STATUS 164# ----------------- 165# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 166as_fn_exit () 167{ 168 set +e 169 as_fn_set_status $1 170 exit $1 171} # as_fn_exit 172 173# as_fn_unset VAR 174# --------------- 175# Portably unset VAR. 176as_fn_unset () 177{ 178 { eval $1=; unset $1;} 179} 180as_unset=as_fn_unset 181# as_fn_append VAR VALUE 182# ---------------------- 183# Append the text in VALUE to the end of the definition contained in VAR. Take 184# advantage of any shell optimizations that allow amortized linear growth over 185# repeated appends, instead of the typical quadratic growth present in naive 186# implementations. 187if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 188 eval 'as_fn_append () 189 { 190 eval $1+=\$2 191 }' 192else 193 as_fn_append () 194 { 195 eval $1=\$$1\$2 196 } 197fi # as_fn_append 198 199# as_fn_arith ARG... 200# ------------------ 201# Perform arithmetic evaluation on the ARGs, and store the result in the 202# global $as_val. Take advantage of shells that can avoid forks. The arguments 203# must be portable across $(()) and expr. 204if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 205 eval 'as_fn_arith () 206 { 207 as_val=$(( $* )) 208 }' 209else 210 as_fn_arith () 211 { 212 as_val=`expr "$@" || test $? -eq 1` 213 } 214fi # as_fn_arith 215 216 217if expr a : '\(a\)' >/dev/null 2>&1 && 218 test "X`expr 00001 : '.*\(...\)'`" = X001; then 219 as_expr=expr 220else 221 as_expr=false 222fi 223 224if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 225 as_basename=basename 226else 227 as_basename=false 228fi 229 230if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 231 as_dirname=dirname 232else 233 as_dirname=false 234fi 235 236as_me=`$as_basename -- "$0" || 237$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 238 X"$0" : 'X\(//\)$' \| \ 239 X"$0" : 'X\(/\)' \| . 2>/dev/null || 240$as_echo X/"$0" | 241 sed '/^.*\/\([^/][^/]*\)\/*$/{ 242 s//\1/ 243 q 244 } 245 /^X\/\(\/\/\)$/{ 246 s//\1/ 247 q 248 } 249 /^X\/\(\/\).*/{ 250 s//\1/ 251 q 252 } 253 s/.*/./; q'` 254 255# Avoid depending upon Character Ranges. 256as_cr_letters='abcdefghijklmnopqrstuvwxyz' 257as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 258as_cr_Letters=$as_cr_letters$as_cr_LETTERS 259as_cr_digits='0123456789' 260as_cr_alnum=$as_cr_Letters$as_cr_digits 261 262ECHO_C= ECHO_N= ECHO_T= 263case `echo -n x` in #((((( 264-n*) 265 case `echo 'xy\c'` in 266 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 267 xy) ECHO_C='\c';; 268 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 269 ECHO_T=' ';; 270 esac;; 271*) 272 ECHO_N='-n';; 273esac 274 275rm -f conf$$ conf$$.exe conf$$.file 276if test -d conf$$.dir; then 277 rm -f conf$$.dir/conf$$.file 278else 279 rm -f conf$$.dir 280 mkdir conf$$.dir 2>/dev/null 281fi 282if (echo >conf$$.file) 2>/dev/null; then 283 if ln -s conf$$.file conf$$ 2>/dev/null; then 284 as_ln_s='ln -s' 285 # ... but there are two gotchas: 286 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 287 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 288 # In both cases, we have to default to `cp -pR'. 289 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 290 as_ln_s='cp -pR' 291 elif ln conf$$.file conf$$ 2>/dev/null; then 292 as_ln_s=ln 293 else 294 as_ln_s='cp -pR' 295 fi 296else 297 as_ln_s='cp -pR' 298fi 299rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 300rmdir conf$$.dir 2>/dev/null 301 302 303# as_fn_mkdir_p 304# ------------- 305# Create "$as_dir" as a directory, including parents if necessary. 306as_fn_mkdir_p () 307{ 308 309 case $as_dir in #( 310 -*) as_dir=./$as_dir;; 311 esac 312 test -d "$as_dir" || eval $as_mkdir_p || { 313 as_dirs= 314 while :; do 315 case $as_dir in #( 316 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 317 *) as_qdir=$as_dir;; 318 esac 319 as_dirs="'$as_qdir' $as_dirs" 320 as_dir=`$as_dirname -- "$as_dir" || 321$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 322 X"$as_dir" : 'X\(//\)[^/]' \| \ 323 X"$as_dir" : 'X\(//\)$' \| \ 324 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 325$as_echo X"$as_dir" | 326 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 327 s//\1/ 328 q 329 } 330 /^X\(\/\/\)[^/].*/{ 331 s//\1/ 332 q 333 } 334 /^X\(\/\/\)$/{ 335 s//\1/ 336 q 337 } 338 /^X\(\/\).*/{ 339 s//\1/ 340 q 341 } 342 s/.*/./; q'` 343 test -d "$as_dir" && break 344 done 345 test -z "$as_dirs" || eval "mkdir $as_dirs" 346 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 347 348 349} # as_fn_mkdir_p 350if mkdir -p . 2>/dev/null; then 351 as_mkdir_p='mkdir -p "$as_dir"' 352else 353 test -d ./-p && rmdir ./-p 354 as_mkdir_p=false 355fi 356 357 358# as_fn_executable_p FILE 359# ----------------------- 360# Test if FILE is an executable regular file. 361as_fn_executable_p () 362{ 363 test -f "$1" && test -x "$1" 364} # as_fn_executable_p 365as_test_x='test -x' 366as_executable_p=as_fn_executable_p 367 368# Sed expression to map a string onto a valid CPP name. 369as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 370 371# Sed expression to map a string onto a valid variable name. 372as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 373 374 375exec 6>&1 376## ----------------------------------- ## 377## Main body of $CONFIG_STATUS script. ## 378## ----------------------------------- ## 379# Save the log message, to keep $0 and so on meaningful, and to 380# report actual input values of CONFIG_FILES etc. instead of their 381# values after options handling. 382ac_log=" 383This file was extended by LibVNCServer $as_me 0.9.9, which was 384generated by GNU Autoconf 2.69. Invocation command line was 385 386 CONFIG_FILES = $CONFIG_FILES 387 CONFIG_HEADERS = $CONFIG_HEADERS 388 CONFIG_LINKS = $CONFIG_LINKS 389 CONFIG_COMMANDS = $CONFIG_COMMANDS 390 $ $0 $@ 391 392on `(hostname || uname -n) 2>/dev/null | sed 1q` 393" 394 395# Files that config.status was made for. 396config_files=" Makefile libvncserver.pc libvncclient.pc libvncserver/Makefile examples/Makefile examples/android/Makefile vncterm/Makefile webclients/Makefile webclients/java-applet/Makefile webclients/java-applet/ssl/Makefile libvncclient/Makefile client_examples/Makefile test/Makefile libvncserver-config LibVNCServer.spec" 397config_headers=" rfbconfig.h " 398config_commands=" rfb/rfbconfig.h depfiles chmod-libvncserver-config" 399 400ac_cs_usage="\ 401\`$as_me' instantiates files and other configuration actions 402from templates according to the current configuration. Unless the files 403and actions are specified as TAGs, all are instantiated by default. 404 405Usage: $0 [OPTION]... [TAG]... 406 407 -h, --help print this help, then exit 408 -V, --version print version number and configuration settings, then exit 409 --config print configuration, then exit 410 -q, --quiet, --silent 411 do not print progress messages 412 -d, --debug don't remove temporary files 413 --recheck update $as_me by reconfiguring in the same conditions 414 --file=FILE[:TEMPLATE] 415 instantiate the configuration file FILE 416 --header=FILE[:TEMPLATE] 417 instantiate the configuration header FILE 418 419Configuration files: 420$config_files 421 422Configuration headers: 423$config_headers 424 425Configuration commands: 426$config_commands 427 428Report bugs to <http://sourceforge.net/projects/libvncserver>." 429 430ac_cs_config="'--enable-maintainer-mode'" 431ac_cs_version="\ 432LibVNCServer config.status 0.9.9 433configured by ./configure, generated by GNU Autoconf 2.69, 434 with options \"$ac_cs_config\" 435 436Copyright (C) 2012 Free Software Foundation, Inc. 437This config.status script is free software; the Free Software Foundation 438gives unlimited permission to copy, distribute and modify it." 439 440ac_pwd='/data/src/android-master/external/libvncserver' 441srcdir='.' 442INSTALL='/usr/bin/install -c' 443MKDIR_P='/bin/mkdir -p' 444AWK='mawk' 445test -n "$AWK" || AWK=awk 446# The default lists apply if the user does not specify any file. 447ac_need_defaults=: 448while test $# != 0 449do 450 case $1 in 451 --*=?*) 452 ac_option=`expr "X$1" : 'X\([^=]*\)='` 453 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 454 ac_shift=: 455 ;; 456 --*=) 457 ac_option=`expr "X$1" : 'X\([^=]*\)='` 458 ac_optarg= 459 ac_shift=: 460 ;; 461 *) 462 ac_option=$1 463 ac_optarg=$2 464 ac_shift=shift 465 ;; 466 esac 467 468 case $ac_option in 469 # Handling of the options. 470 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 471 ac_cs_recheck=: ;; 472 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 473 $as_echo "$ac_cs_version"; exit ;; 474 --config | --confi | --conf | --con | --co | --c ) 475 $as_echo "$ac_cs_config"; exit ;; 476 --debug | --debu | --deb | --de | --d | -d ) 477 debug=: ;; 478 --file | --fil | --fi | --f ) 479 $ac_shift 480 case $ac_optarg in 481 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 482 '') as_fn_error $? "missing file argument" ;; 483 esac 484 as_fn_append CONFIG_FILES " '$ac_optarg'" 485 ac_need_defaults=false;; 486 --header | --heade | --head | --hea ) 487 $ac_shift 488 case $ac_optarg in 489 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 490 esac 491 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 492 ac_need_defaults=false;; 493 --he | --h) 494 # Conflict between --help and --header 495 as_fn_error $? "ambiguous option: \`$1' 496Try \`$0 --help' for more information.";; 497 --help | --hel | -h ) 498 $as_echo "$ac_cs_usage"; exit ;; 499 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 500 | -silent | --silent | --silen | --sile | --sil | --si | --s) 501 ac_cs_silent=: ;; 502 503 # This is an error. 504 -*) as_fn_error $? "unrecognized option: \`$1' 505Try \`$0 --help' for more information." ;; 506 507 *) as_fn_append ac_config_targets " $1" 508 ac_need_defaults=false ;; 509 510 esac 511 shift 512done 513 514ac_configure_extra_args= 515 516if $ac_cs_silent; then 517 exec 6>/dev/null 518 ac_configure_extra_args="$ac_configure_extra_args --silent" 519fi 520 521if $ac_cs_recheck; then 522 set X /bin/bash './configure' '--enable-maintainer-mode' $ac_configure_extra_args --no-create --no-recursion 523 shift 524 $as_echo "running CONFIG_SHELL=/bin/bash $*" >&6 525 CONFIG_SHELL='/bin/bash' 526 export CONFIG_SHELL 527 exec "$@" 528fi 529 530exec 5>>config.log 531{ 532 echo 533 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 534## Running $as_me. ## 535_ASBOX 536 $as_echo "$ac_log" 537} >&5 538 539# 540# INIT-COMMANDS 541# 542PACKAGE="LibVNCServer" 543AMDEP_TRUE="" ac_aux_dir="." 544 545 546# Handling of arguments. 547for ac_config_target in $ac_config_targets 548do 549 case $ac_config_target in 550 "rfbconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS rfbconfig.h" ;; 551 "rfb/rfbconfig.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rfb/rfbconfig.h" ;; 552 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 553 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 554 "libvncserver.pc") CONFIG_FILES="$CONFIG_FILES libvncserver.pc" ;; 555 "libvncclient.pc") CONFIG_FILES="$CONFIG_FILES libvncclient.pc" ;; 556 "libvncserver/Makefile") CONFIG_FILES="$CONFIG_FILES libvncserver/Makefile" ;; 557 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;; 558 "examples/android/Makefile") CONFIG_FILES="$CONFIG_FILES examples/android/Makefile" ;; 559 "vncterm/Makefile") CONFIG_FILES="$CONFIG_FILES vncterm/Makefile" ;; 560 "webclients/Makefile") CONFIG_FILES="$CONFIG_FILES webclients/Makefile" ;; 561 "webclients/java-applet/Makefile") CONFIG_FILES="$CONFIG_FILES webclients/java-applet/Makefile" ;; 562 "webclients/java-applet/ssl/Makefile") CONFIG_FILES="$CONFIG_FILES webclients/java-applet/ssl/Makefile" ;; 563 "libvncclient/Makefile") CONFIG_FILES="$CONFIG_FILES libvncclient/Makefile" ;; 564 "client_examples/Makefile") CONFIG_FILES="$CONFIG_FILES client_examples/Makefile" ;; 565 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;; 566 "libvncserver-config") CONFIG_FILES="$CONFIG_FILES libvncserver-config" ;; 567 "LibVNCServer.spec") CONFIG_FILES="$CONFIG_FILES LibVNCServer.spec" ;; 568 "x11vnc/Makefile") CONFIG_FILES="$CONFIG_FILES x11vnc/Makefile" ;; 569 "x11vnc/misc/Makefile") CONFIG_FILES="$CONFIG_FILES x11vnc/misc/Makefile" ;; 570 "x11vnc/misc/turbovnc/Makefile") CONFIG_FILES="$CONFIG_FILES x11vnc/misc/turbovnc/Makefile" ;; 571 "chmod-libvncserver-config") CONFIG_COMMANDS="$CONFIG_COMMANDS chmod-libvncserver-config" ;; 572 573 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 574 esac 575done 576 577 578# If the user did not use the arguments to specify the items to instantiate, 579# then the envvar interface is used. Set only those that are not. 580# We use the long form for the default assignment because of an extremely 581# bizarre bug on SunOS 4.1.3. 582if $ac_need_defaults; then 583 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 584 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 585 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 586fi 587 588# Have a temporary directory for convenience. Make it in the build tree 589# simply because there is no reason against having it here, and in addition, 590# creating and moving files from /tmp can sometimes cause problems. 591# Hook for its removal unless debugging. 592# Note that there is a small window in which the directory will not be cleaned: 593# after its creation but before its name has been assigned to `$tmp'. 594$debug || 595{ 596 tmp= ac_tmp= 597 trap 'exit_status=$? 598 : "${ac_tmp:=$tmp}" 599 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 600' 0 601 trap 'as_fn_exit 1' 1 2 13 15 602} 603# Create a (secure) tmp directory for tmp files. 604 605{ 606 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 607 test -d "$tmp" 608} || 609{ 610 tmp=./conf$$-$RANDOM 611 (umask 077 && mkdir "$tmp") 612} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 613ac_tmp=$tmp 614 615# Set up the scripts for CONFIG_FILES section. 616# No need to generate them if there are no CONFIG_FILES. 617# This happens for instance with `./config.status config.h'. 618if test -n "$CONFIG_FILES"; then 619 620 621ac_cr=`echo X | tr X '\015'` 622# On cygwin, bash can eat \r inside `` if the user requested igncr. 623# But we know of no other shell where ac_cr would be empty at this 624# point, so we can use a bashism as a fallback. 625if test "x$ac_cr" = x; then 626 eval ac_cr=\$\'\\r\' 627fi 628ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 629if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 630 ac_cs_awk_cr='\\r' 631else 632 ac_cs_awk_cr=$ac_cr 633fi 634 635echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 636cat >>"$ac_tmp/subs1.awk" <<\_ACAWK && 637S["am__EXEEXT_FALSE"]="" 638S["am__EXEEXT_TRUE"]="#" 639S["LTLIBOBJS"]="" 640S["RPMSOURCEDIR"]="NOT-FOUND" 641S["WITH_X11VNC_FALSE"]="" 642S["WITH_X11VNC_TRUE"]="#" 643S["HAVE_RPM_FALSE"]="" 644S["HAVE_RPM_TRUE"]="#" 645S["ANDROID_FALSE"]="" 646S["ANDROID_TRUE"]="#" 647S["OSX_FALSE"]="" 648S["OSX_TRUE"]="#" 649S["LINUX_FALSE"]="#" 650S["LINUX_TRUE"]="" 651S["CYGIPC_FALSE"]="" 652S["CYGIPC_TRUE"]="#" 653S["LIBOBJS"]="" 654S["HAVE_GNUTLS_FALSE"]="" 655S["HAVE_GNUTLS_TRUE"]="#" 656S["GNUTLS_LIBS"]="" 657S["GNUTLS_CFLAGS"]="" 658S["LIBGCRYPT_LIBS"]="" 659S["LIBGCRYPT_CFLAGS"]="" 660S["LIBGCRYPT_CONFIG"]="no" 661S["WSOCKLIB"]="" 662S["MINGW_FALSE"]="" 663S["MINGW_TRUE"]="#" 664S["HAVE_LIBGTK_FALSE"]="" 665S["HAVE_LIBGTK_TRUE"]="#" 666S["GTK_LIBS"]="" 667S["GTK_CFLAGS"]="" 668S["PKG_CONFIG_LIBDIR"]="" 669S["PKG_CONFIG_PATH"]="" 670S["PKG_CONFIG"]="/usr/bin/pkg-config" 671S["SDL_LIBS"]="" 672S["SDL_CFLAGS"]="" 673S["HAVE_LIBSDL_FALSE"]="" 674S["HAVE_LIBSDL_TRUE"]="#" 675S["HAVE_LIBPNG_FALSE"]="#" 676S["HAVE_LIBPNG_TRUE"]="" 677S["HAVE_LIBJPEG_FALSE"]="#" 678S["HAVE_LIBJPEG_TRUE"]="" 679S["HAVE_LIBZ_FALSE"]="#" 680S["HAVE_LIBZ_TRUE"]="" 681S["WITH_WEBSOCKETS_FALSE"]="#" 682S["WITH_WEBSOCKETS_TRUE"]="" 683S["WITH_TIGHTVNC_FILETRANSFER_FALSE"]="#" 684S["WITH_TIGHTVNC_FILETRANSFER_TRUE"]="" 685S["HAVE_LIBPTHREAD_FALSE"]="#" 686S["HAVE_LIBPTHREAD_TRUE"]="" 687S["JPEG_LDFLAGS"]="" 688S["HAVE_SYSTEM_LIBVNCSERVER_FALSE"]="" 689S["HAVE_SYSTEM_LIBVNCSERVER_TRUE"]="#" 690S["SYSTEM_LIBVNCSERVER_LIBS"]="" 691S["SYSTEM_LIBVNCSERVER_CFLAGS"]="" 692S["OSX_OPENGL_FALSE"]="" 693S["OSX_OPENGL_TRUE"]="#" 694S["AVAHI_LIBS"]="" 695S["AVAHI_CFLAGS"]="" 696S["HAVE_X11_FALSE"]="#" 697S["HAVE_X11_TRUE"]="" 698S["X_EXTRA_LIBS"]="" 699S["X_LIBS"]="" 700S["X_PRE_LIBS"]=" -lSM -lICE" 701S["X_CFLAGS"]="" 702S["XMKMF"]="" 703S["HAVE_LIBSSL_FALSE"]="" 704S["HAVE_LIBSSL_TRUE"]="#" 705S["SSL_LIBS"]="" 706S["CRYPT_LIBS"]="-lcrypt" 707S["HAVE_MP3LAME_FALSE"]="" 708S["HAVE_MP3LAME_TRUE"]="#" 709S["WITH_FFMPEG_FALSE"]="" 710S["WITH_FFMPEG_TRUE"]="#" 711S["with_ffmpeg"]="" 712S["LIBTOOL"]="$(SHELL) $(top_builddir)/libtool" 713S["ac_ct_F77"]="" 714S["FFLAGS"]="" 715S["F77"]="" 716S["CXXCPP"]="g++ -E" 717S["am__fastdepCXX_FALSE"]="#" 718S["am__fastdepCXX_TRUE"]="" 719S["CXXDEPMODE"]="depmode=gcc3" 720S["ac_ct_CXX"]="g++" 721S["CXXFLAGS"]="-g -O2" 722S["CXX"]="g++" 723S["CPP"]="gcc -E" 724S["OBJDUMP"]="objdump" 725S["AS"]="as" 726S["DLLTOOL"]="dlltool" 727S["RANLIB"]="ranlib" 728S["AR"]="/usr/bin/ar" 729S["ECHO"]="echo" 730S["LN_S"]="ln -s" 731S["EGREP"]="/bin/grep -E" 732S["GREP"]="/bin/grep" 733S["host_os"]="linux-gnu" 734S["host_vendor"]="unknown" 735S["host_cpu"]="x86_64" 736S["host"]="x86_64-unknown-linux-gnu" 737S["build_os"]="linux-gnu" 738S["build_vendor"]="unknown" 739S["build_cpu"]="x86_64" 740S["build"]="x86_64-unknown-linux-gnu" 741S["am__fastdepCC_FALSE"]="#" 742S["am__fastdepCC_TRUE"]="" 743S["CCDEPMODE"]="depmode=gcc3" 744S["am__nodep"]="_no" 745S["AMDEPBACKSLASH"]="\\" 746S["AMDEP_FALSE"]="#" 747S["AMDEP_TRUE"]="" 748S["am__quote"]="" 749S["am__include"]="include" 750S["DEPDIR"]=".deps" 751S["OBJEXT"]="o" 752S["EXEEXT"]="" 753S["ac_ct_CC"]="gcc" 754S["CPPFLAGS"]="" 755S["LDFLAGS"]="" 756S["CFLAGS"]="-g -O2 -Wall " 757S["CC"]="gcc" 758S["AM_BACKSLASH"]="\\" 759S["AM_DEFAULT_VERBOSITY"]="0" 760S["AM_DEFAULT_V"]="$(AM_DEFAULT_VERBOSITY)" 761S["AM_V"]="$(V)" 762S["am__untar"]="$${TAR-tar} xf -" 763S["am__tar"]="$${TAR-tar} chof - \"$$tardir\"" 764S["AMTAR"]="$${TAR-tar}" 765S["am__leading_dot"]="." 766S["SET_MAKE"]="" 767S["AWK"]="mawk" 768S["mkdir_p"]="/bin/mkdir -p" 769S["MKDIR_P"]="/bin/mkdir -p" 770S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s" 771S["STRIP"]="strip" 772S["install_sh"]="${SHELL} /data/src/android-master/external/libvncserver/install-sh" 773S["MAKEINFO"]="${SHELL} /data/src/android-master/external/libvncserver/missing --run makeinfo" 774S["AUTOHEADER"]="${SHELL} /data/src/android-master/external/libvncserver/missing --run autoheader" 775S["AUTOMAKE"]="${SHELL} /data/src/android-master/external/libvncserver/missing --run automake-1.11" 776S["AUTOCONF"]="${SHELL} /data/src/android-master/external/libvncserver/missing --run autoconf" 777S["ACLOCAL"]="${SHELL} /data/src/android-master/external/libvncserver/missing --run aclocal-1.11" 778S["VERSION"]="0.9.9" 779S["PACKAGE"]="LibVNCServer" 780S["CYGPATH_W"]="echo" 781S["am__isrc"]="" 782S["INSTALL_DATA"]="${INSTALL} -m 644" 783S["INSTALL_SCRIPT"]="${INSTALL}" 784S["INSTALL_PROGRAM"]="${INSTALL}" 785S["target_alias"]="" 786S["host_alias"]="" 787S["build_alias"]="" 788S["LIBS"]="-lnsl -lpthread -lz -lpng -ljpeg -lresolv " 789S["ECHO_T"]="" 790S["ECHO_N"]="-n" 791S["ECHO_C"]="" 792S["DEFS"]="-DHAVE_CONFIG_H" 793S["mandir"]="${datarootdir}/man" 794S["localedir"]="${datarootdir}/locale" 795S["libdir"]="${exec_prefix}/lib" 796S["psdir"]="${docdir}" 797S["pdfdir"]="${docdir}" 798S["dvidir"]="${docdir}" 799S["htmldir"]="${docdir}" 800S["infodir"]="${datarootdir}/info" 801S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}" 802S["oldincludedir"]="/usr/include" 803S["includedir"]="${prefix}/include" 804S["localstatedir"]="${prefix}/var" 805S["sharedstatedir"]="${prefix}/com" 806S["sysconfdir"]="${prefix}/etc" 807S["datadir"]="${datarootdir}" 808S["datarootdir"]="${prefix}/share" 809S["libexecdir"]="${exec_prefix}/libexec" 810S["sbindir"]="${exec_prefix}/sbin" 811S["bindir"]="${exec_prefix}/bin" 812S["program_transform_name"]="s,x,x," 813S["prefix"]="/usr/local" 814S["exec_prefix"]="${prefix}" 815S["PACKAGE_URL"]="" 816S["PACKAGE_BUGREPORT"]="http://sourceforge.net/projects/libvncserver" 817S["PACKAGE_STRING"]="LibVNCServer 0.9.9" 818S["PACKAGE_VERSION"]="0.9.9" 819S["PACKAGE_TARNAME"]="libvncserver" 820S["PACKAGE_NAME"]="LibVNCServer" 821S["PATH_SEPARATOR"]=":" 822S["SHELL"]="/bin/bash" 823_ACAWK 824cat >>"$ac_tmp/subs1.awk" <<_ACAWK && 825 for (key in S) S_is_set[key] = 1 826 FS = "" 827 828} 829{ 830 line = $ 0 831 nfields = split(line, field, "@") 832 substed = 0 833 len = length(field[1]) 834 for (i = 2; i < nfields; i++) { 835 key = field[i] 836 keylen = length(key) 837 if (S_is_set[key]) { 838 value = S[key] 839 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 840 len += length(value) + length(field[++i]) 841 substed = 1 842 } else 843 len += 1 + keylen 844 } 845 846 print line 847} 848 849_ACAWK 850if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 851 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 852else 853 cat 854fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 855 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 856fi # test -n "$CONFIG_FILES" 857 858# Set up the scripts for CONFIG_HEADERS section. 859# No need to generate them if there are no CONFIG_HEADERS. 860# This happens for instance with `./config.status Makefile'. 861if test -n "$CONFIG_HEADERS"; then 862cat >"$ac_tmp/defines.awk" <<\_ACAWK || 863BEGIN { 864D["PACKAGE_NAME"]=" \"LibVNCServer\"" 865D["PACKAGE_TARNAME"]=" \"libvncserver\"" 866D["PACKAGE_VERSION"]=" \"0.9.9\"" 867D["PACKAGE_STRING"]=" \"LibVNCServer 0.9.9\"" 868D["PACKAGE_BUGREPORT"]=" \"http://sourceforge.net/projects/libvncserver\"" 869D["PACKAGE_URL"]=" \"\"" 870D["PACKAGE"]=" \"LibVNCServer\"" 871D["VERSION"]=" \"0.9.9\"" 872D["STDC_HEADERS"]=" 1" 873D["HAVE_SYS_TYPES_H"]=" 1" 874D["HAVE_SYS_STAT_H"]=" 1" 875D["HAVE_STDLIB_H"]=" 1" 876D["HAVE_STRING_H"]=" 1" 877D["HAVE_MEMORY_H"]=" 1" 878D["HAVE_STRINGS_H"]=" 1" 879D["HAVE_INTTYPES_H"]=" 1" 880D["HAVE_STDINT_H"]=" 1" 881D["HAVE_UNISTD_H"]=" 1" 882D["HAVE_DLFCN_H"]=" 1" 883D["ALLOW24BPP"]=" 1" 884D["HAVE_LIBCRYPT"]=" 1" 885D["HAVE_X11"]=" 1" 886D["HAVE_LIBJPEG"]=" 1" 887D["HAVE_LIBPNG"]=" 1" 888D["HAVE_LIBZ"]=" 1" 889D["HAVE_LIBPTHREAD"]=" 1" 890D["HAVE_TLS"]=" 1" 891D["WITH_TIGHTVNC_FILETRANSFER"]=" 1" 892D["WITH_WEBSOCKETS"]=" 1" 893D["IPv6"]=" 1" 894D["STDC_HEADERS"]=" 1" 895D["HAVE_ARPA_INET_H"]=" 1" 896D["HAVE_FCNTL_H"]=" 1" 897D["HAVE_NETDB_H"]=" 1" 898D["HAVE_NETINET_IN_H"]=" 1" 899D["HAVE_STDLIB_H"]=" 1" 900D["HAVE_STRING_H"]=" 1" 901D["HAVE_SYS_SOCKET_H"]=" 1" 902D["HAVE_SYS_TIME_H"]=" 1" 903D["HAVE_SYS_TIMEB_H"]=" 1" 904D["HAVE_SYSLOG_H"]=" 1" 905D["HAVE_UNISTD_H"]=" 1" 906D["TIME_WITH_SYS_TIME"]=" 1" 907D["HAVE_SYS_WAIT_H"]=" 1" 908D["LSTAT_FOLLOWS_SLASHED_SYMLINK"]=" 1" 909D["HAVE_STRFTIME"]=" 1" 910D["HAVE_VPRINTF"]=" 1" 911D["HAVE_FORK"]=" 1" 912D["HAVE_VFORK"]=" 1" 913D["HAVE_WORKING_VFORK"]=" 1" 914D["HAVE_WORKING_FORK"]=" 1" 915D["HAVE_LIBNSL"]=" 1" 916D["HAVE_FTIME"]=" 1" 917D["HAVE_GETHOSTBYNAME"]=" 1" 918D["HAVE_GETHOSTNAME"]=" 1" 919D["HAVE_GETTIMEOFDAY"]=" 1" 920D["HAVE_INET_NTOA"]=" 1" 921D["HAVE_MEMMOVE"]=" 1" 922D["HAVE_MEMSET"]=" 1" 923D["HAVE_MMAP"]=" 1" 924D["HAVE_MKFIFO"]=" 1" 925D["HAVE_SELECT"]=" 1" 926D["HAVE_SOCKET"]=" 1" 927D["HAVE_STRCHR"]=" 1" 928D["HAVE_STRCSPN"]=" 1" 929D["HAVE_STRDUP"]=" 1" 930D["HAVE_STRERROR"]=" 1" 931D["HAVE_STRSTR"]=" 1" 932 for (key in D) D_is_set[key] = 1 933 FS = "" 934} 935/^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ { 936 line = $ 0 937 split(line, arg, " ") 938 if (arg[1] == "#") { 939 defundef = arg[2] 940 mac1 = arg[3] 941 } else { 942 defundef = substr(arg[1], 2) 943 mac1 = arg[2] 944 } 945 split(mac1, mac2, "(") #) 946 macro = mac2[1] 947 prefix = substr(line, 1, index(line, defundef) - 1) 948 if (D_is_set[macro]) { 949 # Preserve the white space surrounding the "#". 950 print prefix "define", macro P[macro] D[macro] 951 next 952 } else { 953 # Replace #undef with comments. This is necessary, for example, 954 # in the case of _POSIX_SOURCE, which is predefined and required 955 # on some systems where configure will not decide to define it. 956 if (defundef == "undef") { 957 print "/*", prefix defundef, macro, "*/" 958 next 959 } 960 } 961} 962{ print } 963_ACAWK 964 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 965fi # test -n "$CONFIG_HEADERS" 966 967 968eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 969shift 970for ac_tag 971do 972 case $ac_tag in 973 :[FHLC]) ac_mode=$ac_tag; continue;; 974 esac 975 case $ac_mode$ac_tag in 976 :[FHL]*:*);; 977 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 978 :[FH]-) ac_tag=-:-;; 979 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 980 esac 981 ac_save_IFS=$IFS 982 IFS=: 983 set x $ac_tag 984 IFS=$ac_save_IFS 985 shift 986 ac_file=$1 987 shift 988 989 case $ac_mode in 990 :L) ac_source=$1;; 991 :[FH]) 992 ac_file_inputs= 993 for ac_f 994 do 995 case $ac_f in 996 -) ac_f="$ac_tmp/stdin";; 997 *) # Look for the file first in the build tree, then in the source tree 998 # (if the path is not absolute). The absolute path cannot be DOS-style, 999 # because $ac_f cannot contain `:'. 1000 test -f "$ac_f" || 1001 case $ac_f in 1002 [\\/$]*) false;; 1003 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 1004 esac || 1005 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 1006 esac 1007 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 1008 as_fn_append ac_file_inputs " '$ac_f'" 1009 done 1010 1011 # Let's still pretend it is `configure' which instantiates (i.e., don't 1012 # use $as_me), people would be surprised to read: 1013 # /* config.h. Generated by config.status. */ 1014 configure_input='Generated from '` 1015 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 1016 `' by configure.' 1017 if test x"$ac_file" != x-; then 1018 configure_input="$ac_file. $configure_input" 1019 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 1020$as_echo "$as_me: creating $ac_file" >&6;} 1021 fi 1022 # Neutralize special characters interpreted by sed in replacement strings. 1023 case $configure_input in #( 1024 *\&* | *\|* | *\\* ) 1025 ac_sed_conf_input=`$as_echo "$configure_input" | 1026 sed 's/[\\\\&|]/\\\\&/g'`;; #( 1027 *) ac_sed_conf_input=$configure_input;; 1028 esac 1029 1030 case $ac_tag in 1031 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 1032 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 1033 esac 1034 ;; 1035 esac 1036 1037 ac_dir=`$as_dirname -- "$ac_file" || 1038$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1039 X"$ac_file" : 'X\(//\)[^/]' \| \ 1040 X"$ac_file" : 'X\(//\)$' \| \ 1041 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 1042$as_echo X"$ac_file" | 1043 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1044 s//\1/ 1045 q 1046 } 1047 /^X\(\/\/\)[^/].*/{ 1048 s//\1/ 1049 q 1050 } 1051 /^X\(\/\/\)$/{ 1052 s//\1/ 1053 q 1054 } 1055 /^X\(\/\).*/{ 1056 s//\1/ 1057 q 1058 } 1059 s/.*/./; q'` 1060 as_dir="$ac_dir"; as_fn_mkdir_p 1061 ac_builddir=. 1062 1063case "$ac_dir" in 1064.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1065*) 1066 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1067 # A ".." for each directory in $ac_dir_suffix. 1068 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1069 case $ac_top_builddir_sub in 1070 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1071 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1072 esac ;; 1073esac 1074ac_abs_top_builddir=$ac_pwd 1075ac_abs_builddir=$ac_pwd$ac_dir_suffix 1076# for backward compatibility: 1077ac_top_builddir=$ac_top_build_prefix 1078 1079case $srcdir in 1080 .) # We are building in place. 1081 ac_srcdir=. 1082 ac_top_srcdir=$ac_top_builddir_sub 1083 ac_abs_top_srcdir=$ac_pwd ;; 1084 [\\/]* | ?:[\\/]* ) # Absolute name. 1085 ac_srcdir=$srcdir$ac_dir_suffix; 1086 ac_top_srcdir=$srcdir 1087 ac_abs_top_srcdir=$srcdir ;; 1088 *) # Relative name. 1089 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1090 ac_top_srcdir=$ac_top_build_prefix$srcdir 1091 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1092esac 1093ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1094 1095 1096 case $ac_mode in 1097 :F) 1098 # 1099 # CONFIG_FILE 1100 # 1101 1102 case $INSTALL in 1103 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 1104 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 1105 esac 1106 ac_MKDIR_P=$MKDIR_P 1107 case $MKDIR_P in 1108 [\\/$]* | ?:[\\/]* ) ;; 1109 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 1110 esac 1111# If the template does not know about datarootdir, expand it. 1112# FIXME: This hack should be removed a few years after 2.60. 1113ac_datarootdir_hack=; ac_datarootdir_seen= 1114ac_sed_dataroot=' 1115/datarootdir/ { 1116 p 1117 q 1118} 1119/@datadir@/p 1120/@docdir@/p 1121/@infodir@/p 1122/@localedir@/p 1123/@mandir@/p' 1124case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 1125*datarootdir*) ac_datarootdir_seen=yes;; 1126*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 1127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 1128$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 1129 ac_datarootdir_hack=' 1130 s&@datadir@&${datarootdir}&g 1131 s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g 1132 s&@infodir@&${datarootdir}/info&g 1133 s&@localedir@&${datarootdir}/locale&g 1134 s&@mandir@&${datarootdir}/man&g 1135 s&\${datarootdir}&${prefix}/share&g' ;; 1136esac 1137ac_sed_extra="/^[ ]*VPATH[ ]*=[ ]*/{ 1138h 1139s/// 1140s/^/:/ 1141s/[ ]*$/:/ 1142s/:\$(srcdir):/:/g 1143s/:\${srcdir}:/:/g 1144s/:@srcdir@:/:/g 1145s/^:*// 1146s/:*$// 1147x 1148s/\(=[ ]*\).*/\1/ 1149G 1150s/\n// 1151s/^[^=]*=[ ]*$// 1152} 1153 1154:t 1155/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 1156s|@configure_input@|$ac_sed_conf_input|;t t 1157s&@top_builddir@&$ac_top_builddir_sub&;t t 1158s&@top_build_prefix@&$ac_top_build_prefix&;t t 1159s&@srcdir@&$ac_srcdir&;t t 1160s&@abs_srcdir@&$ac_abs_srcdir&;t t 1161s&@top_srcdir@&$ac_top_srcdir&;t t 1162s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 1163s&@builddir@&$ac_builddir&;t t 1164s&@abs_builddir@&$ac_abs_builddir&;t t 1165s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 1166s&@INSTALL@&$ac_INSTALL&;t t 1167s&@MKDIR_P@&$ac_MKDIR_P&;t t 1168$ac_datarootdir_hack 1169" 1170eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 1171 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 1172 1173test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 1174 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 1175 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 1176 "$ac_tmp/out"`; test -z "$ac_out"; } && 1177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 1178which seems to be undefined. Please make sure it is defined" >&5 1179$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 1180which seems to be undefined. Please make sure it is defined" >&2;} 1181 1182 rm -f "$ac_tmp/stdin" 1183 case $ac_file in 1184 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 1185 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 1186 esac \ 1187 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 1188 ;; 1189 :H) 1190 # 1191 # CONFIG_HEADER 1192 # 1193 if test x"$ac_file" != x-; then 1194 { 1195 $as_echo "/* $configure_input */" \ 1196 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 1197 } >"$ac_tmp/config.h" \ 1198 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 1199 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 1200 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 1201$as_echo "$as_me: $ac_file is unchanged" >&6;} 1202 else 1203 rm -f "$ac_file" 1204 mv "$ac_tmp/config.h" "$ac_file" \ 1205 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 1206 fi 1207 else 1208 $as_echo "/* $configure_input */" \ 1209 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 1210 || as_fn_error $? "could not create -" "$LINENO" 5 1211 fi 1212# Compute "$ac_file"'s index in $config_headers. 1213_am_arg="$ac_file" 1214_am_stamp_count=1 1215for _am_header in $config_headers :; do 1216 case $_am_header in 1217 $_am_arg | $_am_arg:* ) 1218 break ;; 1219 * ) 1220 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 1221 esac 1222done 1223echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 1224$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1225 X"$_am_arg" : 'X\(//\)[^/]' \| \ 1226 X"$_am_arg" : 'X\(//\)$' \| \ 1227 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 1228$as_echo X"$_am_arg" | 1229 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1230 s//\1/ 1231 q 1232 } 1233 /^X\(\/\/\)[^/].*/{ 1234 s//\1/ 1235 q 1236 } 1237 /^X\(\/\/\)$/{ 1238 s//\1/ 1239 q 1240 } 1241 /^X\(\/\).*/{ 1242 s//\1/ 1243 q 1244 } 1245 s/.*/./; q'`/stamp-h$_am_stamp_count 1246 ;; 1247 1248 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 1249$as_echo "$as_me: executing $ac_file commands" >&6;} 1250 ;; 1251 esac 1252 1253 1254 case $ac_file$ac_mode in 1255 "rfb/rfbconfig.h":C) ac_prefix_conf_OUT=`echo rfb/rfbconfig.h` 1256ac_prefix_conf_DEF=`echo _$ac_prefix_conf_OUT | sed -e "y:abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:" -e "s/[^abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g"` 1257ac_prefix_conf_PKG=`echo $PACKAGE` 1258ac_prefix_conf_LOW=`echo _$ac_prefix_conf_PKG | sed -e "y:ABCDEFGHIJKLMNOPQRSTUVWXYZ-:abcdefghijklmnopqrstuvwxyz_:"` 1259ac_prefix_conf_UPP=`echo $ac_prefix_conf_PKG | sed -e "y:abcdefghijklmnopqrstuvwxyz-:ABCDEFGHIJKLMNOPQRSTUVWXYZ_:" -e "/^[0123456789]/s/^/_/"` 1260ac_prefix_conf_INP=`echo _` 1261if test "$ac_prefix_conf_INP" = "_"; then 1262 for ac_file in : $CONFIG_HEADERS; do test "_$ac_file" = _: && continue 1263 test -f "$ac_prefix_conf_INP" && continue 1264 case $ac_file in 1265 *.h) test -f $ac_file && ac_prefix_conf_INP=$ac_file ;; 1266 *) 1267 esac 1268 done 1269fi 1270if test "$ac_prefix_conf_INP" = "_"; then 1271 case "$ac_prefix_conf_OUT" in 1272 */*) ac_prefix_conf_INP=`basename "$ac_prefix_conf_OUT"` 1273 ;; 1274 *-*) ac_prefix_conf_INP=`echo "$ac_prefix_conf_OUT" | sed -e "s/[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*-//"` 1275 ;; 1276 *) ac_prefix_conf_INP=config.h 1277 ;; 1278 esac 1279fi 1280if test -z "$ac_prefix_conf_PKG" ; then 1281 as_fn_error $? "no prefix for _PREFIX_PKG_CONFIG_H" "$LINENO" 5 1282else 1283 if test ! -f "$ac_prefix_conf_INP" ; then if test -f "$srcdir/$ac_prefix_conf_INP" ; then 1284 ac_prefix_conf_INP="$srcdir/$ac_prefix_conf_INP" 1285 fi fi 1286 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&5 1287$as_echo "$as_me: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&6;} 1288 if test -f $ac_prefix_conf_INP ; then 1289 echo "s/#undef *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]\\)/#undef $ac_prefix_conf_UPP""_\\1/" > conftest.prefix 1290 # no! these are things like socklen_t, const, vfork 1291 # echo "s/#undef *\\([m4_cr_letters]\\)/#undef $_LOW""_\\1/" >> _script 1292 echo "s/#define *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_UPP""_\\1 \\" >> conftest.prefix 1293 echo "#define $ac_prefix_conf_UPP""_\\1 \\2 \\" >> conftest.prefix 1294 echo "#endif/" >>conftest.prefix 1295 # no! these are things like socklen_t, const, vfork 1296 # echo "s/#def[]ine *\\([m4_cr_letters][_symbol]*\\)\\(.*\\)/#ifndef $_LOW""_\\1 \\" >> _script 1297 # echo "#define $_LOW""_\\1 \\2 \\" >> _script 1298 # echo "#endif/" >> _script 1299 # now executing _script on _DEF input to create _OUT output file 1300 echo "#ifndef $ac_prefix_conf_DEF" >$tmp/pconfig.h 1301 echo "#define $ac_prefix_conf_DEF 1" >>$tmp/pconfig.h 1302 echo ' ' >>$tmp/pconfig.h 1303 echo /'*' $ac_prefix_conf_OUT. Generated automatically at end of configure. '*'/ >>$tmp/pconfig.h 1304 1305 sed -f conftest.prefix $ac_prefix_conf_INP >>$tmp/pconfig.h 1306 echo ' ' >>$tmp/pconfig.h 1307 echo '/* once:' $ac_prefix_conf_DEF '*/' >>$tmp/pconfig.h 1308 echo "#endif" >>$tmp/pconfig.h 1309 if cmp -s $ac_prefix_conf_OUT $tmp/pconfig.h 2>/dev/null; then 1310 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_prefix_conf_OUT is unchanged" >&5 1311$as_echo "$as_me: $ac_prefix_conf_OUT is unchanged" >&6;} 1312 else 1313 ac_dir=`$as_dirname -- "$ac_prefix_conf_OUT" || 1314$as_expr X"$ac_prefix_conf_OUT" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1315 X"$ac_prefix_conf_OUT" : 'X\(//\)[^/]' \| \ 1316 X"$ac_prefix_conf_OUT" : 'X\(//\)$' \| \ 1317 X"$ac_prefix_conf_OUT" : 'X\(/\)' \| . 2>/dev/null || 1318$as_echo X"$ac_prefix_conf_OUT" | 1319 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1320 s//\1/ 1321 q 1322 } 1323 /^X\(\/\/\)[^/].*/{ 1324 s//\1/ 1325 q 1326 } 1327 /^X\(\/\/\)$/{ 1328 s//\1/ 1329 q 1330 } 1331 /^X\(\/\).*/{ 1332 s//\1/ 1333 q 1334 } 1335 s/.*/./; q'` 1336 as_dir="$ac_dir"; as_fn_mkdir_p 1337 rm -f "$ac_prefix_conf_OUT" 1338 mv $tmp/pconfig.h "$ac_prefix_conf_OUT" 1339 fi 1340 cp conftest.prefix _configs.sed 1341 else 1342 as_fn_error $? "input file $ac_prefix_conf_INP does not exist - skip generating $ac_prefix_conf_OUT" "$LINENO" 5 1343 fi 1344 rm -f conftest.* 1345fi 1346 ;; 1347 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 1348 # Autoconf 2.62 quotes --file arguments for eval, but not when files 1349 # are listed without --file. Let's play safe and only enable the eval 1350 # if we detect the quoting. 1351 case $CONFIG_FILES in 1352 *\'*) eval set x "$CONFIG_FILES" ;; 1353 *) set x $CONFIG_FILES ;; 1354 esac 1355 shift 1356 for mf 1357 do 1358 # Strip MF so we end up with the name of the file. 1359 mf=`echo "$mf" | sed -e 's/:.*$//'` 1360 # Check whether this is an Automake generated Makefile or not. 1361 # We used to match only the files named `Makefile.in', but 1362 # some people rename them; so instead we look at the file content. 1363 # Grep'ing the first line is not enough: some people post-process 1364 # each Makefile.in and add a new line on top of each file to say so. 1365 # Grep'ing the whole file is not good either: AIX grep has a line 1366 # limit of 2048, but all sed's we know have understand at least 4000. 1367 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 1368 dirpart=`$as_dirname -- "$mf" || 1369$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1370 X"$mf" : 'X\(//\)[^/]' \| \ 1371 X"$mf" : 'X\(//\)$' \| \ 1372 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 1373$as_echo X"$mf" | 1374 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1375 s//\1/ 1376 q 1377 } 1378 /^X\(\/\/\)[^/].*/{ 1379 s//\1/ 1380 q 1381 } 1382 /^X\(\/\/\)$/{ 1383 s//\1/ 1384 q 1385 } 1386 /^X\(\/\).*/{ 1387 s//\1/ 1388 q 1389 } 1390 s/.*/./; q'` 1391 else 1392 continue 1393 fi 1394 # Extract the definition of DEPDIR, am__include, and am__quote 1395 # from the Makefile without running `make'. 1396 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 1397 test -z "$DEPDIR" && continue 1398 am__include=`sed -n 's/^am__include = //p' < "$mf"` 1399 test -z "am__include" && continue 1400 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 1401 # When using ansi2knr, U may be empty or an underscore; expand it 1402 U=`sed -n 's/^U = //p' < "$mf"` 1403 # Find all dependency output files, they are included files with 1404 # $(DEPDIR) in their names. We invoke sed twice because it is the 1405 # simplest approach to changing $(DEPDIR) to its actual value in the 1406 # expansion. 1407 for file in `sed -n " 1408 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 1409 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 1410 # Make sure the directory exists. 1411 test -f "$dirpart/$file" && continue 1412 fdir=`$as_dirname -- "$file" || 1413$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1414 X"$file" : 'X\(//\)[^/]' \| \ 1415 X"$file" : 'X\(//\)$' \| \ 1416 X"$file" : 'X\(/\)' \| . 2>/dev/null || 1417$as_echo X"$file" | 1418 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1419 s//\1/ 1420 q 1421 } 1422 /^X\(\/\/\)[^/].*/{ 1423 s//\1/ 1424 q 1425 } 1426 /^X\(\/\/\)$/{ 1427 s//\1/ 1428 q 1429 } 1430 /^X\(\/\).*/{ 1431 s//\1/ 1432 q 1433 } 1434 s/.*/./; q'` 1435 as_dir=$dirpart/$fdir; as_fn_mkdir_p 1436 # echo "creating $dirpart/$file" 1437 echo '# dummy' > "$dirpart/$file" 1438 done 1439 done 1440} 1441 ;; 1442 "chmod-libvncserver-config":C) chmod a+x libvncserver-config ;; 1443 1444 esac 1445done # for ac_tag 1446 1447 1448as_fn_exit 0 1449