Search
lxdream.org :: lxdream/configure
lxdream 0.9.1
released Jun 29
Download Now
filename configure
changeset 1245:01e0020adf88
prev1239:be3121267597
next1255:d63f73cc586f
author nkeynes
date Fri Mar 02 23:49:10 2012 +1000 (8 years ago)
permissions -rwxr-xr-x
last change Android WIP:
* Rename gui_jni.c to gui_android.c - now quite android specific.
* Implement generic EGL driver with very minimal Java wrapper
* Run emulation in separate thread, and implement simple queue for
inter-thread communication.
* Add menu/action-bar items for start + reset
file annotate diff log raw
nkeynes@1
     1
#! /bin/sh
nkeynes@1
     2
# Guess values for system-dependent variables and create Makefiles.
nkeynes@1110
     3
# Generated by GNU Autoconf 2.61.
nkeynes@360
     4
#
nkeynes@360
     5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
nkeynes@1110
     6
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
nkeynes@1
     7
# This configure script is free software; the Free Software Foundation
nkeynes@1
     8
# gives unlimited permission to copy, distribute and modify it.
nkeynes@1
     9
## --------------------- ##
nkeynes@1
    10
## M4sh Initialization.  ##
nkeynes@1
    11
## --------------------- ##
nkeynes@1
    12
nkeynes@426
    13
# Be more Bourne compatible
nkeynes@426
    14
DUALCASE=1; export DUALCASE # for MKS sh
nkeynes@1
    15
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
nkeynes@1
    16
  emulate sh
nkeynes@1
    17
  NULLCMD=:
nkeynes@1110
    18
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
nkeynes@1
    19
  # is contrary to our usage.  Disable this feature.
nkeynes@1
    20
  alias -g '${1+"$@"}'='"$@"'
nkeynes@360
    21
  setopt NO_GLOB_SUBST
nkeynes@360
    22
else
nkeynes@426
    23
  case `(set -o) 2>/dev/null` in
nkeynes@426
    24
  *posix*) set -o posix ;;
nkeynes@426
    25
esac
nkeynes@426
    26
nkeynes@426
    27
fi
nkeynes@426
    28
nkeynes@426
    29
nkeynes@1
    30
nkeynes@360
    31
nkeynes@360
    32
# PATH needs CR
nkeynes@1
    33
# Avoid depending upon Character Ranges.
nkeynes@1
    34
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
nkeynes@1
    35
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
nkeynes@1
    36
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
nkeynes@1
    37
as_cr_digits='0123456789'
nkeynes@1
    38
as_cr_alnum=$as_cr_Letters$as_cr_digits
nkeynes@1
    39
nkeynes@1
    40
# The user is always right.
nkeynes@1
    41
if test "${PATH_SEPARATOR+set}" != set; then
nkeynes@1110
    42
  echo "#! /bin/sh" >conf$$.sh
nkeynes@1110
    43
  echo  "exit 0"   >>conf$$.sh
nkeynes@1110
    44
  chmod +x conf$$.sh
nkeynes@1110
    45
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
nkeynes@1110
    46
    PATH_SEPARATOR=';'
nkeynes@1110
    47
  else
nkeynes@1110
    48
    PATH_SEPARATOR=:
nkeynes@1110
    49
  fi
nkeynes@1110
    50
  rm -f conf$$.sh
nkeynes@1
    51
fi
nkeynes@1
    52
nkeynes@360
    53
# Support unset when possible.
nkeynes@360
    54
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
nkeynes@360
    55
  as_unset=unset
nkeynes@360
    56
else
nkeynes@360
    57
  as_unset=false
nkeynes@360
    58
fi
nkeynes@360
    59
nkeynes@360
    60
nkeynes@360
    61
# IFS
nkeynes@360
    62
# We need space, tab and new line, in precisely that order.  Quoting is
nkeynes@360
    63
# there to prevent editors from complaining about space-tab.
nkeynes@360
    64
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
nkeynes@360
    65
# splitting by setting IFS to empty value.)
nkeynes@1110
    66
as_nl='
nkeynes@1110
    67
'
nkeynes@360
    68
IFS=" ""	$as_nl"
nkeynes@360
    69
nkeynes@360
    70
# Find who we are.  Look in the path if we contain no directory separator.
nkeynes@360
    71
case $0 in
nkeynes@360
    72
  *[\\/]* ) as_myself=$0 ;;
nkeynes@360
    73
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
nkeynes@360
    74
for as_dir in $PATH
nkeynes@360
    75
do
nkeynes@360
    76
  IFS=$as_save_IFS
nkeynes@360
    77
  test -z "$as_dir" && as_dir=.
nkeynes@360
    78
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
nkeynes@360
    79
done
nkeynes@360
    80
IFS=$as_save_IFS
nkeynes@360
    81
nkeynes@360
    82
     ;;
nkeynes@360
    83
esac
nkeynes@360
    84
# We did not find ourselves, most probably we were run as `sh COMMAND'
nkeynes@360
    85
# in which case we are not to be found in the path.
nkeynes@360
    86
if test "x$as_myself" = x; then
nkeynes@360
    87
  as_myself=$0
nkeynes@360
    88
fi
nkeynes@360
    89
if test ! -f "$as_myself"; then
nkeynes@1110
    90
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
nkeynes@360
    91
  { (exit 1); exit 1; }
nkeynes@360
    92
fi
nkeynes@360
    93
nkeynes@360
    94
# Work around bugs in pre-3.0 UWIN ksh.
nkeynes@360
    95
for as_var in ENV MAIL MAILPATH
nkeynes@360
    96
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
nkeynes@360
    97
done
nkeynes@360
    98
PS1='$ '
nkeynes@360
    99
PS2='> '
nkeynes@360
   100
PS4='+ '
nkeynes@360
   101
nkeynes@360
   102
# NLS nuisances.
nkeynes@1110
   103
for as_var in \
nkeynes@1110
   104
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
nkeynes@1110
   105
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
nkeynes@1110
   106
  LC_TELEPHONE LC_TIME
nkeynes@1110
   107
do
nkeynes@1110
   108
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
nkeynes@1110
   109
    eval $as_var=C; export $as_var
nkeynes@1110
   110
  else
nkeynes@1110
   111
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
nkeynes@1110
   112
  fi
nkeynes@1110
   113
done
nkeynes@360
   114
nkeynes@360
   115
# Required to use basename.
nkeynes@360
   116
if expr a : '\(a\)' >/dev/null 2>&1 &&
nkeynes@360
   117
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
nkeynes@360
   118
  as_expr=expr
nkeynes@360
   119
else
nkeynes@360
   120
  as_expr=false
nkeynes@360
   121
fi
nkeynes@360
   122
nkeynes@360
   123
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
nkeynes@360
   124
  as_basename=basename
nkeynes@360
   125
else
nkeynes@360
   126
  as_basename=false
nkeynes@360
   127
fi
nkeynes@360
   128
nkeynes@360
   129
nkeynes@360
   130
# Name of the executable.
nkeynes@360
   131
as_me=`$as_basename -- "$0" ||
nkeynes@360
   132
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
nkeynes@360
   133
	 X"$0" : 'X\(//\)$' \| \
nkeynes@360
   134
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
nkeynes@1110
   135
echo X/"$0" |
nkeynes@360
   136
    sed '/^.*\/\([^/][^/]*\)\/*$/{
nkeynes@360
   137
	    s//\1/
nkeynes@360
   138
	    q
nkeynes@360
   139
	  }
nkeynes@360
   140
	  /^X\/\(\/\/\)$/{
nkeynes@360
   141
	    s//\1/
nkeynes@360
   142
	    q
nkeynes@360
   143
	  }
nkeynes@360
   144
	  /^X\/\(\/\).*/{
nkeynes@360
   145
	    s//\1/
nkeynes@360
   146
	    q
nkeynes@360
   147
	  }
nkeynes@360
   148
	  s/.*/./; q'`
nkeynes@360
   149
nkeynes@360
   150
# CDPATH.
nkeynes@360
   151
$as_unset CDPATH
nkeynes@360
   152
nkeynes@360
   153
nkeynes@360
   154
if test "x$CONFIG_SHELL" = x; then
nkeynes@360
   155
  if (eval ":") 2>/dev/null; then
nkeynes@360
   156
  as_have_required=yes
nkeynes@360
   157
else
nkeynes@360
   158
  as_have_required=no
nkeynes@360
   159
fi
nkeynes@360
   160
nkeynes@1110
   161
  if test $as_have_required = yes && 	 (eval ":
nkeynes@360
   162
(as_func_return () {
nkeynes@360
   163
  (exit \$1)
nkeynes@360
   164
}
nkeynes@360
   165
as_func_success () {
nkeynes@360
   166
  as_func_return 0
nkeynes@360
   167
}
nkeynes@360
   168
as_func_failure () {
nkeynes@360
   169
  as_func_return 1
nkeynes@360
   170
}
nkeynes@360
   171
as_func_ret_success () {
nkeynes@360
   172
  return 0
nkeynes@360
   173
}
nkeynes@360
   174
as_func_ret_failure () {
nkeynes@360
   175
  return 1
nkeynes@360
   176
}
nkeynes@360
   177
nkeynes@360
   178
exitcode=0
nkeynes@360
   179
if as_func_success; then
nkeynes@360
   180
  :
nkeynes@360
   181
else
nkeynes@360
   182
  exitcode=1
nkeynes@360
   183
  echo as_func_success failed.
nkeynes@360
   184
fi
nkeynes@360
   185
nkeynes@360
   186
if as_func_failure; then
nkeynes@360
   187
  exitcode=1
nkeynes@360
   188
  echo as_func_failure succeeded.
nkeynes@360
   189
fi
nkeynes@360
   190
nkeynes@360
   191
if as_func_ret_success; then
nkeynes@360
   192
  :
nkeynes@360
   193
else
nkeynes@360
   194
  exitcode=1
nkeynes@360
   195
  echo as_func_ret_success failed.
nkeynes@360
   196
fi
nkeynes@360
   197
nkeynes@360
   198
if as_func_ret_failure; then
nkeynes@360
   199
  exitcode=1
nkeynes@360
   200
  echo as_func_ret_failure succeeded.
nkeynes@360
   201
fi
nkeynes@360
   202
nkeynes@360
   203
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
nkeynes@360
   204
  :
nkeynes@360
   205
else
nkeynes@360
   206
  exitcode=1
nkeynes@360
   207
  echo positional parameters were not saved.
nkeynes@360
   208
fi
nkeynes@360
   209
nkeynes@360
   210
test \$exitcode = 0) || { (exit 1); exit 1; }
nkeynes@360
   211
nkeynes@360
   212
(
nkeynes@360
   213
  as_lineno_1=\$LINENO
nkeynes@360
   214
  as_lineno_2=\$LINENO
nkeynes@360
   215
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
nkeynes@360
   216
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
nkeynes@360
   217
") 2> /dev/null; then
nkeynes@360
   218
  :
nkeynes@360
   219
else
nkeynes@360
   220
  as_candidate_shells=
nkeynes@360
   221
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
nkeynes@426
   222
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
nkeynes@360
   223
do
nkeynes@360
   224
  IFS=$as_save_IFS
nkeynes@360
   225
  test -z "$as_dir" && as_dir=.
nkeynes@360
   226
  case $as_dir in
nkeynes@360
   227
	 /*)
nkeynes@360
   228
	   for as_base in sh bash ksh sh5; do
nkeynes@360
   229
	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
nkeynes@360
   230
	   done;;
nkeynes@360
   231
       esac
nkeynes@360
   232
done
nkeynes@360
   233
IFS=$as_save_IFS
nkeynes@360
   234
nkeynes@360
   235
nkeynes@360
   236
      for as_shell in $as_candidate_shells $SHELL; do
nkeynes@360
   237
	 # Try only shells that exist, to save several forks.
nkeynes@360
   238
	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
nkeynes@360
   239
		{ ("$as_shell") 2> /dev/null <<\_ASEOF
nkeynes@360
   240
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
nkeynes@360
   241
  emulate sh
nkeynes@360
   242
  NULLCMD=:
nkeynes@1110
   243
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
nkeynes@360
   244
  # is contrary to our usage.  Disable this feature.
nkeynes@360
   245
  alias -g '${1+"$@"}'='"$@"'
nkeynes@360
   246
  setopt NO_GLOB_SUBST
nkeynes@360
   247
else
nkeynes@426
   248
  case `(set -o) 2>/dev/null` in
nkeynes@426
   249
  *posix*) set -o posix ;;
nkeynes@426
   250
esac
nkeynes@426
   251
nkeynes@426
   252
fi
nkeynes@426
   253
nkeynes@360
   254
nkeynes@360
   255
:
nkeynes@360
   256
_ASEOF
nkeynes@360
   257
}; then
nkeynes@360
   258
  CONFIG_SHELL=$as_shell
nkeynes@360
   259
	       as_have_required=yes
nkeynes@360
   260
	       if { "$as_shell" 2> /dev/null <<\_ASEOF
nkeynes@360
   261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
nkeynes@360
   262
  emulate sh
nkeynes@360
   263
  NULLCMD=:
nkeynes@1110
   264
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
nkeynes@360
   265
  # is contrary to our usage.  Disable this feature.
nkeynes@360
   266
  alias -g '${1+"$@"}'='"$@"'
nkeynes@360
   267
  setopt NO_GLOB_SUBST
nkeynes@360
   268
else
nkeynes@426
   269
  case `(set -o) 2>/dev/null` in
nkeynes@426
   270
  *posix*) set -o posix ;;
nkeynes@426
   271
esac
nkeynes@426
   272
nkeynes@426
   273
fi
nkeynes@426
   274
nkeynes@360
   275
nkeynes@360
   276
:
nkeynes@360
   277
(as_func_return () {
nkeynes@360
   278
  (exit $1)
nkeynes@360
   279
}
nkeynes@360
   280
as_func_success () {
nkeynes@360
   281
  as_func_return 0
nkeynes@360
   282
}
nkeynes@360
   283
as_func_failure () {
nkeynes@360
   284
  as_func_return 1
nkeynes@360
   285
}
nkeynes@360
   286
as_func_ret_success () {
nkeynes@360
   287
  return 0
nkeynes@360
   288
}
nkeynes@360
   289
as_func_ret_failure () {
nkeynes@360
   290
  return 1
nkeynes@360
   291
}
nkeynes@360
   292
nkeynes@360
   293
exitcode=0
nkeynes@360
   294
if as_func_success; then
nkeynes@360
   295
  :
nkeynes@360
   296
else
nkeynes@360
   297
  exitcode=1
nkeynes@360
   298
  echo as_func_success failed.
nkeynes@360
   299
fi
nkeynes@360
   300
nkeynes@360
   301
if as_func_failure; then
nkeynes@360
   302
  exitcode=1
nkeynes@360
   303
  echo as_func_failure succeeded.
nkeynes@360
   304
fi
nkeynes@360
   305
nkeynes@360
   306
if as_func_ret_success; then
nkeynes@360
   307
  :
nkeynes@360
   308
else
nkeynes@360
   309
  exitcode=1
nkeynes@360
   310
  echo as_func_ret_success failed.
nkeynes@360
   311
fi
nkeynes@360
   312
nkeynes@360
   313
if as_func_ret_failure; then
nkeynes@360
   314
  exitcode=1
nkeynes@360
   315
  echo as_func_ret_failure succeeded.
nkeynes@360
   316
fi
nkeynes@360
   317
nkeynes@360
   318
if ( set x; as_func_ret_success y && test x = "$1" ); then
nkeynes@360
   319
  :
nkeynes@360
   320
else
nkeynes@360
   321
  exitcode=1
nkeynes@360
   322
  echo positional parameters were not saved.
nkeynes@360
   323
fi
nkeynes@360
   324
nkeynes@360
   325
test $exitcode = 0) || { (exit 1); exit 1; }
nkeynes@360
   326
nkeynes@360
   327
(
nkeynes@1
   328
  as_lineno_1=$LINENO
nkeynes@1
   329
  as_lineno_2=$LINENO
nkeynes@1
   330
  test "x$as_lineno_1" != "x$as_lineno_2" &&
nkeynes@360
   331
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
nkeynes@360
   332
nkeynes@360
   333
_ASEOF
nkeynes@360
   334
}; then
nkeynes@360
   335
  break
nkeynes@360
   336
fi
nkeynes@360
   337
nkeynes@360
   338
fi
nkeynes@360
   339
nkeynes@360
   340
      done
nkeynes@360
   341
nkeynes@360
   342
      if test "x$CONFIG_SHELL" != x; then
nkeynes@360
   343
  for as_var in BASH_ENV ENV
nkeynes@1110
   344
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
nkeynes@1110
   345
        done
nkeynes@1110
   346
        export CONFIG_SHELL
nkeynes@1110
   347
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
nkeynes@360
   348
fi
nkeynes@360
   349
nkeynes@360
   350
nkeynes@360
   351
    if test $as_have_required = no; then
nkeynes@360
   352
  echo This script requires a shell more modern than all the
nkeynes@360
   353
      echo shells that I found on your system.  Please install a
nkeynes@360
   354
      echo modern shell, or manually run the script under such a
nkeynes@360
   355
      echo shell if you do have one.
nkeynes@360
   356
      { (exit 1); exit 1; }
nkeynes@360
   357
fi
nkeynes@360
   358
nkeynes@360
   359
nkeynes@360
   360
fi
nkeynes@360
   361
nkeynes@360
   362
fi
nkeynes@360
   363
nkeynes@360
   364
nkeynes@360
   365
nkeynes@360
   366
(eval "as_func_return () {
nkeynes@360
   367
  (exit \$1)
nkeynes@360
   368
}
nkeynes@360
   369
as_func_success () {
nkeynes@360
   370
  as_func_return 0
nkeynes@360
   371
}
nkeynes@360
   372
as_func_failure () {
nkeynes@360
   373
  as_func_return 1
nkeynes@360
   374
}
nkeynes@360
   375
as_func_ret_success () {
nkeynes@360
   376
  return 0
nkeynes@360
   377
}
nkeynes@360
   378
as_func_ret_failure () {
nkeynes@360
   379
  return 1
nkeynes@360
   380
}
nkeynes@360
   381
nkeynes@360
   382
exitcode=0
nkeynes@360
   383
if as_func_success; then
nkeynes@360
   384
  :
nkeynes@360
   385
else
nkeynes@360
   386
  exitcode=1
nkeynes@360
   387
  echo as_func_success failed.
nkeynes@360
   388
fi
nkeynes@360
   389
nkeynes@360
   390
if as_func_failure; then
nkeynes@360
   391
  exitcode=1
nkeynes@360
   392
  echo as_func_failure succeeded.
nkeynes@360
   393
fi
nkeynes@360
   394
nkeynes@360
   395
if as_func_ret_success; then
nkeynes@360
   396
  :
nkeynes@360
   397
else
nkeynes@360
   398
  exitcode=1
nkeynes@360
   399
  echo as_func_ret_success failed.
nkeynes@360
   400
fi
nkeynes@360
   401
nkeynes@360
   402
if as_func_ret_failure; then
nkeynes@360
   403
  exitcode=1
nkeynes@360
   404
  echo as_func_ret_failure succeeded.
nkeynes@360
   405
fi
nkeynes@360
   406
nkeynes@360
   407
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
nkeynes@360
   408
  :
nkeynes@360
   409
else
nkeynes@360
   410
  exitcode=1
nkeynes@360
   411
  echo positional parameters were not saved.
nkeynes@360
   412
fi
nkeynes@360
   413
nkeynes@360
   414
test \$exitcode = 0") || {
nkeynes@360
   415
  echo No shell found that supports shell functions.
nkeynes@1110
   416
  echo Please tell autoconf@gnu.org about your system,
nkeynes@1110
   417
  echo including any error possibly output before this
nkeynes@1110
   418
  echo message
nkeynes@360
   419
}
nkeynes@360
   420
nkeynes@360
   421
nkeynes@360
   422
nkeynes@1
   423
  as_lineno_1=$LINENO
nkeynes@1
   424
  as_lineno_2=$LINENO
nkeynes@1
   425
  test "x$as_lineno_1" != "x$as_lineno_2" &&
nkeynes@360
   426
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
nkeynes@1
   427
nkeynes@1
   428
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
nkeynes@1
   429
  # uniformly replaced by the line number.  The first 'sed' inserts a
nkeynes@360
   430
  # line-number line after each line using $LINENO; the second 'sed'
nkeynes@360
   431
  # does the real work.  The second script uses 'N' to pair each
nkeynes@360
   432
  # line-number line with the line containing $LINENO, and appends
nkeynes@360
   433
  # trailing '-' during substitution so that $LINENO is not a special
nkeynes@360
   434
  # case at line end.
nkeynes@1
   435
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
nkeynes@360
   436
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
nkeynes@360
   437
  # E. McMahon (1931-1989) for sed's syntax.  :-)
nkeynes@360
   438
  sed -n '
nkeynes@360
   439
    p
nkeynes@360
   440
    /[$]LINENO/=
nkeynes@360
   441
  ' <$as_myself |
nkeynes@1
   442
    sed '
nkeynes@360
   443
      s/[$]LINENO.*/&-/
nkeynes@360
   444
      t lineno
nkeynes@360
   445
      b
nkeynes@360
   446
      :lineno
nkeynes@1
   447
      N
nkeynes@360
   448
      :loop
nkeynes@360
   449
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
nkeynes@1
   450
      t loop
nkeynes@360
   451
      s/-\n.*//
nkeynes@1
   452
    ' >$as_me.lineno &&
nkeynes@360
   453
  chmod +x "$as_me.lineno" ||
nkeynes@1110
   454
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
nkeynes@1
   455
   { (exit 1); exit 1; }; }
nkeynes@1
   456
nkeynes@1
   457
  # Don't try to exec as it changes $[0], causing all sort of problems
nkeynes@1
   458
  # (the dirname of $[0] is not the place where we might find the
nkeynes@360
   459
  # original and so on.  Autoconf is especially sensitive to this).
nkeynes@360
   460
  . "./$as_me.lineno"
nkeynes@1
   461
  # Exit status is that of the last command.
nkeynes@1
   462
  exit
nkeynes@1
   463
}
nkeynes@1
   464
nkeynes@1
   465
nkeynes@360
   466
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
nkeynes@360
   467
  as_dirname=dirname
nkeynes@360
   468
else
nkeynes@360
   469
  as_dirname=false
nkeynes@360
   470
fi
nkeynes@360
   471
nkeynes@360
   472
ECHO_C= ECHO_N= ECHO_T=
nkeynes@360
   473
case `echo -n x` in
nkeynes@360
   474
-n*)
nkeynes@360
   475
  case `echo 'x\c'` in
nkeynes@360
   476
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
nkeynes@360
   477
  *)   ECHO_C='\c';;
nkeynes@360
   478
  esac;;
nkeynes@360
   479
*)
nkeynes@360
   480
  ECHO_N='-n';;
nkeynes@360
   481
esac
nkeynes@1110
   482
nkeynes@360
   483
if expr a : '\(a\)' >/dev/null 2>&1 &&
nkeynes@360
   484
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
nkeynes@1
   485
  as_expr=expr
nkeynes@1
   486
else
nkeynes@1
   487
  as_expr=false
nkeynes@1
   488
fi
nkeynes@1
   489
nkeynes@1
   490
rm -f conf$$ conf$$.exe conf$$.file
nkeynes@360
   491
if test -d conf$$.dir; then
nkeynes@360
   492
  rm -f conf$$.dir/conf$$.file
nkeynes@360
   493
else
nkeynes@360
   494
  rm -f conf$$.dir
nkeynes@1110
   495
  mkdir conf$$.dir
nkeynes@1110
   496
fi
nkeynes@1110
   497
echo >conf$$.file
nkeynes@1110
   498
if ln -s conf$$.file conf$$ 2>/dev/null; then
nkeynes@1110
   499
  as_ln_s='ln -s'
nkeynes@1110
   500
  # ... but there are two gotchas:
nkeynes@1110
   501
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
nkeynes@1110
   502
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
nkeynes@1110
   503
  # In both cases, we have to default to `cp -p'.
nkeynes@1110
   504
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
nkeynes@1
   505
    as_ln_s='cp -p'
nkeynes@1110
   506
elif ln conf$$.file conf$$ 2>/dev/null; then
nkeynes@1110
   507
  as_ln_s=ln
nkeynes@1
   508
else
nkeynes@1
   509
  as_ln_s='cp -p'
nkeynes@1
   510
fi
nkeynes@360
   511
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
nkeynes@360
   512
rmdir conf$$.dir 2>/dev/null
nkeynes@1
   513
nkeynes@1
   514
if mkdir -p . 2>/dev/null; then
nkeynes@1
   515
  as_mkdir_p=:
nkeynes@1
   516
else
nkeynes@1
   517
  test -d ./-p && rmdir ./-p
nkeynes@1
   518
  as_mkdir_p=false
nkeynes@1
   519
fi
nkeynes@1
   520
nkeynes@426
   521
if test -x / >/dev/null 2>&1; then
nkeynes@426
   522
  as_test_x='test -x'
nkeynes@426
   523
else
nkeynes@426
   524
  if ls -dL / >/dev/null 2>&1; then
nkeynes@426
   525
    as_ls_L_option=L
nkeynes@426
   526
  else
nkeynes@426
   527
    as_ls_L_option=
nkeynes@426
   528
  fi
nkeynes@426
   529
  as_test_x='
nkeynes@426
   530
    eval sh -c '\''
nkeynes@426
   531
      if test -d "$1"; then
nkeynes@1110
   532
        test -d "$1/.";
nkeynes@426
   533
      else
nkeynes@426
   534
	case $1 in
nkeynes@1110
   535
        -*)set "./$1";;
nkeynes@426
   536
	esac;
nkeynes@426
   537
	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
nkeynes@426
   538
	???[sx]*):;;*)false;;esac;fi
nkeynes@426
   539
    '\'' sh
nkeynes@426
   540
  '
nkeynes@426
   541
fi
nkeynes@426
   542
as_executable_p=$as_test_x
nkeynes@1
   543
nkeynes@1
   544
# Sed expression to map a string onto a valid CPP name.
nkeynes@1
   545
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
nkeynes@1
   546
nkeynes@1
   547
# Sed expression to map a string onto a valid variable name.
nkeynes@1
   548
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
nkeynes@1
   549
nkeynes@1
   550
nkeynes@360
   551
nkeynes@360
   552
exec 7<&0 </dev/null 6>&1
nkeynes@1
   553
nkeynes@1
   554
# Name of the host.
nkeynes@1
   555
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
nkeynes@1
   556
# so uname gets run too.
nkeynes@1
   557
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
nkeynes@1
   558
nkeynes@1
   559
#
nkeynes@1
   560
# Initializations.
nkeynes@1
   561
#
nkeynes@1
   562
ac_default_prefix=/usr/local
nkeynes@360
   563
ac_clean_files=
nkeynes@1
   564
ac_config_libobj_dir=.
nkeynes@360
   565
LIBOBJS=
nkeynes@1
   566
cross_compiling=no
nkeynes@1
   567
subdirs=
nkeynes@1
   568
MFLAGS=
nkeynes@1
   569
MAKEFLAGS=
nkeynes@1
   570
SHELL=${CONFIG_SHELL-/bin/sh}
nkeynes@1
   571
nkeynes@1
   572
# Identity of this package.
nkeynes@1
   573
PACKAGE_NAME=
nkeynes@1
   574
PACKAGE_TARNAME=
nkeynes@1
   575
PACKAGE_VERSION=
nkeynes@1
   576
PACKAGE_STRING=
nkeynes@1
   577
PACKAGE_BUGREPORT=
nkeynes@1
   578
nkeynes@1
   579
ac_unique_file="configure.in"
nkeynes@1
   580
# Factoring default headers for most tests.
nkeynes@1
   581
ac_includes_default="\
nkeynes@1
   582
#include <stdio.h>
nkeynes@426
   583
#ifdef HAVE_SYS_TYPES_H
nkeynes@1
   584
# include <sys/types.h>
nkeynes@1
   585
#endif
nkeynes@426
   586
#ifdef HAVE_SYS_STAT_H
nkeynes@1
   587
# include <sys/stat.h>
nkeynes@1
   588
#endif
nkeynes@426
   589
#ifdef STDC_HEADERS
nkeynes@1
   590
# include <stdlib.h>
nkeynes@1
   591
# include <stddef.h>
nkeynes@1
   592
#else
nkeynes@426
   593
# ifdef HAVE_STDLIB_H
nkeynes@1
   594
#  include <stdlib.h>
nkeynes@1
   595
# endif
nkeynes@1
   596
#endif
nkeynes@426
   597
#ifdef HAVE_STRING_H
nkeynes@426
   598
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
nkeynes@1
   599
#  include <memory.h>
nkeynes@1
   600
# endif
nkeynes@1
   601
# include <string.h>
nkeynes@1
   602
#endif
nkeynes@426
   603
#ifdef HAVE_STRINGS_H
nkeynes@1
   604
# include <strings.h>
nkeynes@1
   605
#endif
nkeynes@426
   606
#ifdef HAVE_INTTYPES_H
nkeynes@1
   607
# include <inttypes.h>
nkeynes@360
   608
#endif
nkeynes@426
   609
#ifdef HAVE_STDINT_H
nkeynes@360
   610
# include <stdint.h>
nkeynes@1
   611
#endif
nkeynes@426
   612
#ifdef HAVE_UNISTD_H
nkeynes@1
   613
# include <unistd.h>
nkeynes@1
   614
#endif"
nkeynes@1
   615
nkeynes@1110
   616
ac_subst_vars='SHELL
nkeynes@1110
   617
PATH_SEPARATOR
nkeynes@1110
   618
PACKAGE_NAME
nkeynes@1110
   619
PACKAGE_TARNAME
nkeynes@1110
   620
PACKAGE_VERSION
nkeynes@1110
   621
PACKAGE_STRING
nkeynes@1110
   622
PACKAGE_BUGREPORT
nkeynes@1110
   623
exec_prefix
nkeynes@1110
   624
prefix
nkeynes@1110
   625
program_transform_name
nkeynes@1110
   626
bindir
nkeynes@1110
   627
sbindir
nkeynes@1110
   628
libexecdir
nkeynes@1110
   629
datarootdir
nkeynes@1110
   630
datadir
nkeynes@1110
   631
sysconfdir
nkeynes@1110
   632
sharedstatedir
nkeynes@1110
   633
localstatedir
nkeynes@1110
   634
includedir
nkeynes@1110
   635
oldincludedir
nkeynes@1110
   636
docdir
nkeynes@1110
   637
infodir
nkeynes@1110
   638
htmldir
nkeynes@1110
   639
dvidir
nkeynes@1110
   640
pdfdir
nkeynes@1110
   641
psdir
nkeynes@1110
   642
libdir
nkeynes@1110
   643
localedir
nkeynes@1110
   644
mandir
nkeynes@1110
   645
DEFS
nkeynes@1110
   646
ECHO_C
nkeynes@1110
   647
ECHO_N
nkeynes@1110
   648
ECHO_T
nkeynes@1110
   649
LIBS
nkeynes@1110
   650
build_alias
nkeynes@1110
   651
host_alias
nkeynes@1110
   652
target_alias
nkeynes@1110
   653
INSTALL_PROGRAM
nkeynes@1110
   654
INSTALL_SCRIPT
nkeynes@1110
   655
INSTALL_DATA
nkeynes@1110
   656
CYGPATH_W
nkeynes@1110
   657
PACKAGE
nkeynes@1110
   658
VERSION
nkeynes@1110
   659
ACLOCAL
nkeynes@1110
   660
AUTOCONF
nkeynes@1110
   661
AUTOMAKE
nkeynes@1110
   662
AUTOHEADER
nkeynes@1110
   663
MAKEINFO
nkeynes@1110
   664
install_sh
nkeynes@1110
   665
STRIP
nkeynes@1110
   666
INSTALL_STRIP_PROGRAM
nkeynes@1110
   667
mkdir_p
nkeynes@1110
   668
AWK
nkeynes@1110
   669
SET_MAKE
nkeynes@1110
   670
am__leading_dot
nkeynes@1110
   671
AMTAR
nkeynes@1110
   672
am__tar
nkeynes@1110
   673
am__untar
nkeynes@1110
   674
MAINTAINER_MODE_TRUE
nkeynes@1110
   675
MAINTAINER_MODE_FALSE
nkeynes@1110
   676
MAINT
nkeynes@1211
   677
build
nkeynes@1211
   678
build_cpu
nkeynes@1211
   679
build_vendor
nkeynes@1211
   680
build_os
nkeynes@1211
   681
host
nkeynes@1211
   682
host_cpu
nkeynes@1211
   683
host_vendor
nkeynes@1211
   684
host_os
nkeynes@1239
   685
ANT
nkeynes@1239
   686
ANDROID_SDK_HOME
nkeynes@1239
   687
ANDROID_NDK_HOME
nkeynes@1239
   688
ANDROID_SDK_VERSION
nkeynes@1245
   689
ANDROID_NDK_VERSION
nkeynes@1239
   690
ANDROID_GDBSERVER
nkeynes@1239
   691
GUI_ANDROID_TRUE
nkeynes@1239
   692
GUI_ANDROID_FALSE
nkeynes@1110
   693
CC
nkeynes@1110
   694
CFLAGS
nkeynes@1110
   695
LDFLAGS
nkeynes@1110
   696
CPPFLAGS
nkeynes@1110
   697
ac_ct_CC
nkeynes@1110
   698
EXEEXT
nkeynes@1110
   699
OBJEXT
nkeynes@1110
   700
DEPDIR
nkeynes@1110
   701
am__include
nkeynes@1110
   702
am__quote
nkeynes@1110
   703
AMDEP_TRUE
nkeynes@1110
   704
AMDEP_FALSE
nkeynes@1110
   705
AMDEPBACKSLASH
nkeynes@1110
   706
CCDEPMODE
nkeynes@1110
   707
am__fastdepCC_TRUE
nkeynes@1110
   708
am__fastdepCC_FALSE
nkeynes@1110
   709
CPP
nkeynes@1200
   710
CC
nkeynes@1200
   711
CFLAGS
nkeynes@1200
   712
CPPFLAGS
nkeynes@1200
   713
CC_FOR_BUILD
nkeynes@1200
   714
ac_ct_CC_FOR_BUILD
nkeynes@1200
   715
CC_FOR_BUILDDEPMODE
nkeynes@1200
   716
am__fastdepCC_FOR_BUILD_TRUE
nkeynes@1200
   717
am__fastdepCC_FOR_BUILD_FALSE
nkeynes@1200
   718
CPP
nkeynes@1200
   719
CPPFLAGS
nkeynes@1200
   720
CPP_FOR_BUILD
nkeynes@1200
   721
BUILD_EXEEXT
nkeynes@1200
   722
BUILD_OBJEXT
nkeynes@1200
   723
CFLAGS_FOR_BUILD
nkeynes@1200
   724
CPPFLAGS_FOR_BUILD
nkeynes@1200
   725
OBJC
nkeynes@1200
   726
OBJCFLAGS
nkeynes@1200
   727
ac_ct_OBJC
nkeynes@1200
   728
SED
nkeynes@1200
   729
CCAS
nkeynes@1200
   730
CCASFLAGS
nkeynes@1226
   731
RANLIB
nkeynes@1200
   732
GREP
nkeynes@1200
   733
EGREP
nkeynes@1110
   734
OBJCDEPMODE
nkeynes@1110
   735
am__fastdepOBJC_TRUE
nkeynes@1110
   736
am__fastdepOBJC_FALSE
nkeynes@1110
   737
POD2MAN
nkeynes@1110
   738
POD2HTML
nkeynes@1110
   739
GUI_COCOA_TRUE
nkeynes@1110
   740
GUI_COCOA_FALSE
nkeynes@1110
   741
SOEXT
nkeynes@1110
   742
PLUGINCFLAGS
nkeynes@1110
   743
PLUGINLDFLAGS
nkeynes@1110
   744
LXDREAMLDFLAGS
nkeynes@1225
   745
BUILD_PLUGINS_TRUE
nkeynes@1225
   746
BUILD_PLUGINS_FALSE
nkeynes@1110
   747
LXDREAMCPPFLAGS
nkeynes@1110
   748
PKG_CONFIG
nkeynes@1110
   749
LIBPNG_CFLAGS
nkeynes@1110
   750
LIBPNG_LIBS
nkeynes@1110
   751
GLIB_CFLAGS
nkeynes@1110
   752
GLIB_LIBS
nkeynes@1110
   753
GTK_CFLAGS
nkeynes@1110
   754
GTK_LIBS
nkeynes@1211
   755
GLIB_FOR_BUILD_CFLAGS
nkeynes@1211
   756
GLIB_FOR_BUILD_LIBS
nkeynes@1110
   757
GUI_GTK_TRUE
nkeynes@1110
   758
GUI_GTK_FALSE
nkeynes@1110
   759
LIBISOFS_CFLAGS
nkeynes@1110
   760
LIBISOFS_LIBS
nkeynes@1110
   761
LIBGL_CFLAGS
nkeynes@1110
   762
LIBGL_LIBS
nkeynes@1110
   763
VIDEO_OSMESA_TRUE
nkeynes@1110
   764
VIDEO_OSMESA_FALSE
nkeynes@1110
   765
VIDEO_GLX_TRUE
nkeynes@1110
   766
VIDEO_GLX_FALSE
nkeynes@1110
   767
VIDEO_NSGL_TRUE
nkeynes@1110
   768
VIDEO_NSGL_FALSE
nkeynes@1110
   769
BUILD_SH4X86_TRUE
nkeynes@1110
   770
BUILD_SH4X86_FALSE
nkeynes@1110
   771
AUDIO_OSX_TRUE
nkeynes@1110
   772
AUDIO_OSX_FALSE
nkeynes@1110
   773
SDL_CFLAGS
nkeynes@1110
   774
SDL_LIBS
nkeynes@1110
   775
AUDIO_SDL_TRUE
nkeynes@1110
   776
AUDIO_SDL_FALSE
nkeynes@1110
   777
PULSE_CFLAGS
nkeynes@1110
   778
PULSE_LIBS
nkeynes@1110
   779
AUDIO_PULSE_TRUE
nkeynes@1110
   780
AUDIO_PULSE_FALSE
nkeynes@1110
   781
ESOUND_CFLAGS
nkeynes@1110
   782
ESOUND_LIBS
nkeynes@1110
   783
AUDIO_ESOUND_TRUE
nkeynes@1110
   784
AUDIO_ESOUND_FALSE
nkeynes@1110
   785
ALSA_CFLAGS
nkeynes@1110
   786
ALSA_LIBS
nkeynes@1110
   787
AUDIO_ALSA_TRUE
nkeynes@1110
   788
AUDIO_ALSA_FALSE
nkeynes@1110
   789
CDROM_LINUX_TRUE
nkeynes@1110
   790
CDROM_LINUX_FALSE
nkeynes@1110
   791
CDROM_OSX_TRUE
nkeynes@1110
   792
CDROM_OSX_FALSE
nkeynes@1110
   793
CDROM_NONE_TRUE
nkeynes@1110
   794
CDROM_NONE_FALSE
nkeynes@1110
   795
JOY_LINUX_TRUE
nkeynes@1110
   796
JOY_LINUX_FALSE
nkeynes@1110
   797
INPUT_LIRC_TRUE
nkeynes@1110
   798
INPUT_LIRC_FALSE
nkeynes@1110
   799
SHCC
nkeynes@1110
   800
SHLD
nkeynes@1110
   801
SHOBJCOPY
nkeynes@1110
   802
ARMCC
nkeynes@1110
   803
ARMLD
nkeynes@1110
   804
ARMOBJCOPY
nkeynes@1110
   805
BUILD_SYSTEST_TRUE
nkeynes@1110
   806
BUILD_SYSTEST_FALSE
nkeynes@1110
   807
BUILD_ARMTEST_TRUE
nkeynes@1110
   808
BUILD_ARMTEST_FALSE
nkeynes@1110
   809
LXDREAM_LIBS
nkeynes@1110
   810
GETTEXT_PACKAGE
nkeynes@1110
   811
USE_NLS
nkeynes@1110
   812
MSGFMT
nkeynes@1110
   813
MSGFMT_OPTS
nkeynes@1110
   814
GMSGFMT
nkeynes@1110
   815
XGETTEXT
nkeynes@1110
   816
CATALOGS
nkeynes@1110
   817
CATOBJEXT
nkeynes@1110
   818
DATADIRNAME
nkeynes@1110
   819
GMOFILES
nkeynes@1110
   820
INSTOBJEXT
nkeynes@1110
   821
INTLLIBS
nkeynes@1110
   822
PO_IN_DATADIR_TRUE
nkeynes@1110
   823
PO_IN_DATADIR_FALSE
nkeynes@1110
   824
POFILES
nkeynes@1110
   825
POSUB
nkeynes@1110
   826
MKINSTALLDIRS
nkeynes@1015
   827
LIBOBJS
nkeynes@1110
   828
LTLIBOBJS'
nkeynes@1
   829
ac_subst_files=''
nkeynes@360
   830
      ac_precious_vars='build_alias
nkeynes@360
   831
host_alias
nkeynes@360
   832
target_alias
nkeynes@360
   833
CC
nkeynes@360
   834
CFLAGS
nkeynes@360
   835
LDFLAGS
nkeynes@426
   836
LIBS
nkeynes@360
   837
CPPFLAGS
nkeynes@1200
   838
CPP
nkeynes@1200
   839
CC
nkeynes@1200
   840
CFLAGS
nkeynes@1200
   841
CPPFLAGS
nkeynes@1200
   842
CPP
nkeynes@1200
   843
CPPFLAGS
nkeynes@964
   844
OBJC
nkeynes@964
   845
OBJCFLAGS
nkeynes@658
   846
CCAS
nkeynes@658
   847
CCASFLAGS
nkeynes@360
   848
PKG_CONFIG
nkeynes@537
   849
LIBPNG_CFLAGS
nkeynes@537
   850
LIBPNG_LIBS
nkeynes@681
   851
GLIB_CFLAGS
nkeynes@681
   852
GLIB_LIBS
nkeynes@537
   853
GTK_CFLAGS
nkeynes@537
   854
GTK_LIBS
nkeynes@1211
   855
GLIB_FOR_BUILD_CFLAGS
nkeynes@1211
   856
GLIB_FOR_BUILD_LIBS
nkeynes@1110
   857
LIBISOFS_CFLAGS
nkeynes@1110
   858
LIBISOFS_LIBS
nkeynes@1110
   859
LIBGL_CFLAGS
nkeynes@1110
   860
LIBGL_LIBS
nkeynes@989
   861
SDL_CFLAGS
nkeynes@989
   862
SDL_LIBS
nkeynes@657
   863
PULSE_CFLAGS
nkeynes@657
   864
PULSE_LIBS
nkeynes@529
   865
ESOUND_CFLAGS
bhaal22@643
   866
ESOUND_LIBS
bhaal22@643
   867
ALSA_CFLAGS
bhaal22@643
   868
ALSA_LIBS'
nkeynes@360
   869
nkeynes@1
   870
nkeynes@1
   871
# Initialize some variables set by options.
nkeynes@1
   872
ac_init_help=
nkeynes@1
   873
ac_init_version=false
nkeynes@1
   874
# The variables have the same names as the options, with
nkeynes@1
   875
# dashes changed to underlines.
nkeynes@1
   876
cache_file=/dev/null
nkeynes@1
   877
exec_prefix=NONE
nkeynes@1
   878
no_create=
nkeynes@1
   879
no_recursion=
nkeynes@1
   880
prefix=NONE
nkeynes@1
   881
program_prefix=NONE
nkeynes@1
   882
program_suffix=NONE
nkeynes@1
   883
program_transform_name=s,x,x,
nkeynes@1
   884
silent=
nkeynes@1
   885
site=
nkeynes@1
   886
srcdir=
nkeynes@1
   887
verbose=
nkeynes@1
   888
x_includes=NONE
nkeynes@1
   889
x_libraries=NONE
nkeynes@1
   890
nkeynes@1
   891
# Installation directory options.
nkeynes@1
   892
# These are left unexpanded so users can "make install exec_prefix=/foo"
nkeynes@1
   893
# and all the variables that are supposed to be based on exec_prefix
nkeynes@1
   894
# by default will actually change.
nkeynes@1
   895
# Use braces instead of parens because sh, perl, etc. also accept them.
nkeynes@360
   896
# (The list follows the same order as the GNU Coding Standards.)
nkeynes@1
   897
bindir='${exec_prefix}/bin'
nkeynes@1
   898
sbindir='${exec_prefix}/sbin'
nkeynes@1
   899
libexecdir='${exec_prefix}/libexec'
nkeynes@360
   900
datarootdir='${prefix}/share'
nkeynes@360
   901
datadir='${datarootdir}'
nkeynes@1
   902
sysconfdir='${prefix}/etc'
nkeynes@1
   903
sharedstatedir='${prefix}/com'
nkeynes@1
   904
localstatedir='${prefix}/var'
nkeynes@1
   905
includedir='${prefix}/include'
nkeynes@1
   906
oldincludedir='/usr/include'
nkeynes@360
   907
docdir='${datarootdir}/doc/${PACKAGE}'
nkeynes@360
   908
infodir='${datarootdir}/info'
nkeynes@360
   909
htmldir='${docdir}'
nkeynes@360
   910
dvidir='${docdir}'
nkeynes@360
   911
pdfdir='${docdir}'
nkeynes@360
   912
psdir='${docdir}'
nkeynes@360
   913
libdir='${exec_prefix}/lib'
nkeynes@360
   914
localedir='${datarootdir}/locale'
nkeynes@360
   915
mandir='${datarootdir}/man'
nkeynes@1
   916
nkeynes@1
   917
ac_prev=
nkeynes@360
   918
ac_dashdash=
nkeynes@1
   919
for ac_option
nkeynes@1
   920
do
nkeynes@1
   921
  # If the previous option needs an argument, assign it.
nkeynes@1
   922
  if test -n "$ac_prev"; then
nkeynes@360
   923
    eval $ac_prev=\$ac_option
nkeynes@1
   924
    ac_prev=
nkeynes@1
   925
    continue
nkeynes@1
   926
  fi
nkeynes@1
   927
nkeynes@360
   928
  case $ac_option in
nkeynes@360
   929
  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
nkeynes@360
   930
  *)	ac_optarg=yes ;;
nkeynes@360
   931
  esac
nkeynes@1
   932
nkeynes@1
   933
  # Accept the important Cygnus configure options, so we can diagnose typos.
nkeynes@1
   934
nkeynes@360
   935
  case $ac_dashdash$ac_option in
nkeynes@360
   936
  --)
nkeynes@360
   937
    ac_dashdash=yes ;;
nkeynes@1
   938
nkeynes@1
   939
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
nkeynes@1
   940
    ac_prev=bindir ;;
nkeynes@1
   941
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
nkeynes@1
   942
    bindir=$ac_optarg ;;
nkeynes@1
   943
nkeynes@1
   944
  -build | --build | --buil | --bui | --bu)
nkeynes@1
   945
    ac_prev=build_alias ;;
nkeynes@1
   946
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
nkeynes@1
   947
    build_alias=$ac_optarg ;;
nkeynes@1
   948
nkeynes@1
   949
  -cache-file | --cache-file | --cache-fil | --cache-fi \
nkeynes@1
   950
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
nkeynes@1
   951
    ac_prev=cache_file ;;
nkeynes@1
   952
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
nkeynes@1
   953
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
nkeynes@1
   954
    cache_file=$ac_optarg ;;
nkeynes@1
   955
nkeynes@1
   956
  --config-cache | -C)
nkeynes@1
   957
    cache_file=config.cache ;;
nkeynes@1
   958
nkeynes@360
   959
  -datadir | --datadir | --datadi | --datad)
nkeynes@1
   960
    ac_prev=datadir ;;
nkeynes@360
   961
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
nkeynes@1
   962
    datadir=$ac_optarg ;;
nkeynes@1
   963
nkeynes@360
   964
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
nkeynes@360
   965
  | --dataroo | --dataro | --datar)
nkeynes@360
   966
    ac_prev=datarootdir ;;
nkeynes@360
   967
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
nkeynes@360
   968
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
nkeynes@360
   969
    datarootdir=$ac_optarg ;;
nkeynes@360
   970
nkeynes@1
   971
  -disable-* | --disable-*)
nkeynes@1110
   972
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
nkeynes@1
   973
    # Reject names that are not valid shell variable names.
nkeynes@1110
   974
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
nkeynes@1110
   975
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
nkeynes@1110
   976
   { (exit 1); exit 1; }; }
nkeynes@1110
   977
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
nkeynes@1110
   978
    eval enable_$ac_feature=no ;;
nkeynes@360
   979
nkeynes@360
   980
  -docdir | --docdir | --docdi | --doc | --do)
nkeynes@360
   981
    ac_prev=docdir ;;
nkeynes@360
   982
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
nkeynes@360
   983
    docdir=$ac_optarg ;;
nkeynes@360
   984
nkeynes@360
   985
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
nkeynes@360
   986
    ac_prev=dvidir ;;
nkeynes@360
   987
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
nkeynes@360
   988
    dvidir=$ac_optarg ;;
nkeynes@1
   989
nkeynes@1
   990
  -enable-* | --enable-*)
nkeynes@1110
   991
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
nkeynes@1
   992
    # Reject names that are not valid shell variable names.
nkeynes@1110
   993
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
nkeynes@1110
   994
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
nkeynes@1110
   995
   { (exit 1); exit 1; }; }
nkeynes@1110
   996
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
nkeynes@1110
   997
    eval enable_$ac_feature=\$ac_optarg ;;
nkeynes@1
   998
nkeynes@1
   999
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
nkeynes@1
  1000
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
nkeynes@1
  1001
  | --exec | --exe | --ex)
nkeynes@1
  1002
    ac_prev=exec_prefix ;;
nkeynes@1
  1003
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
nkeynes@1
  1004
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
nkeynes@1
  1005
  | --exec=* | --exe=* | --ex=*)
nkeynes@1
  1006
    exec_prefix=$ac_optarg ;;
nkeynes@1
  1007
nkeynes@1
  1008
  -gas | --gas | --ga | --g)
nkeynes@1
  1009
    # Obsolete; use --with-gas.
nkeynes@1
  1010
    with_gas=yes ;;
nkeynes@1
  1011
nkeynes@1
  1012
  -help | --help | --hel | --he | -h)
nkeynes@1
  1013
    ac_init_help=long ;;
nkeynes@1
  1014
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
nkeynes@1
  1015
    ac_init_help=recursive ;;
nkeynes@1
  1016
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
nkeynes@1
  1017
    ac_init_help=short ;;
nkeynes@1
  1018
nkeynes@1
  1019
  -host | --host | --hos | --ho)
nkeynes@1
  1020
    ac_prev=host_alias ;;
nkeynes@1
  1021
  -host=* | --host=* | --hos=* | --ho=*)
nkeynes@1
  1022
    host_alias=$ac_optarg ;;
nkeynes@1
  1023
nkeynes@360
  1024
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
nkeynes@360
  1025
    ac_prev=htmldir ;;
nkeynes@360
  1026
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
nkeynes@360
  1027
  | --ht=*)
nkeynes@360
  1028
    htmldir=$ac_optarg ;;
nkeynes@360
  1029
nkeynes@1
  1030
  -includedir | --includedir | --includedi | --included | --include \
nkeynes@1
  1031
  | --includ | --inclu | --incl | --inc)
nkeynes@1
  1032
    ac_prev=includedir ;;
nkeynes@1
  1033
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
nkeynes@1
  1034
  | --includ=* | --inclu=* | --incl=* | --inc=*)
nkeynes@1
  1035
    includedir=$ac_optarg ;;
nkeynes@1
  1036
nkeynes@1
  1037
  -infodir | --infodir | --infodi | --infod | --info | --inf)
nkeynes@1
  1038
    ac_prev=infodir ;;
nkeynes@1
  1039
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
nkeynes@1
  1040
    infodir=$ac_optarg ;;
nkeynes@1
  1041
nkeynes@1
  1042
  -libdir | --libdir | --libdi | --libd)
nkeynes@1
  1043
    ac_prev=libdir ;;
nkeynes@1
  1044
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
nkeynes@1
  1045
    libdir=$ac_optarg ;;
nkeynes@1
  1046
nkeynes@1
  1047
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
nkeynes@1
  1048
  | --libexe | --libex | --libe)
nkeynes@1
  1049
    ac_prev=libexecdir ;;
nkeynes@1
  1050
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
nkeynes@1
  1051
  | --libexe=* | --libex=* | --libe=*)
nkeynes@1
  1052
    libexecdir=$ac_optarg ;;
nkeynes@1
  1053
nkeynes@360
  1054
  -localedir | --localedir | --localedi | --localed | --locale)
nkeynes@360
  1055
    ac_prev=localedir ;;
nkeynes@360
  1056
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
nkeynes@360
  1057
    localedir=$ac_optarg ;;
nkeynes@360
  1058
nkeynes@1
  1059
  -localstatedir | --localstatedir | --localstatedi | --localstated \
nkeynes@360
  1060
  | --localstate | --localstat | --localsta | --localst | --locals)
nkeynes@1
  1061
    ac_prev=localstatedir ;;
nkeynes@1
  1062
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
nkeynes@360
  1063
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
nkeynes@1
  1064
    localstatedir=$ac_optarg ;;
nkeynes@1
  1065
nkeynes@1
  1066
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
nkeynes@1
  1067
    ac_prev=mandir ;;
nkeynes@1
  1068
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
nkeynes@1
  1069
    mandir=$ac_optarg ;;
nkeynes@1
  1070
nkeynes@1
  1071
  -nfp | --nfp | --nf)
nkeynes@1
  1072
    # Obsolete; use --without-fp.
nkeynes@1
  1073
    with_fp=no ;;
nkeynes@1
  1074
nkeynes@1
  1075
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
nkeynes@1
  1076
  | --no-cr | --no-c | -n)
nkeynes@1
  1077
    no_create=yes ;;
nkeynes@1
  1078
nkeynes@1
  1079
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
nkeynes@1
  1080
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
nkeynes@1
  1081
    no_recursion=yes ;;
nkeynes@1
  1082
nkeynes@1
  1083
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
nkeynes@1
  1084
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
nkeynes@1
  1085
  | --oldin | --oldi | --old | --ol | --o)
nkeynes@1
  1086
    ac_prev=oldincludedir ;;
nkeynes@1
  1087
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
nkeynes@1
  1088
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
nkeynes@1
  1089
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
nkeynes@1
  1090
    oldincludedir=$ac_optarg ;;
nkeynes@1
  1091
nkeynes@1
  1092
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
nkeynes@1
  1093
    ac_prev=prefix ;;
nkeynes@1
  1094
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
nkeynes@1
  1095
    prefix=$ac_optarg ;;
nkeynes@1
  1096
nkeynes@1
  1097
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
nkeynes@1
  1098
  | --program-pre | --program-pr | --program-p)
nkeynes@1
  1099
    ac_prev=program_prefix ;;
nkeynes@1
  1100
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
nkeynes@1
  1101
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
nkeynes@1
  1102
    program_prefix=$ac_optarg ;;
nkeynes@1
  1103
nkeynes@1
  1104
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
nkeynes@1
  1105
  | --program-suf | --program-su | --program-s)
nkeynes@1
  1106
    ac_prev=program_suffix ;;
nkeynes@1
  1107
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
nkeynes@1
  1108
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
nkeynes@1
  1109
    program_suffix=$ac_optarg ;;
nkeynes@1
  1110
nkeynes@1
  1111
  -program-transform-name | --program-transform-name \
nkeynes@1
  1112
  | --program-transform-nam | --program-transform-na \
nkeynes@1
  1113
  | --program-transform-n | --program-transform- \
nkeynes@1
  1114
  | --program-transform | --program-transfor \
nkeynes@1
  1115
  | --program-transfo | --program-transf \
nkeynes@1
  1116
  | --program-trans | --program-tran \
nkeynes@1
  1117
  | --progr-tra | --program-tr | --program-t)
nkeynes@1
  1118
    ac_prev=program_transform_name ;;
nkeynes@1
  1119
  -program-transform-name=* | --program-transform-name=* \
nkeynes@1
  1120
  | --program-transform-nam=* | --program-transform-na=* \
nkeynes@1
  1121
  | --program-transform-n=* | --program-transform-=* \
nkeynes@1
  1122
  | --program-transform=* | --program-transfor=* \
nkeynes@1
  1123
  | --program-transfo=* | --program-transf=* \
nkeynes@1
  1124
  | --program-trans=* | --program-tran=* \
nkeynes@1
  1125
  | --progr-tra=* | --program-tr=* | --program-t=*)
nkeynes@1
  1126
    program_transform_name=$ac_optarg ;;
nkeynes@1
  1127
nkeynes@360
  1128
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
nkeynes@360
  1129
    ac_prev=pdfdir ;;
nkeynes@360
  1130
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
nkeynes@360
  1131
    pdfdir=$ac_optarg ;;
nkeynes@360
  1132
nkeynes@360
  1133
  -psdir | --psdir | --psdi | --psd | --ps)
nkeynes@360
  1134
    ac_prev=psdir ;;
nkeynes@360
  1135
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
nkeynes@360
  1136
    psdir=$ac_optarg ;;
nkeynes@360
  1137
nkeynes@1
  1138
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
nkeynes@1
  1139
  | -silent | --silent | --silen | --sile | --sil)
nkeynes@1
  1140
    silent=yes ;;
nkeynes@1
  1141
nkeynes@1
  1142
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
nkeynes@1
  1143
    ac_prev=sbindir ;;
nkeynes@1
  1144
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
nkeynes@1
  1145
  | --sbi=* | --sb=*)
nkeynes@1
  1146
    sbindir=$ac_optarg ;;
nkeynes@1
  1147
nkeynes@1
  1148
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
nkeynes@1
  1149
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
nkeynes@1
  1150
  | --sharedst | --shareds | --shared | --share | --shar \
nkeynes@1
  1151
  | --sha | --sh)
nkeynes@1
  1152
    ac_prev=sharedstatedir ;;
nkeynes@1
  1153
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
nkeynes@1
  1154
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
nkeynes@1
  1155
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
nkeynes@1
  1156
  | --sha=* | --sh=*)
nkeynes@1
  1157
    sharedstatedir=$ac_optarg ;;
nkeynes@1
  1158
nkeynes@1
  1159
  -site | --site | --sit)
nkeynes@1
  1160
    ac_prev=site ;;
nkeynes@1
  1161
  -site=* | --site=* | --sit=*)
nkeynes@1
  1162
    site=$ac_optarg ;;
nkeynes@1
  1163
nkeynes@1
  1164
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
nkeynes@1
  1165
    ac_prev=srcdir ;;
nkeynes@1
  1166
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
nkeynes@1
  1167
    srcdir=$ac_optarg ;;
nkeynes@1
  1168
nkeynes@1
  1169
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
nkeynes@1
  1170
  | --syscon | --sysco | --sysc | --sys | --sy)
nkeynes@1
  1171
    ac_prev=sysconfdir ;;
nkeynes@1
  1172
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
nkeynes@1
  1173
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
nkeynes@1
  1174
    sysconfdir=$ac_optarg ;;
nkeynes@1
  1175
nkeynes@1
  1176
  -target | --target | --targe | --targ | --tar | --ta | --t)
nkeynes@1
  1177
    ac_prev=target_alias ;;
nkeynes@1
  1178
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
nkeynes@1
  1179
    target_alias=$ac_optarg ;;
nkeynes@1
  1180
nkeynes@1
  1181
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
nkeynes@1
  1182
    verbose=yes ;;
nkeynes@1
  1183
nkeynes@1
  1184
  -version | --version | --versio | --versi | --vers | -V)
nkeynes@1
  1185
    ac_init_version=: ;;
nkeynes@1
  1186
nkeynes@1
  1187
  -with-* | --with-*)
nkeynes@1110
  1188
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
nkeynes@1
  1189
    # Reject names that are not valid shell variable names.
nkeynes@1110
  1190
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
nkeynes@1110
  1191
      { echo "$as_me: error: invalid package name: $ac_package" >&2
nkeynes@1110
  1192
   { (exit 1); exit 1; }; }
nkeynes@1110
  1193
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
nkeynes@1110
  1194
    eval with_$ac_package=\$ac_optarg ;;
nkeynes@1
  1195
nkeynes@1
  1196
  -without-* | --without-*)
nkeynes@1110
  1197
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
nkeynes@1
  1198
    # Reject names that are not valid shell variable names.
nkeynes@1110
  1199
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
nkeynes@1110
  1200
      { echo "$as_me: error: invalid package name: $ac_package" >&2
nkeynes@1110
  1201
   { (exit 1); exit 1; }; }
nkeynes@1110
  1202
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
nkeynes@1110
  1203
    eval with_$ac_package=no ;;
nkeynes@1
  1204
nkeynes@1
  1205
  --x)
nkeynes@1
  1206
    # Obsolete; use --with-x.
nkeynes@1
  1207
    with_x=yes ;;
nkeynes@1
  1208
nkeynes@1
  1209
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
nkeynes@1
  1210
  | --x-incl | --x-inc | --x-in | --x-i)
nkeynes@1
  1211
    ac_prev=x_includes ;;
nkeynes@1
  1212
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
nkeynes@1
  1213
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
nkeynes@1
  1214
    x_includes=$ac_optarg ;;
nkeynes@1
  1215
nkeynes@1
  1216
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
nkeynes@1
  1217
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
nkeynes@1
  1218
    ac_prev=x_libraries ;;
nkeynes@1
  1219
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
nkeynes@1
  1220
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
nkeynes@1
  1221
    x_libraries=$ac_optarg ;;
nkeynes@1
  1222
nkeynes@1110
  1223
  -*) { echo "$as_me: error: unrecognized option: $ac_option
nkeynes@1
  1224
Try \`$0 --help' for more information." >&2
nkeynes@1
  1225
   { (exit 1); exit 1; }; }
nkeynes@1
  1226
    ;;
nkeynes@1
  1227
nkeynes@1
  1228
  *=*)
nkeynes@1
  1229
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
nkeynes@1
  1230
    # Reject names that are not valid shell variable names.
nkeynes@1
  1231
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
nkeynes@1110
  1232
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
nkeynes@1
  1233
   { (exit 1); exit 1; }; }
nkeynes@360
  1234
    eval $ac_envvar=\$ac_optarg
nkeynes@1
  1235
    export $ac_envvar ;;
nkeynes@1
  1236
nkeynes@1
  1237
  *)
nkeynes@1
  1238
    # FIXME: should be removed in autoconf 3.0.
nkeynes@1110
  1239
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
nkeynes@1
  1240
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
nkeynes@1110
  1241
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
nkeynes@1
  1242
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
nkeynes@1
  1243
    ;;
nkeynes@1
  1244
nkeynes@1
  1245
  esac
nkeynes@1
  1246
done
nkeynes@1
  1247
nkeynes@1
  1248
if test -n "$ac_prev"; then
nkeynes@1
  1249
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
nkeynes@1110
  1250
  { echo "$as_me: error: missing argument to $ac_option" >&2
nkeynes@1110
  1251
   { (exit 1); exit 1; }; }
nkeynes@1110
  1252
fi
nkeynes@1110
  1253
nkeynes@1110
  1254
# Be sure to have absolute directory names.
nkeynes@360
  1255
for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
nkeynes@360
  1256
		datadir sysconfdir sharedstatedir localstatedir includedir \
nkeynes@360
  1257
		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
nkeynes@360
  1258
		libdir localedir mandir
nkeynes@360
  1259
do
nkeynes@360
  1260
  eval ac_val=\$$ac_var
nkeynes@1
  1261
  case $ac_val in
nkeynes@360
  1262
    [\\/$]* | ?:[\\/]* )  continue;;
nkeynes@360
  1263
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
nkeynes@360
  1264
  esac
nkeynes@1110
  1265
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
nkeynes@360
  1266
   { (exit 1); exit 1; }; }
nkeynes@1
  1267
done
nkeynes@1
  1268
nkeynes@1
  1269
# There might be people who depend on the old broken behavior: `$host'
nkeynes@1
  1270
# used to hold the argument of --host etc.
nkeynes@1
  1271
# FIXME: To remove some day.
nkeynes@1
  1272
build=$build_alias
nkeynes@1
  1273
host=$host_alias
nkeynes@1
  1274
target=$target_alias
nkeynes@1
  1275
nkeynes@1
  1276
# FIXME: To remove some day.
nkeynes@1
  1277
if test "x$host_alias" != x; then
nkeynes@1
  1278
  if test "x$build_alias" = x; then
nkeynes@1
  1279
    cross_compiling=maybe
nkeynes@1110
  1280
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
nkeynes@1
  1281
    If a cross compiler is detected then cross compile mode will be used." >&2
nkeynes@1
  1282
  elif test "x$build_alias" != "x$host_alias"; then
nkeynes@1
  1283
    cross_compiling=yes
nkeynes@1
  1284
  fi
nkeynes@1
  1285
fi
nkeynes@1
  1286
nkeynes@1
  1287
ac_tool_prefix=
nkeynes@1
  1288
test -n "$host_alias" && ac_tool_prefix=$host_alias-
nkeynes@1
  1289
nkeynes@1
  1290
test "$silent" = yes && exec 6>/dev/null
nkeynes@1
  1291
nkeynes@1
  1292
nkeynes@360
  1293
ac_pwd=`pwd` && test -n "$ac_pwd" &&
nkeynes@360
  1294
ac_ls_di=`ls -di .` &&
nkeynes@360
  1295
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
nkeynes@1110
  1296
  { echo "$as_me: error: Working directory cannot be determined" >&2
nkeynes@360
  1297
   { (exit 1); exit 1; }; }
nkeynes@360
  1298
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
nkeynes@1110
  1299
  { echo "$as_me: error: pwd does not report name of working directory" >&2
nkeynes@360
  1300
   { (exit 1); exit 1; }; }
nkeynes@360
  1301
nkeynes@360
  1302
nkeynes@1
  1303
# Find the source files, if location was not specified.
nkeynes@1
  1304
if test -z "$srcdir"; then
nkeynes@1
  1305
  ac_srcdir_defaulted=yes
nkeynes@360
  1306
  # Try the directory containing this script, then the parent directory.
nkeynes@1110
  1307
  ac_confdir=`$as_dirname -- "$0" ||
nkeynes@1110
  1308
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
nkeynes@1110
  1309
	 X"$0" : 'X\(//\)[^/]' \| \
nkeynes@1110
  1310
	 X"$0" : 'X\(//\)$' \| \
nkeynes@1110
  1311
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
nkeynes@1110
  1312
echo X"$0" |
nkeynes@360
  1313
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
nkeynes@360
  1314
	    s//\1/
nkeynes@360
  1315
	    q
nkeynes@360
  1316
	  }
nkeynes@360
  1317
	  /^X\(\/\/\)[^/].*/{
nkeynes@360
  1318
	    s//\1/
nkeynes@360
  1319
	    q
nkeynes@360
  1320
	  }
nkeynes@360
  1321
	  /^X\(\/\/\)$/{
nkeynes@360
  1322
	    s//\1/
nkeynes@360
  1323
	    q
nkeynes@360
  1324
	  }
nkeynes@360
  1325
	  /^X\(\/\).*/{
nkeynes@360
  1326
	    s//\1/
nkeynes@360
  1327
	    q
nkeynes@360
  1328
	  }
nkeynes@360
  1329
	  s/.*/./; q'`
nkeynes@1
  1330
  srcdir=$ac_confdir
nkeynes@360
  1331
  if test ! -r "$srcdir/$ac_unique_file"; then
nkeynes@1
  1332
    srcdir=..
nkeynes@1
  1333
  fi
nkeynes@1
  1334
else
nkeynes@1
  1335
  ac_srcdir_defaulted=no
nkeynes@1
  1336
fi
nkeynes@360
  1337
if test ! -r "$srcdir/$ac_unique_file"; then
nkeynes@360
  1338
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
nkeynes@1110
  1339
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
nkeynes@360
  1340
   { (exit 1); exit 1; }; }
nkeynes@360
  1341
fi
nkeynes@360
  1342
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
nkeynes@360
  1343
ac_abs_confdir=`(
nkeynes@1110
  1344
	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
nkeynes@360
  1345
   { (exit 1); exit 1; }; }
nkeynes@360
  1346
	pwd)`
nkeynes@360
  1347
# When building in place, set srcdir=.
nkeynes@360
  1348
if test "$ac_abs_confdir" = "$ac_pwd"; then
nkeynes@360
  1349
  srcdir=.
nkeynes@360
  1350
fi
nkeynes@360
  1351
# Remove unnecessary trailing slashes from srcdir.
nkeynes@360
  1352
# Double slashes in file names in object file debugging info
nkeynes@360
  1353
# mess up M-x gdb in Emacs.
nkeynes@360
  1354
case $srcdir in
nkeynes@360
  1355
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
nkeynes@360
  1356
esac
nkeynes@360
  1357
for ac_var in $ac_precious_vars; do
nkeynes@360
  1358
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
nkeynes@360
  1359
  eval ac_env_${ac_var}_value=\$${ac_var}
nkeynes@360
  1360
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
nkeynes@360
  1361
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
nkeynes@360
  1362
done
nkeynes@1
  1363
nkeynes@1
  1364
#
nkeynes@1
  1365
# Report the --help message.
nkeynes@1
  1366
#
nkeynes@1
  1367
if test "$ac_init_help" = "long"; then
nkeynes@1
  1368
  # Omit some internal or obsolete options to make the list less imposing.
nkeynes@1
  1369
  # This message is too long to be a string in the A/UX 3.1 sh.
nkeynes@1
  1370
  cat <<_ACEOF
nkeynes@1
  1371
\`configure' configures this package to adapt to many kinds of systems.
nkeynes@1
  1372
nkeynes@1
  1373
Usage: $0 [OPTION]... [VAR=VALUE]...
nkeynes@1
  1374
nkeynes@1
  1375
To assign environment variables (e.g., CC, CFLAGS...), specify them as
nkeynes@1
  1376
VAR=VALUE.  See below for descriptions of some of the useful variables.
nkeynes@1
  1377
nkeynes@1
  1378
Defaults for the options are specified in brackets.
nkeynes@1
  1379
nkeynes@1
  1380
Configuration:
nkeynes@1
  1381
  -h, --help              display this help and exit
nkeynes@1
  1382
      --help=short        display options specific to this package
nkeynes@1
  1383
      --help=recursive    display the short help of all the included packages
nkeynes@1
  1384
  -V, --version           display version information and exit
nkeynes@1
  1385
  -q, --quiet, --silent   do not print \`checking...' messages
nkeynes@1
  1386
      --cache-file=FILE   cache test results in FILE [disabled]
nkeynes@1
  1387
  -C, --config-cache      alias for \`--cache-file=config.cache'
nkeynes@1
  1388
  -n, --no-create         do not create output files
nkeynes@1
  1389
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
nkeynes@1
  1390
nkeynes@1
  1391
Installation directories:
nkeynes@1
  1392
  --prefix=PREFIX         install architecture-independent files in PREFIX
nkeynes@1110
  1393
			  [$ac_default_prefix]
nkeynes@1
  1394
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
nkeynes@1110
  1395
			  [PREFIX]
nkeynes@1
  1396
nkeynes@1
  1397
By default, \`make install' will install all the files in
nkeynes@1
  1398
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
nkeynes@1
  1399
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
nkeynes@1
  1400
for instance \`--prefix=\$HOME'.
nkeynes@1
  1401
nkeynes@1
  1402
For better control, use the options below.
nkeynes@1
  1403
nkeynes@1
  1404
Fine tuning of the installation directories:
nkeynes@1110
  1405
  --bindir=DIR           user executables [EPREFIX/bin]
nkeynes@1110
  1406
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
nkeynes@1110
  1407
  --libexecdir=DIR       program executables [EPREFIX/libexec]
nkeynes@1110
  1408
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
nkeynes@1110
  1409
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
nkeynes@1110
  1410
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
nkeynes@1110
  1411
  --libdir=DIR           object code libraries [EPREFIX/lib]
nkeynes@1110
  1412
  --includedir=DIR       C header files [PREFIX/include]
nkeynes@1110
  1413
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
nkeynes@1110
  1414
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
nkeynes@1110
  1415
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
nkeynes@1110
  1416
  --infodir=DIR          info documentation [DATAROOTDIR/info]
nkeynes@1110
  1417
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
nkeynes@1110
  1418
  --mandir=DIR           man documentation [DATAROOTDIR/man]
nkeynes@1110
  1419
  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
nkeynes@1110
  1420
  --htmldir=DIR          html documentation [DOCDIR]
nkeynes@1110
  1421
  --dvidir=DIR           dvi documentation [DOCDIR]
nkeynes@1110
  1422
  --pdfdir=DIR           pdf documentation [DOCDIR]
nkeynes@1110
  1423
  --psdir=DIR            ps documentation [DOCDIR]
nkeynes@1
  1424
_ACEOF
nkeynes@1
  1425
nkeynes@1
  1426
  cat <<\_ACEOF
nkeynes@1
  1427
nkeynes@1
  1428
Program names:
nkeynes@1
  1429
  --program-prefix=PREFIX            prepend PREFIX to installed program names
nkeynes@1
  1430
  --program-suffix=SUFFIX            append SUFFIX to installed program names
nkeynes@1
  1431
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
nkeynes@521
  1432
nkeynes@521
  1433
System types:
nkeynes@521
  1434
  --build=BUILD     configure for building on BUILD [guessed]
nkeynes@521
  1435
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
nkeynes@1
  1436
_ACEOF
nkeynes@1
  1437
fi
nkeynes@1
  1438
nkeynes@1
  1439
if test -n "$ac_init_help"; then
nkeynes@1
  1440
nkeynes@1
  1441
  cat <<\_ACEOF
nkeynes@1
  1442
nkeynes@1
  1443
Optional Features:
nkeynes@1
  1444
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
nkeynes@1
  1445
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
nkeynes@658
  1446
  --enable-maintainer-mode  enable make rules and dependencies not useful
nkeynes@658
  1447
			  (and sometimes confusing) to the casual installer
nkeynes@658
  1448
  --disable-dependency-tracking  speeds up one-time build
nkeynes@658
  1449
  --enable-dependency-tracking   do not reject slow dependency extractors
nkeynes@804
  1450
  --enable-strict-warn    Enable strict compilation warnings
nkeynes@899
  1451
  --disable-translator    Disable the SH4 translator (Enabled by default)
nkeynes@899
  1452
  --disable-optimized     Disable compile-time optimizations (Enabled by
nkeynes@899
  1453
                          default)
nkeynes@1024
  1454
  --enable-shared         Build drivers as shared libraries (Enabled if
nkeynes@1024
  1455
                          available)
nkeynes@913
  1456
  --enable-profiled       Enable profiling build
nkeynes@586
  1457
  --enable-trace          Enable generation of IO traces (warning: hurts
nkeynes@586
  1458
                          performance)
nkeynes@586
  1459
  --enable-watch          Enable watchpoints in the debugger (warning: hurts
nkeynes@586
  1460
                          performance)
nkeynes@671
  1461
  --enable-sh4stats       Enable statistics on executed sh4 instructions
nkeynes@1
  1462
nkeynes@635
  1463
Optional Packages:
nkeynes@635
  1464
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
nkeynes@635
  1465
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
nkeynes@1239
  1466
  --with-android=SDK      Specify the location of the Android SDK
nkeynes@1239
  1467
  --with-android-ndk=NDK  Specify the location of the Android NDK
nkeynes@1239
  1468
  --with-android-version  Specify target Android SDK version
nkeynes@1245
  1469
  --with-android-version  Specify target Android NDK version
nkeynes@635
  1470
  --with-osmesa           Build with the osmesa GL library (software
nkeynes@635
  1471
                          rendering)
nkeynes@681
  1472
  --with-gtk              Build with the GTK UI. Default on X11 systems
nkeynes@714
  1473
  --with-esd              Build with support for the ESounD audio system
nkeynes@714
  1474
  --with-pulse            Build with support for the PulseAudio audio system
nkeynes@989
  1475
  --with-sdl              Build with support for SDL audio
nkeynes@635
  1476
nkeynes@1
  1477
Some influential environment variables:
nkeynes@1
  1478
  CC          C compiler command
nkeynes@1
  1479
  CFLAGS      C compiler flags
nkeynes@1
  1480
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
nkeynes@1
  1481
              nonstandard directory <lib dir>
nkeynes@426
  1482
  LIBS        libraries to pass to the linker, e.g. -l<library>
nkeynes@360
  1483
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
nkeynes@360
  1484
              you have headers in a nonstandard directory <include dir>
nkeynes@1200
  1485
  CPP         C preprocessor
nkeynes@964
  1486
  OBJC        Objective C compiler command
nkeynes@964
  1487
  OBJCFLAGS   Objective C compiler flags
nkeynes@658
  1488
  CCAS        assembler compiler command (defaults to CC)
nkeynes@658
  1489
  CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
nkeynes@180
  1490
  PKG_CONFIG  path to pkg-config utility
nkeynes@537
  1491
  LIBPNG_CFLAGS
nkeynes@537
  1492
              C compiler flags for LIBPNG, overriding pkg-config
nkeynes@537
  1493
  LIBPNG_LIBS linker flags for LIBPNG, overriding pkg-config
nkeynes@681
  1494
  GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
nkeynes@681
  1495
  GLIB_LIBS   linker flags for GLIB, overriding pkg-config
nkeynes@537
  1496
  GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
nkeynes@537
  1497
  GTK_LIBS    linker flags for GTK, overriding pkg-config
nkeynes@1211
  1498
  GLIB_FOR_BUILD_CFLAGS
nkeynes@1211
  1499
              C compiler flags for GLIB_FOR_BUILD, overriding pkg-config
nkeynes@1211
  1500
  GLIB_FOR_BUILD_LIBS
nkeynes@1211
  1501
              linker flags for GLIB_FOR_BUILD, overriding pkg-config
nkeynes@1110
  1502
  LIBISOFS_CFLAGS
nkeynes@1110
  1503
              C compiler flags for LIBISOFS, overriding pkg-config
nkeynes@1110
  1504
  LIBISOFS_LIBS
nkeynes@1110
  1505
              linker flags for LIBISOFS, overriding pkg-config
nkeynes@1110
  1506
  LIBGL_CFLAGS
nkeynes@1110
  1507
              C compiler flags for LIBGL, overriding pkg-config
nkeynes@1110
  1508
  LIBGL_LIBS  linker flags for LIBGL, overriding pkg-config
nkeynes@989
  1509
  SDL_CFLAGS  C compiler flags for SDL, overriding pkg-config
nkeynes@989
  1510
  SDL_LIBS    linker flags for SDL, overriding pkg-config
nkeynes@657
  1511
  PULSE_CFLAGS
nkeynes@657
  1512
              C compiler flags for PULSE, overriding pkg-config
nkeynes@657
  1513
  PULSE_LIBS  linker flags for PULSE, overriding pkg-config
nkeynes@529
  1514
  ESOUND_CFLAGS
nkeynes@529
  1515
              C compiler flags for ESOUND, overriding pkg-config
nkeynes@529
  1516
  ESOUND_LIBS linker flags for ESOUND, overriding pkg-config
bhaal22@643
  1517
  ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config
bhaal22@643
  1518
  ALSA_LIBS   linker flags for ALSA, overriding pkg-config
nkeynes@1
  1519
nkeynes@1
  1520
Use these variables to override the choices made by `configure' or to help
nkeynes@1
  1521
it to find libraries and programs with nonstandard names/locations.
nkeynes@1
  1522
nkeynes@1
  1523
_ACEOF
nkeynes@360
  1524
ac_status=$?
nkeynes@1
  1525
fi
nkeynes@1
  1526
nkeynes@1
  1527
if test "$ac_init_help" = "recursive"; then
nkeynes@1
  1528
  # If there are subdirs, report their specific --help.
nkeynes@1
  1529
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
nkeynes@1110
  1530
    test -d "$ac_dir" || continue
nkeynes@1
  1531
    ac_builddir=.
nkeynes@1
  1532
nkeynes@360
  1533
case "$ac_dir" in
nkeynes@360
  1534
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
nkeynes@360
  1535
*)
nkeynes@1110
  1536
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
nkeynes@360
  1537
  # A ".." for each directory in $ac_dir_suffix.
nkeynes@1110
  1538
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
nkeynes@360
  1539
  case $ac_top_builddir_sub in
nkeynes@360
  1540
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
nkeynes@360
  1541
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
nkeynes@360
  1542
  esac ;;
nkeynes@360
  1543
esac
nkeynes@360
  1544
ac_abs_top_builddir=$ac_pwd
nkeynes@360
  1545
ac_abs_builddir=$ac_pwd$ac_dir_suffix
nkeynes@360
  1546
# for backward compatibility:
nkeynes@360
  1547
ac_top_builddir=$ac_top_build_prefix
nkeynes@1
  1548
nkeynes@1
  1549
case $srcdir in
nkeynes@360
  1550
  .)  # We are building in place.
nkeynes@1
  1551
    ac_srcdir=.
nkeynes@360
  1552
    ac_top_srcdir=$ac_top_builddir_sub
nkeynes@360
  1553
    ac_abs_top_srcdir=$ac_pwd ;;
nkeynes@360
  1554
  [\\/]* | ?:[\\/]* )  # Absolute name.
nkeynes@1
  1555
    ac_srcdir=$srcdir$ac_dir_suffix;
nkeynes@360
  1556
    ac_top_srcdir=$srcdir
nkeynes@360
  1557
    ac_abs_top_srcdir=$srcdir ;;
nkeynes@360
  1558
  *) # Relative name.
nkeynes@360
  1559
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
nkeynes@360
  1560
    ac_top_srcdir=$ac_top_build_prefix$srcdir
nkeynes@360
  1561
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
nkeynes@360
  1562
esac
nkeynes@360
  1563
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
nkeynes@360
  1564
nkeynes@360
  1565
    cd "$ac_dir" || { ac_status=$?; continue; }
nkeynes@360
  1566
    # Check for guested configure.
nkeynes@360
  1567
    if test -f "$ac_srcdir/configure.gnu"; then
nkeynes@360
  1568
      echo &&
nkeynes@360
  1569
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
nkeynes@360
  1570
    elif test -f "$ac_srcdir/configure"; then
nkeynes@360
  1571
      echo &&
nkeynes@360
  1572
      $SHELL "$ac_srcdir/configure" --help=recursive
nkeynes@1
  1573
    else
nkeynes@1110
  1574
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
nkeynes@360
  1575
    fi || ac_status=$?
nkeynes@360
  1576
    cd "$ac_pwd" || { ac_status=$?; break; }
nkeynes@360
  1577
  done
nkeynes@360
  1578
fi
nkeynes@360
  1579
nkeynes@360
  1580
test -n "$ac_init_help" && exit $ac_status
nkeynes@1
  1581
if $ac_init_version; then
nkeynes@1
  1582
  cat <<\_ACEOF
nkeynes@360
  1583
configure
nkeynes@1110
  1584
generated by GNU Autoconf 2.61
nkeynes@360
  1585
nkeynes@360
  1586
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
nkeynes@1110
  1587
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
nkeynes@1
  1588
This configure script is free software; the Free Software Foundation
nkeynes@1
  1589
gives unlimited permission to copy, distribute and modify it.
nkeynes@1
  1590
_ACEOF
nkeynes@360
  1591
  exit
nkeynes@360
  1592
fi
nkeynes@360
  1593
cat >config.log <<_ACEOF
nkeynes@1
  1594
This file contains any messages produced by compilers while
nkeynes@1
  1595
running configure, to aid debugging if configure makes a mistake.
nkeynes@1
  1596
nkeynes@1
  1597
It was created by $as_me, which was
nkeynes@1110
  1598
generated by GNU Autoconf 2.61.  Invocation command line was
nkeynes@1
  1599
nkeynes@1
  1600
  $ $0 $@
nkeynes@1
  1601
nkeynes@1
  1602
_ACEOF
nkeynes@360
  1603
exec 5>>config.log
nkeynes@1
  1604
{
nkeynes@1
  1605
cat <<_ASUNAME
nkeynes@1
  1606
## --------- ##
nkeynes@1
  1607
## Platform. ##
nkeynes@1
  1608
## --------- ##
nkeynes@1
  1609
nkeynes@1
  1610
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
nkeynes@1
  1611
uname -m = `(uname -m) 2>/dev/null || echo unknown`
nkeynes@1
  1612
uname -r = `(uname -r) 2>/dev/null || echo unknown`
nkeynes@1
  1613
uname -s = `(uname -s) 2>/dev/null || echo unknown`
nkeynes@1
  1614
uname -v = `(uname -v) 2>/dev/null || echo unknown`
nkeynes@1
  1615
nkeynes@1
  1616
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
nkeynes@1
  1617
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
nkeynes@1
  1618
nkeynes@1
  1619
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
nkeynes@1
  1620
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
nkeynes@1
  1621
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
nkeynes@360
  1622
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
nkeynes@1
  1623
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
nkeynes@1
  1624
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
nkeynes@1
  1625
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
nkeynes@1
  1626
nkeynes@1
  1627
_ASUNAME
nkeynes@1
  1628
nkeynes@1
  1629
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
nkeynes@1
  1630
for as_dir in $PATH
nkeynes@1
  1631
do
nkeynes@1
  1632
  IFS=$as_save_IFS
nkeynes@1
  1633
  test -z "$as_dir" && as_dir=.
nkeynes@1110
  1634
  echo "PATH: $as_dir"
nkeynes@1
  1635
done
nkeynes@360
  1636
IFS=$as_save_IFS
nkeynes@1
  1637
nkeynes@1
  1638
} >&5
nkeynes@1
  1639
nkeynes@1
  1640
cat >&5 <<_ACEOF
nkeynes@1
  1641
nkeynes@1
  1642
nkeynes@1
  1643
## ----------- ##
nkeynes@1
  1644
## Core tests. ##
nkeynes@1
  1645
## ----------- ##
nkeynes@1
  1646
nkeynes@1
  1647
_ACEOF
nkeynes@1
  1648
nkeynes@1
  1649
nkeynes@1
  1650
# Keep a trace of the command line.
nkeynes@1
  1651
# Strip out --no-create and --no-recursion so they do not pile up.
nkeynes@1
  1652
# Strip out --silent because we don't want to record it for future runs.
nkeynes@1
  1653
# Also quote any args containing shell meta-characters.
nkeynes@1
  1654
# Make two passes to allow for proper duplicate-argument suppression.
nkeynes@1
  1655
ac_configure_args=
nkeynes@1
  1656
ac_configure_args0=
nkeynes@1
  1657
ac_configure_args1=
nkeynes@1
  1658
ac_must_keep_next=false
nkeynes@1
  1659
for ac_pass in 1 2
nkeynes@1
  1660
do
nkeynes@1
  1661
  for ac_arg
nkeynes@1
  1662
  do
nkeynes@1
  1663
    case $ac_arg in
nkeynes@1
  1664
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
nkeynes@1
  1665
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
nkeynes@1
  1666
    | -silent | --silent | --silen | --sile | --sil)
nkeynes@1
  1667
      continue ;;
nkeynes@360
  1668
    *\'*)
nkeynes@1110
  1669
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
nkeynes@1
  1670
    esac
nkeynes@1
  1671
    case $ac_pass in
nkeynes@1
  1672
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
nkeynes@1
  1673
    2)
nkeynes@1
  1674
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
nkeynes@1
  1675
      if test $ac_must_keep_next = true; then
nkeynes@1
  1676
	ac_must_keep_next=false # Got value, back to normal.
nkeynes@1
  1677
      else
nkeynes@1
  1678
	case $ac_arg in
nkeynes@1
  1679
	  *=* | --config-cache | -C | -disable-* | --disable-* \
nkeynes@1
  1680
	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
nkeynes@1
  1681
	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
nkeynes@1
  1682
	  | -with-* | --with-* | -without-* | --without-* | --x)
nkeynes@1
  1683
	    case "$ac_configure_args0 " in
nkeynes@1
  1684
	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
nkeynes@1
  1685
	    esac
nkeynes@1
  1686
	    ;;
nkeynes@1
  1687
	  -* ) ac_must_keep_next=true ;;
nkeynes@1
  1688
	esac
nkeynes@1
  1689
      fi
nkeynes@360
  1690
      ac_configure_args="$ac_configure_args '$ac_arg'"
nkeynes@1
  1691
      ;;
nkeynes@1
  1692
    esac
nkeynes@1
  1693
  done
nkeynes@1
  1694
done
nkeynes@1
  1695
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
nkeynes@1
  1696
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
nkeynes@1
  1697
nkeynes@1
  1698
# When interrupted or exit'd, cleanup temporary files, and complete
nkeynes@1
  1699
# config.log.  We remove comments because anyway the quotes in there
nkeynes@1
  1700
# would cause problems or look ugly.
nkeynes@360
  1701
# WARNING: Use '\'' to represent an apostrophe within the trap.
nkeynes@360
  1702
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
nkeynes@1
  1703
trap 'exit_status=$?
nkeynes@1
  1704
  # Save into config.log some information that might help in debugging.
nkeynes@1
  1705
  {
nkeynes@1
  1706
    echo
nkeynes@1
  1707
nkeynes@1
  1708
    cat <<\_ASBOX
nkeynes@1
  1709
## ---------------- ##
nkeynes@1
  1710
## Cache variables. ##
nkeynes@1
  1711
## ---------------- ##
nkeynes@1
  1712
_ASBOX
nkeynes@1
  1713
    echo
nkeynes@1
  1714
    # The following way of writing the cache mishandles newlines in values,
nkeynes@360
  1715
(
nkeynes@360
  1716
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
nkeynes@360
  1717
    eval ac_val=\$$ac_var
nkeynes@360
  1718
    case $ac_val in #(
nkeynes@360
  1719
    *${as_nl}*)
nkeynes@360
  1720
      case $ac_var in #(
nkeynes@1110
  1721
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
nkeynes@1110
  1722
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
nkeynes@360
  1723
      esac
nkeynes@360
  1724
      case $ac_var in #(
nkeynes@360
  1725
      _ | IFS | as_nl) ;; #(
nkeynes@360
  1726
      *) $as_unset $ac_var ;;
nkeynes@360
  1727
      esac ;;
nkeynes@360
  1728
    esac
nkeynes@360
  1729
  done
nkeynes@1
  1730
  (set) 2>&1 |
nkeynes@360
  1731
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
nkeynes@360
  1732
    *${as_nl}ac_space=\ *)
nkeynes@1
  1733
      sed -n \
nkeynes@360
  1734
	"s/'\''/'\''\\\\'\'''\''/g;
nkeynes@360
  1735
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
nkeynes@360
  1736
      ;; #(
nkeynes@360
  1737
    *)
nkeynes@360
  1738
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
nkeynes@1
  1739
      ;;
nkeynes@360
  1740
    esac |
nkeynes@360
  1741
    sort
nkeynes@360
  1742
)
nkeynes@1
  1743
    echo
nkeynes@1
  1744
nkeynes@1
  1745
    cat <<\_ASBOX
nkeynes@1
  1746
## ----------------- ##
nkeynes@1
  1747
## Output variables. ##
nkeynes@1
  1748
## ----------------- ##
nkeynes@1
  1749
_ASBOX
nkeynes@1
  1750
    echo
nkeynes@1
  1751
    for ac_var in $ac_subst_vars
nkeynes@1
  1752
    do
nkeynes@360
  1753
      eval ac_val=\$$ac_var
nkeynes@360
  1754
      case $ac_val in
nkeynes@1110
  1755
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
nkeynes@360
  1756
      esac
nkeynes@1110
  1757
      echo "$ac_var='\''$ac_val'\''"
nkeynes@1
  1758
    done | sort
nkeynes@1
  1759
    echo
nkeynes@1
  1760
nkeynes@1
  1761
    if test -n "$ac_subst_files"; then
nkeynes@1
  1762
      cat <<\_ASBOX
nkeynes@360
  1763
## ------------------- ##
nkeynes@360
  1764
## File substitutions. ##
nkeynes@360
  1765
## ------------------- ##
nkeynes@1
  1766
_ASBOX
nkeynes@1
  1767
      echo
nkeynes@1
  1768
      for ac_var in $ac_subst_files
nkeynes@1
  1769
      do
nkeynes@360
  1770
	eval ac_val=\$$ac_var
nkeynes@360
  1771
	case $ac_val in
nkeynes@1110
  1772
	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
nkeynes@360
  1773
	esac
nkeynes@1110
  1774
	echo "$ac_var='\''$ac_val'\''"
nkeynes@1
  1775
      done | sort
nkeynes@1
  1776
      echo
nkeynes@1
  1777
    fi
nkeynes@1
  1778
nkeynes@1
  1779
    if test -s confdefs.h; then
nkeynes@1
  1780
      cat <<\_ASBOX
nkeynes@1
  1781
## ----------- ##
nkeynes@1
  1782
## confdefs.h. ##
nkeynes@1
  1783
## ----------- ##
nkeynes@1
  1784
_ASBOX
nkeynes@1
  1785
      echo
nkeynes@360
  1786
      cat confdefs.h
nkeynes@1
  1787
      echo
nkeynes@1
  1788
    fi
nkeynes@1
  1789
    test "$ac_signal" != 0 &&
nkeynes@1110
  1790
      echo "$as_me: caught signal $ac_signal"
nkeynes@1110
  1791
    echo "$as_me: exit $exit_status"
nkeynes@1
  1792
  } >&5
nkeynes@360
  1793
  rm -f core *.core core.conftest.* &&
nkeynes@360
  1794
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
nkeynes@1
  1795
    exit $exit_status
nkeynes@360
  1796
' 0
nkeynes@1
  1797
for ac_signal in 1 2 13 15; do
nkeynes@1
  1798
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
nkeynes@1
  1799
done
nkeynes@1
  1800
ac_signal=0
nkeynes@1
  1801
nkeynes@1
  1802
# confdefs.h avoids OS command line length limits that DEFS can exceed.
nkeynes@360
  1803
rm -f -r conftest* confdefs.h
nkeynes@1
  1804
nkeynes@1
  1805
# Predefined preprocessor variables.
nkeynes@1
  1806
nkeynes@1
  1807
cat >>confdefs.h <<_ACEOF
nkeynes@1
  1808
#define PACKAGE_NAME "$PACKAGE_NAME"
nkeynes@1
  1809
_ACEOF
nkeynes@1
  1810
nkeynes@1
  1811
nkeynes@1
  1812
cat >>confdefs.h <<_ACEOF
nkeynes@1
  1813
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
nkeynes@1
  1814
_ACEOF
nkeynes@1
  1815
nkeynes@1
  1816
nkeynes@1
  1817
cat >>confdefs.h <<_ACEOF
nkeynes@1
  1818
#define PACKAGE_VERSION "$PACKAGE_VERSION"
nkeynes@1
  1819
_ACEOF
nkeynes@1
  1820
nkeynes@1
  1821
nkeynes@1
  1822
cat >>confdefs.h <<_ACEOF
nkeynes@1
  1823
#define PACKAGE_STRING "$PACKAGE_STRING"
nkeynes@1
  1824
_ACEOF
nkeynes@1
  1825
nkeynes@1
  1826
nkeynes@1
  1827
cat >>confdefs.h <<_ACEOF
nkeynes@1
  1828
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
nkeynes@1
  1829
_ACEOF
nkeynes@1
  1830
nkeynes@1
  1831
nkeynes@1
  1832
# Let the site file select an alternate cache file if it wants to.
nkeynes@1110
  1833
# Prefer explicitly selected file to automatically selected ones.
nkeynes@360
  1834
if test -n "$CONFIG_SITE"; then
nkeynes@1110
  1835
  set x "$CONFIG_SITE"
nkeynes@360
  1836
elif test "x$prefix" != xNONE; then
nkeynes@1110
  1837
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
nkeynes@1110
  1838
else
nkeynes@1110
  1839
  set x "$ac_default_prefix/share/config.site" \
nkeynes@1110
  1840
	"$ac_default_prefix/etc/config.site"
nkeynes@1110
  1841
fi
nkeynes@1110
  1842
shift
nkeynes@1110
  1843
for ac_site_file
nkeynes@1110
  1844
do
nkeynes@1
  1845
  if test -r "$ac_site_file"; then
nkeynes@1110
  1846
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
nkeynes@1110
  1847
echo "$as_me: loading site script $ac_site_file" >&6;}
nkeynes@1
  1848
    sed 's/^/| /' "$ac_site_file" >&5
nkeynes@1
  1849
    . "$ac_site_file"
nkeynes@1
  1850
  fi
nkeynes@1
  1851
done
nkeynes@1
  1852
nkeynes@1
  1853
if test -r "$cache_file"; then
nkeynes@1
  1854
  # Some versions of bash will fail to source /dev/null (special
nkeynes@1
  1855
  # files actually), so we avoid doing that.
nkeynes@1
  1856
  if test -f "$cache_file"; then
nkeynes@1110
  1857
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
nkeynes@1110
  1858
echo "$as_me: loading cache $cache_file" >&6;}
nkeynes@1
  1859
    case $cache_file in
nkeynes@360
  1860
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
nkeynes@360
  1861
      *)                      . "./$cache_file";;
nkeynes@1
  1862
    esac
nkeynes@1
  1863
  fi
nkeynes@1
  1864
else
nkeynes@1110
  1865
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
nkeynes@1110
  1866
echo "$as_me: creating cache $cache_file" >&6;}
nkeynes@1
  1867
  >$cache_file
nkeynes@1
  1868
fi
nkeynes@1
  1869
nkeynes@1
  1870
# Check that the precious variables saved in the cache have kept the same
nkeynes@1
  1871
# value.
nkeynes@1
  1872
ac_cache_corrupted=false
nkeynes@360
  1873
for ac_var in $ac_precious_vars; do
nkeynes@1
  1874
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
nkeynes@1
  1875
  eval ac_new_set=\$ac_env_${ac_var}_set
nkeynes@360
  1876
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
nkeynes@360
  1877
  eval ac_new_val=\$ac_env_${ac_var}_value
nkeynes@1
  1878
  case $ac_old_set,$ac_new_set in
nkeynes@1
  1879
    set,)
nkeynes@1110
  1880
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
nkeynes@1110
  1881
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
nkeynes@1
  1882
      ac_cache_corrupted=: ;;
nkeynes@1
  1883
    ,set)
nkeynes@1110
  1884
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
nkeynes@1110
  1885
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
nkeynes@1
  1886
      ac_cache_corrupted=: ;;
nkeynes@1
  1887
    ,);;
nkeynes@1
  1888
    *)
nkeynes@1
  1889
      if test "x$ac_old_val" != "x$ac_new_val"; then
nkeynes@1110
  1890
	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
nkeynes@1110
  1891
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
nkeynes@1110
  1892
	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
nkeynes@1110
  1893
echo "$as_me:   former value:  $ac_old_val" >&2;}
nkeynes@1110
  1894
	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
nkeynes@1110
  1895
echo "$as_me:   current value: $ac_new_val" >&2;}
nkeynes@1110
  1896
	ac_cache_corrupted=:
nkeynes@1
  1897
      fi;;
nkeynes@1
  1898
  esac
nkeynes@1
  1899
  # Pass precious variables to config.status.
nkeynes@1
  1900
  if test "$ac_new_set" = set; then
nkeynes@1
  1901
    case $ac_new_val in
nkeynes@1110
  1902
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
nkeynes@1
  1903
    *) ac_arg=$ac_var=$ac_new_val ;;
nkeynes@1
  1904
    esac
nkeynes@1
  1905
    case " $ac_configure_args " in
nkeynes@1
  1906
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
nkeynes@1
  1907
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
nkeynes@1
  1908
    esac
nkeynes@1
  1909
  fi
nkeynes@1
  1910
done
nkeynes@1
  1911
if $ac_cache_corrupted; then
nkeynes@1110
  1912
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
nkeynes@1110
  1913
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
nkeynes@1110
  1914
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
nkeynes@1110
  1915
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
nkeynes@1
  1916
   { (exit 1); exit 1; }; }
nkeynes@1
  1917
fi
nkeynes@1
  1918
nkeynes@360
  1919
nkeynes@360
  1920
nkeynes@360
  1921
nkeynes@360
  1922
nkeynes@360
  1923
nkeynes@360
  1924
nkeynes@360
  1925
nkeynes@360
  1926
nkeynes@360
  1927
nkeynes@360
  1928
nkeynes@360
  1929
nkeynes@360
  1930
nkeynes@360
  1931
nkeynes@360
  1932
nkeynes@360
  1933
nkeynes@360
  1934
nkeynes@1
  1935
ac_ext=c
nkeynes@1
  1936
ac_cpp='$CPP $CPPFLAGS'
nkeynes@1
  1937
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
nkeynes@1
  1938
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
nkeynes@1
  1939
ac_compiler_gnu=$ac_cv_c_compiler_gnu
nkeynes@1
  1940
nkeynes@1
  1941
nkeynes@658
  1942
am__api_version="1.9"
nkeynes@1
  1943
ac_aux_dir=
nkeynes@360
  1944
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
nkeynes@360
  1945
  if test -f "$ac_dir/install-sh"; then
nkeynes@1
  1946
    ac_aux_dir=$ac_dir
nkeynes@1
  1947
    ac_install_sh="$ac_aux_dir/install-sh -c"
nkeynes@1
  1948
    break
nkeynes@360
  1949
  elif test -f "$ac_dir/install.sh"; then
nkeynes@1
  1950
    ac_aux_dir=$ac_dir
nkeynes@1
  1951
    ac_install_sh="$ac_aux_dir/install.sh -c"
nkeynes@1
  1952
    break
nkeynes@360
  1953
  elif test -f "$ac_dir/shtool"; then
nkeynes@1
  1954
    ac_aux_dir=$ac_dir
nkeynes@1
  1955
    ac_install_sh="$ac_aux_dir/shtool install -c"
nkeynes@1
  1956
    break
nkeynes@1
  1957
  fi
nkeynes@1
  1958
done
nkeynes@1
  1959
if test -z "$ac_aux_dir"; then
nkeynes@1110
  1960
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
nkeynes@1110
  1961
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
nkeynes@360
  1962
   { (exit 1); exit 1; }; }
nkeynes@360
  1963
fi
nkeynes@360
  1964
nkeynes@360
  1965
# These three variables are undocumented and unsupported,
nkeynes@360
  1966
# and are intended to be withdrawn in a future Autoconf release.
nkeynes@360
  1967
# They can cause serious problems if a builder's source tree is in a directory
nkeynes@360
  1968
# whose full name contains unusual characters.
nkeynes@360
  1969
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
nkeynes@360
  1970
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
nkeynes@360
  1971
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
nkeynes@360
  1972
nkeynes@1
  1973
nkeynes@1
  1974
# Find a good install program.  We prefer a C program (faster),
nkeynes@1
  1975
# so one script is as good as another.  But avoid the broken or
nkeynes@1
  1976
# incompatible versions:
nkeynes@1
  1977
# SysV /etc/install, /usr/sbin/install
nkeynes@1
  1978
# SunOS /usr/etc/install
nkeynes@1
  1979
# IRIX /sbin/install
nkeynes@1
  1980
# AIX /bin/install
nkeynes@1
  1981
# AmigaOS /C/install, which installs bootblocks on floppy discs
nkeynes@1
  1982
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
nkeynes@1
  1983
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
nkeynes@1
  1984
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
nkeynes@1
  1985
# OS/2's system install, which has a completely different semantic
nkeynes@1
  1986
# ./install, which can be erroneously created by make from ./install.sh.
nkeynes@1110
  1987
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
nkeynes@1110
  1988
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
nkeynes@1
  1989
if test -z "$INSTALL"; then
nkeynes@1
  1990
if test "${ac_cv_path_install+set}" = set; then
nkeynes@1110
  1991
  echo $ECHO_N "(cached) $ECHO_C" >&6
nkeynes@1
  1992
else
nkeynes@1
  1993
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
nkeynes@1
  1994
for as_dir in $PATH
nkeynes@1
  1995
do
nkeynes@1
  1996
  IFS=$as_save_IFS
nkeynes@1
  1997
  test -z "$as_dir" && as_dir=.
nkeynes@1
  1998
  # Account for people who put trailing slashes in PATH elements.
nkeynes@1
  1999
case $as_dir/ in
nkeynes@1
  2000
  ./ | .// | /cC/* | \
nkeynes@1
  2001
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
nkeynes@1
  2002
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
nkeynes@1
  2003
  /usr/ucb/* ) ;;
nkeynes@1
  2004
  *)
nkeynes@1
  2005
    # OSF1 and SCO ODT 3.0 have their own names for install.
nkeynes@1
  2006
    # Don't use installbsd from OSF since it installs stuff as root
nkeynes@1
  2007
    # by default.
nkeynes@1
  2008
    for ac_prog in ginstall scoinst install; do
nkeynes@1
  2009
      for ac_exec_ext in '' $ac_executable_extensions; do
nkeynes@426
  2010
	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
nkeynes@1
  2011
	  if test $ac_prog = install &&
nkeynes@1
  2012
	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
nkeynes@1
  2013
	    # AIX install.  It has an incompatible calling convention.
nkeynes@1
  2014
	    :
nkeynes@1
  2015
	  elif test $ac_prog = install &&
nkeynes@1
  2016
	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
nkeynes@1
  2017
	    # program-specific install script used by HP pwplus--don't use.
nkeynes@1
  2018
	    :
nkeynes@1
  2019
	  else
nkeynes@1110
  2020
	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
nkeynes@1110
  2021
	    break 3
nkeynes@1
  2022
	  fi
nkeynes@1
  2023
	fi
nkeynes@1
  2024
      done
nkeynes@1
  2025
    done
nkeynes@1
  2026
    ;;
nkeynes@1
  2027
esac
nkeynes@1110
  2028
done
nkeynes@1110
  2029
IFS=$as_save_IFS
nkeynes@1110
  2030
nkeynes@1
  2031
nkeynes@1
  2032
fi
nkeynes@1
  2033
  if test "${ac_cv_path_install+set}" = set; then
nkeynes@1
  2034
    INSTALL=$ac_cv_path_install
nkeynes@1
  2035
  else
nkeynes@360
  2036
    # As a last resort, use the slow shell script.  Don't cache a
nkeynes@360
  2037
    # value for INSTALL within a source directory, because that will
nkeynes@1
  2038
    # break other packages using the cache if that directory is
nkeynes@360
  2039
    # removed, or if the value is a relative name.
nkeynes@1
  2040
    INSTALL=$ac_install_sh
nkeynes@1
  2041
  fi
nkeynes@1
  2042
fi
nkeynes@1110
  2043
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
nkeynes@1110
  2044
echo "${ECHO_T}$INSTALL" >&6; }
nkeynes@1
  2045
nkeynes@1
  2046
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
nkeynes@1
  2047
# It thinks the first close brace ends the variable substitution.
nkeynes@1
  2048
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
nkeynes@1
  2049
nkeynes@1
  2050
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
nkeynes@1
  2051
nkeynes@1
  2052
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
nkeynes@1
  2053
nkeynes@1110
  2054
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
nkeynes@1110
  2055
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
nkeynes@1
  2056
# Just in case
nkeynes@1
  2057
sleep 1
nkeynes@1
  2058
echo timestamp > conftest.file
nkeynes@1
  2059
# Do `set' in a subshell so we don't clobber the current shell's
nkeynes@1
  2060
# arguments.  Must try -L first in case configure is actually a
nkeynes@1
  2061
# symlink; some systems play weird games with the mod time of symlinks
nkeynes@1
  2062
# (eg FreeBSD returns the mod time of the symlink's containing
nkeynes@1
  2063
# directory).
nkeynes@1
  2064
if (
nkeynes@1
  2065
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
nkeynes@1
  2066
   if test "$*" = "X"; then
nkeynes@1
  2067
      # -L didn't work.
nkeynes@1
  2068
      set X `ls -t $srcdir/configure conftest.file`
nkeynes@1
  2069
   fi
nkeynes@1
  2070
   rm -f conftest.file
nkeynes@1
  2071
   if test "$*" != "X $srcdir/configure conftest.file" \
nkeynes@1
  2072
      && test "$*" != "X conftest.file $srcdir/configure"; then
nkeynes@1
  2073
nkeynes@1
  2074
      # If neither matched, then we have a broken ls.  This can happen
nkeynes@1
  2075
      # if, for instance, CONFIG_SHELL is bash and it inherits a
nkeynes@1
  2076
      # broken ls alias from the environment.  This has actually
nkeynes@1
  2077
      # happened.  Such a system could not be considered "sane".
nkeynes@1110
  2078
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
nkeynes@1
  2079
alias in your environment" >&5
nkeynes@1110
  2080
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
nkeynes@1
  2081
alias in your environment" >&2;}
nkeynes@1
  2082
   { (exit 1); exit 1; }; }
nkeynes@1
  2083
   fi
nkeynes@1
  2084
nkeynes@1
  2085
   test "$2" = conftest.file
nkeynes@1
  2086
   )
nkeynes@1
  2087
then
nkeynes@1
  2088
   # Ok.
nkeynes@1
  2089
   :
nkeynes@1
  2090
else
nkeynes@1110
  2091
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
nkeynes@1
  2092
Check your system clock" >&5
nkeynes@1110
  2093
echo "$as_me: error: newly created file is older than distributed files!
nkeynes@1
  2094
Check your system clock" >&2;}
nkeynes@1
  2095
   { (exit 1); exit 1; }; }
nkeynes@1
  2096
fi
nkeynes@1110
  2097
{ echo "$as_me:$LINENO: result: yes" >&5
nkeynes@1110
  2098
echo "${ECHO_T}yes" >&6; }
nkeynes@1
  2099
test "$program_prefix" != NONE &&
nkeynes@360
  2100
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
nkeynes@1
  2101
# Use a double $ so make ignores it.
nkeynes@1
  2102
test "$program_suffix" != NONE &&
nkeynes@360
  2103
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
nkeynes@1110
  2104
# Double any \ or $.  echo might interpret backslashes.
nkeynes@1
  2105
# By default was `s,x,x', remove it if useless.
nkeynes@1110
  2106
cat <<\_ACEOF >conftest.sed
nkeynes@1110
  2107
s/[\\$]/&&/g;s/;s,x,x,$//
nkeynes@1110
  2108
_ACEOF
nkeynes@1110
  2109
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
nkeynes@1110
  2110
rm -f conftest.sed
nkeynes@1
  2111
nkeynes@1
  2112
# expand $ac_aux_dir to an absolute path
nkeynes@1
  2113
am_aux_dir=`cd $ac_aux_dir && pwd`
nkeynes@1
  2114
nkeynes@1
  2115
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
nkeynes@1
  2116
# Use eval to expand $SHELL
nkeynes@1
  2117
if eval "$MISSING --run true"; then
nkeynes@1
  2118
  am_missing_run="$MISSING --run "
nkeynes@1
  2119
else
nkeynes@1
  2120
  am_missing_run=
nkeynes@1110
  2121
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
nkeynes@1110
  2122
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
nkeynes@658
  2123
fi
nkeynes@658
  2124
nkeynes@658
  2125
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
nkeynes@658
  2126
  # We used to keeping the `.' as first argument, in order to
nkeynes@658
  2127
  # allow $(mkdir_p) to be used without argument.  As in
nkeynes@658
  2128
  #   $(mkdir_p) $(somedir)
nkeynes@658
  2129
  # where $(somedir) is conditionally defined.  However this is wrong
nkeynes@658
  2130
  # for two reasons:
nkeynes@658
  2131
  #  1. if the package is installed by a user who cannot write `.'
nkeynes@658
  2132
  #     make install will fail,
nkeynes@658
  2133
  #  2. the above comment should most certainly read
nkeynes@658
  2134
  #     $(mkdir_p) $(DESTDIR)$(somedir)
nkeynes@658
  2135
  #     so it does not work when $(somedir) is undefined and
nkeynes@658
  2136
  #     $(DESTDIR) is not.
nkeynes@658
  2137
  #  To support the latter case, we have to write
nkeynes@658
  2138
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
nkeynes@658
  2139
  #  so the `.' trick is pointless.
nkeynes@658
  2140
  mkdir_p='mkdir -p --'
nkeynes@658
  2141
else
nkeynes@658
  2142
  # On NextStep and OpenStep, the `mkdir' command does not
nkeynes@658
  2143
  # recognize any option.  It will interpret all options as
nkeynes@658
  2144
  # directories to create, and then abort because `.' already
nkeynes@658
  2145
  # exists.
nkeynes@658
  2146
  for d in ./-p ./--version;
nkeynes@658
  2147
  do
nkeynes@658
  2148
    test -d $d && rmdir $d
nkeynes@658
  2149
  done
nkeynes@658
  2150
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
nkeynes@658
  2151
  if test -f "$ac_aux_dir/mkinstalldirs"; then
nkeynes@658
  2152
    mkdir_p='$(mkinstalldirs)'
nkeynes@658
  2153
  else
nkeynes@658
  2154
    mkdir_p='$(install_sh) -d'
nkeynes@658
  2155
  fi
nkeynes@1
  2156
fi
nkeynes@1
  2157
nkeynes@1
  2158
for ac_prog in gawk mawk nawk awk
nkeynes@1
  2159
do
nkeynes@1
  2160
  # Extract the first word of "$ac_prog", so it can be a program name with args.
nkeynes@1
  2161
set dummy $ac_prog; ac_word=$2
nkeynes@1110
  2162
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
nkeynes@1110
  2163
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
nkeynes@1
  2164
if test "${ac_cv_prog_AWK+set}" = set; then
nkeynes@1110
  2165
  echo $ECHO_N "(cached) $ECHO_C" >&6
nkeynes@1
  2166
else
nkeynes@1
  2167
  if test -n "$AWK"; then
nkeynes@1
  2168
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
nkeynes@1
  2169
else
nkeynes@1
  2170
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
nkeynes@1
  2171
for as_dir in $PATH
nkeynes@1
  2172
do
nkeynes@1
  2173
  IFS=$as_save_IFS
nkeynes@1
  2174
  test -z "$as_dir" && as_dir=.
nkeynes@1
  2175
  for ac_exec_ext in '' $ac_executable_extensions; do
nkeynes@426
  2176
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
nkeynes@1
  2177
    ac_cv_prog_AWK="$ac_prog"
nkeynes@1110
  2178
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
nkeynes@1
  2179
    break 2
nkeynes@1
  2180
  fi
nkeynes@1
  2181
done
nkeynes@1
  2182
done
nkeynes@360
  2183
IFS=$as_save_IFS
nkeynes@1
  2184
nkeynes@1
  2185
fi
nkeynes@1
  2186
fi
nkeynes@1
  2187
AWK=$ac_cv_prog_AWK
nkeynes@1
  2188
if test -n "$AWK"; then
nkeynes@1110
  2189
  { echo "$as_me:$LINENO: result: $AWK" >&5
nkeynes@1110
  2190
echo "${ECHO_T}$AWK" >&6; }
nkeynes@1110
  2191
else
nkeynes@1110
  2192
  { echo "$as_me:$LINENO: result: no" >&5
nkeynes@1110
  2193
echo "${ECHO_T}no" >&6; }
nkeynes@360
  2194
fi
nkeynes@360
  2195
nkeynes@1
  2196
nkeynes@1
  2197
  test -n "$AWK" && break
nkeynes@1
  2198
done
nkeynes@1
  2199
nkeynes@1110
  2200
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
nkeynes@1110
  2201
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
nkeynes@1110
  2202
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
nkeynes@360
  2203
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
nkeynes@1110
  2204
  echo $ECHO_N "(cached) $ECHO_C" >&6
nkeynes@1
  2205
else
nkeynes@1
  2206
  cat >conftest.make <<\_ACEOF
nkeynes@360
  2207
SHELL = /bin/sh
nkeynes@1
  2208
all:
nkeynes@360
  2209
	@echo '@@@%%%=$(MAKE)=@@@%%%'
nkeynes@1
  2210
_ACEOF
nkeynes@1
  2211
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
nkeynes@360
  2212
case `${MAKE-make} -f conftest.make 2>/dev/null` in
nkeynes@360
  2213
  *@@@%%%=?*=@@@%%%*)
nkeynes@360
  2214
    eval ac_cv_prog_make_${ac_make}_set=yes;;
nkeynes@360
  2215
  *)
nkeynes@360
  2216
    eval ac_cv_prog_make_${ac_make}_set=no;;
nkeynes@360
  2217
esac
nkeynes@1
  2218
rm -f conftest.make
nkeynes@1
  2219
fi
nkeynes@360
  2220
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
nkeynes@1110
  2221
  { echo "$as_me:$LINENO: result: yes" >&5
nkeynes@1110
  2222
echo "${ECHO_T}yes" >&6; }
nkeynes@1
  2223
  SET_MAKE=
nkeynes@1
  2224
else
nkeynes@1110
  2225
  { echo "$as_me:$LINENO: result: no" >&5
nkeynes@1110
  2226
echo "${ECHO_T}no" >&6; }
nkeynes@1
  2227
  SET_MAKE="MAKE=${MAKE-make}"
nkeynes@1
  2228
fi
nkeynes@1
  2229
nkeynes@1
  2230
rm -rf .tst 2>/dev/null
nkeynes@1
  2231
mkdir .tst 2>/dev/null
nkeynes@1
  2232
if test -d .tst; then
nkeynes@1
  2233
  am__leading_dot=.
nkeynes@1
  2234
else
nkeynes@1
  2235
  am__leading_dot=_
nkeynes@1
  2236
fi
nkeynes@1
  2237
rmdir .tst 2>/dev/null
nkeynes@1
  2238
nkeynes@658
  2239
# test to see if srcdir already configured
nkeynes@1
  2240
if test "`cd $srcdir && pwd`" != "`pwd`" &&
nkeynes@1
  2241
   test -f $srcdir/config.status; then
nkeynes@1110
  2242
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
nkeynes@1110
  2243
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
nkeynes@1
  2244
   { (exit 1); exit 1; }; }
nkeynes@1
  2245
fi
nkeynes@1
  2246
nkeynes@1
  2247
# test whether we have cygpath
nkeynes@1
  2248
if test -z "$CYGPATH_W"; then
nkeynes@1
  2249
  if (cygpath --version) >/dev/null 2>/dev/null; then
nkeynes@1
  2250
    CYGPATH_W='cygpath -w'
nkeynes@1
  2251
  else
nkeynes@1
  2252
    CYGPATH_W=echo
nkeynes@1
  2253
  fi
nkeynes@1
  2254
fi
nkeynes@1
  2255
nkeynes@1
  2256
nkeynes@1
  2257
# Define the identity of the package.
nkeynes@503
  2258
 PACKAGE=lxdream
nkeynes@1046
  2259
 VERSION=0.9.1
nkeynes@1
  2260
nkeynes@1
  2261
nkeynes@1
  2262
cat >>confdefs.h <<_ACEOF
nkeynes@1
  2263
#define PACKAGE "$PACKAGE"
nkeynes@1
  2264
_ACEOF
nkeynes@1
  2265
nkeynes@1
  2266
nkeynes@1
  2267
cat >>confdefs.h <<_ACEOF
nkeynes@1
  2268
#define VERSION "$VERSION"
nkeynes@1
  2269
_ACEOF
nkeynes@1
  2270
nkeynes@1
  2271
# Some tools Automake needs.
nkeynes@1
  2272
nkeynes@1
  2273
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
nkeynes@1
  2274
nkeynes@1
  2275
nkeynes@1
  2276
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
nkeynes@1
  2277
nkeynes@1
  2278
nkeynes@1
  2279
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
nkeynes@1
  2280
nkeynes@1
  2281
nkeynes@1
  2282
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
nkeynes@1
  2283
nkeynes@1
  2284
nkeynes@1
  2285
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
nkeynes@1
  2286
nkeynes@1
  2287
install_sh=${install_sh-"$am_aux_dir/install-sh"}
nkeynes@1
  2288
nkeynes@1
  2289
# Installed binaries are usually stripped using `strip' when the user
nkeynes@1
  2290
# run `make install-strip'.  However `strip' might not be the right
nkeynes@1
  2291
# tool to use in cross-compilation environments, therefore Automake
nkeynes@1
  2292
# will honor the `STRIP' environment variable to overrule this program.
nkeynes@1
  2293
if test "$cross_compiling" != no; then
nkeynes@1
  2294
  if test -n "$ac_tool_prefix"; then
nkeynes@1
  2295
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
nkeynes@1
  2296
set dummy ${ac_tool_prefix}strip; ac_word=$2
nkeynes@1110
  2297
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
nkeynes@1110
  2298
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
nkeynes@1
  2299
if test "${ac_cv_prog_STRIP+set}" = set; then
nkeynes@1110
  2300
  echo $ECHO_N "(cached) $ECHO_C" >&6
nkeynes@1
  2301
else
nkeynes@1
  2302
  if test -n "$STRIP"; then
nkeynes@1
  2303
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
nkeynes@1
  2304
else
nkeynes@1
  2305
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
nkeynes@1
  2306
for as_dir in $PATH
nkeynes@1
  2307
do
nkeynes@1
  2308
  IFS=$as_save_IFS
nkeynes@1
  2309
  test -z "$as_dir" && as_dir=.
nkeynes@1
  2310
  for ac_exec_ext in '' $ac_executable_extensions; do
nkeynes@426
  2311
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
nkeynes@1
  2312
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
nkeynes@1110
  2313
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
nkeynes@1
  2314
    break 2
nkeynes@1
  2315
  fi
nkeynes@1
  2316
done
nkeynes@1
  2317
done
nkeynes@360
  2318
IFS=$as_save_IFS
nkeynes@1
  2319
nkeynes@1
  2320
fi
nkeynes@1
  2321
fi
nkeynes@1
  2322
STRIP=$ac_cv_prog_STRIP
nkeynes@1
  2323
if test -n "$STRIP"; then
nkeynes@1110
  2324
  { echo "$as_me:$LINENO: result: $STRIP" >&5
nkeynes@1110
  2325
echo "${ECHO_T}$STRIP" >&6; }
nkeynes@1110
  2326
else
nkeynes@1110
  2327
  { echo "$as_me:$LINENO: result: no" >&5
nkeynes@1110
  2328
echo "${ECHO_T}no" >&6; }
nkeynes@360
  2329
fi
nkeynes@360
  2330
nkeynes@1
  2331
nkeynes@1
  2332
fi
nkeynes@1
  2333
if test -z "$ac_cv_prog_STRIP"; then
nkeynes@1
  2334
  ac_ct_STRIP=$STRIP
nkeynes@1
  2335
  # Extract the first word of "strip", so it can be a program name with args.
nkeynes@1
  2336
set dummy strip; ac_word=$2
nkeynes@1110
  2337
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
nkeynes@1110
  2338
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
nkeynes@1
  2339
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
nkeynes@1110
  2340
  echo $ECHO_N "(cached) $ECHO_C" >&6
nkeynes@1
  2341
else
nkeynes@1
  2342
  if test -n "$ac_ct_STRIP"; then
nkeynes@1
  2343
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
nkeynes@1
  2344
else
nkeynes@1
  2345
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
nkeynes@1
  2346
for as_dir in $PATH
nkeynes@1
  2347
do
nkeynes@1
  2348
  IFS=$as_save_IFS
nkeynes@1
  2349
  test -z "$as_dir" && as_dir=.
nkeynes@1
  2350
  for ac_exec_ext in '' $ac_executable_extensions; do
nkeynes@426
  2351
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
nkeynes@1
  2352
    ac_cv_prog_ac_ct_STRIP="strip"
nkeynes@1110
  2353
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
nkeynes@1
  2354
    break 2
nkeynes@1
  2355
  fi
nkeynes@1
  2356
done
nkeynes@1
  2357
done
nkeynes@360
  2358
IFS=$as_save_IFS
nkeynes@360
  2359
nkeynes@1
  2360
fi
nkeynes@1
  2361
fi
nkeynes@1
  2362
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
nkeynes@1
  2363
if test -n "$ac_ct_STRIP"; then
nkeynes@1110
  2364
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
nkeynes@1110
  2365
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
nkeynes@1110
  2366
else
nkeynes@1110
  2367
  { echo "$as_me:$LINENO: result: no" >&5
nkeynes@1110
  2368
echo "${ECHO_T}no" >&6; }
nkeynes@360
  2369
fi
nkeynes@360
  2370
nkeynes@360
  2371
  if test "x$ac_ct_STRIP" = x; then
nkeynes@360
  2372
    STRIP=":"
nkeynes@360
  2373
  else
nkeynes@360
  2374
    case $cross_compiling:$ac_tool_warned in
nkeynes@360
  2375
yes:)
nkeynes@1110
  2376
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
nkeynes@1110
  2377
whose name does not start with the host triplet.  If you think this
nkeynes@1110
  2378
configuration is useful to you, please write to autoconf@gnu.org." >&5
nkeynes@1110
  2379
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
nkeynes@1110
  2380
whose name does not start with the host triplet.  If you think this
nkeynes@1110
  2381
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
nkeynes@360
  2382
ac_tool_warned=yes ;;
nkeynes@360
  2383
esac
nkeynes@360
  2384
    STRIP=$ac_ct_STRIP
nkeynes@360
  2385
  fi
nkeynes@1
  2386
else
nkeynes@1
  2387
  STRIP="$ac_cv_prog_STRIP"
nkeynes@1
  2388
fi
nkeynes@1
  2389
nkeynes@1
  2390
fi
nkeynes@1
  2391
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
nkeynes@1
  2392
nkeynes@1
  2393
# We need awk for the "check" target.  The system "awk" is bad on
nkeynes@1
  2394
# some platforms.
nkeynes@658
  2395
# Always define AMTAR for backward compatibility.
nkeynes@658
  2396
nkeynes@658
  2397
AMTAR=${AMTAR-"${am_missing_run}tar"}
nkeynes@658
  2398
nkeynes@658
  2399
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
nkeynes@658
  2400
nkeynes@658
  2401
nkeynes@658
  2402
nkeynes@658
  2403
nkeynes@658
  2404
nkeynes@1110
  2405
{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
nkeynes@1110
  2406
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
nkeynes@360
  2407
    # Check whether --enable-maintainer-mode was given.
nkeynes@1
  2408
if test "${enable_maintainer_mode+set}" = set; then
nkeynes@360
  2409
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
nkeynes@1
  2410
else
nkeynes@1
  2411
  USE_MAINTAINER_MODE=no
nkeynes@360
  2412
fi
nkeynes@360
  2413
nkeynes@1110
  2414
  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
nkeynes@1110
  2415
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
nkeynes@1
  2416
nkeynes@1
  2417
nkeynes@1
  2418
if test $USE_MAINTAINER_MODE = yes; then
nkeynes@1
  2419
  MAINTAINER_MODE_TRUE=
nkeynes@1
  2420
  MAINTAINER_MODE_FALSE='#'
nkeynes@1
  2421
else
nkeynes@1
  2422
  MAINTAINER_MODE_TRUE='#'
nkeynes@1
  2423
  MAINTAINER_MODE_FALSE=
nkeynes@1
  2424
fi
nkeynes@1
  2425
nkeynes@1
  2426
  MAINT=$MAINTAINER_MODE_TRUE
nkeynes@1
  2427
nkeynes@1
  2428
nkeynes@360
  2429
ac_config_headers="$ac_config_headers config.h"
nkeynes@1
  2430
nkeynes@1
  2431
nkeynes@1211
  2432
# Make sure we can run config.sub.
nkeynes@1211
  2433
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
nkeynes@1211
  2434
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
nkeynes@1211
  2435
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
nkeynes@1211
  2436
   { (exit 1); exit 1; }; }
nkeynes@1211
  2437
nkeynes@1211
  2438
{ echo "$as_me:$LINENO: checking build system type" >&5
nkeynes@1211
  2439
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
nkeynes@1211
  2440
if test "${ac_cv_build+set}" = set; then
nkeynes@1211
  2441
  echo $ECHO_N "(cached) $ECHO_C" >&6
nkeynes@1211
  2442
else
nkeynes@1211
  2443
  ac_build_alias=$build_alias
nkeynes@1211
  2444
test "x$ac_build_alias" = x &&
nkeynes@1211
  2445
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
nkeynes@1211
  2446
test "x$ac_build_alias" = x &&
nkeynes@1211
  2447
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
nkeynes@1211
  2448
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
nkeynes@1211
  2449
   { (exit 1); exit 1; }; }
nkeynes@1211
  2450
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
nkeynes@1211
  2451
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
nkeynes@1211
  2452
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
nkeynes@1211
  2453
   { (exit 1); exit 1; }; }
nkeynes@1211
  2454
nkeynes@1211
  2455
fi
nkeynes@1211
  2456
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
nkeynes@1211
  2457
echo "${ECHO_T}$ac_cv_build" >&6; }
nkeynes@1211
  2458
case $ac_cv_build in
nkeynes@1211
  2459
*-*-*) ;;
nkeynes@1211
  2460
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
nkeynes@1211
  2461
echo "$as_me: error: invalid value of canonical build" >&2;}
nkeynes@1211
  2462
   { (exit 1); exit 1; }; };;
nkeynes@1211
  2463
esac
nkeynes@1211
  2464
build=$ac_cv_build
nkeynes@1211
  2465
ac_save_IFS=$IFS; IFS='-'
nkeynes@1211
  2466
set x $ac_cv_build
nkeynes@1211
  2467
shift
nkeynes@1211
  2468
build_cpu=$1
nkeynes@1211
  2469
build_vendor=$2
nkeynes@1211
  2470
shift; shift
nkeynes@1211
  2471
# Remember, the first character of IFS is used to create $*,
nkeynes@1211
  2472
# except with old shells:
nkeynes@1211
  2473
build_os=$*
nkeynes@1211
  2474
IFS=$ac_save_IFS
nkeynes@1211
  2475
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
nkeynes@1211
  2476
nkeynes@1211
  2477
nkeynes@1211
  2478
{ echo "$as_me:$LINENO: checking host system type" >&5
nkeynes@1211
  2479
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
nkeynes@1211
  2480
if test "${ac_cv_host+set}" = set; then
nkeynes@1211
  2481
  echo $ECHO_N "(cached) $ECHO_C" >&6
nkeynes@1211
  2482
else
nkeynes@1211
  2483
  if test "x$host_alias" = x; then
nkeynes@1211
  2484
  ac_cv_host=$ac_cv_build
nkeynes@1211
  2485
else
nkeynes@1211
  2486
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
nkeynes@1211
  2487
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
nkeynes@1211
  2488
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
nkeynes@1211
  2489
   { (exit 1); exit 1; }; }
nkeynes@1211
  2490
fi
nkeynes@1211
  2491
nkeynes@1211
  2492
fi
nkeynes@1211
  2493
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
nkeynes@1211
  2494
echo "${ECHO_T}$ac_cv_host" >&6; }
nkeynes@1211
  2495
case $ac_cv_host in
nkeynes@1211
  2496
*-*-*) ;;
nkeynes@1211
  2497
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
nkeynes@1211
  2498
echo "$as_me: error: invalid value of canonical host" >&2;}
nkeynes@1211
  2499
   { (exit 1); exit 1; }; };;
nkeynes@1211
  2500
esac
nkeynes@1211
  2501
host=$ac_cv_host
nkeynes@1211
  2502
ac_save_IFS=$IFS; IFS='-'
nkeynes@1211
  2503
set x $ac_cv_host
nkeynes@1211
  2504
shift
nkeynes@1211
  2505
host_cpu=$1
nkeynes@1211
  2506
host_vendor=$2
nkeynes@1211
  2507
shift; shift
nkeynes@1211
  2508
# Remember, the first character of IFS is used to create $*,
nkeynes@1211
  2509
# except with old shells:
nkeynes@1211
  2510
host_os=$*
nkeynes@1211
  2511
IFS=$ac_save_IFS
nkeynes@1211
  2512
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
nkeynes@1211
  2513
nkeynes@1211
  2514
nkeynes@1211
  2515
nkeynes@1211
  2516
nkeynes@1211
  2517
nkeynes@1211
  2518
nkeynes@1211
  2519
nkeynes@1211
  2520
nkeynes@1211
  2521
nkeynes@1211
  2522
nkeynes@1239
  2523
# LX_ANDROID_BUILD
nkeynes@1239
  2524
# Defines --with-android, --with-android-ndk, and --with-android-version
nkeynes@1239
  2525
# If specified, checks for a working install, and sets build parameters
nkeynes@1239
  2526
# appropriately for an Android host.
nkeynes@1239
  2527
nkeynes@1239
  2528
nkeynes@1239
  2529
nkeynes@1239
  2530
nkeynes@1239
  2531
nkeynes@1239
  2532
# Check whether --with-android was given.
nkeynes@1239
  2533
if test "${with_android+set}" = set; then
nkeynes@1239
  2534
  withval=$with_android;
nkeynes@1239
  2535
fi
nkeynes@1239
  2536
nkeynes@1239
  2537
nkeynes@1239
  2538
# Check whether --with-android-ndk was given.
nkeynes@1239
  2539
if test "${with_android_ndk+set}" = set; then
nkeynes@1239
  2540
  withval=$with_android_ndk;
nkeynes@1239
  2541
fi
nkeynes@1239
  2542
nkeynes@1239
  2543
nkeynes@1239
  2544
# Check whether --with-android-version was given.
nkeynes@1239
  2545
if test "${with_android_version+set}" = set; then
nkeynes@1239
  2546
  withval=$with_android_version;
nkeynes@1239
  2547
else
nkeynes@1245
  2548
  with_android_version="android-11"
nkeynes@1245
  2549
fi
nkeynes@1245
  2550
nkeynes@1245
  2551
nkeynes@1245
  2552
# Check whether --with-android-ndk-version was given.
nkeynes@1245
  2553
if test "${with_android_ndk_version+set}" = set; then
nkeynes@1245
  2554
  withval=$with_android_ndk_version;
nkeynes@1245
  2555
else
nkeynes@1245
  2556
  with_ndk_version="android-9"
nkeynes@1239
  2557
fi
nkeynes@1239
  2558
nkeynes@1239
  2559
nkeynes@1239
  2560
   if test "x$with_android" != "x"; then
nkeynes@1239
  2561
      if test "$with_android" = "yes"; then
nkeynes@1239
  2562
         { { echo "$as_me:$LINENO: error: --with-android option must be given with the path to the Android SDK " >&5
nkeynes@1239
  2563
echo "$as_me: error: --with-android option must be given with the path to the Android SDK " >&2;}
nkeynes@1239
  2564
   { (exit 1); exit 1; }; }
nkeynes@1239
  2565
      fi
nkeynes@1239
  2566
      if test "x$with_android_ndk" = "x" -o "x$with_android_ndk" = "xyes"; then
nkeynes@1239
  2567
         { { echo "$as_me:$LINENO: error: --with-android-ndk=/path/to/ndk option must be used with --with-android " >&5
nkeynes@1239
  2568
echo "$as_me: error: --with-android-ndk=/path/to/ndk option must be used with --with-android " >&2;}
nkeynes@1239
  2569
   { (exit 1); exit 1; }; }
nkeynes@1239
  2570
      fi
nkeynes@1239
  2571
nkeynes@1239
  2572
      ANDROID_SDK_HOME="$with_android"
nkeynes@1239
  2573
      ANDROID_NDK_HOME="$with_android_ndk"
nkeynes@1239
  2574
      ANDROID_SDK_VERSION="$with_android_version"
nkeynes@1245
  2575
      ANDROID_NDK_VERSION="$with_ndk_version"
nkeynes@1239
  2576
nkeynes@1239
  2577
      as_ac_File=`echo "ac_cv_file_$ANDROID_SDK_HOME/tools/ant/pre_setup.xml" | $as_tr_sh`
nkeynes@1239
  2578
{ echo "$as_me:$LINENO: checking for $ANDROID_SDK_HOME/tools/ant/pre_setup.xml" >&5
nkeynes@1239
  2579
echo $ECHO_N "checking for $ANDROID_SDK_HOME/tools/ant/pre_setup.xml... $ECHO_C" >&6; }
nkeynes@1239
  2580
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
nkeynes@1239
  2581
  echo $ECHO_N "(cached) $ECHO_C" >&6
nkeynes@1239
  2582
else
nkeynes@1239
  2583
  test "$cross_compiling" = yes &&
nkeynes@1239
  2584
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
nkeynes@1239
  2585
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
nkeynes@1239
  2586
   { (exit 1); exit 1; }; }
nkeynes@1239
  2587
if test -r "$ANDROID_SDK_HOME/tools/ant/pre_setup.xml"; then
nkeynes@1239
  2588
  eval "$as_ac_File=yes"
nkeynes@1239
  2589
else
nkeynes@1239
  2590
  eval "$as_ac_File=no"
nkeynes@1239
  2591
fi
nkeynes@1239
  2592
fi
nkeynes@1239
  2593
ac_res=`eval echo '${'$as_ac_File'}'`
nkeynes@1239
  2594
	       { echo "$as_me:$LINENO: result: $ac_res" >&5
nkeynes@1239
  2595
echo "${ECHO_T}$ac_res" >&6; }
nkeynes@1239
  2596
if test `eval echo '${'$as_ac_File'}'` = yes; then
nkeynes@1239
  2597
  :
nkeynes@1239
  2598
else
nkeynes@1239
  2599
   { { echo "$as_me:$LINENO: error: Android SDK not found in $ANDROID_SDK_HOME" >&5
nkeynes@1239
  2600
echo "$as_me: error: Android SDK not found in $ANDROID_SDK_HOME" >&2;}
nkeynes@1239
  2601
   { (exit 1); exit 1; }; }
nkeynes@1239
  2602
fi
nkeynes@1239
  2603
nkeynes@1239
  2604
      as_ac_File=`echo "ac_cv_file_$ANDROID_SDK_HOME/platforms/$ANDROID_SDK_VERSION/sdk.properties" | $as_tr_sh`
nkeynes@1239
  2605
{ echo "$as_me:$LINENO: checking for $ANDROID_SDK_HOME/platforms/$ANDROID_SDK_VERSION/sdk.properties" >&5
nkeynes@1239
  2606
echo $ECHO_N "checking for $ANDROID_SDK_HOME/platforms/$ANDROID_SDK_VERSION/sdk.properties... $ECHO_C" >&6; }
nkeynes@1239
  2607
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
nkeynes@1239
  2608
  echo $ECHO_N "(cached) $ECHO_C" >&6
nkeynes@1239
  2609
else
nkeynes@1239
  2610
  test "$cross_compiling" = yes &&
nkeynes@1239
  2611
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
nkeynes@1239
  2612
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
nkeynes@1239
  2613
   { (exit 1); exit 1; }; }
nkeynes@1239
  2614
if test -r "$ANDROID_SDK_HOME/platforms/$ANDROID_SDK_VERSION/sdk.properties"; then
nkeynes@1239
  2615
  eval "$as_ac_File=yes"
nkeynes@1239
  2616
else
nkeynes@1239
  2617
  eval "$as_ac_File=no"
nkeynes@1239
  2618
fi
nkeynes@1239
  2619
fi
nkeynes@1239
  2620
ac_res=`eval echo '${'$as_ac_File'}'`
nkeynes@1239
  2621
	       { echo "$as_me:$LINENO: result: $ac_res" >&5
nkeynes@1239
  2622
echo "${ECHO_T}$ac_res" >&6; }
nkeynes@1239
  2623
if test `eval echo '${'$as_ac_File'}'` = yes; then
nkeynes@1239
  2624
  :
nkeynes@1239
  2625
else
nkeynes@1239
  2626
   { { echo "$as_me:$LINENO: error: Android platform version $ANDROID_SDK_VERSION not found in $ANDROID_SDK_HOME" >&5
nkeynes@1239
  2627
echo "$as_me: error: Android platform version $ANDROID_SDK_VERSION not found in $ANDROID_SDK_HOME" >&2;}
nkeynes@1239
  2628
   { (exit 1); exit 1; }; }
nkeynes@1239
  2629
fi
nkeynes@1239
  2630
nkeynes@1239
  2631
      as_ac_File=`echo "ac_cv_file_$ANDROID_NDK_HOME/toolchains" | $as_tr_sh`
nkeynes@1239
  2632
{ echo "$as_me:$LINENO: checking for $ANDROID_NDK_HOME/toolchains" >&5
nkeynes@1239
  2633
echo $ECHO_N "checking for $ANDROID_NDK_HOME/toolchains... $ECHO_C" >&6; }
nkeynes@1239
  2634
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
nkeynes@1239
  2635
  echo $ECHO_N "(cached) $ECHO_C" >&6
nkeynes@1239
  2636
else
nkeynes@1239
  2637
  test "$cross_compiling" = yes &&
nkeynes@1239
  2638
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
nkeynes@1239
  2639
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
nkeynes@1239
  2640
   { (exit 1); exit 1; }; }
nkeynes@1239
  2641
if test -r "$ANDROID_NDK_HOME/toolchains"; then
nkeynes@1239
  2642
  eval "$as_ac_File=yes"
nkeynes@1239
  2643
else
nkeynes@1239
  2644
  eval "$as_ac_File=no"
nkeynes@1239
  2645
fi
nkeynes@1239
  2646
fi
nkeynes@1239
  2647
ac_res=`eval echo '${'$as_ac_File'}'`
nkeynes@1239
  2648
	       { echo "$as_me:$LINENO: result: $ac_res" >&5
nkeynes@1239
  2649
echo "${ECHO_T}$ac_res" >&6; }
nkeynes@1239
  2650
if test `eval echo '${'$as_ac_File'}'` = yes; then
nkeynes@1239
  2651
  :
nkeynes@1239
  2652
else
nkeynes@1239
  2653
   { { echo "$as_me:$LINENO: error: Android NDK not found in $ANDROID_NDK_HOME" >&5
nkeynes@1239
  2654
echo "$as_me: error: Android NDK not found in $ANDROID_NDK_HOME" >&2;}
nkeynes@1239
  2655
   { (exit 1); exit 1; }; }
nkeynes@1239
  2656
fi
nkeynes@1239
  2657
nkeynes@1239
  2658
nkeynes@1239
  2659
      case $host_alias in
nkeynes@1239
  2660
         arm-* | "")
nkeynes@1239
  2661
            host_alias="arm-linux-androideabi"
nkeynes@1239
  2662
            host_cpu="arm"
nkeynes@1239
  2663
            host_vendor="unknown";
nkeynes@1239
  2664
            host_os="linux-androideabi"
nkeynes@1239
  2665
            ANDROID_NDK_BIN=`echo $ANDROID_NDK_HOME/toolchains/arm-*/prebuilt/*/bin`
nkeynes@1239
  2666
            ANDROID_GDBSERVER=`echo $ANDROID_NDK_HOME/toolchains/arm-*/prebuilt/gdbserver`
nkeynes@1245
  2667
            ANDROID_SYSROOT="$ANDROID_NDK_HOME/platforms/$ANDROID_NDK_VERSION/arch-arm"
nkeynes@1239
  2668
            TARGETFLAGS="-ffunction-sections -funwind-tables -fstack-protector -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -DANDROID -Wno-psabi -Wa,--noexecstack"
nkeynes@1239
  2669
            TARGETFLAGS="$TARGETFLAGS -D__ARM_ARCH_5__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5E__ -D__ARM_ARCH_5TE__ -march=armv5te -mtune=xscale -msoft-float -mthumb -Os"
nkeynes@1239
  2670
            ;;
nkeynes@1239
  2671
         i686-*)
nkeynes@1239
  2672
            host_alias="i686-android-linux"
nkeynes@1239
  2673
            host_cpu="i686"
nkeynes@1239
  2674
            host_vendor="android"
nkeynes@1239
  2675
            host_os="linux"
nkeynes@1239
  2676
            ANDROID_NDK_BIN=`echo $ANDROID_NDK_HOME/toolchains/x86-*/prebuilt/*/bin`
nkeynes@1239
  2677
            ANDROID_GDBSERVER=`echo $ANDROID_NDK_HOME/toolchains/x86-*/prebuilt/gdbserver`
nkeynes@1245
  2678
            ANDROID_SYSROOT="$ANDROID_NDK_HOME/platforms/$ANDROID_NDK_VERSION/arch-x86"
nkeynes@1239
  2679
            TARGETFLAGS=""
nkeynes@1239
  2680
            ;;
nkeynes@1239
  2681
         *)
nkeynes@1239
  2682
            { { echo "$as_me:$LINENO: error: Unsupported android host $host_alias" >&5
nkeynes@1239
  2683
echo "$as_me: error: Unsupported android host $host_alias" >&2;}
nkeynes@1239
  2684
   { (exit 1); exit 1; }; }
nkeynes@1239
  2685
      	    ;;
nkeynes@1239
  2686
      esac
nkeynes@1239
  2687
nkeynes@1239
  2688
      # Extract the first word of "ant ", so it can be a program name with args.
nkeynes@1239
  2689
set dummy ant ; ac_word=$2
nkeynes@1239
  2690
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
nkeynes@1239
  2691
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
nkeynes@1239
  2692
if test "${ac_cv_path_ANT+set}" = set; then
nkeynes@1239
  2693
  echo $ECHO_N "(cached) $ECHO_C" >&6
nkeynes@1239
  2694
else
nkeynes@1239
  2695
  case $ANT in
nkeynes@1239
  2696
  [\\/]* | ?:[\\/]*)
nkeynes@1239
  2697
  ac_cv_path_ANT="$ANT" # Let the user override the test with a path.
nkeynes@1239
  2698
  ;;
nkeynes@1239
  2699
  *)
nkeynes@1239
  2700
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
nkeynes@1239
  2701
for as_dir in $PATH
nkeynes@1239
  2702
do
nkeynes@1239
  2703
  IFS=$as_save_IFS
nkeynes@1239
  2704
  test -z "$as_dir" && as_dir=.
nkeynes@1239
  2705
  for ac_exec_ext in '' $ac_executable_extensions; do
nkeynes@1239
  2706
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
nkeynes@1239
  2707
    ac_cv_path_ANT="$as_dir/$ac_word$ac_exec_ext"
nkeynes@1239
  2708
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
nkeynes@1239
  2709
    break 2
nkeynes@1239
  2710
  fi
nkeynes@1239
  2711
done
nkeynes@1239
  2712
done
nkeynes@1239
  2713
IFS=$as_save_IFS
nkeynes@1239
  2714
nkeynes@1239
  2715
  ;;
nkeynes@1239
  2716
esac
nkeynes@1239
  2717
fi
nkeynes@1239
  2718
ANT=$ac_cv_path_ANT
nkeynes@1239
  2719
if test -n "$ANT"; then
nkeynes@1239
  2720
  { echo "$as_me:$LINENO: result: $ANT" >&5
nkeynes@1239
  2721
echo "${ECHO_T}$ANT" >&6; }
nkeynes@1239
  2722
else
nkeynes@1239
  2723
  { echo "$as_me:$LINENO: result: no" >&5
nkeynes@1239
  2724
echo "${ECHO_T}no" >&6; }
nkeynes@1239
  2725
fi
nkeynes@1239
  2726
nkeynes@1239
  2727
nkeynes@1239
  2728
nkeynes@1239
  2729
      CC="$ANDROID_NDK_BIN/${host_alias}-gcc"
nkeynes@1239
  2730
      CXX="$ANDROID_NDK_BIN/${host_alias}-g++"
nkeynes@1239
  2731
      CPP="$ANDROID_NDK_BIN/${host_alias}-cpp"
nkeynes@1239
  2732
      LD="$ANDROID_NDK_BIN/${host_alias}-ld"
nkeynes@1239
  2733
      AR="$ANDROID_NDK_BIN/${host_alias}-ar"
nkeynes@1239
  2734
      RANLIB="$ANDROID_NDK_BIN/${host_alias}-ranlib"
nkeynes@1239
  2735
      STRIP="$ANDROID_NDK_BIN/${host_alias}-strip"
nkeynes@1239
  2736
      OBJDUMP="$ANDROID_NDK_BIN/${host_alias}-objdump"
nkeynes@1239
  2737
      CPPFLAGS="-fPIC --sysroot=$ANDROID_SYSROOT -I$ANDROID_SYSROOT/usr/include $TARGETFLAGS $CPPFLAGS"
nkeynes@1239
  2738
      LDFLAGS="-nostdlib -Wl,--no-undefined -L${ANDROID_SYSROOT}/usr/lib -Wl,-rpath-link,${ANDROID_SYSROOT}/usr/lib -Wl,-allow-shlib-undefined -Wl,-z,noexecstack $LDFLAGS"
nkeynes@1245
  2739
      LIBS="$LIBS -liconv -landroid -llog -lgcc -lc -lm"
nkeynes@1245
  2740
nkeynes@1239
  2741
nkeynes@1239
  2742
nkeynes@1239
  2743
nkeynes@1239
  2744
nkeynes@1239
  2745
nkeynes@1239
  2746
nkeynes@1239
  2747
      ANDROID_BUILD=yes
nkeynes@1239
  2748
      cross_compiling=yes
nkeynes@1239
  2749
   fi
nkeynes@1239
  2750
nkeynes@1239
  2751
nkeynes@1239
  2752
nkeynes@1239
  2753
if test "$ANDROID_BUILD" = "yes"; then
nkeynes@1239
  2754
  GUI_ANDROID_TRUE=
nkeynes@1239
  2755
  GUI_ANDROID_FALSE='#'
nkeynes@1239
  2756
else
nkeynes@1239
  2757
  GUI_ANDROID_TRUE='#'
nkeynes@1239
  2758
  GUI_ANDROID_FALSE=
nkeynes@1239
  2759
fi
nkeynes@1239
  2760
nkeynes@1239
  2761
nkeynes@1239
  2762
nkeynes@1211
  2763
nkeynes@1
  2764
DEPDIR="${am__leading_dot}deps"
nkeynes@1
  2765
nkeynes@360
  2766
ac_config_commands="$ac_config_commands depfiles"
nkeynes@1
  2767
nkeynes@1
  2768
nkeynes@1
  2769
am_make=${MAKE-make}
nkeynes@1
  2770
cat > confinc << 'END'
nkeynes@1
  2771
am__doit:
nkeynes@1
  2772
	@echo done
nkeynes@1
  2773
.PHONY: am__doit
nkeynes@1
  2774
END
nkeynes@1
  2775
# If we don't find an include directive, just comment out the code.
nkeynes@1110
  2776
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5