comparison configure @ 100:4be1180a9e89 r20-1b2

Import from CVS: tag r20-1b2
author cvs
date Mon, 13 Aug 2007 09:15:11 +0200
parents 0d2f883870bc
children cf808b4c4290
comparison
equal deleted inserted replaced
99:2d83cbd90d8d 100:4be1180a9e89
278 --with-wnn Compile with support for WNN (a multi-language input method 278 --with-wnn Compile with support for WNN (a multi-language input method
279 used in conjunction with Mule support). 279 used in conjunction with Mule support).
280 This is beta level code. 280 This is beta level code.
281 --with-wnn6 Compile with support for WNN version 6 281 --with-wnn6 Compile with support for WNN version 6
282 This is alpha level code. 282 This is alpha level code.
283 --wnn-includes=DIR Search for WNN header files in DIR.
284 --wnn-libraries=DIR Search for WNN libraries in DIR.
283 --with-i18n3 Compile with I18N level 3 (support for message 285 --with-i18n3 Compile with I18N level 3 (support for message
284 translation). This doesn't currently work. 286 translation). This doesn't currently work.
285 287
286 288
287 Debugging options: 289 Debugging options:
443 compiler | \ 445 compiler | \
444 puresize | \ 446 puresize | \
445 native_sound_lib | \ 447 native_sound_lib | \
446 x_includes | \ 448 x_includes | \
447 x_libraries | \ 449 x_libraries | \
450 wnn_includes | \
451 wnn_libraries | \
448 site_includes | \ 452 site_includes | \
449 site_libraries | \ 453 site_libraries | \
450 site_runtime_libraries ) 454 site_runtime_libraries )
451 ## If the value was omitted, get it from the next argument. 455 ## If the value was omitted, get it from the next argument.
452 if test "${valomitted}" = "yes" ; then 456 if test "${valomitted}" = "yes" ; then
3304 :; internal_cde_lib_found='yes' 3308 :; internal_cde_lib_found='yes'
3305 else 3309 else
3306 :; 3310 :;
3307 fi 3311 fi
3308 3312
3313 if test "${internal_cde_lib_found}" = "no" -a -f "/usr/dt/lib/libDtSvc.a"; then
3314 internal_cde_lib_found="yes"
3315 fi
3309 if test "${internal_cde_lib_found}" = "yes" ; then 3316 if test "${internal_cde_lib_found}" = "yes" ; then
3310 internal_cde_includes_found='no' 3317 internal_cde_includes_found='no'
3311 for arg in ${DEFS} /usr/include ; do 3318 for arg in ${DEFS} /usr/include /usr/dt/include ; do
3312 if test -f `echo "${arg}/Dt/Dt.h" | sed 's/^\-I//'` ; then 3319 if test -f `echo "${arg}/Dt/Dt.h" | sed 's/^\-I//'` ; then
3313 internal_cde_includes_found='yes' 3320 internal_cde_includes_found='yes'
3314 fi 3321 fi
3315 done 3322 done
3316 if test "${internal_cde_includes_found}" = "yes" ; then 3323 if test "${internal_cde_includes_found}" = "yes" ; then
3328 \${ac_uA}HAVE_CDE\${ac_uB}HAVE_CDE\${ac_uC}1\${ac_uD} 3335 \${ac_uA}HAVE_CDE\${ac_uB}HAVE_CDE\${ac_uC}1\${ac_uD}
3329 \${ac_eA}HAVE_CDE\${ac_eB}HAVE_CDE\${ac_eC}1\${ac_eD} 3336 \${ac_eA}HAVE_CDE\${ac_eB}HAVE_CDE\${ac_eC}1\${ac_eD}
3330 " 3337 "
3331 } 3338 }
3332 3339
3340
3341 # having CDE implies Tooltalk
3342 if test "${with_cde}" = "yes" -a \
3343 "${with_tooltalk}" != "no" -a \
3344 "${with_tooltalk}" != "none" ; then
3345 with_tooltalk='yes'
3346 fi
3333 3347
3334 # 3348 #
3335 # See if we can find OffiX. 3349 # See if we can find OffiX.
3336 # 3350 #
3337 if test "${window_system}" != "none" -a \ 3351 if test "${window_system}" != "none" -a \
3667 :; with_xmu="yes" 3681 :; with_xmu="yes"
3668 else 3682 else
3669 :; 3683 :;
3670 fi 3684 fi
3671 } 3685 }
3672 # On SunOS4 we must kludge harder to try to detect Xmu 3686 # On SunOS4 (and 5!) we must kludge harder to try to detect Xmu
3673 # Upgrade to autoconf 2 and use ac_check_lib - mrb 3687 # Upgrade to autoconf 2 and use ac_check_lib - mrb
3674 if test "${with_xmu}" != "yes" -a -n "$OPENWINHOME" ; then 3688 if test "${with_xmu}" != "yes" ; then
3675 # begin expansion of ac_have_library 3689 # begin expansion of ac_have_library
3676 ac_save_LIBS="${LIBS}" 3690 ac_save_LIBS="${LIBS}"
3677 LIBS="${LIBS} -lXmu -lXt -lXext -lX11 -lm" 3691 LIBS="${LIBS} -lXmu -lXt -lXext -lX11 -lm"
3678 if test ${machine} = sparc -a ${opsys} = linux; then 3692 if test ${machine} = sparc -a ${opsys} = linux; then
3679 LIBS="${LIBS} -lICE -lSM" 3693 LIBS="${LIBS} -lICE -lSM"
4418 ac_sed_defs="${ac_sed_defs}\${ac_dA}XIM_MOTIF\${ac_dB}XIM_MOTIF\${ac_dC}1\${ac_dD} 4432 ac_sed_defs="${ac_sed_defs}\${ac_dA}XIM_MOTIF\${ac_dB}XIM_MOTIF\${ac_dC}1\${ac_dD}
4419 \${ac_uA}XIM_MOTIF\${ac_uB}XIM_MOTIF\${ac_uC}1\${ac_uD} 4433 \${ac_uA}XIM_MOTIF\${ac_uB}XIM_MOTIF\${ac_uC}1\${ac_uD}
4420 \${ac_eA}XIM_MOTIF\${ac_eB}XIM_MOTIF\${ac_eC}1\${ac_eD} 4434 \${ac_eA}XIM_MOTIF\${ac_eB}XIM_MOTIF\${ac_eC}1\${ac_eD}
4421 " 4435 "
4422 } 4436 }
4437
4423 fi 4438 fi
4424 # wnn6 implies wnn support 4439 # wnn6 implies wnn support
4425 if test "$with_wnn6" = "yes" ; then 4440 if test "$with_wnn6" = "yes" ; then
4426 with_wnn=yes 4441 with_wnn=yes
4427 fi 4442 fi
4430 for feature in xim canna wnn wnn6 ; do 4445 for feature in xim canna wnn wnn6 ; do
4431 if eval "test -n \"\$with_$feature\" -a \"\$with_$feature\" != no" ; then 4446 if eval "test -n \"\$with_$feature\" -a \"\$with_$feature\" != no" ; then
4432 echo "configure: warning: --with-$feature ignored: Not valid without Mule support" >&2 4447 echo "configure: warning: --with-$feature ignored: Not valid without Mule support" >&2
4433 fi 4448 fi
4434 eval "with_$feature=no" 4449 eval "with_$feature=no"
4450 done
4451 fi
4452
4453 #
4454 # set defaults for finding WNN includes and libs
4455 #
4456 if test "${with_wnn}" = "yes" ; then
4457 for arg in "-I${wnn_includes}" "-I/usr/X11R6/include"
4458 do
4459 if test -f `echo "${arg}/wnnerror.h" | sed 's/^\-I//'` ; then
4460 C_SWITCH_SITE="${C_SWITCH_SITE} ${arg}"
4461 wnn_includes=${arg}
4462 fi
4463 done
4464 for arg in "-L${wnn_libraries}" "-I/usr/X11R6/lib"
4465 do
4466 if test -f `echo "${arg}/libwnn.a" | sed 's/^\-L//'` ; then
4467 LD_SWITCH_SITE="${LD_SWITCH_SITE} ${arg}"
4468 wnn_libraries=${arg}
4469 fi
4435 done 4470 done
4436 fi 4471 fi
4437 4472
4438 # If netdb.h doesn't declare h_errno, we must declare it by hand. 4473 # If netdb.h doesn't declare h_errno, we must declare it by hand.
4439 test -n "$silent" || echo "checking for declaration of h_errno in netdb.h" 4474 test -n "$silent" || echo "checking for declaration of h_errno in netdb.h"
5766 fi 5801 fi
5767 rm -f conftest* 5802 rm -f conftest*
5768 5803
5769 fi 5804 fi
5770 5805
5806 if test "${with_cde}" = "yes" ; then
5807 if test -f "/usr/dt/include/Dt/Dt.h" ; then
5808 C_SWITCH_X_SITE="${C_SWITCH_X_SITE} -I/usr/dt/include"
5809 fi
5810 if test -f "/usr/dt/lib/libDtSvc.a" ; then
5811 LD_SWITCH_X_SITE="${LD_SWITCH_X_SITE} -L/usr/dt/lib"
5812 fi
5813 fi
5814
5771 if test "${with_tooltalk}" = "yes" ; then 5815 if test "${with_tooltalk}" = "yes" ; then
5772 for arg in ${DEFS} "-I/usr/include" "-I${OPENWINHOME-/usr/openwin}/include" 5816 for arg in "-I/usr/include/desktop" "-I${OPENWINHOME-/usr/openwin}/include/desktop" "-I/usr/dt/include/Tt"
5773 do 5817 do
5774 if test -f `echo "${arg}/desktop/tt_c.h" | sed 's/^\-I//'` ; then 5818 if test -f `echo "${arg}/tt_c.h" | sed 's/^\-I//'` ; then
5775 C_SWITCH_X_SITE="${C_SWITCH_X_SITE} ${arg}/desktop" 5819 C_SWITCH_X_SITE="${C_SWITCH_X_SITE} ${arg}"
5776 fi 5820 fi
5777 done 5821 done
5778 5822 for arg in "-L/usr/lib" "-L${OPENWINHHOME-/usr/openwin}/lib" "-L/usr/dt/lib"
5779 for arg in ${LIBS} "-L/usr/lib" "-L${OPENWINHHOME-/usr/openwin}/lib"
5780 do 5823 do
5781 case "${arg}" in 5824 case "${arg}" in
5782 -L*) if test -f `echo "${arg}/libtt.a" | sed 's/^\-L//'` ; then 5825 -L*) if test -f `echo "${arg}/libtt.a" | sed 's/^\-L//'` ; then
5783 dash_r='' 5826 dash_r=''
5784 if test -n "${add_runtime_flag}" ; then 5827 if test -n "${add_runtime_flag}" ; then
6925 elif test -n "$site_libraries"; then 6968 elif test -n "$site_libraries"; then
6926 echo " Additional libraries: ${site_libraries}" 6969 echo " Additional libraries: ${site_libraries}"
6927 elif test -n "$site_runtime_libraries"; then 6970 elif test -n "$site_runtime_libraries"; then
6928 echo " Additional libraries: ${site_runtime_libraries}" 6971 echo " Additional libraries: ${site_runtime_libraries}"
6929 fi 6972 fi
6930 6973 if test "$with_wnn"; then
6974 echo " Finding WNN includes with: ${wnn_includes}"
6975 echo " Loading WNN libs with: ${wnn_libraries}"
6976 fi
6931 test "$with_socks" = yes && echo " Compiling in support for SOCKS." 6977 test "$with_socks" = yes && echo " Compiling in support for SOCKS."
6932 test "$with_term" = yes && echo " Compiling in support for TERM." 6978 test "$with_term" = yes && echo " Compiling in support for TERM."
6933 test "$with_xauth" = yes && echo " Compiling in support for XAUTH." 6979 test "$with_xauth" = yes && echo " Compiling in support for XAUTH."
6934 test "$with_xpm" = yes && echo " Compiling in support for XPM." 6980 test "$with_xpm" = yes && echo " Compiling in support for XPM."
6935 if test "$with_xmu" != yes -a "$window_system" != none; then 6981 if test "$with_xmu" != yes -a "$window_system" != none; then
6956 test "$with_database_dbm" = yes && echo " Compiling in support for DBM." 7002 test "$with_database_dbm" = yes && echo " Compiling in support for DBM."
6957 test "$with_database_gnudbm" = yes && echo " Compiling in support for GNU DBM." 7003 test "$with_database_gnudbm" = yes && echo " Compiling in support for GNU DBM."
6958 7004
6959 test "$with_ncurses" = yes && echo " Compiling in support for ncurses." 7005 test "$with_ncurses" = yes && echo " Compiling in support for ncurses."
6960 test "$with_socks" = yes && echo " Compiling in support for SOCKS." 7006 test "$with_socks" = yes && echo " Compiling in support for SOCKS."
6961 test "$with_tooltalk" = yes && echo " Compiling in support for ToolTalk."
6962 7007
6963 test "$with_mule" = yes && echo " Compiling in Mule (multi-lingual) support." 7008 test "$with_mule" = yes && echo " Compiling in Mule (multi-lingual) support."
6964 test "$with_xim" != no && echo " Compiling in XIM (X11R5+ I18N input method) support." 7009 test "$with_xim" != no && echo " Compiling in XIM (X11R5+ I18N input method) support."
6965 test "$with_xim" = motif && echo " Using Motif to provide XIM support." 7010 test "$with_xim" = motif && echo " Using Motif to provide XIM support."
6966 test "$with_xim" = xlib && echo " Using raw Xlib to provide XIM support." 7011 test "$with_xim" = xlib && echo " Using raw Xlib to provide XIM support."
6968 test "$with_wnn" = yes && echo " Compiling in support for WNN on Mule." 7013 test "$with_wnn" = yes && echo " Compiling in support for WNN on Mule."
6969 test "$with_wnn6" = yes && echo " WNN support for version 6." 7014 test "$with_wnn6" = yes && echo " WNN support for version 6."
6970 test "$with_i18n3" = yes && echo " Compiling in I18N support, level 3 (doesn't currently work)." 7015 test "$with_i18n3" = yes && echo " Compiling in I18N support, level 3 (doesn't currently work)."
6971 7016
6972 test "$with_cde" = yes && echo " Compiling in support for CDE." 7017 test "$with_cde" = yes && echo " Compiling in support for CDE."
7018 test "$with_tooltalk" = yes && echo " Compiling in support for ToolTalk."
6973 test "$with_offix" = yes && echo " Compiling in support for OffiX." 7019 test "$with_offix" = yes && echo " Compiling in support for OffiX."
6974 test "$with_mocklisp" = yes && echo " Compiling in support for Mocklisp." 7020 test "$with_mocklisp" = yes && echo " Compiling in support for Mocklisp."
6975 test "$with_sparcworks" = yes && echo " Compiling in support for SparcWorks." 7021 test "$with_sparcworks" = yes && echo " Compiling in support for SparcWorks."
6976 test "$with_energize" = yes && echo " Compiling in support for Lucid Energize (doesn't currently work)." 7022 test "$with_energize" = yes && echo " Compiling in support for Lucid Energize (doesn't currently work)."
6977 test "$with_menubars" = "lucid" && echo " Using the Lucid menubar." 7023 test "$with_menubars" = "lucid" && echo " Using the Lucid menubar."