1 AC_INIT([cde-desktop], [2.3.1], [jon@radscan.com])
2 AC_CONFIG_AUX_DIR([admin])
3 AC_CONFIG_HEADERS([include/config.h])
4 AM_INIT_AUTOMAKE([foreign])
5 AC_PREFIX_DEFAULT(/usr/dt)
7 ACLOCAL_AMFLAGS = -I m4 --install
9 dnl todo: determine what version of autoconf we depend on
14 dnl global CDE versioning
24 dnl These OS checks are deprecated and should be replaced with feature checks
65 AM_CONDITIONAL([LINUX], [test "$build_linux" = "yes"])
66 AM_CONDITIONAL([BSD], [test "$build_bsd" = "yes"])
67 AM_CONDITIONAL([FREEBSD], [test "$build_freebsd" = "yes"])
68 AM_CONDITIONAL([OPENBSD], [test "$build_openbsd" = "yes"])
69 AM_CONDITIONAL([NETBSD], [test "$build_netbsd" = "yes"])
70 AM_CONDITIONAL([SOLARIS], [test "$build_solaris" = "yes"])
71 AM_CONDITIONAL([AIX], [test "$build_aix" = "yes"])
72 AM_CONDITIONAL([HPUX], [test "$build_hpux" = "yes"])
74 if test $tirpcinc = "yes"
76 TIRPCINC = -I/usr/include/tirpc
79 if test $tirpclib = "yes"
94 case "$target_or_host" in
110 ppc-*-linux* | powerpc-*)
115 AM_CONDITIONAL([I386], [test "$is_i386" = yes])
116 AM_CONDITIONAL([X86_64], [test "$is_x86_64" = yes])
117 AM_CONDITIONAL([ARM], [test "$is_arm" = yes])
118 AM_CONDITIONAL([SPARC], [test "$is_sparc" = yes])
119 AM_CONDITIONAL([MIPS], [test "is_mips" = yes])
120 AM_CONDITIONAL([PPC], [test "is_ppc" = yes])
122 LIBTT="$srcdir/lib/tt/lib/libtt.so.2.1"
123 LIBXIN="$srcdir/lib/DtXinerama/libDtXinerama.a"
124 LIBWIDGET="$srcdir/lib/DtWidget/libDtWidget.so.2.1"
125 LIBTERM="$srcdir/lib/DtTerm/libDtTerm.so.2.1"
126 LIBSVC="$srcdir/lib/DtSvc/libDtSvc.so.2.1"
127 LIBSEARCH="$srcdir/lib/DtSearch/lbiDtSearch.so.2.1"
128 LIBPRINT="$srcdir/lib/DtPrint/libDtPrint.so.2.1"
129 LIBMRM="$srcdir/lib/DtMrm/libDtMrm.so.2.1"
130 LIBMMDB="$srcdir/lib/DtMmdb/libDtMmdb.so.2.1"
131 LIBHELP="$srcdir/lib/DtHelp/libDtHelp.so.2.1"
132 LIBCSA="$srcdir/lib/csa/libcsa.so.2.1"
133 XTOOLLIB=-lICE -lSM -lXt
148 AC_ARG_ENABLE(japanese, [--build-japanese Build Japanese (default=no)])
149 AM_CONDITIONAL([JAPANESE], [test "build_japanese" = "yes"])
151 AC_ARG_ENABLE(german, [--build-german Build German (default=no)])
152 AM_CONDITIONAL([GERMAN], [test "build_japanese" = "yes"])
154 AC_ARG_ENABLE(italian, [--build-italian Build Italian (default=no)])
155 AM_CONDITIONAL([ITALIAN], [test "build_italian" = "yes"])
157 AC_ARG_ENABLE(french, [--build-french Build French (default=no)])
158 AM_CONDITIONAL([FRENCH], [test "build_french" = "yes"])
160 AC_ARG_ENABLE(spanish, --build-spanish Build Spanish (default=no)])
161 AM_CONDITIONAL([FRENCH], [test "build_french" = "yes"])
166 CDE_LOGFILES_TOP=/var/dt
167 CDE_CONFIGURATION_TOP=/etc/dt
170 AC_SUBST(CDE_CONFIGURATION_TOP)
171 AC_SUBST(CDE_LOGFILES_TOP)
172 AC_SUBST(CDE_USER_TOP)
180 AC_CHECK_PROGS(KSH, ksh)
181 AC_CHECK_PROGS(BDFTOPCF, bdftopcf)
182 AC_CHECK_PROGS(MKFONTIDR, mkfontdir)
183 AC_CHECK_PROGS(GZIP, gzip)
184 AC_CHECK_PROGS(M4, m4)
199 dnl All of the makefile we need to generate go here...
205 lib/DtXinerama/Makefile
208 lib/tt/mini_isam/Makefile
211 lib/tt/lib/api/Makefile
212 lib/tt/lib/api/dnd/Makefile
213 lib/tt/lib/api/c/Makefile
214 lib/tt/lib/tttk/Makefile
215 lib/tt/lib/db/Makefile
216 lib/tt/lib/mp/Makefile
218 lib/tt/bin/shell/Makefile
219 lib/tt/bin/ttauth/Makefile
220 lib/tt/bin/scripts/Makefile
221 lib/tt/bin/tttar/Makefile
222 lib/tt/bin/tt_type_comp/Makefile
223 lib/tt/bin/tttrace/Makefile
224 lib/tt/bin/dbck/Makefile
225 lib/tt/bin/ttdbserverd/Makefile
226 lib/tt/bin/ttsession/Makefile
229 lib/DtSvc/DtUtil1/Makefile
230 lib/DtSvc/DtUtil2/Makefile
231 lib/DtSvc/DtEncap/Makefile
232 lib/DtSvc/DtCodelibs/Makefile
233 lib/DtSvc/DtXpm/Makefile
235 lib/DtSearch/Makefile
236 lib/DtSearch/raima/Makefile
238 lib/DtWidget/Makefile
241 lib/DtHelp/il/Makefile
245 lib/DtTerm/Term/Makefile
247 lib/DtTerm/TermView/Makefile
248 lib/DtTerm/util/Makefile
249 lib/DtTerm/TermPrim/Makefile