~ubuntu-branches/ubuntu/oneiric/openvpn/oneiric

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Thierry Carrez
  • Date: 2008-10-07 16:30:44 UTC
  • mfrom: (1.1.11 upstream) (10.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20081007163044-ixx04wg588z1972e
Tags: 2.1~rc11-1ubuntu1
* Merge with Debian (LP: #279655), remaining diffs:
  - debian/openvpn.init.d: Added 'status' action to init script, show
    per-VPN result messages and add "--script-security 2" by default for
    backwards compatibility
  - debian/control: Added lsb-base>=3.2-14 depend to allow status_of_proc()
* Fixes regression when calling commands with arguments (LP: #277447)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.61 for OpenVPN 2.1_rc9.
 
3
# Generated by GNU Autoconf 2.61 for OpenVPN 2.1_rc11.
4
4
#
5
5
# Report bugs to <openvpn-users@lists.sourceforge.net>.
6
6
#
574
574
# Identity of this package.
575
575
PACKAGE_NAME='OpenVPN'
576
576
PACKAGE_TARNAME='openvpn'
577
 
PACKAGE_VERSION='2.1_rc9'
578
 
PACKAGE_STRING='OpenVPN 2.1_rc9'
 
577
PACKAGE_VERSION='2.1_rc11'
 
578
PACKAGE_STRING='OpenVPN 2.1_rc11'
579
579
PACKAGE_BUGREPORT='openvpn-users@lists.sourceforge.net'
580
580
 
581
581
ac_unique_file="syshead.h"
1232
1232
  # Omit some internal or obsolete options to make the list less imposing.
1233
1233
  # This message is too long to be a string in the A/UX 3.1 sh.
1234
1234
  cat <<_ACEOF
1235
 
\`configure' configures OpenVPN 2.1_rc9 to adapt to many kinds of systems.
 
1235
\`configure' configures OpenVPN 2.1_rc11 to adapt to many kinds of systems.
1236
1236
 
1237
1237
Usage: $0 [OPTION]... [VAR=VALUE]...
1238
1238
 
1303
1303
 
1304
1304
if test -n "$ac_init_help"; then
1305
1305
  case $ac_init_help in
1306
 
     short | recursive ) echo "Configuration of OpenVPN 2.1_rc9:";;
 
1306
     short | recursive ) echo "Configuration of OpenVPN 2.1_rc11:";;
1307
1307
   esac
1308
1308
  cat <<\_ACEOF
1309
1309
 
1425
1425
test -n "$ac_init_help" && exit $ac_status
1426
1426
if $ac_init_version; then
1427
1427
  cat <<\_ACEOF
1428
 
OpenVPN configure 2.1_rc9
 
1428
OpenVPN configure 2.1_rc11
1429
1429
generated by GNU Autoconf 2.61
1430
1430
 
1431
1431
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1439
1439
This file contains any messages produced by compilers while
1440
1440
running configure, to aid debugging if configure makes a mistake.
1441
1441
 
1442
 
It was created by OpenVPN $as_me 2.1_rc9, which was
 
1442
It was created by OpenVPN $as_me 2.1_rc11, which was
1443
1443
generated by GNU Autoconf 2.61.  Invocation command line was
1444
1444
 
1445
1445
  $ $0 $@
8089
8089
 
8090
8090
 
8091
8091
 
8092
 
 
8093
 
 
8094
 
 
8095
 
 
8096
 
 
8097
 
 
8098
 
 
8099
 
 
8100
 
 
8101
 
 
8102
 
 
8103
 
 
8104
 
 
8105
 
 
8106
 
 
8107
 
 
8108
 
 
8109
 
 
8110
 
 
8111
 
 
8112
 
 
8113
 
 
8114
 
 
8115
 
 
8116
 
 
8117
 
 
8118
 
 
8119
 
 
8120
 
 
8121
 
 
8122
 
 
8123
 
for ac_func in daemon chroot getpwnam setuid nice system getpid dup dup2               getpass strerror syslog openlog mlockall getgrnam setgid                setgroups stat flock readv writev setsockopt getsockopt         setsid chdir putenv getpeername unlink          poll chsize ftruncate sendmsg recvmsg getsockname               execve
8124
 
do
8125
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8126
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
8127
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8128
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8129
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8130
 
else
8131
 
  cat >conftest.$ac_ext <<_ACEOF
8132
 
/* confdefs.h.  */
8133
 
_ACEOF
8134
 
cat confdefs.h >>conftest.$ac_ext
8135
 
cat >>conftest.$ac_ext <<_ACEOF
8136
 
/* end confdefs.h.  */
8137
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8138
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8139
 
#define $ac_func innocuous_$ac_func
8140
 
 
8141
 
/* System header to define __stub macros and hopefully few prototypes,
8142
 
    which can conflict with char $ac_func (); below.
8143
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8144
 
    <limits.h> exists even on freestanding compilers.  */
8145
 
 
8146
 
#ifdef __STDC__
8147
 
# include <limits.h>
8148
 
#else
8149
 
# include <assert.h>
8150
 
#endif
8151
 
 
8152
 
#undef $ac_func
8153
 
 
8154
 
/* Override any GCC internal prototype to avoid an error.
8155
 
   Use char because int might match the return type of a GCC
8156
 
   builtin and then its argument prototype would still apply.  */
8157
 
#ifdef __cplusplus
8158
 
extern "C"
8159
 
#endif
8160
 
char $ac_func ();
8161
 
/* The GNU C library defines this for functions which it implements
8162
 
    to always fail with ENOSYS.  Some functions are actually named
8163
 
    something starting with __ and the normal name is an alias.  */
8164
 
#if defined __stub_$ac_func || defined __stub___$ac_func
8165
 
choke me
8166
 
#endif
8167
 
 
8168
 
int
8169
 
main ()
8170
 
{
8171
 
return $ac_func ();
8172
 
  ;
8173
 
  return 0;
8174
 
}
8175
 
_ACEOF
8176
 
rm -f conftest.$ac_objext conftest$ac_exeext
8177
 
if { (ac_try="$ac_link"
8178
 
case "(($ac_try" in
8179
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8180
 
  *) ac_try_echo=$ac_try;;
8181
 
esac
8182
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8183
 
  (eval "$ac_link") 2>conftest.er1
8184
 
  ac_status=$?
8185
 
  grep -v '^ *+' conftest.er1 >conftest.err
8186
 
  rm -f conftest.er1
8187
 
  cat conftest.err >&5
8188
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8189
 
  (exit $ac_status); } && {
8190
 
         test -z "$ac_c_werror_flag" ||
8191
 
         test ! -s conftest.err
8192
 
       } && test -s conftest$ac_exeext &&
8193
 
       $as_test_x conftest$ac_exeext; then
8194
 
  eval "$as_ac_var=yes"
8195
 
else
8196
 
  echo "$as_me: failed program was:" >&5
8197
 
sed 's/^/| /' conftest.$ac_ext >&5
8198
 
 
8199
 
        eval "$as_ac_var=no"
8200
 
fi
8201
 
 
8202
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8203
 
      conftest$ac_exeext conftest.$ac_ext
8204
 
fi
8205
 
ac_res=`eval echo '${'$as_ac_var'}'`
8206
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
8207
 
echo "${ECHO_T}$ac_res" >&6; }
8208
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
8209
 
  cat >>confdefs.h <<_ACEOF
8210
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8211
 
_ACEOF
8212
 
 
8213
 
fi
8214
 
done
8215
 
 
8216
 
cat >confcache <<\_ACEOF
8217
 
# This file is a shell script that caches the results of configure
8218
 
# tests run on this system so they can be shared between configure
8219
 
# scripts and configure runs, see configure's option --config-cache.
8220
 
# It is not useful on other systems.  If it contains results you don't
8221
 
# want to keep, you may remove or edit it.
8222
 
#
8223
 
# config.status only pays attention to the cache file if you give it
8224
 
# the --recheck option to rerun configure.
8225
 
#
8226
 
# `ac_cv_env_foo' variables (set or unset) will be overridden when
8227
 
# loading this file, other *unset* `ac_cv_foo' will be assigned the
8228
 
# following values.
8229
 
 
8230
 
_ACEOF
8231
 
 
8232
 
# The following way of writing the cache mishandles newlines in values,
8233
 
# but we know of no workaround that is simple, portable, and efficient.
8234
 
# So, we kill variables containing newlines.
8235
 
# Ultrix sh set writes to stderr and can't be redirected directly,
8236
 
# and sets the high bit in the cache file unless we assign to the vars.
8237
 
(
8238
 
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8239
 
    eval ac_val=\$$ac_var
8240
 
    case $ac_val in #(
8241
 
    *${as_nl}*)
8242
 
      case $ac_var in #(
8243
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
8244
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
8245
 
      esac
8246
 
      case $ac_var in #(
8247
 
      _ | IFS | as_nl) ;; #(
8248
 
      *) $as_unset $ac_var ;;
8249
 
      esac ;;
8250
 
    esac
8251
 
  done
8252
 
 
8253
 
  (set) 2>&1 |
8254
 
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
8255
 
    *${as_nl}ac_space=\ *)
8256
 
      # `set' does not quote correctly, so add quotes (double-quote
8257
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
8258
 
      sed -n \
8259
 
        "s/'/'\\\\''/g;
8260
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8261
 
      ;; #(
8262
 
    *)
8263
 
      # `set' quotes correctly as required by POSIX, so do not add quotes.
8264
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8265
 
      ;;
8266
 
    esac |
8267
 
    sort
8268
 
) |
8269
 
  sed '
8270
 
     /^ac_cv_env_/b end
8271
 
     t clear
8272
 
     :clear
8273
 
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8274
 
     t end
8275
 
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8276
 
     :end' >>confcache
8277
 
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8278
 
  if test -w "$cache_file"; then
8279
 
    test "x$cache_file" != "x/dev/null" &&
8280
 
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
8281
 
echo "$as_me: updating cache $cache_file" >&6;}
8282
 
    cat confcache >$cache_file
8283
 
  else
8284
 
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
8285
 
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8286
 
  fi
8287
 
fi
8288
 
rm -f confcache
 
8092
for ac_func in ctime memset vsnprintf strdup
 
8093
do
 
8094
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
8095
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
8096
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
8097
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
8098
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8099
else
 
8100
  cat >conftest.$ac_ext <<_ACEOF
 
8101
/* confdefs.h.  */
 
8102
_ACEOF
 
8103
cat confdefs.h >>conftest.$ac_ext
 
8104
cat >>conftest.$ac_ext <<_ACEOF
 
8105
/* end confdefs.h.  */
 
8106
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
8107
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
8108
#define $ac_func innocuous_$ac_func
 
8109
 
 
8110
/* System header to define __stub macros and hopefully few prototypes,
 
8111
    which can conflict with char $ac_func (); below.
 
8112
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
8113
    <limits.h> exists even on freestanding compilers.  */
 
8114
 
 
8115
#ifdef __STDC__
 
8116
# include <limits.h>
 
8117
#else
 
8118
# include <assert.h>
 
8119
#endif
 
8120
 
 
8121
#undef $ac_func
 
8122
 
 
8123
/* Override any GCC internal prototype to avoid an error.
 
8124
   Use char because int might match the return type of a GCC
 
8125
   builtin and then its argument prototype would still apply.  */
 
8126
#ifdef __cplusplus
 
8127
extern "C"
 
8128
#endif
 
8129
char $ac_func ();
 
8130
/* The GNU C library defines this for functions which it implements
 
8131
    to always fail with ENOSYS.  Some functions are actually named
 
8132
    something starting with __ and the normal name is an alias.  */
 
8133
#if defined __stub_$ac_func || defined __stub___$ac_func
 
8134
choke me
 
8135
#endif
 
8136
 
 
8137
int
 
8138
main ()
 
8139
{
 
8140
return $ac_func ();
 
8141
  ;
 
8142
  return 0;
 
8143
}
 
8144
_ACEOF
 
8145
rm -f conftest.$ac_objext conftest$ac_exeext
 
8146
if { (ac_try="$ac_link"
 
8147
case "(($ac_try" in
 
8148
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8149
  *) ac_try_echo=$ac_try;;
 
8150
esac
 
8151
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8152
  (eval "$ac_link") 2>conftest.er1
 
8153
  ac_status=$?
 
8154
  grep -v '^ *+' conftest.er1 >conftest.err
 
8155
  rm -f conftest.er1
 
8156
  cat conftest.err >&5
 
8157
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8158
  (exit $ac_status); } && {
 
8159
         test -z "$ac_c_werror_flag" ||
 
8160
         test ! -s conftest.err
 
8161
       } && test -s conftest$ac_exeext &&
 
8162
       $as_test_x conftest$ac_exeext; then
 
8163
  eval "$as_ac_var=yes"
 
8164
else
 
8165
  echo "$as_me: failed program was:" >&5
 
8166
sed 's/^/| /' conftest.$ac_ext >&5
 
8167
 
 
8168
        eval "$as_ac_var=no"
 
8169
fi
 
8170
 
 
8171
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
8172
      conftest$ac_exeext conftest.$ac_ext
 
8173
fi
 
8174
ac_res=`eval echo '${'$as_ac_var'}'`
 
8175
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
8176
echo "${ECHO_T}$ac_res" >&6; }
 
8177
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
8178
  cat >>confdefs.h <<_ACEOF
 
8179
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
8180
_ACEOF
 
8181
 
 
8182
else
 
8183
  { { echo "$as_me:$LINENO: error: Required library function not found" >&5
 
8184
echo "$as_me: error: Required library function not found" >&2;}
 
8185
   { (exit 1); exit 1; }; }
 
8186
fi
 
8187
done
 
8188
 
 
8189
 
 
8190
 
 
8191
 
 
8192
 
 
8193
 
 
8194
 
 
8195
 
 
8196
 
 
8197
 
 
8198
 
 
8199
 
 
8200
 
 
8201
 
 
8202
 
 
8203
 
 
8204
 
 
8205
 
 
8206
 
 
8207
 
 
8208
 
 
8209
 
 
8210
 
 
8211
 
 
8212
 
 
8213
 
 
8214
 
 
8215
 
 
8216
 
 
8217
 
 
8218
 
 
8219
for ac_func in daemon chroot getpwnam setuid nice system getpid dup dup2               getpass strerror syslog openlog mlockall getgrnam setgid                setgroups stat flock readv writev time          setsid chdir putenv getpeername unlink          chsize ftruncate execve
 
8220
do
 
8221
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
8222
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
8223
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
8224
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
8225
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8226
else
 
8227
  cat >conftest.$ac_ext <<_ACEOF
 
8228
/* confdefs.h.  */
 
8229
_ACEOF
 
8230
cat confdefs.h >>conftest.$ac_ext
 
8231
cat >>conftest.$ac_ext <<_ACEOF
 
8232
/* end confdefs.h.  */
 
8233
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
8234
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
8235
#define $ac_func innocuous_$ac_func
 
8236
 
 
8237
/* System header to define __stub macros and hopefully few prototypes,
 
8238
    which can conflict with char $ac_func (); below.
 
8239
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
8240
    <limits.h> exists even on freestanding compilers.  */
 
8241
 
 
8242
#ifdef __STDC__
 
8243
# include <limits.h>
 
8244
#else
 
8245
# include <assert.h>
 
8246
#endif
 
8247
 
 
8248
#undef $ac_func
 
8249
 
 
8250
/* Override any GCC internal prototype to avoid an error.
 
8251
   Use char because int might match the return type of a GCC
 
8252
   builtin and then its argument prototype would still apply.  */
 
8253
#ifdef __cplusplus
 
8254
extern "C"
 
8255
#endif
 
8256
char $ac_func ();
 
8257
/* The GNU C library defines this for functions which it implements
 
8258
    to always fail with ENOSYS.  Some functions are actually named
 
8259
    something starting with __ and the normal name is an alias.  */
 
8260
#if defined __stub_$ac_func || defined __stub___$ac_func
 
8261
choke me
 
8262
#endif
 
8263
 
 
8264
int
 
8265
main ()
 
8266
{
 
8267
return $ac_func ();
 
8268
  ;
 
8269
  return 0;
 
8270
}
 
8271
_ACEOF
 
8272
rm -f conftest.$ac_objext conftest$ac_exeext
 
8273
if { (ac_try="$ac_link"
 
8274
case "(($ac_try" in
 
8275
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8276
  *) ac_try_echo=$ac_try;;
 
8277
esac
 
8278
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8279
  (eval "$ac_link") 2>conftest.er1
 
8280
  ac_status=$?
 
8281
  grep -v '^ *+' conftest.er1 >conftest.err
 
8282
  rm -f conftest.er1
 
8283
  cat conftest.err >&5
 
8284
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8285
  (exit $ac_status); } && {
 
8286
         test -z "$ac_c_werror_flag" ||
 
8287
         test ! -s conftest.err
 
8288
       } && test -s conftest$ac_exeext &&
 
8289
       $as_test_x conftest$ac_exeext; then
 
8290
  eval "$as_ac_var=yes"
 
8291
else
 
8292
  echo "$as_me: failed program was:" >&5
 
8293
sed 's/^/| /' conftest.$ac_ext >&5
 
8294
 
 
8295
        eval "$as_ac_var=no"
 
8296
fi
 
8297
 
 
8298
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
8299
      conftest$ac_exeext conftest.$ac_ext
 
8300
fi
 
8301
ac_res=`eval echo '${'$as_ac_var'}'`
 
8302
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
8303
echo "${ECHO_T}$ac_res" >&6; }
 
8304
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
8305
  cat >>confdefs.h <<_ACEOF
 
8306
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
8307
_ACEOF
 
8308
 
 
8309
fi
 
8310
done
 
8311
 
 
8312
 
 
8313
# Windows use stdcall for winsock so we cannot auto detect these
 
8314
 
 
8315
 
8289
8316
 
8290
8317
if test "${WIN32}" = "yes"; then
8291
8318
 
8295
8322
_ACEOF
8296
8323
 
8297
8324
 
 
8325
 
 
8326
cat >>confdefs.h <<\_ACEOF
 
8327
#define HAVE_SOCKET 1
 
8328
_ACEOF
 
8329
 
 
8330
 
 
8331
cat >>confdefs.h <<\_ACEOF
 
8332
#define HAVE_RECV 1
 
8333
_ACEOF
 
8334
 
 
8335
 
 
8336
cat >>confdefs.h <<\_ACEOF
 
8337
#define HAVE_RECVFROM 1
 
8338
_ACEOF
 
8339
 
 
8340
 
 
8341
cat >>confdefs.h <<\_ACEOF
 
8342
#define HAVE_SEND 1
 
8343
_ACEOF
 
8344
 
 
8345
 
 
8346
cat >>confdefs.h <<\_ACEOF
 
8347
#define HAVE_SENDTO 1
 
8348
_ACEOF
 
8349
 
 
8350
 
 
8351
cat >>confdefs.h <<\_ACEOF
 
8352
#define HAVE_LISTEN 1
 
8353
_ACEOF
 
8354
 
 
8355
 
 
8356
cat >>confdefs.h <<\_ACEOF
 
8357
#define HAVE_ACCEPT 1
 
8358
_ACEOF
 
8359
 
 
8360
 
 
8361
cat >>confdefs.h <<\_ACEOF
 
8362
#define HAVE_CONNECT 1
 
8363
_ACEOF
 
8364
 
 
8365
 
 
8366
cat >>confdefs.h <<\_ACEOF
 
8367
#define HAVE_BIND 1
 
8368
_ACEOF
 
8369
 
 
8370
 
 
8371
cat >>confdefs.h <<\_ACEOF
 
8372
#define HAVE_SELECT 1
 
8373
_ACEOF
 
8374
 
 
8375
 
 
8376
cat >>confdefs.h <<\_ACEOF
 
8377
#define HAVE_GETHOSTBYNAME 1
 
8378
_ACEOF
 
8379
 
 
8380
 
 
8381
cat >>confdefs.h <<\_ACEOF
 
8382
#define HAVE_INET_NTOA 1
 
8383
_ACEOF
 
8384
 
 
8385
 
 
8386
cat >>confdefs.h <<\_ACEOF
 
8387
#define HAVE_SETSOCKOPT 1
 
8388
_ACEOF
 
8389
 
 
8390
 
 
8391
cat >>confdefs.h <<\_ACEOF
 
8392
#define HAVE_GETSOCKOPT 1
 
8393
_ACEOF
 
8394
 
 
8395
 
 
8396
cat >>confdefs.h <<\_ACEOF
 
8397
#define HAVE_GETSOCKNAME 1
 
8398
_ACEOF
 
8399
 
 
8400
 
 
8401
cat >>confdefs.h <<\_ACEOF
 
8402
#define HAVE_POLL 1
 
8403
_ACEOF
 
8404
 
 
8405
 
8298
8406
else
8299
8407
 
8300
8408
                { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
9206
9314
 
9207
9315
 
9208
9316
 
9209
 
 
9210
 
 
9211
 
 
9212
 
 
9213
 
 
9214
 
for ac_func in socket recv recvfrom send sendto listen                 accept connect bind select gethostbyname                        inet_ntoa time ctime memset vsnprintf strdup
 
9317
for ac_func in socket recv recvfrom send sendto listen           accept connect bind select gethostbyname inet_ntoa
9215
9318
do
9216
9319
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9217
9320
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
9309
9412
done
9310
9413
 
9311
9414
 
 
9415
 
 
9416
 
 
9417
 
 
9418
 
 
9419
 
 
9420
for ac_func in setsockopt getsockopt getsockname poll sendmsg recvmsg
 
9421
do
 
9422
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
9423
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
9424
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
9425
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
9426
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9427
else
 
9428
  cat >conftest.$ac_ext <<_ACEOF
 
9429
/* confdefs.h.  */
 
9430
_ACEOF
 
9431
cat confdefs.h >>conftest.$ac_ext
 
9432
cat >>conftest.$ac_ext <<_ACEOF
 
9433
/* end confdefs.h.  */
 
9434
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
9435
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
9436
#define $ac_func innocuous_$ac_func
 
9437
 
 
9438
/* System header to define __stub macros and hopefully few prototypes,
 
9439
    which can conflict with char $ac_func (); below.
 
9440
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
9441
    <limits.h> exists even on freestanding compilers.  */
 
9442
 
 
9443
#ifdef __STDC__
 
9444
# include <limits.h>
 
9445
#else
 
9446
# include <assert.h>
 
9447
#endif
 
9448
 
 
9449
#undef $ac_func
 
9450
 
 
9451
/* Override any GCC internal prototype to avoid an error.
 
9452
   Use char because int might match the return type of a GCC
 
9453
   builtin and then its argument prototype would still apply.  */
 
9454
#ifdef __cplusplus
 
9455
extern "C"
 
9456
#endif
 
9457
char $ac_func ();
 
9458
/* The GNU C library defines this for functions which it implements
 
9459
    to always fail with ENOSYS.  Some functions are actually named
 
9460
    something starting with __ and the normal name is an alias.  */
 
9461
#if defined __stub_$ac_func || defined __stub___$ac_func
 
9462
choke me
 
9463
#endif
 
9464
 
 
9465
int
 
9466
main ()
 
9467
{
 
9468
return $ac_func ();
 
9469
  ;
 
9470
  return 0;
 
9471
}
 
9472
_ACEOF
 
9473
rm -f conftest.$ac_objext conftest$ac_exeext
 
9474
if { (ac_try="$ac_link"
 
9475
case "(($ac_try" in
 
9476
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9477
  *) ac_try_echo=$ac_try;;
 
9478
esac
 
9479
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9480
  (eval "$ac_link") 2>conftest.er1
 
9481
  ac_status=$?
 
9482
  grep -v '^ *+' conftest.er1 >conftest.err
 
9483
  rm -f conftest.er1
 
9484
  cat conftest.err >&5
 
9485
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9486
  (exit $ac_status); } && {
 
9487
         test -z "$ac_c_werror_flag" ||
 
9488
         test ! -s conftest.err
 
9489
       } && test -s conftest$ac_exeext &&
 
9490
       $as_test_x conftest$ac_exeext; then
 
9491
  eval "$as_ac_var=yes"
 
9492
else
 
9493
  echo "$as_me: failed program was:" >&5
 
9494
sed 's/^/| /' conftest.$ac_ext >&5
 
9495
 
 
9496
        eval "$as_ac_var=no"
 
9497
fi
 
9498
 
 
9499
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
9500
      conftest$ac_exeext conftest.$ac_ext
 
9501
fi
 
9502
ac_res=`eval echo '${'$as_ac_var'}'`
 
9503
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
9504
echo "${ECHO_T}$ac_res" >&6; }
 
9505
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
9506
  cat >>confdefs.h <<_ACEOF
 
9507
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
9508
_ACEOF
 
9509
 
 
9510
fi
 
9511
done
 
9512
 
 
9513
 
9312
9514
fi
9313
9515
 
9314
9516
{ echo "$as_me:$LINENO: checking for working memcmp" >&5
13024
13226
# report actual input values of CONFIG_FILES etc. instead of their
13025
13227
# values after options handling.
13026
13228
ac_log="
13027
 
This file was extended by OpenVPN $as_me 2.1_rc9, which was
 
13229
This file was extended by OpenVPN $as_me 2.1_rc11, which was
13028
13230
generated by GNU Autoconf 2.61.  Invocation command line was
13029
13231
 
13030
13232
  CONFIG_FILES    = $CONFIG_FILES
13077
13279
_ACEOF
13078
13280
cat >>$CONFIG_STATUS <<_ACEOF
13079
13281
ac_cs_version="\\
13080
 
OpenVPN config.status 2.1_rc9
 
13282
OpenVPN config.status 2.1_rc11
13081
13283
configured by $0, generated by GNU Autoconf 2.61,
13082
13284
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13083
13285