VirtualBox

Ignore:
Timestamp:
Apr 8, 2015 9:40:02 AM (10 years ago)
Author:
vboxsync
Message:

rdesktop 1.8.3 modified for VBox

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/RDP/client-1.8.3/configure

    r55121 r55123  
    658658INSTALL_SCRIPT
    659659INSTALL_PROGRAM
     660ac_ct_CXX
     661CXXFLAGS
     662CXX
    660663OBJEXT
    661664EXEEXT
     
    746749LIBS
    747750CPPFLAGS
     751CXX
     752CXXFLAGS
     753CCC
    748754CPP
    749755XMKMF
     
    14161422  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
    14171423              you have headers in a nonstandard directory <include dir>
     1424  CXX         C++ compiler command
     1425  CXXFLAGS    C++ compiler flags
    14181426  CPP         C preprocessor
    14191427  XMKMF       Path to xmkmf, Makefile generator for X Window System
     
    15611569
    15621570} # ac_fn_c_try_compile
     1571
     1572# ac_fn_cxx_try_compile LINENO
     1573# ----------------------------
     1574# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1575ac_fn_cxx_try_compile ()
     1576{
     1577  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1578  rm -f conftest.$ac_objext
     1579  if { { ac_try="$ac_compile"
     1580case "(($ac_try" in
     1581  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1582  *) ac_try_echo=$ac_try;;
     1583esac
     1584eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1585$as_echo "$ac_try_echo"; } >&5
     1586  (eval "$ac_compile") 2>conftest.err
     1587  ac_status=$?
     1588  if test -s conftest.err; then
     1589    grep -v '^ *+' conftest.err >conftest.er1
     1590    cat conftest.er1 >&5
     1591    mv -f conftest.er1 conftest.err
     1592  fi
     1593  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1594  test $ac_status = 0; } && {
     1595         test -z "$ac_cxx_werror_flag" ||
     1596         test ! -s conftest.err
     1597       } && test -s conftest.$ac_objext; then :
     1598  ac_retval=0
     1599else
     1600  $as_echo "$as_me: failed program was:" >&5
     1601sed 's/^/| /' conftest.$ac_ext >&5
     1602
     1603        ac_retval=1
     1604fi
     1605  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1606  as_fn_set_status $ac_retval
     1607
     1608} # ac_fn_cxx_try_compile
    15631609
    15641610# ac_fn_c_try_cpp LINENO
     
    32763322    CFLAGS="$CFLAGS -Wall"
    32773323fi
     3324ac_ext=cpp
     3325ac_cpp='$CXXCPP $CPPFLAGS'
     3326ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     3327ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     3328ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
     3329if test -z "$CXX"; then
     3330  if test -n "$CCC"; then
     3331    CXX=$CCC
     3332  else
     3333    if test -n "$ac_tool_prefix"; then
     3334  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
     3335  do
     3336    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
     3337set dummy $ac_tool_prefix$ac_prog; ac_word=$2
     3338{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3339$as_echo_n "checking for $ac_word... " >&6; }
     3340if ${ac_cv_prog_CXX+:} false; then :
     3341  $as_echo_n "(cached) " >&6
     3342else
     3343  if test -n "$CXX"; then
     3344  ac_cv_prog_CXX="$CXX" # Let the user override the test.
     3345else
     3346as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3347for as_dir in $PATH
     3348do
     3349  IFS=$as_save_IFS
     3350  test -z "$as_dir" && as_dir=.
     3351    for ac_exec_ext in '' $ac_executable_extensions; do
     3352  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3353    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
     3354    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3355    break 2
     3356  fi
     3357done
     3358  done
     3359IFS=$as_save_IFS
     3360
     3361fi
     3362fi
     3363CXX=$ac_cv_prog_CXX
     3364if test -n "$CXX"; then
     3365  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
     3366$as_echo "$CXX" >&6; }
     3367else
     3368  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3369$as_echo "no" >&6; }
     3370fi
     3371
     3372
     3373    test -n "$CXX" && break
     3374  done
     3375fi
     3376if test -z "$CXX"; then
     3377  ac_ct_CXX=$CXX
     3378  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
     3379do
     3380  # Extract the first word of "$ac_prog", so it can be a program name with args.
     3381set dummy $ac_prog; ac_word=$2
     3382{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3383$as_echo_n "checking for $ac_word... " >&6; }
     3384if ${ac_cv_prog_ac_ct_CXX+:} false; then :
     3385  $as_echo_n "(cached) " >&6
     3386else
     3387  if test -n "$ac_ct_CXX"; then
     3388  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
     3389else
     3390as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3391for as_dir in $PATH
     3392do
     3393  IFS=$as_save_IFS
     3394  test -z "$as_dir" && as_dir=.
     3395    for ac_exec_ext in '' $ac_executable_extensions; do
     3396  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3397    ac_cv_prog_ac_ct_CXX="$ac_prog"
     3398    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3399    break 2
     3400  fi
     3401done
     3402  done
     3403IFS=$as_save_IFS
     3404
     3405fi
     3406fi
     3407ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
     3408if test -n "$ac_ct_CXX"; then
     3409  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
     3410$as_echo "$ac_ct_CXX" >&6; }
     3411else
     3412  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3413$as_echo "no" >&6; }
     3414fi
     3415
     3416
     3417  test -n "$ac_ct_CXX" && break
     3418done
     3419
     3420  if test "x$ac_ct_CXX" = x; then
     3421    CXX="g++"
     3422  else
     3423    case $cross_compiling:$ac_tool_warned in
     3424yes:)
     3425{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     3426$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     3427ac_tool_warned=yes ;;
     3428esac
     3429    CXX=$ac_ct_CXX
     3430  fi
     3431fi
     3432
     3433  fi
     3434fi
     3435# Provide some information about the compiler.
     3436$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
     3437set X $ac_compile
     3438ac_compiler=$2
     3439for ac_option in --version -v -V -qversion; do
     3440  { { ac_try="$ac_compiler $ac_option >&5"
     3441case "(($ac_try" in
     3442  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3443  *) ac_try_echo=$ac_try;;
     3444esac
     3445eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3446$as_echo "$ac_try_echo"; } >&5
     3447  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
     3448  ac_status=$?
     3449  if test -s conftest.err; then
     3450    sed '10a\
     3451... rest of stderr output deleted ...
     3452         10q' conftest.err >conftest.er1
     3453    cat conftest.er1 >&5
     3454  fi
     3455  rm -f conftest.er1 conftest.err
     3456  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3457  test $ac_status = 0; }
     3458done
     3459
     3460{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
     3461$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
     3462if ${ac_cv_cxx_compiler_gnu+:} false; then :
     3463  $as_echo_n "(cached) " >&6
     3464else
     3465  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3466/* end confdefs.h.  */
     3467
     3468int
     3469main ()
     3470{
     3471#ifndef __GNUC__
     3472       choke me
     3473#endif
     3474
     3475  ;
     3476  return 0;
     3477}
     3478_ACEOF
     3479if ac_fn_cxx_try_compile "$LINENO"; then :
     3480  ac_compiler_gnu=yes
     3481else
     3482  ac_compiler_gnu=no
     3483fi
     3484rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3485ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
     3486
     3487fi
     3488{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
     3489$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
     3490if test $ac_compiler_gnu = yes; then
     3491  GXX=yes
     3492else
     3493  GXX=
     3494fi
     3495ac_test_CXXFLAGS=${CXXFLAGS+set}
     3496ac_save_CXXFLAGS=$CXXFLAGS
     3497{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
     3498$as_echo_n "checking whether $CXX accepts -g... " >&6; }
     3499if ${ac_cv_prog_cxx_g+:} false; then :
     3500  $as_echo_n "(cached) " >&6
     3501else
     3502  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
     3503   ac_cxx_werror_flag=yes
     3504   ac_cv_prog_cxx_g=no
     3505   CXXFLAGS="-g"
     3506   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3507/* end confdefs.h.  */
     3508
     3509int
     3510main ()
     3511{
     3512
     3513  ;
     3514  return 0;
     3515}
     3516_ACEOF
     3517if ac_fn_cxx_try_compile "$LINENO"; then :
     3518  ac_cv_prog_cxx_g=yes
     3519else
     3520  CXXFLAGS=""
     3521      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3522/* end confdefs.h.  */
     3523
     3524int
     3525main ()
     3526{
     3527
     3528  ;
     3529  return 0;
     3530}
     3531_ACEOF
     3532if ac_fn_cxx_try_compile "$LINENO"; then :
     3533
     3534else
     3535  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     3536         CXXFLAGS="-g"
     3537         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3538/* end confdefs.h.  */
     3539
     3540int
     3541main ()
     3542{
     3543
     3544  ;
     3545  return 0;
     3546}
     3547_ACEOF
     3548if ac_fn_cxx_try_compile "$LINENO"; then :
     3549  ac_cv_prog_cxx_g=yes
     3550fi
     3551rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3552fi
     3553rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3554fi
     3555rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3556   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     3557fi
     3558{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
     3559$as_echo "$ac_cv_prog_cxx_g" >&6; }
     3560if test "$ac_test_CXXFLAGS" = set; then
     3561  CXXFLAGS=$ac_save_CXXFLAGS
     3562elif test $ac_cv_prog_cxx_g = yes; then
     3563  if test "$GXX" = yes; then
     3564    CXXFLAGS="-g -O2"
     3565  else
     3566    CXXFLAGS="-g"
     3567  fi
     3568else
     3569  if test "$GXX" = yes; then
     3570    CXXFLAGS="-O2"
     3571  else
     3572    CXXFLAGS=
     3573  fi
     3574fi
     3575ac_ext=c
     3576ac_cpp='$CPP $CPPFLAGS'
     3577ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     3578ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     3579ac_compiler_gnu=$ac_cv_c_compiler_gnu
     3580
    32783581
    32793582# Find a good install program.  We prefer a C program (faster),
     
    49065209fi
    49075210
     5211{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
     5212$as_echo_n "checking for library containing clock_gettime... " >&6; }
     5213if ${ac_cv_search_clock_gettime+:} false; then :
     5214  $as_echo_n "(cached) " >&6
     5215else
     5216  ac_func_search_save_LIBS=$LIBS
     5217cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5218/* end confdefs.h.  */
     5219
     5220/* Override any GCC internal prototype to avoid an error.
     5221   Use char because int might match the return type of a GCC
     5222   builtin and then its argument prototype would still apply.  */
     5223#ifdef __cplusplus
     5224extern "C"
     5225#endif
     5226char clock_gettime ();
     5227int
     5228main ()
     5229{
     5230return clock_gettime ();
     5231  ;
     5232  return 0;
     5233}
     5234_ACEOF
     5235for ac_lib in '' rt; do
     5236  if test -z "$ac_lib"; then
     5237    ac_res="none required"
     5238  else
     5239    ac_res=-l$ac_lib
     5240    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     5241  fi
     5242  if ac_fn_c_try_link "$LINENO"; then :
     5243  ac_cv_search_clock_gettime=$ac_res
     5244fi
     5245rm -f core conftest.err conftest.$ac_objext \
     5246    conftest$ac_exeext
     5247  if ${ac_cv_search_clock_gettime+:} false; then :
     5248  break
     5249fi
     5250done
     5251if ${ac_cv_search_clock_gettime+:} false; then :
     5252
     5253else
     5254  ac_cv_search_clock_gettime=no
     5255fi
     5256rm conftest.$ac_ext
     5257LIBS=$ac_func_search_save_LIBS
     5258fi
     5259{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
     5260$as_echo "$ac_cv_search_clock_gettime" >&6; }
     5261ac_res=$ac_cv_search_clock_gettime
     5262if test "$ac_res" != no; then :
     5263  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
     5264
     5265fi
     5266
    49085267
    49095268ac_fn_c_check_header_mongrel "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default"
     
    56906049fi
    56916050
     6051
     6052#
     6053# linux/compiler.h
     6054#
     6055{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if linux/compiler.h is required" >&5
     6056$as_echo_n "checking if linux/compiler.h is required... " >&6; }
     6057cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     6058/* end confdefs.h.  */
     6059
     6060#include <linux/compiler.h>
     6061
     6062int
     6063main ()
     6064{
     6065
     6066  ;
     6067  return 0;
     6068}
     6069_ACEOF
     6070if ac_fn_c_try_compile "$LINENO"; then :
     6071  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     6072$as_echo "yes" >&6; }
     6073 $as_echo "#define VBOX_WITH_LINUX_COMPILER_H 1" >>confdefs.h
     6074
     6075else
     6076  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6077$as_echo "no" >&6; }
     6078fi
     6079rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    56926080
    56936081
     
    71347522    since some C++ compilers masquerading as C compilers
    71357523    incorrectly reject 9223372036854775807.  */
    7136 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
     7524#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
    71377525  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
    71387526                       && LARGE_OFF_T % 2147483647 == 1)
     
    71807568    since some C++ compilers masquerading as C compilers
    71817569    incorrectly reject 9223372036854775807.  */
    7182 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
     7570#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
    71837571  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
    71847572                       && LARGE_OFF_T % 2147483647 == 1)
     
    72047592    since some C++ compilers masquerading as C compilers
    72057593    incorrectly reject 9223372036854775807.  */
    7206 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
     7594#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
    72077595  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
    72087596                       && LARGE_OFF_T % 2147483647 == 1)
     
    72497637    since some C++ compilers masquerading as C compilers
    72507638    incorrectly reject 9223372036854775807.  */
    7251 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
     7639#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
    72527640  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
    72537641                       && LARGE_OFF_T % 2147483647 == 1)
     
    72737661    since some C++ compilers masquerading as C compilers
    72747662    incorrectly reject 9223372036854775807.  */
    7275 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
     7663#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
    72767664  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
    72777665                       && LARGE_OFF_T % 2147483647 == 1)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette