comparison configure.in @ 367:a4f53d9b3154 r21-1-13

Import from CVS: tag r21-1-13
author cvs
date Mon, 13 Aug 2007 11:01:07 +0200
parents 30d2cfa1092a
children 1d62742628b6
comparison
equal deleted inserted replaced
366:83d76f480a59 367:a4f53d9b3154
2331 break; dnl Only need ONE X11 implementation ! 2331 break; dnl Only need ONE X11 implementation !
2332 fi 2332 fi
2333 done 2333 done
2334 2334
2335 dnl Avoid version mismatch for shared library libXm.so on osf4 2335 dnl Avoid version mismatch for shared library libXm.so on osf4
2336 if test "$GCC" = yes -a -d /usr/shlib; then XE_APPEND(-L/usr/shlib, X_LIBS); fi 2336 case "$opsys" in
2337 decosf*) if test "$GCC" = yes -a -d /usr/shlib; then XE_APPEND(-L/usr/shlib, X_LIBS); fi ;;
2338 esac
2337 2339
2338 ld_switch_x_site="$X_LIBS" 2340 ld_switch_x_site="$X_LIBS"
2339 2341
2340 XE_COMPUTE_RUNPATH() 2342 XE_COMPUTE_RUNPATH()
2341 2343
2554 if eval "test -n \"\$with_${feature}\" -a \"\$with_${feature}\" != no" ; then 2556 if eval "test -n \"\$with_${feature}\" -a \"\$with_${feature}\" != no" ; then
2555 AC_MSG_WARN([--with-$feature ignored: Not valid without X support]) 2557 AC_MSG_WARN([--with-$feature ignored: Not valid without X support])
2556 fi 2558 fi
2557 eval "with_${feature}=no" 2559 eval "with_${feature}=no"
2558 done 2560 done
2561 fi
2562
2563 dnl Balloon Help requires the Shape extension, not available everywhere,
2564 dnl for example not on AIX 4.3.
2565 if test "$with_x11" = "yes"; then
2566 AC_CHECK_HEADER(X11/extensions/shape.h, [
2567 AC_DEFINE(HAVE_BALLOON_HELP)
2568 XE_ADD_OBJS(balloon_help.o balloon-x.o)])
2559 fi 2569 fi
2560 2570
2561 dnl FSF 19.29 has some bitmapdir stuff here. 2571 dnl FSF 19.29 has some bitmapdir stuff here.
2562 bitmapdir= 2572 bitmapdir=
2563 2573
3234 dnl HP-UX has a working alloca in libPW. 3244 dnl HP-UX has a working alloca in libPW.
3235 dnl case "${GCC}${opsys}" in hpux* ) 3245 dnl case "${GCC}${opsys}" in hpux* )
3236 dnl AC_CHECK_FUNC(alloca, [:], [AC_CHECK_LIB(PW, alloca)]) 3246 dnl AC_CHECK_FUNC(alloca, [:], [AC_CHECK_LIB(PW, alloca)])
3237 dnl esac 3247 dnl esac
3238 3248
3249 dnl AC_FUNC_ALLOCA doesn't know about DEC C's #pragma intrinsic(alloca)
3250 if test "$__DECC" != "yes"; then
3239 AC_FUNC_ALLOCA 3251 AC_FUNC_ALLOCA
3240 test -n "$ALLOCA" && XE_ADD_OBJS($ALLOCA) 3252 test -n "$ALLOCA" && XE_ADD_OBJS($ALLOCA)
3253 fi
3241 3254
3242 dnl Check whether vfork exists and works correctly. (This does more 3255 dnl Check whether vfork exists and works correctly. (This does more
3243 dnl than just check for its existence.) If so, it defines HAVE_VFORK_H. 3256 dnl than just check for its existence.) If so, it defines HAVE_VFORK_H.
3244 dnl If not, it defines vfork to be fork. 3257 dnl If not, it defines vfork to be fork.
3245 AC_FUNC_VFORK 3258 AC_FUNC_VFORK
3433 case "$with_sound" in both | nas ) 3446 case "$with_sound" in both | nas )
3434 AC_DEFINE(HAVE_NAS_SOUND) 3447 AC_DEFINE(HAVE_NAS_SOUND)
3435 XE_ADD_OBJS(nas.o) 3448 XE_ADD_OBJS(nas.o)
3436 XE_PREPEND(-laudio, libs_x) 3449 XE_PREPEND(-laudio, libs_x)
3437 dnl If the nas library does not contain the error jump point, 3450 dnl If the nas library does not contain the error jump point,
3438 dnl then we force safer behaviour. 3451 dnl then we force safer behavior.
3439 AC_EGREP_HEADER(AuXtErrorJump,audio/Xtutil.h,,[AC_DEFINE(NAS_NO_ERROR_JUMP)]) 3452 AC_EGREP_HEADER(AuXtErrorJump,audio/Xtutil.h,,[AC_DEFINE(NAS_NO_ERROR_JUMP)])
3440 dnl NAS <= 1.2p5 defines {BIG,LITTLE}_ENDIAN in conflict with GNU libc etc 3453 dnl NAS <= 1.2p5 defines {BIG,LITTLE}_ENDIAN in conflict with GNU libc etc
3441 dnl Recent NAS prefixes NAS_ to avoid polluting namespace 3454 dnl Recent NAS prefixes NAS_ to avoid polluting namespace
3442 AC_EGREP_CPP(yes, 3455 AC_EGREP_CPP(yes,
3443 [#include <audio/fileutil.h> 3456 [#include <audio/fileutil.h>