876 done 877 endif 878 879 ###################################################### 880 # CUPS_HEADERS_PATH must be valid 881 ###################################################### 882 sane-cups: 883 ifneq ($(PLATFORM), windows) 884 @if [ ! -r $(CUPS_HEADERS_PATH)/cups/cups.h ]; then \ 885 $(ECHO) "ERROR: You do not have access to valid Cups header files. \n" \ 886 " Please check your access to \n" \ 887 " $(CUPS_HEADERS_PATH)/cups/cups.h \n" \ 888 " and/or check your value of ALT_CUPS_HEADERS_PATH, \n" \ 889 " CUPS is frequently pre-installed on many systems, \n" \ 890 " or may be downloaded from http://www.cups.org \n" \ 891 "" >> $(ERROR_FILE) ; \ 892 fi 893 endif 894 895 ###################################################### 896 # Check for existence of DEVTOOLS_PATH 897 # All needed tools come with base system on Apple 898 ###################################################### 899 sane-devtools_path: 900 ifneq ($(OS_VENDOR), Apple) 901 @if [ "$(DEVTOOLS_PATH)" != "" -a ! -r "$(DEVTOOLS_PATH)" ]; then \ 902 $(ECHO) "ERROR: You do not have a valid DEVTOOLS_PATH setting. \n" \ 903 " Please check your access to \n" \ 904 " $(DEVTOOLS_PATH) \n" \ 905 " and/or check your value of ALT_DEVTOOLS_PATH. \n" \ 906 "" >> $(ERROR_FILE) ; \ 907 fi 908 endif 909 910 ###################################################### 911 # Check for existence of MS_RUNTIME_LIBRARIES 912 ###################################################### 913 sane-msvcrt_path: 914 ifeq ($(PLATFORM), windows) 915 ifneq ($(MSVCRNN_DLL),) | 876 done 877 endif 878 879 ###################################################### 880 # CUPS_HEADERS_PATH must be valid 881 ###################################################### 882 sane-cups: 883 ifneq ($(PLATFORM), windows) 884 @if [ ! -r $(CUPS_HEADERS_PATH)/cups/cups.h ]; then \ 885 $(ECHO) "ERROR: You do not have access to valid Cups header files. \n" \ 886 " Please check your access to \n" \ 887 " $(CUPS_HEADERS_PATH)/cups/cups.h \n" \ 888 " and/or check your value of ALT_CUPS_HEADERS_PATH, \n" \ 889 " CUPS is frequently pre-installed on many systems, \n" \ 890 " or may be downloaded from http://www.cups.org \n" \ 891 "" >> $(ERROR_FILE) ; \ 892 fi 893 endif 894 895 ###################################################### 896 # BDB_HEADERS_PATH must be valid 897 ###################################################### 898 BDB_IMPORT_CHECK=true 899 sane-libdb: 900 ifdef USE_SYSTEM_BDB 901 ifneq ($(PLATFORM), windows) 902 @if [ ! -r $(BDB_HEADERS_PATH)/db.h ]; then \ 903 $(ECHO) "ERROR: You do not have access to valid Berkeley DB header files. \n" \ 904 " Please check your access to \n" \ 905 " $(BDB_HEADERS_PATH)/db.h \n" \ 906 " and/or check your value of ALT_BDB_HEADERS_PATH, \n" \ 907 " libdb<major>.<minor>-dev is frequently pre-installed on many systems, \n" \ 908 " or may be downloaded from your distributions repository or \n" \ 909 " http://www.oracle.com/technetwork/database/berkeleydb/overview/index.html \n" \ 910 "" >> $(ERROR_FILE) ; \ 911 fi 912 endif 913 else # We must have a valid libdb-rds and db.h 914 ifeq ($(BDB_IMPORT_CHECK),true) 915 @if [ ! -r $(BDB_IMPORT_PATH)/lib/$(LIBARCH)/$(LIB_PREFIX)db-rds.$(LIBRARY_SUFFIX) ]; then \ 916 $(ECHO) "ERROR: BDB_IMPORT_PATH does not point to a valid libdb-rds. \n" \ 917 " Please check your access to \n" \ 918 " $(BDB_IMPORT_PATH)/lib/$(LIBARCH)/$(LIB_PREFIX)db-rds.$(LIBRARY_SUFFIX) \n" \ 919 " and/or check your value of ALT_BDB_IMPORT_PATH. \n" \ 920 "" >> $(ERROR_FILE) ; \ 921 fi 922 @if [ ! -r $(BDB_IMPORT_PATH)/header/db.h ]; then \ 923 $(ECHO) "ERROR: BDB_IMPORT_PATH does not point to a valid db.h. \n" \ 924 " Please check your access to \n" \ 925 " $(BDB_IMPORT_PATH)/header/db.h \n" \ 926 " and/or check your value of ALT_BDB_IMPORT_PATH. \n" \ 927 "" >> $(ERROR_FILE) ; \ 928 fi 929 endif 930 endif 931 932 ###################################################### 933 # Check for existence of DEVTOOLS_PATH 934 # All needed tools come with base system on Apple 935 ###################################################### 936 sane-devtools_path: 937 ifneq ($(OS_VENDOR), Apple) 938 @if [ "$(DEVTOOLS_PATH)" != "" -a ! -r "$(DEVTOOLS_PATH)" ]; then \ 939 $(ECHO) "ERROR: You do not have a valid DEVTOOLS_PATH setting. \n" \ 940 " Please check your access to \n" \ 941 " $(DEVTOOLS_PATH) \n" \ 942 " and/or check your value of ALT_DEVTOOLS_PATH. \n" \ 943 "" >> $(ERROR_FILE) ; \ 944 fi 945 endif 946 947 ###################################################### 948 # Check for existence of MS_RUNTIME_LIBRARIES 949 ###################################################### 950 sane-msvcrt_path: 951 ifeq ($(PLATFORM), windows) 952 ifneq ($(MSVCRNN_DLL),) |