SETUPH_DIR=include/wx/${TOOLKIT_DIR}
-mkdir -p ${SETUPH_DIR}
+
s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
s%@USER_SUBDIRS@%$USER_SUBDIRS%g
s%@EXTRA_LIBS@%$EXTRA_LIBS%g
+s%@SETUPH_DIR@%$SETUPH_DIR%g
CEOF
EOF
EOF
cat >> $CONFIG_STATUS <<EOF
-SETUPH_DIR=${SETUPH_DIR}
+
+ SETUPH_DIR=${SETUPH_DIR}
+
+
EOF
cat >> $CONFIG_STATUS <<\EOF
test -z "$CONFIG_HEADERS" || echo timestamp > ${SETUPH_DIR}/stamp-h
-chmod +x wx-config
+
+ chmod +x wx-config
+
exit 0
EOF
chmod +x $CONFIG_STATUS
dnl create the configuration header file from the template
SETUPH_DIR=include/wx/${TOOLKIT_DIR}
-mkdir -p ${SETUPH_DIR}
+AC_SUBST(SETUPH_DIR)
AM_CONFIG_HEADER(${SETUPH_DIR}/setup.h:include/wx/unix/setup.h.in)
dnl MAKE_SET will be replaced with "MAKE=..." or nothing if make sets MAKE
samples/wxpoem/Makefile
samples/wxsocket/Makefile
],
- [chmod +x wx-config], [SETUPH_DIR=${SETUPH_DIR}])
+ [
+ chmod +x wx-config
+ ],
+ [
+ SETUPH_DIR=${SETUPH_DIR}
+ ]
+ )
DEFS = $(TOOLKIT_DEF) $(WXDEBUG_DEFINE)
LIBS = $(GUILIBS)
-VPATH = .:$(srcdir)/common:$(srcdir)/@TOOLKIT_DIR@:$(srcdir)/generic:$(EXTRA_VPATH)
+VPATH = .:${srcdir}:$(srcdir)/common:$(srcdir)/@TOOLKIT_DIR@:$(srcdir)/generic:$(EXTRA_VPATH)
lib_LTLIBRARIES = libwx_@WX_LIBRARY@.la