Commit adf686c37b343f63b1e41a0fda84ca19ff2d646c
1 parent
b068e07f
Exists in
master
and in
1 other branch
Adding setup for lib3270 defs.
Showing
2 changed files
with
11 additions
and
1 deletions
Show diff stats
Makefile.in
... | ... | @@ -95,6 +95,7 @@ CFLAGS= \ |
95 | 95 | -g \ |
96 | 96 | -Isrc/include \ |
97 | 97 | -DBUILD_DATE=`date +%Y%m%d` \ |
98 | + @LIB3270_CFLAGS@ | |
98 | 99 | @GTK_CFLAGS@ \ |
99 | 100 | @GLIB_CFLAGS@ |
100 | 101 | |
... | ... | @@ -104,7 +105,7 @@ LIBS= \ |
104 | 105 | @GLIB_LIBS@ \ |
105 | 106 | @LIBICONV@ \ |
106 | 107 | @INTL_LIBS@ \ |
107 | - -l3270 | |
108 | + @LIB3270_LIBS@ | |
108 | 109 | |
109 | 110 | #---[ Debug Rules ]---------------------------------------------------------------------- |
110 | 111 | ... | ... |
configure.ac
... | ... | @@ -198,6 +198,15 @@ AC_CHECK_HEADER(libintl.h, [ |
198 | 198 | AC_SUBST(INTL_LIBS) |
199 | 199 | |
200 | 200 | dnl --------------------------------------------------------------------------- |
201 | +dnl Check for LIB3270 | |
202 | +dnl --------------------------------------------------------------------------- | |
203 | + | |
204 | +PKG_CHECK_MODULES( [LIB3270], [lib3270], AC_DEFINE(HAVE_LIB3270), AC_MSG_ERROR([LIB3270 not present.])) | |
205 | + | |
206 | +AC_SUBST(LIB3270_LIBS) | |
207 | +AC_SUBST(LIB3270_CFLAGS) | |
208 | + | |
209 | +dnl --------------------------------------------------------------------------- | |
201 | 210 | dnl Check for GTK |
202 | 211 | dnl --------------------------------------------------------------------------- |
203 | 212 | ... | ... |