comparison configure.in @ 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
298 This is alpha level code. 298 This is alpha level code.
299 --wnn-includes=DIR Search for WNN header files in DIR. 299 --wnn-includes=DIR Search for WNN header files in DIR.
300 --wnn-libraries=DIR Search for WNN libraries in DIR. 300 --wnn-libraries=DIR Search for WNN libraries in DIR.
301 --with-i18n3 Compile with I18N level 3 (support for message 301 --with-i18n3 Compile with I18N level 3 (support for message
302 translation). This doesn't currently work. 302 translation). This doesn't currently work.
303 --canna-includes=DIR Search for Canna header files in DIR.
304 --canna-libraries=DIR Search for Canna libraries in DIR.
303 305
304 306
305 Debugging options: 307 Debugging options:
306 308
307 --debug Compile with support for debugging XEmacs. 309 --debug Compile with support for debugging XEmacs.
463 native_sound_lib | \ 465 native_sound_lib | \
464 x_includes | \ 466 x_includes | \
465 x_libraries | \ 467 x_libraries | \
466 wnn_includes | \ 468 wnn_includes | \
467 wnn_libraries | \ 469 wnn_libraries | \
470 canna_includes | \
471 canna_libraries | \
468 site_includes | \ 472 site_includes | \
469 site_libraries | \ 473 site_libraries | \
470 site_runtime_libraries ) 474 site_runtime_libraries )
471 ## If the value was omitted, get it from the next argument. 475 ## If the value was omitted, get it from the next argument.
472 if test "${valomitted}" = "yes" ; then 476 if test "${valomitted}" = "yes" ; then
1352 case "${canonical}" in 1356 case "${canonical}" in
1353 ## The Sun386 didn't get past 4.0. 1357 ## The Sun386 didn't get past 4.0.
1354 i[3-9]86-*-sunos4* ) opsys=sunos4-0 ;; 1358 i[3-9]86-*-sunos4* ) opsys=sunos4-0 ;;
1355 *-sunos4.0* ) opsys=sunos4-0 ;; 1359 *-sunos4.0* ) opsys=sunos4-0 ;;
1356 *-sunos4.1.2* ) opsys=sunos4-1-2 ;; 1360 *-sunos4.1.2* ) opsys=sunos4-1-2 ;;
1357 *-sunos4.1.[3-9]* ) opsys=sunos4-1-3 ;; 1361 *-sunos4.1.3* ) opsys=sunos4-1-3 ;;
1362 *-sunos4.1.[4-9]* ) opsys=sunos4-1-4 ;;
1358 *-sunos4* | *-sunos ) opsys=sunos4-1 ;; 1363 *-sunos4* | *-sunos ) opsys=sunos4-1 ;;
1359 1364
1360 *-solaris2.3* ) opsys=sol2-3 ;; 1365 *-solaris2.3* ) opsys=sol2-3 ;;
1361 *-solaris2.4* ) opsys=sol2-4 ;; 1366 *-solaris2.4* ) opsys=sol2-4 ;;
1362 *-solaris2.5* ) opsys=sol2-5 ;; 1367 *-solaris2.5* ) opsys=sol2-5 ;;
1443 *-mach* ) opsys=mach-bsd4-3 ;; 1448 *-mach* ) opsys=mach-bsd4-3 ;;
1444 *-xenix* ) opsys=xenix ;; 1449 *-xenix* ) opsys=xenix ;;
1445 *-linux* ) opsys=linux ;; 1450 *-linux* ) opsys=linux ;;
1446 *-sco3.2v4* ) opsys=sco4 ; NON_GNU_CPP=/lib/cpp ;; 1451 *-sco3.2v4* ) opsys=sco4 ; NON_GNU_CPP=/lib/cpp ;;
1447 *-bsd386* | *-bsdi1* ) opsys=bsd386 ;; 1452 *-bsd386* | *-bsdi1* ) opsys=bsd386 ;;
1448 *-bsdi3* ) opsys=bsdos2-1 ;; 1453 *-bsdi3* ) opsys=bsdos3 ;;
1449 *-bsdi2.1* ) opsys=bsdos2-1 ;; 1454 *-bsdi2.1* ) opsys=bsdos2-1 ;;
1450 *-bsdi2* ) opsys=bsdos2 ;; 1455 *-bsdi2* ) opsys=bsdos2 ;;
1451 *-sco3.2v5* ) opsys=sco5 ; 1456 *-sco3.2v5* ) opsys=sco5 ;
1452 ## This is a pain. Like the current USL cc, SCO's cc -E 1457 ## This is a pain. Like the current USL cc, SCO's cc -E
1453 ## tokenizes as it preprocesses, making configure very 1458 ## tokenizes as it preprocesses, making configure very
2686 wnn_libraries=${arg} 2691 wnn_libraries=${arg}
2687 fi 2692 fi
2688 done 2693 done
2689 fi 2694 fi
2690 2695
2696 #
2697 # set defaults for finding Canna includes and libs
2698 #
2699 if test "${with_canna}" = "yes" ; then
2700 for arg in "-I${canna_includes}" "-I/usr/X11R6/include"
2701 do
2702 if test -f `echo "${arg}/canna/RK.h" | sed 's/^\-I//'` ; then
2703 C_SWITCH_SITE="${C_SWITCH_SITE} ${arg}"
2704 canna_includes=${arg}
2705 fi
2706 done
2707 for arg in "-L${canna_libraries}" "-I/usr/X11R6/lib"
2708 do
2709 if test -f `echo "${arg}/libcanna.a" | sed 's/^\-L//'` ; then
2710 LD_SWITCH_SITE="${LD_SWITCH_SITE} ${arg}"
2711 canna_libraries=${arg}
2712 fi
2713 done
2714 fi
2715
2691 # If netdb.h doesn't declare h_errno, we must declare it by hand. 2716 # If netdb.h doesn't declare h_errno, we must declare it by hand.
2692 AC_COMPILE_CHECK(declaration of h_errno in netdb.h, 2717 AC_COMPILE_CHECK(declaration of h_errno in netdb.h,
2693 [#include <netdb.h>], 2718 [#include <netdb.h>],
2694 [int i = h_errno;], 2719 [int i = h_errno;],
2695 AC_DEFINE(HAVE_H_ERRNO)) 2720 AC_DEFINE(HAVE_H_ERRNO))