- WANT_XF86_DGA is turned off when XFree86 DGA is not present

This commit is contained in:
cebix 1999-10-25 20:52:12 +00:00
parent 5e6cc100f8
commit 3e80e61c25
2 changed files with 90 additions and 88 deletions

View File

@ -2295,6 +2295,7 @@ else
echo "$ac_t""no" 1>&6
echo "configure: warning: Could not find XFree86 DGA extension, ignoring --enable-xf86-dga." 1>&2
WANT_XF86_DGA=no
DEFINES="$DEFINES -DENABLE_XF86_DGA=0"
fi
@ -2351,7 +2352,7 @@ fi
# Extract the first word of "gtk-config", so it can be a program name with args.
set dummy gtk-config; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:2355: checking for $ac_word" >&5
echo "configure:2356: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -2386,7 +2387,7 @@ fi
min_gtk_version=1.2.0
echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
echo "configure:2390: checking for GTK - version >= $min_gtk_version" >&5
echo "configure:2391: checking for GTK - version >= $min_gtk_version" >&5
no_gtk=""
if test "$GTK_CONFIG" = "no" ; then
no_gtk=yes
@ -2409,7 +2410,7 @@ echo "configure:2390: checking for GTK - version >= $min_gtk_version" >&5
echo $ac_n "cross compiling; assumed OK... $ac_c"
else
cat > conftest.$ac_ext <<EOF
#line 2413 "configure"
#line 2414 "configure"
#include "confdefs.h"
#include <gtk/gtk.h>
@ -2472,7 +2473,7 @@ main ()
}
EOF
if { (eval echo configure:2476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:2477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
:
else
@ -2512,7 +2513,7 @@ fi
CFLAGS="$CFLAGS $GTK_CFLAGS"
LIBS="$LIBS $GTK_LIBS"
cat > conftest.$ac_ext <<EOF
#line 2516 "configure"
#line 2517 "configure"
#include "confdefs.h"
#include <gtk/gtk.h>
@ -2522,7 +2523,7 @@ int main() {
return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
; return 0; }
EOF
if { (eval echo configure:2526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:2527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
echo "*** The test program compiled, but did not run. This usually means"
echo "*** that the run-time linker is not finding GTK or finding the wrong"
@ -2607,7 +2608,7 @@ fi
# Extract the first word of "esd-config", so it can be a program name with args.
set dummy esd-config; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:2611: checking for $ac_word" >&5
echo "configure:2612: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_ESD_CONFIG'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -2642,7 +2643,7 @@ fi
min_esd_version=0.2.8
echo $ac_n "checking for ESD - version >= $min_esd_version""... $ac_c" 1>&6
echo "configure:2646: checking for ESD - version >= $min_esd_version" >&5
echo "configure:2647: checking for ESD - version >= $min_esd_version" >&5
no_esd=""
if test "$ESD_CONFIG" = "no" ; then
no_esd=yes
@ -2666,7 +2667,7 @@ echo "configure:2646: checking for ESD - version >= $min_esd_version" >&5
echo $ac_n "cross compiling; assumed OK... $ac_c"
else
cat > conftest.$ac_ext <<EOF
#line 2670 "configure"
#line 2671 "configure"
#include "confdefs.h"
#include <stdio.h>
@ -2724,7 +2725,7 @@ int main ()
EOF
if { (eval echo configure:2728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:2729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
:
else
@ -2763,7 +2764,7 @@ fi
CFLAGS="$CFLAGS $ESD_CFLAGS"
LIBS="$LIBS $ESD_LIBS"
cat > conftest.$ac_ext <<EOF
#line 2767 "configure"
#line 2768 "configure"
#include "confdefs.h"
#include <stdio.h>
@ -2773,7 +2774,7 @@ int main() {
return 0;
; return 0; }
EOF
if { (eval echo configure:2777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:2778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
echo "*** The test program compiled, but did not run. This usually means"
echo "*** that the run-time linker is not finding ESD or finding the wrong"
@ -2812,12 +2813,12 @@ rm -f conftest*
fi
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
echo "configure:2816: checking for ANSI C header files" >&5
echo "configure:2817: checking for ANSI C header files" >&5
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 2821 "configure"
#line 2822 "configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
@ -2825,7 +2826,7 @@ else
#include <float.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:2829: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:2830: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@ -2842,7 +2843,7 @@ rm -f conftest*
if test $ac_cv_header_stdc = yes; then
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
cat > conftest.$ac_ext <<EOF
#line 2846 "configure"
#line 2847 "configure"
#include "confdefs.h"
#include <string.h>
EOF
@ -2860,7 +2861,7 @@ fi
if test $ac_cv_header_stdc = yes; then
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
cat > conftest.$ac_ext <<EOF
#line 2864 "configure"
#line 2865 "configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
@ -2881,7 +2882,7 @@ if test "$cross_compiling" = yes; then
:
else
cat > conftest.$ac_ext <<EOF
#line 2885 "configure"
#line 2886 "configure"
#include "confdefs.h"
#include <ctype.h>
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
@ -2892,7 +2893,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
exit (0); }
EOF
if { (eval echo configure:2896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:2897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
:
else
@ -2919,17 +2920,17 @@ for ac_hdr in unistd.h fcntl.h sys/time.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:2923: checking for $ac_hdr" >&5
echo "configure:2924: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 2928 "configure"
#line 2929 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:2933: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:2934: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@ -2957,14 +2958,14 @@ done
echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
echo "configure:2961: checking whether byte ordering is bigendian" >&5
echo "configure:2962: checking whether byte ordering is bigendian" >&5
if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_cv_c_bigendian=unknown
# See if sys/param.h defines the BYTE_ORDER macro.
cat > conftest.$ac_ext <<EOF
#line 2968 "configure"
#line 2969 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/param.h>
@ -2975,11 +2976,11 @@ int main() {
#endif
; return 0; }
EOF
if { (eval echo configure:2979: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:2980: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
# It does; now see whether it defined to BIG_ENDIAN or not.
cat > conftest.$ac_ext <<EOF
#line 2983 "configure"
#line 2984 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/param.h>
@ -2990,7 +2991,7 @@ int main() {
#endif
; return 0; }
EOF
if { (eval echo configure:2994: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:2995: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_c_bigendian=yes
else
@ -3010,7 +3011,7 @@ if test "$cross_compiling" = yes; then
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
else
cat > conftest.$ac_ext <<EOF
#line 3014 "configure"
#line 3015 "configure"
#include "confdefs.h"
main () {
/* Are we little or big endian? From Harbison&Steele. */
@ -3023,7 +3024,7 @@ main () {
exit (u.c[sizeof (long) - 1] == 1);
}
EOF
if { (eval echo configure:3027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:3028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_c_bigendian=no
else
@ -3047,12 +3048,12 @@ EOF
fi
echo $ac_n "checking for working const""... $ac_c" 1>&6
echo "configure:3051: checking for working const" >&5
echo "configure:3052: checking for working const" >&5
if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 3056 "configure"
#line 3057 "configure"
#include "confdefs.h"
int main() {
@ -3101,7 +3102,7 @@ ccp = (char const *const *) p;
; return 0; }
EOF
if { (eval echo configure:3105: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:3106: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_c_const=yes
else
@ -3122,21 +3123,21 @@ EOF
fi
echo $ac_n "checking for inline""... $ac_c" 1>&6
echo "configure:3126: checking for inline" >&5
echo "configure:3127: checking for inline" >&5
if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_cv_c_inline=no
for ac_kw in inline __inline__ __inline; do
cat > conftest.$ac_ext <<EOF
#line 3133 "configure"
#line 3134 "configure"
#include "confdefs.h"
int main() {
} $ac_kw foo() {
; return 0; }
EOF
if { (eval echo configure:3140: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:3141: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_c_inline=$ac_kw; break
else
@ -3162,7 +3163,7 @@ EOF
esac
echo $ac_n "checking size of short""... $ac_c" 1>&6
echo "configure:3166: checking size of short" >&5
echo "configure:3167: checking size of short" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -3170,7 +3171,7 @@ else
ac_cv_sizeof_short=2
else
cat > conftest.$ac_ext <<EOF
#line 3174 "configure"
#line 3175 "configure"
#include "confdefs.h"
#include <stdio.h>
main()
@ -3181,7 +3182,7 @@ main()
exit(0);
}
EOF
if { (eval echo configure:3185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:3186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_sizeof_short=`cat conftestval`
else
@ -3201,7 +3202,7 @@ EOF
echo $ac_n "checking size of int""... $ac_c" 1>&6
echo "configure:3205: checking size of int" >&5
echo "configure:3206: checking size of int" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -3209,7 +3210,7 @@ else
ac_cv_sizeof_int=4
else
cat > conftest.$ac_ext <<EOF
#line 3213 "configure"
#line 3214 "configure"
#include "confdefs.h"
#include <stdio.h>
main()
@ -3220,7 +3221,7 @@ main()
exit(0);
}
EOF
if { (eval echo configure:3224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:3225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_sizeof_int=`cat conftestval`
else
@ -3240,7 +3241,7 @@ EOF
echo $ac_n "checking size of long""... $ac_c" 1>&6
echo "configure:3244: checking size of long" >&5
echo "configure:3245: checking size of long" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -3248,7 +3249,7 @@ else
ac_cv_sizeof_long=4
else
cat > conftest.$ac_ext <<EOF
#line 3252 "configure"
#line 3253 "configure"
#include "confdefs.h"
#include <stdio.h>
main()
@ -3259,7 +3260,7 @@ main()
exit(0);
}
EOF
if { (eval echo configure:3263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:3264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_sizeof_long=`cat conftestval`
else
@ -3279,7 +3280,7 @@ EOF
echo $ac_n "checking size of long long""... $ac_c" 1>&6
echo "configure:3283: checking size of long long" >&5
echo "configure:3284: checking size of long long" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -3287,7 +3288,7 @@ else
ac_cv_sizeof_long_long=8
else
cat > conftest.$ac_ext <<EOF
#line 3291 "configure"
#line 3292 "configure"
#include "confdefs.h"
#include <stdio.h>
main()
@ -3298,7 +3299,7 @@ main()
exit(0);
}
EOF
if { (eval echo configure:3302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:3303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_sizeof_long_long=`cat conftestval`
else
@ -3318,12 +3319,12 @@ EOF
echo $ac_n "checking for off_t""... $ac_c" 1>&6
echo "configure:3322: checking for off_t" >&5
echo "configure:3323: checking for off_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 3327 "configure"
#line 3328 "configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
@ -3351,12 +3352,12 @@ EOF
fi
echo $ac_n "checking for loff_t""... $ac_c" 1>&6
echo "configure:3355: checking for loff_t" >&5
echo "configure:3356: checking for loff_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_loff_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 3360 "configure"
#line 3361 "configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
@ -3384,12 +3385,12 @@ EOF
fi
echo $ac_n "checking for size_t""... $ac_c" 1>&6
echo "configure:3388: checking for size_t" >&5
echo "configure:3389: checking for size_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 3393 "configure"
#line 3394 "configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
@ -3417,12 +3418,12 @@ EOF
fi
echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
echo "configure:3421: checking whether time.h and sys/time.h may both be included" >&5
echo "configure:3422: checking whether time.h and sys/time.h may both be included" >&5
if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 3426 "configure"
#line 3427 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/time.h>
@ -3431,7 +3432,7 @@ int main() {
struct tm *tp;
; return 0; }
EOF
if { (eval echo configure:3435: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:3436: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_header_time=yes
else
@ -3452,12 +3453,12 @@ EOF
fi
echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
echo "configure:3456: checking whether struct tm is in sys/time.h or time.h" >&5
echo "configure:3457: checking whether struct tm is in sys/time.h or time.h" >&5
if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 3461 "configure"
#line 3462 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <time.h>
@ -3465,7 +3466,7 @@ int main() {
struct tm *tp; tp->tm_sec;
; return 0; }
EOF
if { (eval echo configure:3469: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:3470: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_struct_tm=time.h
else
@ -3489,12 +3490,12 @@ fi
for ac_func in strdup cfmakeraw
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:3493: checking for $ac_func" >&5
echo "configure:3494: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 3498 "configure"
#line 3499 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
@ -3517,7 +3518,7 @@ $ac_func();
; return 0; }
EOF
if { (eval echo configure:3521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:3522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
@ -3544,12 +3545,12 @@ done
for ac_func in nanosleep clock_gettime timer_create
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:3548: checking for $ac_func" >&5
echo "configure:3549: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 3553 "configure"
#line 3554 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
@ -3572,7 +3573,7 @@ $ac_func();
; return 0; }
EOF
if { (eval echo configure:3576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:3577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
@ -3599,12 +3600,12 @@ done
for ac_func in pthread_cancel
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:3603: checking for $ac_func" >&5
echo "configure:3604: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 3608 "configure"
#line 3609 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
@ -3627,7 +3628,7 @@ $ac_func();
; return 0; }
EOF
if { (eval echo configure:3631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:3632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
@ -3660,7 +3661,7 @@ if MACHINE=`uname -a 2>/dev/null`; then
;;
FreeBSD*3.*)
echo $ac_n "checking for cam_open_btl in -lcam""... $ac_c" 1>&6
echo "configure:3664: checking for cam_open_btl in -lcam" >&5
echo "configure:3665: checking for cam_open_btl in -lcam" >&5
ac_lib_var=`echo cam'_'cam_open_btl | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@ -3668,7 +3669,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lcam $LIBS"
cat > conftest.$ac_ext <<EOF
#line 3672 "configure"
#line 3673 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@ -3679,7 +3680,7 @@ int main() {
cam_open_btl()
; return 0; }
EOF
if { (eval echo configure:3683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:3684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@ -3705,17 +3706,17 @@ fi
else
ac_safe=`echo "/sys/cam/cam.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for /sys/cam/cam.h""... $ac_c" 1>&6
echo "configure:3709: checking for /sys/cam/cam.h" >&5
echo "configure:3710: checking for /sys/cam/cam.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 3714 "configure"
#line 3715 "configure"
#include "confdefs.h"
#include </sys/cam/cam.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:3719: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:3720: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@ -3748,7 +3749,7 @@ fi
;;
FreeBSD*)
echo $ac_n "checking for scsi_open in -lscsi""... $ac_c" 1>&6
echo "configure:3752: checking for scsi_open in -lscsi" >&5
echo "configure:3753: checking for scsi_open in -lscsi" >&5
ac_lib_var=`echo scsi'_'scsi_open | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@ -3756,7 +3757,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lscsi $LIBS"
cat > conftest.$ac_ext <<EOF
#line 3760 "configure"
#line 3761 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@ -3767,7 +3768,7 @@ int main() {
scsi_open()
; return 0; }
EOF
if { (eval echo configure:3771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:3772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@ -3793,17 +3794,17 @@ fi
else
ac_safe=`echo "scsi.h sys/scsiio.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for scsi.h sys/scsiio.h""... $ac_c" 1>&6
echo "configure:3797: checking for scsi.h sys/scsiio.h" >&5
echo "configure:3798: checking for scsi.h sys/scsiio.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 3802 "configure"
#line 3803 "configure"
#include "confdefs.h"
#include <scsi.h sys/scsiio.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:3807: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:3808: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@ -3847,9 +3848,9 @@ SYSSRCS="$SYSSRCS $SEMSRCS $UISRCS $MONSRCS"
HAVE_I386=no
echo $ac_n "checking for x86 target CPU""... $ac_c" 1>&6
echo "configure:3851: checking for x86 target CPU" >&5
echo "configure:3852: checking for x86 target CPU" >&5
cat > conftest.$ac_ext <<EOF
#line 3853 "configure"
#line 3854 "configure"
#include "confdefs.h"
#ifdef __i386__
@ -3870,9 +3871,9 @@ rm -f conftest*
HAVE_SPARC=no
echo $ac_n "checking for SPARC target CPU""... $ac_c" 1>&6
echo "configure:3874: checking for SPARC target CPU" >&5
echo "configure:3875: checking for SPARC target CPU" >&5
cat > conftest.$ac_ext <<EOF
#line 3876 "configure"
#line 3877 "configure"
#include "confdefs.h"
#ifdef __sparc__
@ -3893,7 +3894,7 @@ rm -f conftest*
HAVE_GAS=no
echo $ac_n "checking for GAS .p2align feature""... $ac_c" 1>&6
echo "configure:3897: checking for GAS .p2align feature" >&5
echo "configure:3898: checking for GAS .p2align feature" >&5
cat >conftest.S << EOF
.text
.p2align 5
@ -3903,9 +3904,9 @@ echo "$ac_t""$HAVE_GAS" 1>&6
HAVE_GCC27=no
echo $ac_n "checking for GCC 2.7 or higher""... $ac_c" 1>&6
echo "configure:3907: checking for GCC 2.7 or higher" >&5
echo "configure:3908: checking for GCC 2.7 or higher" >&5
cat > conftest.$ac_ext <<EOF
#line 3909 "configure"
#line 3910 "configure"
#include "confdefs.h"
#if __GNUC__ - 1 > 1 || __GNUC_MINOR__ - 1 > 5
yes
@ -3943,7 +3944,7 @@ elif [ "x$HAVE_GCC27" = "xyes" -a "x$HAVE_SPARC" = "xyes" -a "x$HAVE_GAS" = "xye
case "$MACHINE" in
SunOS*)
echo $ac_n "checking SPARC CPU architecture""... $ac_c" 1>&6
echo "configure:3947: checking SPARC CPU architecture" >&5
echo "configure:3948: checking SPARC CPU architecture" >&5
SPARC_TYPE=`Solaris/which_sparc`
echo "$ac_t""$SPARC_TYPE" 1>&6
case "$SPARC_TYPE" in

View File

@ -71,6 +71,7 @@ if [[ "x$WANT_XF86_DGA" = "xyes" ]]; then
fi
], [
AC_MSG_WARN([Could not find XFree86 DGA extension, ignoring --enable-xf86-dga.])
WANT_XF86_DGA=no
DEFINES="$DEFINES -DENABLE_XF86_DGA=0"
])
else