OLD | NEW |
1 # configure.host | 1 # configure.host |
2 | 2 |
3 # This shell script handles all host based configuration for newlib. | 3 # This shell script handles all host based configuration for newlib. |
4 # It sets various shell variables based on the the host and the | 4 # It sets various shell variables based on the the host and the |
5 # configuration options. You can modify this shell script without | 5 # configuration options. You can modify this shell script without |
6 # needing to rerun autoconf. | 6 # needing to rerun autoconf. |
7 | 7 |
8 # This shell script should be invoked as | 8 # This shell script should be invoked as |
9 # . configure.host | 9 # . configure.host |
10 # If it encounters an error, it will exit with a message. | 10 # If it encounters an error, it will exit with a message. |
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
344 # including crt0. | 344 # including crt0. |
345 # THIS TABLE IS ALPHA SORTED. KEEP IT THAT WAY. | 345 # THIS TABLE IS ALPHA SORTED. KEEP IT THAT WAY. |
346 | 346 |
347 case "${host}" in | 347 case "${host}" in |
348 *-*-cygwin*) | 348 *-*-cygwin*) |
349 posix_dir=posix | 349 posix_dir=posix |
350 stdio64_dir=stdio64 | 350 stdio64_dir=stdio64 |
351 xdr_dir=xdr | 351 xdr_dir=xdr |
352 ;; | 352 ;; |
353 *-*-nacl*) | 353 *-*-nacl*) |
354 » newlib_cflags="${newlib_cflags} -DSIGNAL_PROVIDED -DCLOCK_PROVIDED -DHAV
E_NANOSLEEP -DMALLOC_PROVIDED" | 354 » newlib_cflags="${newlib_cflags} -DSIGNAL_PROVIDED -DCLOCK_PROVIDED -DHAV
E_NANOSLEEP -DMALLOC_PROVIDED -D_NO_GETCWD -D_NO_GETLOGIN -D_NO_GETUT -D_NO_GETP
ASS" |
355 sys_dir=nacl | 355 sys_dir=nacl |
356 posix_dir=posix | 356 posix_dir=posix |
| 357 unix_dir=unix |
357 ;; | 358 ;; |
358 *-*-netware*) | 359 *-*-netware*) |
359 signal_dir= | 360 signal_dir= |
360 sys_dir=netware | 361 sys_dir=netware |
361 ;; | 362 ;; |
362 *-*-rtems*) # generic RTEMS support | 363 *-*-rtems*) # generic RTEMS support |
363 sys_dir=rtems | 364 sys_dir=rtems |
364 posix_dir=posix | 365 posix_dir=posix |
365 unix_dir=unix | 366 unix_dir=unix |
366 ;; | 367 ;; |
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
799 fi | 800 fi |
800 | 801 |
801 # Remove rpc headers if xdr_dir not specified | 802 # Remove rpc headers if xdr_dir not specified |
802 if [ "x${xdir_dir}" = "x" ]; then | 803 if [ "x${xdir_dir}" = "x" ]; then |
803 noinclude="${noinclude} rpc/types.h rpc/xdr.h" | 804 noinclude="${noinclude} rpc/types.h rpc/xdr.h" |
804 fi | 805 fi |
805 | 806 |
806 if test -z "${have_crt0}" && test -n "${sys_dir}"; then | 807 if test -z "${have_crt0}" && test -n "${sys_dir}"; then |
807 have_crt0="yes" | 808 have_crt0="yes" |
808 fi | 809 fi |
OLD | NEW |