Commit 4603b16af1534d3d2fdaadd4e2e1c1f839bba287
1 parent
ba3e4578
Exists in
master
and in
1 other branch
Adjusting configuration to set HAVE_CONFIG_H
Showing
2 changed files
with
2 additions
and
8 deletions
Show diff stats
configure.ac
| ... | ... | @@ -60,12 +60,6 @@ dnl --------------------------------------------------------------------------- |
| 60 | 60 | dnl Initialize defaults |
| 61 | 61 | dnl --------------------------------------------------------------------------- |
| 62 | 62 | |
| 63 | -DBG_CFLAGS="-g -fstack-check -DDEBUG=1" | |
| 64 | -RLS_CFLAGS="-DNDEBUG=1" | |
| 65 | -PLUGINS="" | |
| 66 | -APP_RESOURCES="" | |
| 67 | -APP_LDFLAGS="" | |
| 68 | -DLL_LDFLAGS="-shared" | |
| 69 | 63 | CLIENT_LDFLAGS="" |
| 70 | 64 | CLIENT_LIBS="" |
| 71 | 65 | CLIENT_TARGETS="devel" |
| ... | ... | @@ -450,6 +444,8 @@ dnl --------------------------------------------------------------------------- |
| 450 | 444 | dnl Output the generated config.status script. |
| 451 | 445 | dnl --------------------------------------------------------------------------- |
| 452 | 446 | AC_SUBST(BASEDIR,$ac_pwd) |
| 447 | +CFLAGS="$CFLAGS -DHAVE_CONFIG_H" | |
| 448 | +CXXFLAGS="$CXXFLAGS -DHAVE_CONFIG_H" | |
| 453 | 449 | |
| 454 | 450 | AC_OUTPUT |
| 455 | 451 | ... | ... |
server/Makefile.in
| ... | ... | @@ -102,7 +102,6 @@ CFLAGS= \ |
| 102 | 102 | -I$(BASEDIR)/server/src/include \ |
| 103 | 103 | -I$(BASEDIR)/common/src/include \ |
| 104 | 104 | -DBUILD_DATE=`date +%Y%m%d` \ |
| 105 | - @LIB3270_CFLAGS@ \ | |
| 106 | 105 | @V3270_CFLAGS@ \ |
| 107 | 106 | @GTK_CFLAGS@ \ |
| 108 | 107 | @GLIB_CFLAGS@ \ |
| ... | ... | @@ -114,7 +113,6 @@ LIBS= \ |
| 114 | 113 | @LIBICONV@ \ |
| 115 | 114 | @INTL_LIBS@ \ |
| 116 | 115 | @V3270_LIBS@ \ |
| 117 | - @LIB3270_LIBS@ \ | |
| 118 | 116 | @GTK_LIBS@ \ |
| 119 | 117 | @GLIB_LIBS@ \ |
| 120 | 118 | @DBUS_LIBS@ \ | ... | ... |