X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=configure;h=19a94c1e87998ad1d7242a9361c0cab60441f647;hb=5a1d5e778e85664f4e6657019348b4756b16eacb;hp=613a3b66a3f08431458c36a5c2089466c60a2ba1;hpb=b0c0e321add789cdb8a1c30dbf1c432a6aab61be;p=fw%2Fsdcc diff --git a/configure b/configure index 613a3b66..19a94c1e 100755 --- a/configure +++ b/configure @@ -664,6 +664,7 @@ OPT_DISABLE_GBZ80 OPT_DISABLE_MCS51 lib_dir_suffix include_dir_suffix +LIB_TYPE sdccconf_h_dir_separator EGREP GREP @@ -762,6 +763,7 @@ LIBS CPPFLAGS CPP sdccconf_h_dir_separator +LIB_TYPE include_dir_suffix lib_dir_suffix docdir' @@ -1429,6 +1431,7 @@ Some influential environment variables: CPP C preprocessor sdccconf_h_dir_separator needed in sdccconf.h: either "/" (default) or "\\" + LIB_TYPE library type: LIB, SDCCLIB, AR or RANLIB (default) include_dir_suffix appended to datadir to define SDCC's include directory lib_dir_suffix @@ -6314,6 +6317,14 @@ fi # Makefiles ########### +# LIB_TYPE: +# *nix default: "RANLIB" + + +if test "${LIB_TYPE}" = ""; then + LIB_TYPE="RANLIB" +fi + # include_dir_suffix: # *nix default: "sdcc/include" @@ -7681,7 +7692,7 @@ fi test $OPT_DISABLE_DEVICE_LIB = 0 && ac_config_files="$ac_config_files device/lib/Makefile" -ac_config_files="$ac_config_files main.mk:main_in.mk src/Makefile device/include/Makefile support/librarian/Makefile support/makebin/Makefile support/regression/Makefile support/valdiag/Makefile Makefile Makefile.common:Makefile.common.in" +ac_config_files="$ac_config_files main.mk:main_in.mk src/Makefile device/include/Makefile as/asranlib/Makefile support/librarian/Makefile support/makebin/Makefile support/regression/Makefile support/valdiag/Makefile Makefile Makefile.common:Makefile.common.in" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure @@ -8311,6 +8322,7 @@ do "main.mk") CONFIG_FILES="$CONFIG_FILES main.mk:main_in.mk" ;; "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; "device/include/Makefile") CONFIG_FILES="$CONFIG_FILES device/include/Makefile" ;; + "as/asranlib/Makefile") CONFIG_FILES="$CONFIG_FILES as/asranlib/Makefile" ;; "support/librarian/Makefile") CONFIG_FILES="$CONFIG_FILES support/librarian/Makefile" ;; "support/makebin/Makefile") CONFIG_FILES="$CONFIG_FILES support/makebin/Makefile" ;; "support/regression/Makefile") CONFIG_FILES="$CONFIG_FILES support/regression/Makefile" ;;