diff options
author | Drew Moseley <dmoseley@cygnus> | 1998-08-13 20:24:45 +0000 |
---|---|---|
committer | Drew Moseley <dmoseley@cygnus> | 1998-08-13 20:24:45 +0000 |
commit | c076f1ed1ccc7ad607da730d594ce8540889b512 (patch) | |
tree | 31b7d6a647f2b3e3b7cf2970153159ff73a1e8c9 /gdb/configure.in | |
parent | 341fb6f336f4119d53749fef7b3425ed5aa2962b (diff) | |
download | gdb-c076f1ed1ccc7ad607da730d594ce8540889b512.zip gdb-c076f1ed1ccc7ad607da730d594ce8540889b512.tar.gz gdb-c076f1ed1ccc7ad607da730d594ce8540889b512.tar.bz2 |
Added Foundry SDK changes.
Diffstat (limited to 'gdb/configure.in')
-rw-r--r-- | gdb/configure.in | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/gdb/configure.in b/gdb/configure.in index 46af524..8d70e66 100644 --- a/gdb/configure.in +++ b/gdb/configure.in @@ -304,6 +304,50 @@ else fi AC_SUBST(ENABLE_IDE) +AC_ARG_WITH(foundry-libs, +[ --with-foundry-libs=directory use the Foundry SDK in directory], +[FOUNDRY_LIB_BASE=${withval}]) +AC_SUBST(FOUNDRY_LIB_BASE) + +# +# This is the Foundry SDK +# +# These variables are used to determine where the Foundry libs and +# header files are located. +# +if test "$FOUNDRY_LIB_BASE" != ""; then + LIBGUI="${FOUNDRY_LIB_BASE}/lib/libgui.a" + GUI_CFLAGS_X="-I${FOUNDRY_LIB_BASE}/include" + if test x$enable_ide = xyes; then + IDE_CFLAGS_X="-I${FOUNDRY_LIB_BASE}/include -DIDE" + IDE_X="-L${FOUNDRY_LIB_BASE}/lib -lilu-Tk -lilu-c -lilu" + else + IDE_CFLAGS_X="-I${FOUNDRY_LIB_BASE}/include" + fi + LIBIDETCL="${FOUNDRY_LIB_BASE}/lib/libidetcl.a" + LIBIDE="${FOUNDRY_LIB_BASE}/lib/libide.a" + IDE_DEPS="${FOUNDRY_LIB_BASE}/lib/libilu-Tk.a ${FOUNDRY_LIB_BASE}/lib/libilu-c.a ${FOUNDRY_LIB_BASE}/lib/libilu.a" +else + LIBGUI="../libgui/src/libgui.a" + GUI_CFLAGS_X="-I${srcdir}/../libgui/src" + if test x$enable_ide = xyes; then + IDE_CFLAGS_X="-I${srcdir}/../libidetcl/src -I${srcdir}/../libide/src -DIDE -I${srcdir}/../ilu/runtime/mainloop" + IDE_X="-L../ilu/runtime/mainloop -lilu-Tk -L../ilu/runtime/c -lilu-c -L../ilu/runtime/kernel -lilu" + else + IDE_CFLAGS_X="-I${srcdir}/../libidetcl/src -I${srcdir}/../libide/src" + fi + LIBIDETCL="../libidetcl/src/libidetcl.a" + LIBIDE="../libide/src/libide.a" + IDE_DEPS="../ilu/runtime/mainloop/libilu-Tk.a ../ilu/runtime/c/libilu-c.a ../ilu/runtime/kernel/libilu.a" +fi +AC_SUBST(LIBGUI) +AC_SUBST(GUI_CFLAGS_X) +AC_SUBST(IDE_CFLAGS_X) +AC_SUBST(IDE_X) +AC_SUBST(LIBIDETCL) +AC_SUBST(LIBIDE) +AC_SUBST(IDE_DEPS) + ENABLE_GDBTK= AC_ARG_ENABLE(gdbtk, |