Diff for /embedaddon/istgt/configure between versions 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2012/02/21 16:42:02 version 1.1.1.2, 2012/10/09 09:13:23
Line 1 Line 1
 #! /bin/sh  #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.  # Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.68 for istgt 0.4.# Generated by GNU Autoconf 2.69 for istgt 0.5.
 #  #
 #  #
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 
# Foundation, Inc. 
 #  #
 #  #
 # This configure script is free software; the Free Software Foundation  # This configure script is free software; the Free Software Foundation
Line 134  export LANGUAGE Line 132  export LANGUAGE
 # CDPATH.  # CDPATH.
 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH  (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   
   # Use a proper internal environment variable to ensure we don't fall
     # into an infinite loop, continuously re-executing ourselves.
     if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
       _as_can_reexec=no; export _as_can_reexec;
       # We cannot yet assume a decent shell, so we have to provide a
   # neutralization value for shells without unset; and this also
   # works around shells that cannot unset nonexistent variables.
   # Preserve -v and -x to the replacement shell.
   BASH_ENV=/dev/null
   ENV=/dev/null
   (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
   case $- in # ((((
     *v*x* | *x*v* ) as_opts=-vx ;;
     *v* ) as_opts=-v ;;
     *x* ) as_opts=-x ;;
     * ) as_opts= ;;
   esac
   exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
   # Admittedly, this is quite paranoid, since all the known shells bail
   # out after a failed `exec'.
   $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
   as_fn_exit 255
     fi
     # We don't want this to propagate to other subprocesses.
             { _as_can_reexec=; unset _as_can_reexec;}
 if test "x$CONFIG_SHELL" = x; then  if test "x$CONFIG_SHELL" = x; then
   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :    as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
   emulate sh    emulate sh
Line 167  if ( set x; as_fn_ret_success y && test x = \"\$1\" ); Line 190  if ( set x; as_fn_ret_success y && test x = \"\$1\" );
 else  else
   exitcode=1; echo positional parameters were not saved.    exitcode=1; echo positional parameters were not saved.
 fi  fi
test x\$exitcode = x0 || exit 1"test x\$exitcode = x0 || exit 1
 test -x / || exit 1"
   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO    as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO    as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&    eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
Line 212  IFS=$as_save_IFS Line 236  IFS=$as_save_IFS
   
   
       if test "x$CONFIG_SHELL" != x; then :        if test "x$CONFIG_SHELL" != x; then :
  # We cannot yet assume a decent shell, so we have to provide a  export CONFIG_SHELL
        # neutralization value for shells without unset; and this also             # We cannot yet assume a decent shell, so we have to provide a
        # works around shells that cannot unset nonexistent variables.# neutralization value for shells without unset; and this also
        # Preserve -v and -x to the replacement shell.# works around shells that cannot unset nonexistent variables.
        BASH_ENV=/dev/null# Preserve -v and -x to the replacement shell.
        ENV=/dev/nullBASH_ENV=/dev/null
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENVENV=/dev/null
        export CONFIG_SHELL(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
        case $- in # ((((case $- in # ((((
          *v*x* | *x*v* ) as_opts=-vx ;;  *v*x* | *x*v* ) as_opts=-vx ;;
          *v* ) as_opts=-v ;;  *v* ) as_opts=-v ;;
          *x* ) as_opts=-x ;;  *x* ) as_opts=-x ;;
          * ) as_opts= ;;  * ) as_opts= ;;
        esacesac
        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
 # Admittedly, this is quite paranoid, since all the known shells bail
 # out after a failed `exec'.
 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
 exit 255
 fi  fi
   
     if test x$as_have_required = xno; then :      if test x$as_have_required = xno; then :
Line 328  $as_echo X"$as_dir" | Line 356  $as_echo X"$as_dir" |
   
   
 } # as_fn_mkdir_p  } # as_fn_mkdir_p
   
   # as_fn_executable_p FILE
   # -----------------------
   # Test if FILE is an executable regular file.
   as_fn_executable_p ()
   {
     test -f "$1" && test -x "$1"
   } # as_fn_executable_p
 # as_fn_append VAR VALUE  # as_fn_append VAR VALUE
 # ----------------------  # ----------------------
 # Append the text in VALUE to the end of the definition contained in VAR. Take  # Append the text in VALUE to the end of the definition contained in VAR. Take
Line 449  as_cr_alnum=$as_cr_Letters$as_cr_digits Line 485  as_cr_alnum=$as_cr_Letters$as_cr_digits
   chmod +x "$as_me.lineno" ||    chmod +x "$as_me.lineno" ||
     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }      { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
   
     # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
     # already done that, so ensure we don't try to do so again and fall
     # in an infinite loop.  This has already happened in practice.
     _as_can_reexec=no; export _as_can_reexec
   # Don't try to exec as it changes $[0], causing all sort of problems    # Don't try to exec as it changes $[0], causing all sort of problems
   # (the dirname of $[0] is not the place where we might find the    # (the dirname of $[0] is not the place where we might find the
   # original and so on.  Autoconf is especially sensitive to this).    # original and so on.  Autoconf is especially sensitive to this).
Line 483  if (echo >conf$$.file) 2>/dev/null; then Line 523  if (echo >conf$$.file) 2>/dev/null; then
     # ... but there are two gotchas:      # ... but there are two gotchas:
     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    # In both cases, we have to default to `cp -p'.    # In both cases, we have to default to `cp -pR'.
     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
      as_ln_s='cp -p'      as_ln_s='cp -pR'
   elif ln conf$$.file conf$$ 2>/dev/null; then    elif ln conf$$.file conf$$ 2>/dev/null; then
     as_ln_s=ln      as_ln_s=ln
   else    else
    as_ln_s='cp -p'    as_ln_s='cp -pR'
   fi    fi
 else  else
  as_ln_s='cp -p'  as_ln_s='cp -pR'
 fi  fi
 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file  rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 rmdir conf$$.dir 2>/dev/null  rmdir conf$$.dir 2>/dev/null
Line 504  else Line 544  else
   as_mkdir_p=false    as_mkdir_p=false
 fi  fi
   
if test -x / >/dev/null 2>&1; thenas_test_x='test -x'
  as_test_x='test -x'as_executable_p=as_fn_executable_p
else 
  if ls -dL / >/dev/null 2>&1; then 
    as_ls_L_option=L 
  else 
    as_ls_L_option= 
  fi 
  as_test_x=' 
    eval sh -c '\'' 
      if test -d "$1"; then 
        test -d "$1/."; 
      else 
        case $1 in #( 
        -*)set "./$1";; 
        esac; 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 
        ???[sx]*):;;*)false;;esac;fi 
    '\'' sh 
  ' 
fi 
as_executable_p=$as_test_x 
   
 # Sed expression to map a string onto a valid CPP name.  # Sed expression to map a string onto a valid CPP name.
 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"  as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
Line 557  MAKEFLAGS= Line 577  MAKEFLAGS=
 # Identity of this package.  # Identity of this package.
 PACKAGE_NAME='istgt'  PACKAGE_NAME='istgt'
 PACKAGE_TARNAME='istgt'  PACKAGE_TARNAME='istgt'
PACKAGE_VERSION='0.4'PACKAGE_VERSION='0.5'
PACKAGE_STRING='istgt 0.4'PACKAGE_STRING='istgt 0.5'
 PACKAGE_BUGREPORT=''  PACKAGE_BUGREPORT=''
 PACKAGE_URL=''  PACKAGE_URL=''
   
Line 600  ac_includes_default="\ Line 620  ac_includes_default="\
 #endif"  #endif"
   
 ac_subst_vars='LTLIBOBJS  ac_subst_vars='LTLIBOBJS
   ALLOW_SYMLINK_DEVICE
 DEBUG  DEBUG
 mediadir  mediadir
 configdir  configdir
Line 608  LIBOBJS Line 629  LIBOBJS
 EGREP  EGREP
 GREP  GREP
 CPP  CPP
   host_os
   host_vendor
   host_cpu
   host
   build_os
   build_vendor
   build_cpu
   build
   rcdir
   rctemplate
   MKDIR_P
 SED  SED
 RANLIB  RANLIB
 INSTALL_DATA  INSTALL_DATA
Line 664  enable_option_checking Line 696  enable_option_checking
 enable_largefile  enable_largefile
 with_configdir  with_configdir
 with_mediadir  with_mediadir
   with_rcdir
 enable_debug  enable_debug
   enable_symlink_device
 with_logfacility  with_logfacility
 with_logpriority  with_logpriority
   with_vbox
   with_vboxlib
 '  '
       ac_precious_vars='build_alias        ac_precious_vars='build_alias
 host_alias  host_alias
Line 1132  target=$target_alias Line 1168  target=$target_alias
 if test "x$host_alias" != x; then  if test "x$host_alias" != x; then
   if test "x$build_alias" = x; then    if test "x$build_alias" = x; then
     cross_compiling=maybe      cross_compiling=maybe
     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.  
     If a cross compiler is detected then cross compile mode will be used" >&2  
   elif test "x$build_alias" != "x$host_alias"; then    elif test "x$build_alias" != "x$host_alias"; then
     cross_compiling=yes      cross_compiling=yes
   fi    fi
Line 1219  if test "$ac_init_help" = "long"; then Line 1253  if test "$ac_init_help" = "long"; then
   # Omit some internal or obsolete options to make the list less imposing.    # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.    # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF    cat <<_ACEOF
\`configure' configures istgt 0.4 to adapt to many kinds of systems.\`configure' configures istgt 0.5 to adapt to many kinds of systems.
   
 Usage: $0 [OPTION]... [VAR=VALUE]...  Usage: $0 [OPTION]... [VAR=VALUE]...
   
Line 1275  Fine tuning of the installation directories: Line 1309  Fine tuning of the installation directories:
 _ACEOF  _ACEOF
   
   cat <<\_ACEOF    cat <<\_ACEOF
   
   System types:
     --build=BUILD     configure for building on BUILD [guessed]
     --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 _ACEOF  _ACEOF
 fi  fi
   
 if test -n "$ac_init_help"; then  if test -n "$ac_init_help"; then
   case $ac_init_help in    case $ac_init_help in
     short | recursive ) echo "Configuration of istgt 0.4:";;     short | recursive ) echo "Configuration of istgt 0.5:";;
    esac     esac
   cat <<\_ACEOF    cat <<\_ACEOF
   
Line 1290  Optional Features: Line 1328  Optional Features:
   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   --disable-largefile     omit support for large files    --disable-largefile     omit support for large files
   --enable-debug          enable debug(logging)    --enable-debug          enable debug(logging)
     --enable-symlink-device allow symlink device
   
 Optional Packages:  Optional Packages:
   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  --with-configdir=DIR (default $ac_default_prefix/etc/istgt)  --with-configdir=DIR    (default PREFIX/etc/istgt)
  --with-mediadir=DIR (default /var/istgt)  --with-mediadir=DIR     (default /var/istgt)
  --with-logfacility   syslog facility to log with (default "local7")  --with-rcdir=DIR        (default PREFIX/etc/rc.d)
  --with-logpriority   syslog priority to log with (default "info")  --with-logfacility      syslog facility to log with (default "local7")
   --with-logpriority      syslog priority to log with (default "info")
   --with-vbox=INC         VirtualBox include
   --with-vboxlib=LIB      VirtualBox lib
   
 Some influential environment variables:  Some influential environment variables:
   CC          C compiler command    CC          C compiler command
Line 1375  fi Line 1417  fi
 test -n "$ac_init_help" && exit $ac_status  test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then  if $ac_init_version; then
   cat <<\_ACEOF    cat <<\_ACEOF
istgt configure 0.4istgt configure 0.5
generated by GNU Autoconf 2.68generated by GNU Autoconf 2.69
   
Copyright (C) 2010 Free Software Foundation, Inc.Copyright (C) 2012 Free Software Foundation, Inc.
 This configure script is free software; the Free Software Foundation  This configure script is free software; the Free Software Foundation
 gives unlimited permission to copy, distribute and modify it.  gives unlimited permission to copy, distribute and modify it.
 _ACEOF  _ACEOF
Line 1454  $as_echo "$ac_try_echo"; } >&5 Line 1496  $as_echo "$ac_try_echo"; } >&5
          test ! -s conftest.err           test ! -s conftest.err
        } && test -s conftest$ac_exeext && {         } && test -s conftest$ac_exeext && {
          test "$cross_compiling" = yes ||           test "$cross_compiling" = yes ||
         $as_test_x conftest$ac_exeext         test -x conftest$ac_exeext
        }; then :         }; then :
   ac_retval=0    ac_retval=0
 else  else
Line 1695  int Line 1737  int
 main ()  main ()
 {  {
 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];  static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
test_array [0] = 0test_array [0] = 0;
 return test_array [0];
   
   ;    ;
   return 0;    return 0;
Line 1711  main () Line 1754  main ()
 {  {
 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)  static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
                  < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];                   < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
test_array [0] = 0test_array [0] = 0;
 return test_array [0];
   
   ;    ;
   return 0;    return 0;
Line 1879  int Line 1923  int
 main ()  main ()
 {  {
 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];  static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
test_array [0] = 0test_array [0] = 0;
 return test_array [0];
   
   ;    ;
   return 0;    return 0;
Line 1978  cat >config.log <<_ACEOF Line 2023  cat >config.log <<_ACEOF
 This file contains any messages produced by compilers while  This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.  running configure, to aid debugging if configure makes a mistake.
   
It was created by istgt $as_me 0.4, which wasIt was created by istgt $as_me 0.5, which was
generated by GNU Autoconf 2.68.  Invocation command line wasgenerated by GNU Autoconf 2.69.  Invocation command line was
   
   $ $0 $@    $ $0 $@
   
Line 2337  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext  Line 2382  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext 
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu  ac_compiler_gnu=$ac_cv_c_compiler_gnu
 if test -n "$ac_tool_prefix"; then  if test -n "$ac_tool_prefix"; then
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.  for ac_prog in clang gcc cc
set dummy ${ac_tool_prefix}gcc; ac_word=$2 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
$as_echo_n "checking for $ac_word... " >&6; } 
if ${ac_cv_prog_CC+:} false; then : 
  $as_echo_n "(cached) " >&6 
else 
  if test -n "$CC"; then 
  ac_cv_prog_CC="$CC" # Let the user override the test. 
else 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
for as_dir in $PATH 
do 
  IFS=$as_save_IFS 
  test -z "$as_dir" && as_dir=. 
    for ac_exec_ext in '' $ac_executable_extensions; do 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    ac_cv_prog_CC="${ac_tool_prefix}gcc" 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    break 2 
  fi 
done 
  done 
IFS=$as_save_IFS 
 
fi 
fi 
CC=$ac_cv_prog_CC 
if test -n "$CC"; then 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 
$as_echo "$CC" >&6; } 
else 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
$as_echo "no" >&6; } 
fi 
 
 
fi 
if test -z "$ac_cv_prog_CC"; then 
  ac_ct_CC=$CC 
  # Extract the first word of "gcc", so it can be a program name with args. 
set dummy gcc; ac_word=$2 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
$as_echo_n "checking for $ac_word... " >&6; } 
if ${ac_cv_prog_ac_ct_CC+:} false; then : 
  $as_echo_n "(cached) " >&6 
else 
  if test -n "$ac_ct_CC"; then 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 
else 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
for as_dir in $PATH 
do 
  IFS=$as_save_IFS 
  test -z "$as_dir" && as_dir=. 
    for ac_exec_ext in '' $ac_executable_extensions; do 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    ac_cv_prog_ac_ct_CC="gcc" 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    break 2 
  fi 
done 
  done 
IFS=$as_save_IFS 
 
fi 
fi 
ac_ct_CC=$ac_cv_prog_ac_ct_CC 
if test -n "$ac_ct_CC"; then 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 
$as_echo "$ac_ct_CC" >&6; } 
else 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
$as_echo "no" >&6; } 
fi 
 
  if test "x$ac_ct_CC" = x; then 
    CC="" 
  else 
    case $cross_compiling:$ac_tool_warned in 
yes:) 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 
ac_tool_warned=yes ;; 
esac 
    CC=$ac_ct_CC 
  fi 
else 
  CC="$ac_cv_prog_CC" 
fi 
 
if test -z "$CC"; then 
          if test -n "$ac_tool_prefix"; then 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 
set dummy ${ac_tool_prefix}cc; ac_word=$2 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
$as_echo_n "checking for $ac_word... " >&6; } 
if ${ac_cv_prog_CC+:} false; then : 
  $as_echo_n "(cached) " >&6 
else 
  if test -n "$CC"; then 
  ac_cv_prog_CC="$CC" # Let the user override the test. 
else 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
for as_dir in $PATH 
do 
  IFS=$as_save_IFS 
  test -z "$as_dir" && as_dir=. 
    for ac_exec_ext in '' $ac_executable_extensions; do 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    ac_cv_prog_CC="${ac_tool_prefix}cc" 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    break 2 
  fi 
done 
  done 
IFS=$as_save_IFS 
 
fi 
fi 
CC=$ac_cv_prog_CC 
if test -n "$CC"; then 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 
$as_echo "$CC" >&6; } 
else 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
$as_echo "no" >&6; } 
fi 
 
 
  fi 
fi 
if test -z "$CC"; then 
  # Extract the first word of "cc", so it can be a program name with args. 
set dummy cc; ac_word=$2 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
$as_echo_n "checking for $ac_word... " >&6; } 
if ${ac_cv_prog_CC+:} false; then : 
  $as_echo_n "(cached) " >&6 
else 
  if test -n "$CC"; then 
  ac_cv_prog_CC="$CC" # Let the user override the test. 
else 
  ac_prog_rejected=no 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
for as_dir in $PATH 
do 
  IFS=$as_save_IFS 
  test -z "$as_dir" && as_dir=. 
    for ac_exec_ext in '' $ac_executable_extensions; do 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 
       ac_prog_rejected=yes 
       continue 
     fi 
    ac_cv_prog_CC="cc" 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    break 2 
  fi 
done 
  done 
IFS=$as_save_IFS 
 
if test $ac_prog_rejected = yes; then 
  # We found a bogon in the path, so make sure we never use it. 
  set dummy $ac_cv_prog_CC 
  shift 
  if test $# != 0; then 
    # We chose a different compiler from the bogus one. 
    # However, it has the same basename, so the bogon will be chosen 
    # first if we set CC to just the basename; use the full file name. 
    shift 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 
  fi 
fi 
fi 
fi 
CC=$ac_cv_prog_CC 
if test -n "$CC"; then 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 
$as_echo "$CC" >&6; } 
else 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
$as_echo "no" >&6; } 
fi 
 
 
fi 
if test -z "$CC"; then 
  if test -n "$ac_tool_prefix"; then 
  for ac_prog in cl.exe 
   do    do
     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 set dummy $ac_tool_prefix$ac_prog; ac_word=$2  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
Line 2545  do Line 2400  do
   IFS=$as_save_IFS    IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2      break 2
Line 2571  fi Line 2426  fi
 fi  fi
 if test -z "$CC"; then  if test -z "$CC"; then
   ac_ct_CC=$CC    ac_ct_CC=$CC
  for ac_prog in cl.exe  for ac_prog in clang gcc cc
 do  do
   # Extract the first word of "$ac_prog", so it can be a program name with args.    # Extract the first word of "$ac_prog", so it can be a program name with args.
 set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
Line 2589  do Line 2444  do
   IFS=$as_save_IFS    IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_CC="$ac_prog"      ac_cv_prog_ac_ct_CC="$ac_prog"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2      break 2
Line 2626  esac Line 2481  esac
   fi    fi
 fi  fi
   
 fi  
   
   
 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5  test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 as_fn_error $? "no acceptable C compiler found in \$PATH  as_fn_error $? "no acceptable C compiler found in \$PATH
Line 3035  cat confdefs.h - <<_ACEOF >conftest.$ac_ext Line 2888  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */  /* end confdefs.h.  */
 #include <stdarg.h>  #include <stdarg.h>
 #include <stdio.h>  #include <stdio.h>
#include <sys/types.h>struct stat;
#include <sys/stat.h> 
 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */  /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 struct buf { int x; };  struct buf { int x; };
 FILE * (*rcsopen) (struct buf *, struct stat *, int);  FILE * (*rcsopen) (struct buf *, struct stat *, int);
Line 3187  case $as_dir/ in #(( Line 3039  case $as_dir/ in #((
     # by default.      # by default.
     for ac_prog in ginstall scoinst install; do      for ac_prog in ginstall scoinst install; do
       for ac_exec_ext in '' $ac_executable_extensions; do        for ac_exec_ext in '' $ac_executable_extensions; do
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
           if test $ac_prog = install &&            if test $ac_prog = install &&
             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then              grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
             # AIX install.  It has an incompatible calling convention.              # AIX install.  It has an incompatible calling convention.
Line 3260  do Line 3112  do
   IFS=$as_save_IFS    IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2      break 2
Line 3300  do Line 3152  do
   IFS=$as_save_IFS    IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_RANLIB="ranlib"      ac_cv_prog_ac_ct_RANLIB="ranlib"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2      break 2
Line 3357  do Line 3209  do
     for ac_prog in sed gsed; do      for ac_prog in sed gsed; do
     for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"        ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue      as_fn_executable_p "$ac_path_SED" || continue
 # Check for GNU ac_path_SED and select it if it is found.  # Check for GNU ac_path_SED and select it if it is found.
   # Check for GNU $ac_path_SED    # Check for GNU $ac_path_SED
 case `"$ac_path_SED" --version 2>&1` in  case `"$ac_path_SED" --version 2>&1` in
Line 3404  $as_echo "$ac_cv_path_SED" >&6; } Line 3256  $as_echo "$ac_cv_path_SED" >&6; }
  SED="$ac_cv_path_SED"   SED="$ac_cv_path_SED"
   rm -f conftest.sed    rm -f conftest.sed
   
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   if test -z "$MKDIR_P"; then
     if ${ac_cv_path_mkdir+:} false; then :
     $as_echo_n "(cached) " >&6
   else
     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   do
     IFS=$as_save_IFS
     test -z "$as_dir" && as_dir=.
       for ac_prog in mkdir gmkdir; do
            for ac_exec_ext in '' $ac_executable_extensions; do
              as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
              case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
                'mkdir (GNU coreutils) '* | \
                'mkdir (coreutils) '* | \
                'mkdir (fileutils) '4.1*)
                  ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
                  break 3;;
              esac
            done
          done
     done
   IFS=$as_save_IFS
   
   fi
   
     test -d ./--version && rmdir ./--version
     if test "${ac_cv_path_mkdir+set}" = set; then
       MKDIR_P="$ac_cv_path_mkdir -p"
     else
       # As a last resort, use the slow shell script.  Don't cache a
       # value for MKDIR_P within a source directory, because that will
       # break other packages using the cache if that directory is
       # removed, or if the value is a relative name.
       MKDIR_P="$ac_install_sh -d"
     fi
   fi
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   $as_echo "$MKDIR_P" >&6; }
   
   
   # clagn with -O3
   if test "$CC" = "clang" && test "$ac_test_CFLAGS" != "set"; then
     CFLAGS="-g -O3"
   fi
   
   # host OS related
   vboxinc="/usr/local/src/virtualbox/*/include"
   vboxlib="/usr/local/lib/virtualbox"
   rctemplate=""
   
   rcdir='${prefix}/etc/rc.d'
   
   # Make sure we can run config.sub.
   $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
     as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   $as_echo_n "checking build system type... " >&6; }
   if ${ac_cv_build+:} false; then :
     $as_echo_n "(cached) " >&6
   else
     ac_build_alias=$build_alias
   test "x$ac_build_alias" = x &&
     ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   test "x$ac_build_alias" = x &&
     as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   
   fi
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   $as_echo "$ac_cv_build" >&6; }
   case $ac_cv_build in
   *-*-*) ;;
   *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   esac
   build=$ac_cv_build
   ac_save_IFS=$IFS; IFS='-'
   set x $ac_cv_build
   shift
   build_cpu=$1
   build_vendor=$2
   shift; shift
   # Remember, the first character of IFS is used to create $*,
   # except with old shells:
   build_os=$*
   IFS=$ac_save_IFS
   case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   
   
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   $as_echo_n "checking host system type... " >&6; }
   if ${ac_cv_host+:} false; then :
     $as_echo_n "(cached) " >&6
   else
     if test "x$host_alias" = x; then
     ac_cv_host=$ac_cv_build
   else
     ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
       as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   fi
   
   fi
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   $as_echo "$ac_cv_host" >&6; }
   case $ac_cv_host in
   *-*-*) ;;
   *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   esac
   host=$ac_cv_host
   ac_save_IFS=$IFS; IFS='-'
   set x $ac_cv_host
   shift
   host_cpu=$1
   host_vendor=$2
   shift; shift
   # Remember, the first character of IFS is used to create $*,
   # except with old shells:
   host_os=$*
   IFS=$ac_save_IFS
   case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   
   
   case "$host_os" in
   *linux*)
           tmp="/usr/src/virtualbox/*/include"
           if test -d "`echo $tmp`"; then
               vboxinc=$tmp
           fi
           vboxlib="/usr/lib/virtualbox"
           rctemplate="istgt_linux.sh.in"
   
           rcdir='/etc/init.d'
   
   
   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   
           ;;
   *netbsd*)
           rctemplate="istgt_netbsd.sh.in"
   
           rcdir='/etc/rc.d'
   
           ;;
   *freebsd*)
           tmp="/usr/ports/emulators/virtualbox-ose/work/*/include"
           if test -d "`echo $tmp`"; then
               vboxinc=$tmp
           else
               tmp="/usr/ports/emulators/virtualbox-ose-legacy/work/*/include"
               if test -d "`echo $tmp`"; then
                   vboxinc=$tmp
               fi
           fi
           vboxlib="/usr/local/lib/virtualbox"
           rctemplate="istgt.sh.in"
   
           rcdir='${prefix}/etc/rc.d'
   
           if test "$mandir" = '${datarootdir}/man'; then
               mandir='${prefix}/man'
   
           fi
           ;;
   esac
   
 # Checks for libraries.  # Checks for libraries.
   
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
Line 3698  do Line 3718  do
     for ac_prog in grep ggrep; do      for ac_prog in grep ggrep; do
     for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"        ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue      as_fn_executable_p "$ac_path_GREP" || continue
 # Check for GNU ac_path_GREP and select it if it is found.  # Check for GNU ac_path_GREP and select it if it is found.
   # Check for GNU $ac_path_GREP    # Check for GNU $ac_path_GREP
 case `"$ac_path_GREP" --version 2>&1` in  case `"$ac_path_GREP" --version 2>&1` in
Line 3764  do Line 3784  do
     for ac_prog in egrep; do      for ac_prog in egrep; do
     for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"        ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue      as_fn_executable_p "$ac_path_EGREP" || continue
 # Check for GNU ac_path_EGREP and select it if it is found.  # Check for GNU ac_path_EGREP and select it if it is found.
   # Check for GNU $ac_path_EGREP    # Check for GNU $ac_path_EGREP
 case `"$ac_path_EGREP" --version 2>&1` in  case `"$ac_path_EGREP" --version 2>&1` in
Line 4546  _ACEOF Line 4566  _ACEOF
 esac  esac
 rm -rf conftest*  rm -rf conftest*
   fi    fi
   
   
 fi  fi
   
 for ac_header in aio.h sched.h uuid.h sys/disk.h sys/disklabel.h  for ac_header in aio.h sched.h uuid.h sys/disk.h sys/disklabel.h
Line 4632  do Line 4654  do
   IFS=$as_save_IFS    IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_path_MKDEP="$as_dir/$ac_word$ac_exec_ext"      ac_cv_path_MKDEP="$as_dir/$ac_word$ac_exec_ext"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2      break 2
Line 4655  fi Line 4677  fi
   
   
 #if test -z "$MKDEP"; then  #if test -z "$MKDEP"; then
#   AC_PATH_PROG(MKDEP, "makedepend")#   AC_PATH_PROG([MKDEP], ["makedepend"])
 #fi  #fi
   
 # paths  # paths
Line 4691  fi Line 4713  fi
   
   
   
   # startup script directory
   
   # Check whether --with-rcdir was given.
   if test "${with_rcdir+set}" = set; then :
     withval=$with_rcdir; case $withval in
       yes|no)
           ;;
       *)
           rcdir="$withval"
           ;;
     esac
   fi
   
   
   
 # test for -Wall  # test for -Wall
 saved_CFLAGS="$CFLAGS"  saved_CFLAGS="$CFLAGS"
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts -Wall" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts -Wall" >&5
Line 4717  fi Line 4754  fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 CFLAGS="$saved_CFLAGS"  CFLAGS="$saved_CFLAGS"
   
   # test for -Wextra
   saved_CFLAGS="$CFLAGS"
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts -Wextra" >&5
   $as_echo_n "checking whether the C compiler accepts -Wextra... " >&6; }
   CFLAGS="$CFLAGS -Wextra"
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   /* end confdefs.h.  */
   
   int
   main ()
   {
   
     ;
     return 0;
   }
   _ACEOF
   if ac_fn_c_try_compile "$LINENO"; then :
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   $as_echo "yes" >&6; }; saved_CFLAGS="$CFLAGS"
   else
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   $as_echo "no" >&6; }
   fi
   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   CFLAGS="$saved_CFLAGS"
   
 # check enable features  # check enable features
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use debug mode" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use debug mode" >&5
 $as_echo_n "checking whether to use debug mode... " >&6; }  $as_echo_n "checking whether to use debug mode... " >&6; }
Line 4733  fi Line 4796  fi
   
   
   
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use symlink device" >&5
   $as_echo_n "checking whether to use symlink device... " >&6; }
   # Check whether --enable-symlink-device was given.
   if test "${enable_symlink_device+set}" = set; then :
     enableval=$enable_symlink_device; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   $as_echo "yes" >&6; };
   $as_echo "#define ALLOW_SYMLINK_DEVICE 1" >>confdefs.h
   
   else
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   $as_echo "no" >&6; }
   fi
   
   
   
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which syslog facility to use" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which syslog facility to use" >&5
 $as_echo_n "checking which syslog facility to use... " >&6; }  $as_echo_n "checking which syslog facility to use... " >&6; }
   
Line 4782  _ACEOF Line 4860  _ACEOF
 $as_echo "\"$logpriority\"" >&6; }  $as_echo "\"$logpriority\"" >&6; }
   
 #AC_MSG_CHECKING([whether to use asynchronous io])  #AC_MSG_CHECKING([whether to use asynchronous io])
#AC_ARG_WITH(aio,#AC_ARG_WITH([aio],
#  [  --with-aio           use aio (default "no")],#  AS_HELP_STRING([--with-aio], [use aio (default "no")]),
 #  [case $with_aio in  #  [case $with_aio in
 #    yes)  #    yes)
#        AC_DEFINE(USE_AIO, 1, [use aio])#        AC_DEFINE([USE_AIO], 1, [use aio])
 #        AC_MSG_RESULT(yes)  #        AC_MSG_RESULT(yes)
 #        ;;  #        ;;
 #    *)  #    *)
Line 4794  $as_echo "\"$logpriority\"" >&6; } Line 4872  $as_echo "\"$logpriority\"" >&6; }
 #        ;;  #        ;;
 #  esac],  #  esac],
 #  AC_MSG_RESULT(no))  #  AC_MSG_RESULT(no))
#AC_SUBST(USE_AIO)#AC_SUBST([USE_AIO])
   
   # vbox support
   vbox="no"
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking VirtualBox Virtual Disk support" >&5
   $as_echo_n "checking VirtualBox Virtual Disk support... " >&6; }
   
   # Check whether --with-vbox was given.
   if test "${with_vbox+set}" = set; then :
     withval=$with_vbox; case $with_vbox in
        no)
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   $as_echo "no" >&6; }
            ;;
        yes|*)
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   $as_echo "yes" >&6; }
            vbox="yes"
            if test "$with_vbox" != "yes"; then
                vboxinc="$with_vbox"
            fi
            ;;
      esac
   else
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   $as_echo "no" >&6; }
   fi
   
   
   # Check whether --with-vboxlib was given.
   if test "${with_vboxlib+set}" = set; then :
     withval=$with_vboxlib; case $with_vboxlib in
        no)
            ;;
        yes|*)
            vbox="yes"
            if test "$with_vboxlib" != "yes"; then
                vboxlib="$with_vboxlib"
            fi
            ;;
      esac
   fi
   
   # vbox support yes?
   if test "$vbox" = "yes"; then
       vboxinc=`echo $vboxinc`
       vboxlib=`echo $vboxlib`
       if test ! -d "$vboxinc"; then
           as_fn_error $? "not directory: $vboxinc" "$LINENO" 5
       fi
       if test ! -d "$vboxlib"; then
           as_fn_error $? "not directory: $vboxlib" "$LINENO" 5
       fi
       CPPFLAGS="$CPPFLAGS -I$vboxinc"
       LDFLAGS="$LDFLAGS -Wl,-rpath,$vboxlib"
       LIBS="$LIBS $vboxlib/VBoxDDU.so $vboxlib/VBoxRT.so"
   
   $as_echo "#define USE_VBOXVD 1" >>confdefs.h
   
       # define vbox include version
   
       vbox_major=`$SED -e '/^VBOX_VERSION_MAJOR[  ]*=/!d' -e 's/.*=[^0-9]*\([0-9]*\).*/\1/' $vboxinc/../Config.kmk`
       vbox_minor=`$SED -e '/^VBOX_VERSION_MINOR[  ]*=/!d' -e 's/.*=[^0-9]*\([0-9]*\).*/\1/' $vboxinc/../Config.kmk`
       vbox_build=`$SED -e '/^VBOX_VERSION_BUILD[  ]*=/!d' -e 's/.*=[^0-9]*\([0-9]*\).*/\1/' $vboxinc/../Config.kmk`
   
   
   cat >>confdefs.h <<_ACEOF
   #define ISTGT_VBOXINC_VERSION_MAJOR $vbox_major
   _ACEOF
   
   
   cat >>confdefs.h <<_ACEOF
   #define ISTGT_VBOXINC_VERSION_MINOR $vbox_minor
   _ACEOF
   
   
   cat >>confdefs.h <<_ACEOF
   #define ISTGT_VBOXINC_VERSION_BUILD $vbox_build
   _ACEOF
   
   fi
   
   # check for PTHREAD_MUTEX_ADAPTIVE_NP
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_MUTEX_ADAPTIVE_NP" >&5
   $as_echo_n "checking for PTHREAD_MUTEX_ADAPTIVE_NP... " >&6; }
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   /* end confdefs.h.  */
   
   #include <pthread.h>
   
   int
   main ()
   {
   
           return (PTHREAD_MUTEX_ADAPTIVE_NP);
   
     ;
     return 0;
   }
   _ACEOF
   if ac_fn_c_try_compile "$LINENO"; then :
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   $as_echo "yes" >&6; }
   
   $as_echo "#define HAVE_PTHREAD_MUTEX_ADAPTIVE_NP 1" >>confdefs.h
   
   else
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   $as_echo "no" >&6; }
   
   fi
   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   
 for ac_header in sys/types.h  for ac_header in sys/types.h
 do :  do :
   ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"    ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
Line 4850  atomic="no" Line 5039  atomic="no"
 $as_echo_n "checking for atomic operations... " >&6; }  $as_echo_n "checking for atomic operations... " >&6; }
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */  /* end confdefs.h.  */
   
 #if HAVE_SYS_TYPES_H  #if HAVE_SYS_TYPES_H
 #include <sys/types.h>  #include <sys/types.h>
 #endif  #endif
Line 4948  rm -f core conftest.err conftest.$ac_objext \ Line 5138  rm -f core conftest.err conftest.$ac_objext \
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $atomic" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $atomic" >&5
 $as_echo "$atomic" >&6; }  $as_echo "$atomic" >&6; }
   
   # for gcc builtin
   #AC_CHECK_FUNCS([__sync_fetch_and_add __sync_val_compare_and_swap])
   #AC_CHECK_FUNCS([__sync_synchronize])
   
   gcc_atomic="no"
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc builtin atomic operations" >&5
   $as_echo_n "checking for gcc builtin atomic operations... " >&6; }
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   /* end confdefs.h.  */
   
   #if HAVE_SYS_TYPES_H
   #include <sys/types.h>
   #endif
   
   int
   main ()
   {
   
           unsigned int x, y;
           y = __sync_fetch_and_add(&x, 0);
           __sync_val_compare_and_swap(&x, y, 2);
   
     ;
     return 0;
   }
   _ACEOF
   if ac_fn_c_try_link "$LINENO"; then :
   
   $as_echo "#define USE_GCC_ATOMIC 1" >>confdefs.h
   
   
   $as_echo "#define HAVE_GCC_ATOMIC_FETCH_AND_ADD_UINT 1" >>confdefs.h
   
   
   $as_echo "#define HAVE_GCC_ATOMIC_VAL_COMPARE_AND_SWAP_UINT 1" >>confdefs.h
   
   gcc_atomic="yes"
   
   fi
   rm -f core conftest.err conftest.$ac_objext \
       conftest$ac_exeext conftest.$ac_ext
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   /* end confdefs.h.  */
   
   #if HAVE_SYS_TYPES_H
   #include <sys/types.h>
   #endif
   
   int
   main ()
   {
   
           __sync_synchronize();
   
     ;
     return 0;
   }
   _ACEOF
   if ac_fn_c_try_link "$LINENO"; then :
   
   $as_echo "#define HAVE_GCC_ATOMIC_SYNCHRONIZE 1" >>confdefs.h
   
   
   fi
   rm -f core conftest.err conftest.$ac_objext \
       conftest$ac_exeext conftest.$ac_ext
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_atomic" >&5
   $as_echo "$gcc_atomic" >&6; }
   
 ac_config_files="$ac_config_files Makefile src/Makefile etc/Makefile doc/Makefile"  ac_config_files="$ac_config_files Makefile src/Makefile etc/Makefile doc/Makefile"
   
 ac_config_files="$ac_config_files src/build.h"  ac_config_files="$ac_config_files src/build.h"
Line 5359  if (echo >conf$$.file) 2>/dev/null; then Line 5618  if (echo >conf$$.file) 2>/dev/null; then
     # ... but there are two gotchas:      # ... but there are two gotchas:
     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    # In both cases, we have to default to `cp -p'.    # In both cases, we have to default to `cp -pR'.
     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
      as_ln_s='cp -p'      as_ln_s='cp -pR'
   elif ln conf$$.file conf$$ 2>/dev/null; then    elif ln conf$$.file conf$$ 2>/dev/null; then
     as_ln_s=ln      as_ln_s=ln
   else    else
    as_ln_s='cp -p'    as_ln_s='cp -pR'
   fi    fi
 else  else
  as_ln_s='cp -p'  as_ln_s='cp -pR'
 fi  fi
 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file  rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 rmdir conf$$.dir 2>/dev/null  rmdir conf$$.dir 2>/dev/null
Line 5428  else Line 5687  else
   as_mkdir_p=false    as_mkdir_p=false
 fi  fi
   
 if test -x / >/dev/null 2>&1; then  
   as_test_x='test -x'  
 else  
   if ls -dL / >/dev/null 2>&1; then  
     as_ls_L_option=L  
   else  
     as_ls_L_option=  
   fi  
   as_test_x='  
     eval sh -c '\''  
       if test -d "$1"; then  
         test -d "$1/.";  
       else  
         case $1 in #(  
         -*)set "./$1";;  
         esac;  
         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((  
         ???[sx]*):;;*)false;;esac;fi  
     '\'' sh  
   '  
 fi  
 as_executable_p=$as_test_x  
   
   # as_fn_executable_p FILE
   # -----------------------
   # Test if FILE is an executable regular file.
   as_fn_executable_p ()
   {
     test -f "$1" && test -x "$1"
   } # as_fn_executable_p
   as_test_x='test -x'
   as_executable_p=as_fn_executable_p
   
 # Sed expression to map a string onto a valid CPP name.  # Sed expression to map a string onto a valid CPP name.
 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"  as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   
Line 5470  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 Line 5717  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 # report actual input values of CONFIG_FILES etc. instead of their  # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.  # values after options handling.
 ac_log="  ac_log="
This file was extended by istgt $as_me 0.4, which wasThis file was extended by istgt $as_me 0.5, which was
generated by GNU Autoconf 2.68.  Invocation command line wasgenerated by GNU Autoconf 2.69.  Invocation command line was
   
   CONFIG_FILES    = $CONFIG_FILES    CONFIG_FILES    = $CONFIG_FILES
   CONFIG_HEADERS  = $CONFIG_HEADERS    CONFIG_HEADERS  = $CONFIG_HEADERS
Line 5532  _ACEOF Line 5779  _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"  ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\  ac_cs_version="\\
istgt config.status 0.4istgt config.status 0.5
configured by $0, generated by GNU Autoconf 2.68,configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"    with options \\"\$ac_cs_config\\"
   
Copyright (C) 2010 Free Software Foundation, Inc.Copyright (C) 2012 Free Software Foundation, Inc.
 This config.status script is free software; the Free Software Foundation  This config.status script is free software; the Free Software Foundation
 gives unlimited permission to copy, distribute and modify it."  gives unlimited permission to copy, distribute and modify it."
   
 ac_pwd='$ac_pwd'  ac_pwd='$ac_pwd'
 srcdir='$srcdir'  srcdir='$srcdir'
 INSTALL='$INSTALL'  INSTALL='$INSTALL'
   MKDIR_P='$MKDIR_P'
 test -n "\$AWK" || AWK=awk  test -n "\$AWK" || AWK=awk
 _ACEOF  _ACEOF
   
Line 5625  fi Line 5873  fi
 _ACEOF  _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 if \$ac_cs_recheck; then  if \$ac_cs_recheck; then
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   shift    shift
   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6    \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   CONFIG_SHELL='$SHELL'    CONFIG_SHELL='$SHELL'
Line 6107  ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix Line 6355  ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;    [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;    *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   esac    esac
     ac_MKDIR_P=$MKDIR_P
     case $MKDIR_P in
     [\\/$]* | ?:[\\/]* ) ;;
     */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
     esac
 _ACEOF  _ACEOF
   
 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
Line 6161  s&@builddir@&$ac_builddir&;t t Line 6414  s&@builddir@&$ac_builddir&;t t
 s&@abs_builddir@&$ac_abs_builddir&;t t  s&@abs_builddir@&$ac_abs_builddir&;t t
 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t  s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 s&@INSTALL@&$ac_INSTALL&;t t  s&@INSTALL@&$ac_INSTALL&;t t
   s&@MKDIR_P@&$ac_MKDIR_P&;t t
 $ac_datarootdir_hack  $ac_datarootdir_hack
 "  "
 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \  eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>