comparison configure @ 2160:07f1366a724c

Rename config.h(.in) to dwconfig.h and install it with dwcompat. Building modules that use dwcompat requires some of the defines in dwconfig.h. On some platforms without it the opendir headers are not included and cause build failures. Unix (Linux, BSD, Solaris and Mac) are primarily affected.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Tue, 29 Sep 2020 22:49:04 +0000
parents 55c6587f269c
children 2a52d9fc2de4
comparison
equal deleted inserted replaced
2159:48172881415c 2160:07f1366a724c
2227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2229 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2230 2230
2231 2231
2232 ac_config_headers="$ac_config_headers config.h" 2232 ac_config_headers="$ac_config_headers dwconfig.h"
2233 2233
2234 2234
2235 TARGET="dwindows" 2235 TARGET="dwindows"
2236 TARGET2="dwcompat" 2236 TARGET2="dwcompat"
2237 2237
7229 7229
7230 # Handling of arguments. 7230 # Handling of arguments.
7231 for ac_config_target in $ac_config_targets 7231 for ac_config_target in $ac_config_targets
7232 do 7232 do
7233 case $ac_config_target in 7233 case $ac_config_target in
7234 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 7234 "dwconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS dwconfig.h" ;;
7235 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 7235 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7236 "dwindows1.pc") CONFIG_FILES="$CONFIG_FILES dwindows1.pc" ;; 7236 "dwindows1.pc") CONFIG_FILES="$CONFIG_FILES dwindows1.pc" ;;
7237 "dwindows-config1") CONFIG_FILES="$CONFIG_FILES dwindows-config1" ;; 7237 "dwindows-config1") CONFIG_FILES="$CONFIG_FILES dwindows-config1" ;;
7238 "org.dbsoft.dwindows.dwtest.desktop") CONFIG_FILES="$CONFIG_FILES org.dbsoft.dwindows.dwtest.desktop" ;; 7238 "org.dbsoft.dwindows.dwtest.desktop") CONFIG_FILES="$CONFIG_FILES org.dbsoft.dwindows.dwtest.desktop" ;;
7239 7239