comparison configure @ 110:fe104dbd9147 r20-1b7

Import from CVS: tag r20-1b7
author cvs
date Mon, 13 Aug 2007 09:19:45 +0200
parents 360340f9fd5f
children 48d667d6f17f
comparison
equal deleted inserted replaced
109:e183fc049578 110:fe104dbd9147
282 This is alpha level code. 282 This is alpha level code.
283 --wnn-includes=DIR Search for WNN header files in DIR. 283 --wnn-includes=DIR Search for WNN header files in DIR.
284 --wnn-libraries=DIR Search for WNN libraries in DIR. 284 --wnn-libraries=DIR Search for WNN libraries in DIR.
285 --with-i18n3 Compile with I18N level 3 (support for message 285 --with-i18n3 Compile with I18N level 3 (support for message
286 translation). This doesn't currently work. 286 translation). This doesn't currently work.
287 --canna-includes=DIR Search for Canna header files in DIR.
288 --canna-libraries=DIR Search for Canna libraries in DIR.
287 289
288 290
289 Debugging options: 291 Debugging options:
290 292
291 --debug Compile with support for debugging XEmacs. 293 --debug Compile with support for debugging XEmacs.
447 native_sound_lib | \ 449 native_sound_lib | \
448 x_includes | \ 450 x_includes | \
449 x_libraries | \ 451 x_libraries | \
450 wnn_includes | \ 452 wnn_includes | \
451 wnn_libraries | \ 453 wnn_libraries | \
454 canna_includes | \
455 canna_libraries | \
452 site_includes | \ 456 site_includes | \
453 site_libraries | \ 457 site_libraries | \
454 site_runtime_libraries ) 458 site_runtime_libraries )
455 ## If the value was omitted, get it from the next argument. 459 ## If the value was omitted, get it from the next argument.
456 if test "${valomitted}" = "yes" ; then 460 if test "${valomitted}" = "yes" ; then
1346 case "${canonical}" in 1350 case "${canonical}" in
1347 ## The Sun386 didn't get past 4.0. 1351 ## The Sun386 didn't get past 4.0.
1348 i[3-9]86-*-sunos4* ) opsys=sunos4-0 ;; 1352 i[3-9]86-*-sunos4* ) opsys=sunos4-0 ;;
1349 *-sunos4.0* ) opsys=sunos4-0 ;; 1353 *-sunos4.0* ) opsys=sunos4-0 ;;
1350 *-sunos4.1.2* ) opsys=sunos4-1-2 ;; 1354 *-sunos4.1.2* ) opsys=sunos4-1-2 ;;
1351 *-sunos4.1.[3-9]* ) opsys=sunos4-1-3 ;; 1355 *-sunos4.1.3* ) opsys=sunos4-1-3 ;;
1356 *-sunos4.1.[4-9]* ) opsys=sunos4-1-4 ;;
1352 *-sunos4* | *-sunos ) opsys=sunos4-1 ;; 1357 *-sunos4* | *-sunos ) opsys=sunos4-1 ;;
1353 1358
1354 *-solaris2.3* ) opsys=sol2-3 ;; 1359 *-solaris2.3* ) opsys=sol2-3 ;;
1355 *-solaris2.4* ) opsys=sol2-4 ;; 1360 *-solaris2.4* ) opsys=sol2-4 ;;
1356 *-solaris2.5* ) opsys=sol2-5 ;; 1361 *-solaris2.5* ) opsys=sol2-5 ;;
1437 *-mach* ) opsys=mach-bsd4-3 ;; 1442 *-mach* ) opsys=mach-bsd4-3 ;;
1438 *-xenix* ) opsys=xenix ;; 1443 *-xenix* ) opsys=xenix ;;
1439 *-linux* ) opsys=linux ;; 1444 *-linux* ) opsys=linux ;;
1440 *-sco3.2v4* ) opsys=sco4 ; NON_GNU_CPP=/lib/cpp ;; 1445 *-sco3.2v4* ) opsys=sco4 ; NON_GNU_CPP=/lib/cpp ;;
1441 *-bsd386* | *-bsdi1* ) opsys=bsd386 ;; 1446 *-bsd386* | *-bsdi1* ) opsys=bsd386 ;;
1442 *-bsdi3* ) opsys=bsdos2-1 ;; 1447 *-bsdi3* ) opsys=bsdos3 ;;
1443 *-bsdi2.1* ) opsys=bsdos2-1 ;; 1448 *-bsdi2.1* ) opsys=bsdos2-1 ;;
1444 *-bsdi2* ) opsys=bsdos2 ;; 1449 *-bsdi2* ) opsys=bsdos2 ;;
1445 *-sco3.2v5* ) opsys=sco5 ; 1450 *-sco3.2v5* ) opsys=sco5 ;
1446 ## This is a pain. Like the current USL cc, SCO's cc -E 1451 ## This is a pain. Like the current USL cc, SCO's cc -E
1447 ## tokenizes as it preprocesses, making configure very 1452 ## tokenizes as it preprocesses, making configure very
4466 for arg in "-L${wnn_libraries}" "-I/usr/X11R6/lib" 4471 for arg in "-L${wnn_libraries}" "-I/usr/X11R6/lib"
4467 do 4472 do
4468 if test -f `echo "${arg}/libwnn.a" | sed 's/^\-L//'` ; then 4473 if test -f `echo "${arg}/libwnn.a" | sed 's/^\-L//'` ; then
4469 LD_SWITCH_SITE="${LD_SWITCH_SITE} ${arg}" 4474 LD_SWITCH_SITE="${LD_SWITCH_SITE} ${arg}"
4470 wnn_libraries=${arg} 4475 wnn_libraries=${arg}
4476 fi
4477 done
4478 fi
4479
4480 #
4481 # set defaults for finding Canna includes and libs
4482 #
4483 if test "${with_canna}" = "yes" ; then
4484 for arg in "-I${canna_includes}" "-I/usr/X11R6/include"
4485 do
4486 if test -f `echo "${arg}/canna/RK.h" | sed 's/^\-I//'` ; then
4487 C_SWITCH_SITE="${C_SWITCH_SITE} ${arg}"
4488 canna_includes=${arg}
4489 fi
4490 done
4491 for arg in "-L${canna_libraries}" "-I/usr/X11R6/lib"
4492 do
4493 if test -f `echo "${arg}/libcanna.a" | sed 's/^\-L//'` ; then
4494 LD_SWITCH_SITE="${LD_SWITCH_SITE} ${arg}"
4495 canna_libraries=${arg}
4471 fi 4496 fi
4472 done 4497 done
4473 fi 4498 fi
4474 4499
4475 # If netdb.h doesn't declare h_errno, we must declare it by hand. 4500 # If netdb.h doesn't declare h_errno, we must declare it by hand.