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} -DHAVE_MKDIR" |
388 newlib_cflags="${newlib_cflags} -DABORT_PROVIDED" | 389 newlib_cflags="${newlib_cflags} -DABORT_PROVIDED" |
389 sys_dir=nacl | 390 sys_dir=nacl |
390 posix_dir=posix | 391 posix_dir=posix |
391 unix_dir=unix | 392 unix_dir=unix |
392 ;; | 393 ;; |
393 *-*-netware*) | 394 *-*-netware*) |
394 signal_dir= | 395 signal_dir= |
395 sys_dir=netware | 396 sys_dir=netware |
396 ;; | 397 ;; |
397 *-*-rtems*) # generic RTEMS support | 398 *-*-rtems*) # generic RTEMS support |
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
873 fi | 874 fi |
874 | 875 |
875 # Remove rpc headers if xdr_dir not specified | 876 # Remove rpc headers if xdr_dir not specified |
876 if [ "x${xdr_dir}" = "x" ]; then | 877 if [ "x${xdr_dir}" = "x" ]; then |
877 noinclude="${noinclude} rpc/types.h rpc/xdr.h" | 878 noinclude="${noinclude} rpc/types.h rpc/xdr.h" |
878 fi | 879 fi |
879 | 880 |
880 if test -z "${have_crt0}" && test -n "${sys_dir}"; then | 881 if test -z "${have_crt0}" && test -n "${sys_dir}"; then |
881 have_crt0="yes" | 882 have_crt0="yes" |
882 fi | 883 fi |
OLD | NEW |