| 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 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 378 newlib_cflags="${newlib_cflags} -DSIGNAL_PROVIDED" | 378 newlib_cflags="${newlib_cflags} -DSIGNAL_PROVIDED" |
| 379 newlib_cflags="${newlib_cflags} -DCLOCK_PROVIDED" | 379 newlib_cflags="${newlib_cflags} -DCLOCK_PROVIDED" |
| 380 newlib_cflags="${newlib_cflags} -DHAVE_NANOSLEEP" | 380 newlib_cflags="${newlib_cflags} -DHAVE_NANOSLEEP" |
| 381 newlib_cflags="${newlib_cflags} -DMALLOC_PROVIDED" | 381 newlib_cflags="${newlib_cflags} -DMALLOC_PROVIDED" |
| 382 newlib_cflags="${newlib_cflags} -D_NO_GETCWD" | 382 newlib_cflags="${newlib_cflags} -D_NO_GETCWD" |
| 383 newlib_cflags="${newlib_cflags} -D_NO_GETLOGIN" | 383 newlib_cflags="${newlib_cflags} -D_NO_GETLOGIN" |
| 384 newlib_cflags="${newlib_cflags} -D_NO_GETUT" | 384 newlib_cflags="${newlib_cflags} -D_NO_GETUT" |
| 385 newlib_cflags="${newlib_cflags} -D_NO_GETPASS" | 385 newlib_cflags="${newlib_cflags} -D_NO_GETPASS" |
| 386 newlib_cflags="${newlib_cflags} -DHAVE_ISATTY" | 386 newlib_cflags="${newlib_cflags} -DHAVE_ISATTY" |
| 387 newlib_cflags="${newlib_cflags} -DHAVE_RENAME" | 387 newlib_cflags="${newlib_cflags} -DHAVE_RENAME" |
| 388 newlib_cflags="${newlib_cflags} -DABORT_PROVIDED" |
| 388 sys_dir=nacl | 389 sys_dir=nacl |
| 389 posix_dir=posix | 390 posix_dir=posix |
| 390 unix_dir=unix | 391 unix_dir=unix |
| 391 ;; | 392 ;; |
| 392 *-*-netware*) | 393 *-*-netware*) |
| 393 signal_dir= | 394 signal_dir= |
| 394 sys_dir=netware | 395 sys_dir=netware |
| 395 ;; | 396 ;; |
| 396 *-*-rtems*) # generic RTEMS support | 397 *-*-rtems*) # generic RTEMS support |
| 397 sys_dir=rtems | 398 sys_dir=rtems |
| (...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 872 fi | 873 fi |
| 873 | 874 |
| 874 # Remove rpc headers if xdr_dir not specified | 875 # Remove rpc headers if xdr_dir not specified |
| 875 if [ "x${xdr_dir}" = "x" ]; then | 876 if [ "x${xdr_dir}" = "x" ]; then |
| 876 noinclude="${noinclude} rpc/types.h rpc/xdr.h" | 877 noinclude="${noinclude} rpc/types.h rpc/xdr.h" |
| 877 fi | 878 fi |
| 878 | 879 |
| 879 if test -z "${have_crt0}" && test -n "${sys_dir}"; then | 880 if test -z "${have_crt0}" && test -n "${sys_dir}"; then |
| 880 have_crt0="yes" | 881 have_crt0="yes" |
| 881 fi | 882 fi |
| OLD | NEW |