| 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} -DCLOCK_PROVIDED -DHAVE_NANOSLEEP -DMALL
OC_PROVIDED" | 354 » newlib_cflags="${newlib_cflags} -DSIGNAL_PROVIDED -DCLOCK_PROVIDED -DHAV
E_NANOSLEEP -DMALLOC_PROVIDED" |
| 355 sys_dir=nacl | 355 sys_dir=nacl |
| 356 posix_dir=posix | 356 posix_dir=posix |
| 357 ;; | 357 ;; |
| 358 *-*-netware*) | 358 *-*-netware*) |
| 359 signal_dir= | 359 signal_dir= |
| 360 sys_dir=netware | 360 sys_dir=netware |
| 361 ;; | 361 ;; |
| 362 *-*-rtems*) # generic RTEMS support | 362 *-*-rtems*) # generic RTEMS support |
| 363 sys_dir=rtems | 363 sys_dir=rtems |
| 364 posix_dir=posix | 364 posix_dir=posix |
| (...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 799 fi | 799 fi |
| 800 | 800 |
| 801 # Remove rpc headers if xdr_dir not specified | 801 # Remove rpc headers if xdr_dir not specified |
| 802 if [ "x${xdir_dir}" = "x" ]; then | 802 if [ "x${xdir_dir}" = "x" ]; then |
| 803 noinclude="${noinclude} rpc/types.h rpc/xdr.h" | 803 noinclude="${noinclude} rpc/types.h rpc/xdr.h" |
| 804 fi | 804 fi |
| 805 | 805 |
| 806 if test -z "${have_crt0}" && test -n "${sys_dir}"; then | 806 if test -z "${have_crt0}" && test -n "${sys_dir}"; then |
| 807 have_crt0="yes" | 807 have_crt0="yes" |
| 808 fi | 808 fi |
| OLD | NEW |