configure.in 14.9 KB
Newer Older
Chema Celorio's avatar
Chema Celorio committed
1 2 3
AC_INIT(gnumeric, 1.1.0, http://bugzilla.gnome.org/enter_bug.cgi?product=gnumeric)
AC_CONFIG_SRCDIR(src/sheet.h)
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
Arturo Espinosa's avatar
Arturo Espinosa committed
4

Jody Goldberg's avatar
Jody Goldberg committed
5
AM_CONFIG_HEADER(gnumeric-config.h)
Jody Goldberg's avatar
Jody Goldberg committed
6

Arturo Espinosa's avatar
Arturo Espinosa committed
7 8
AM_MAINTAINER_MODE

Jody Goldberg's avatar
Jody Goldberg committed
9 10
GNOME_PLATFORM_GNOME_2(yes, force)

11 12 13
# Make --disable-static the default
AC_DISABLE_STATIC

Arturo Espinosa's avatar
Arturo Espinosa committed
14 15
AC_ISC_POSIX
AC_PROG_CC
Arturo Espinosa's avatar
Arturo Espinosa committed
16
AC_PROG_YACC
Jody Goldberg's avatar
Jody Goldberg committed
17 18 19
AM_PROG_LIBTOOL
AC_PROG_INTLTOOL
AM_PROG_LIBTOOL
Arturo Tena's avatar
Arturo Tena committed
20
AC_STDC_HEADERS
Arturo Espinosa's avatar
Arturo Espinosa committed
21 22
AC_ARG_PROGRAM

Jody Goldberg's avatar
Jody Goldberg committed
23 24 25 26 27 28 29 30 31 32 33
PKG_CHECK_MODULES(GNUMERIC,[
glib-2.0 >= 1.3.10
gtk+-2.0 >= 1.3.10
gal-2.0 >= 0.0.0
libgnome-2.0 >= 1.105.0
libgnomeui-2.0 >= 1.106.0
libbonobo-2.0 >= 1.106.0
libbonoboui-2.0 >= 1.106.0
libgnomeprint-2.0 >= 1.106.0
libgnomeprintui-2.0 >= 1.106.0
libglade-2.0 >= 1.99.4
Jody Goldberg's avatar
Jody Goldberg committed
34
libgnomecanvas-2.0 >= 1.110.0
Jody Goldberg's avatar
Jody Goldberg committed
35 36 37 38 39 40 41
libxml-2.0 >= 2.4.12
])
AC_SUBST(GNUMERIC_LIBS)
AC_SUBST(GNUMERIC_CFLAGS)

AC_PATH_PROG(GLIB_GENMARSHAL, glib-genmarshal)
AC_PATH_PROG(GDK_PIXBUF_CSOURCE, gdk-pixbuf-csource)
42

Arturo Espinosa's avatar
Arturo Espinosa committed
43
## this should come after `AC_PROG_CC'
44
GNOME_COMPILE_WARNINGS
Morten Welinder's avatar
Morten Welinder committed
45 46
set_mode_warnings=yes
if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then
47
	for option in -Wsign-promo -Wsign-compare -Wpointer-arith -Wnested-externs -Wchar-subscripts ; do
Morten Welinder's avatar
Morten Welinder committed
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
		SAVE_CFLAGS="$CFLAGS"
		CFLAGS="$CFLAGS $option"
		AC_MSG_CHECKING([whether gcc understands $option])
		AC_TRY_COMPILE([], [],
			has_option=yes,
			has_option=no,)
		if test $has_option = no; then
		  CFLAGS="$SAVE_CFLAGS"
		fi
		AC_MSG_RESULT($has_option)
		unset has_option
		unset SAVE_CFLAGS
	done
	unset option
fi

64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110
dnl ****************************
dnl MS Excel (tm) Plugin
dnl ****************************
try_ole=true
excel_msg=yes
AC_ARG_WITH(excel,
	[--{with,without}-excel		Compile the Excel plugin],
	if test "x$withval" = xno; then
		try_ole=false
		excel_msg="Disabled by request"
	fi
)
if test "$try_ole" = "true"; then
	PKG_CHECK_MODULES(LIBOLE2, [libole2-2.0 >= 2.2.7],
		[excel_msg="yes"],
		[excel_msg="NO.  libole2 problem"])
fi
AM_CONDITIONAL(WITH_EXCEL, test x"$excel_msg" = "xyes")
AC_SUBST(LIBOLE2_CFLAGS)
AC_SUBST(LIBOLE2_LIBS)

dnl ****************************
dnl GDA Plugin
dnl ****************************
try_gda=true
gda_msg=yes
AC_ARG_WITH(gda,
	[--{with,without}-gda      Compile the Gnome Database Access plugin],
	if test "x$withval" = xyes; then
		try_gda=true
		gda_msg="Disabled by request"
	fi
)
if test "$try_gda" = "true"; then
	PKG_CHECK_MODULES(GDA, [libgda >= 0.8.102 ],
		[gda_msg=yes],
		[gda_msg="NO.  libdga problem"])
fi
AM_CONDITIONAL(WITH_GDA, test x"$gda_msg" = "xyes")
AC_SUBST(GDA_CFLAGS)
AC_SUBST(GDA_LIBS)

dnl ****************************
dnl GB Plugin
dnl ****************************
#try_gda=true
#gb_msg=yes
Jody Goldberg's avatar
typos  
Jody Goldberg committed
111
try_gb=no
112 113
gb_msg="Temporarily disabled during gnome2 porting"
AC_ARG_WITH(gb,
Jody Goldberg's avatar
typos  
Jody Goldberg committed
114
	[--{with,without}-gb      Compile the Gnome Basic plugin],
115
	if test "x$withval" = xyes; then
Jody Goldberg's avatar
typos  
Jody Goldberg committed
116
		#try_gb=true
117 118 119 120 121 122 123 124 125 126 127 128 129 130
		gb_msg="We are not joking, it is temporarily disabled during gnome2 porting"
		#gb_msg="Disabled by request"
	fi
)
if test "$try_gb" = "true"; then
	PKG_CHECK_MODULES(GB, [libgb == 1.17 ],
		[gb_msg=yes],
		[gb_msg="NO.  gb problem"])
fi
AM_CONDITIONAL(WITH_GB, test x"$gb_msg" = "xyes")
AC_SUBST(GB_CFLAGS)
AC_SUBST(GB_LIBS)

dnl ****************************
Morten Welinder's avatar
Morten Welinder committed
131

132 133 134 135 136 137 138 139 140 141 142 143 144 145 146
dnl src/functions/fn-math.c uses M_PI
dnl src/plugin-util.c uses caddr_t
AC_MSG_CHECKING([whether -D_BSD_SOURCE is needed for M_PI])
AC_TRY_COMPILE([#include <math.h>], [double f = M_PI], need_bsd=no, need_bsd=yes)
AC_MSG_RESULT($need_bsd)
if test $need_bsd = yes ; then
	CFLAGS="$CFLAGS -D_BSD_SOURCE"
else
	AC_MSG_CHECKING([whether -D_BSD_SOURCE is needed for caddr_t])
	AC_TRY_COMPILE([#include <sys/types.h>], [caddr_t ca], need_bsd=no, need_bsd=yes)
	if test $need_bsd = yes ; then
		CFLAGS="$CFLAGS -D_BSD_SOURCE"
	fi
	AC_MSG_RESULT($need_bsd)
fi
Morten Welinder's avatar
Morten Welinder committed
147

Arturo Espinosa's avatar
Arturo Espinosa committed
148 149
AC_SUBST(GUILE_LIBS)
AC_SUBST(GUILE_INCS)
150 151

#check for guile 1.5
152 153 154
try_guile=false
guile_msg="temporarily disabled in gnome2 branch"
enable_guile=false
155 156
AC_ARG_WITH(guile,
	[--{with,without}-guile   Compile with Guile support or without it],
157
	if test "x$withval" = xyes; then
158
		try_guile=true
159 160 161
	fi
)

162 163 164 165 166 167 168 169 170 171 172 173 174 175 176
dnl if $try_guile; then
dnl 	AC_MSG_CHECKING(for guile >= 1.5)
dnl 	if test "`guile -c '(display (string>=? (version) "1.4.1"))'`" != "#t"; then
dnl   		AC_MSG_RESULT([Your Guile is too old.  You need Guile 1.5 or later.])
dnl 	else
dnl 	        AC_MSG_RESULT(found)
dnl 		guile_msg="yes"
dnl 		enable_guile=true
dnl 	fi
dnl 	
dnl fi
dnl if $enable_guile; then
dnl 	GNOME_CHECK_GUILE
dnl fi
AM_CONDITIONAL(WITH_GUILE, $enable_guile)
Arturo Espinosa's avatar
Arturo Espinosa committed
177

Jody Goldberg's avatar
Jody Goldberg committed
178 179 180
dnl **************************************************
dnl * psiconv support
dnl **************************************************
181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198
dnl PSICONV_INIT()
dnl if test "$want_psiconv" = "yes"; then
dnl 	ac_save_CFLAGS="$CFLAGS"
dnl 	ac_save_LIBS="$LIBS"
dnl 	CFLAGS="$CFLAGS $psiconv_cflags"
dnl 	LIBS="$LIBS $psiconv_libs"
dnl 	AC_CHECK_LIB(psiconv,psiconv_parse_sheet_file,want_psiconv=yes,want_psiconv=no)
dnl 	CFLAGS="$ac_save_CFLAGS"
dnl 	LIBS="$ac_save_LIBS"
dnl 
dnl 	if test "$want_psiconv" = "no"; then
dnl 		PSICONV_LIBS=""
dnl 		PSICONV_CFLAGS=""
dnl 		enable_psiconv=false
dnl 	fi
dnl fi
enable_psiconv=false
AM_CONDITIONAL(WITH_PSICONV,$enable_psiconv)
Jody Goldberg's avatar
Jody Goldberg committed
199

Jody Goldberg's avatar
Jody Goldberg committed
200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215
dnl **************************************************
dnl stolen from gtk+
AC_MSG_CHECKING(whether make is GNU Make)
STRIP_BEGIN=
STRIP_END=
if $ac_make --version 2>/dev/null | grep '^GNU Make ' >/dev/null ; then
	STRIP_BEGIN='$(strip $(STRIP_DUMMY)'
	STRIP_END=')'
	AC_MSG_RESULT(yes)
else
	AC_MSG_RESULT(no)
fi
STRIP_DUMMY=
AC_SUBST(STRIP_DUMMY)
AC_SUBST(STRIP_BEGIN)
AC_SUBST(STRIP_END)
Jody Goldberg's avatar
Jody Goldberg committed
216

217 218 219 220 221 222 223
dnl **************************************************
dnl * internationalization support
dnl **************************************************
dnl
dnl Check doc/translating.sgml for a description of how to translate
dnl and why we have so many translations.
dnl
224
ALL_LINGUAS="ca cs da de en_AU en_CA en_GB el es et fi fr ga gl hr hu it ja ko nl nn no pl pt pt_BR ro ru sk sv tr uk zh_CN zh_TW"
Jody Goldberg's avatar
Jody Goldberg committed
225 226 227 228 229
GETTEXT_PACKAGE=gnumeric
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE")
AM_GLIB_GNU_GETTEXT

230 231 232 233 234
# AM_GNOME_GETTEXT above substs $DATADIRNAME
# this is the directory where the *.{mo,gmo} files are installed
gnomelocaledir='${prefix}/${DATADIRNAME}/locale'
AC_SUBST(gnomelocaledir)

235 236 237 238 239 240 241
#AC_PATH_PROG(TPUT_CMD,tput,no)
TPUT_CMD=no
marker_ok="<yes >"
marker_fail="<FAIL>"
marker_no="<NO  >"
if test "$TPUT_CMD" '!=' no  -a  -t 1  -a  -t 2; then
  # We have tput and output goes to a terminal.
242 243 244 245
  marker_ok="<`$TPUT_CMD bold`yes`$TPUT_CMD sgr0` >"
  marker_fail="<`$TPUT_CMD bold`fail`$TPUT_CMD sgr0`>"
  marker_no="<`$TPUT_CMD bold`no`$TPUT_CMD sgr0`  >"
fi
246

247 248
dnl
dnl On Solaris finite() needs ieeefp.h
249
dnl Either of these seem to signal IEEE754 math, see mathfunc.c
250
dnl
251
AC_CHECK_HEADERS(ieeefp.h ieee754.h)
252

Morten Welinder's avatar
Morten Welinder committed
253
dnl Check for some functions
254
AC_CHECK_FUNCS(random drand48 finite isfinite)
Morten Welinder's avatar
Morten Welinder committed
255

Morten Welinder's avatar
56857.  
Morten Welinder committed
256 257 258 259 260 261 262 263 264
dnl
dnl On BSD, we seem to need -lm for finite
dnl
if test $ac_cv_func_finite = no; then
  AC_CHECK_LIB(m, finite,
        [AC_DEFINE(HAVE_FINITE)
         LIBS="$LIBS -lm"])
fi

265 266 267
dnl check for complete locale implementation
AC_CHECK_HEADERS(langinfo.h)

Jody Goldberg's avatar
Jody Goldberg committed
268 269 270 271
dnl we need iconv for translating to/from locale's charset when
dnl reading/writing Excel files
AC_CHECK_HEADERS(iconv.h)

272 273 274
dnl **************************************************
dnl * Check for Perl
dnl **************************************************
275 276 277
dnl
AC_CHECK_PROG(perl_val, perl, true, false)
if $perl_val; then
278
  AC_MSG_CHECKING(for perl ExtUtils::Embed module				)
279 280
  perl -e 'eval { require ExtUtils::Embed }; if ($@) { exit(1); } else { exit(0); }'
  if test "x$?" = "x0"; then
281
    AC_MSG_RESULT($marker_ok)
282 283

    dnl Use ExtUtils::Embed to figure out the other options.
284 285
    PERL_CCCDLFLAGS=`perl -MConfig -e 'print $Config{cccdlflags},"\n";'`
    PERL_LDDLFLAGS=`perl -MConfig -e 'print $Config{lddlflags},"\n";'`
Raja R Harinath's avatar
Raja R Harinath committed
286
    PERL_CC=`perl -MConfig -e 'print $Config{cc},"\n";'`
287
    PERL_LD=`perl -MConfig -e 'print $Config{ld},"\n";'`
288 289
    PERL_CCOPTS=`perl -MExtUtils::Embed -e ccopts`
    PERL_LDOPTS=`perl -MExtUtils::Embed -e ldopts`
290 291
    AC_SUBST(PERL_CCCDLFLAGS)
    AC_SUBST(PERL_LDDLFLAGS)
Raja R Harinath's avatar
Raja R Harinath committed
292
    AC_SUBST(PERL_CC)
293
    AC_SUBST(PERL_LD)
294 295 296
    AC_SUBST(PERL_CCOPTS)
    AC_SUBST(PERL_LDOPTS)
  else
297
    AC_MSG_RESULT($marker_no)
298 299 300
    perl_val=false
  fi
fi
Jody Goldberg's avatar
update  
Jody Goldberg committed
301 302

dnl Disable perl until we have an active maintainer
Morten Welinder's avatar
Morten Welinder committed
303
AM_CONDITIONAL(WITH_PERL, false)
304

305 306 307
dnl **************************************************
dnl * Check for Python
dnl **************************************************
308 309
try_python=true
AC_ARG_WITH(python,
310
	[--{with,without}-python   Compile the Python plugin loader],
Jody Goldberg's avatar
Jody Goldberg committed
311
	if test "x$withval" = xno; then
312
		try_python=false
Jody Goldberg's avatar
Jody Goldberg committed
313
	else
Jody Goldberg's avatar
Jody Goldberg committed
314
		python_prog="$withval"
315 316 317 318
	fi
)

if $try_python; then
Jody Goldberg's avatar
Jody Goldberg committed
319 320 321 322
	if test "x$python_prog" = xyes -o "x$python_prog" = x ; then
	    python_prog=python
	fi

323
	python_val=
Jody Goldberg's avatar
Jody Goldberg committed
324
	AC_CHECK_PROG(python_val, "$python_prog", true, false)
325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347
	if $python_val; then
		  PY_PREFIX=`python -c 'import sys ; print sys.prefix'`
		  PY_EXEC_PREFIX=`python -c 'import sys ; print sys.exec_prefix'`
		  changequote(<<, >>)dnl
		  PY_VERSION=`python -c 'import sys ; print sys.version[0:3]'`
		  changequote([, ])dnl
		  if test -f $PY_PREFIX/include/python$PY_VERSION/Python.h; then
			  PY_LIBS="python$PY_VERSION"
			  PY_LIB_LOC="-L$PY_EXEC_PREFIX/lib/python$PY_VERSION/config"
			  PY_CFLAGS="-I$PY_PREFIX/include/python$PY_VERSION"
			  PY_MAKEFILE="$PY_EXEC_PREFIX/lib/python$PY_VERSION/config/Makefile"
			  PY_LOCALMODLIBS=`sed -n -e 's/^LOCALMODLIBS=\(.*\)/\1/p' $PY_MAKEFILE`
			  PY_BASEMODLIBS=`sed -n -e 's/^BASEMODLIBS=\(.*\)/\1/p' $PY_MAKEFILE`
			  PY_OTHER_LIBS=`sed -n -e 's/^LIBS=\(.*\)/\1/p' $PY_MAKEFILE`
			  PY_EXTRA_LIBS="$PY_LOCALMODLIBS $PY_BASEMODLIBS $PY_OTHER_LIBS"
			  AC_SUBST(PY_LIBS)
			  AC_SUBST(PY_LIB_LOC)
			  AC_SUBST(PY_CFLAGS)
			  AC_SUBST(PY_EXTRA_LIBS)
		  else
			  python_val=false
		  fi
	fi
348 349 350 351 352 353 354 355 356 357 358 359
	if $python_val; then
		AC_MSG_CHECKING(if we can build a shared library depending on libpython)
		rm -rf testpython
		mkdir testpython
		cd testpython
		cat > testpython.c <<EOF
#include <Python.h>
int testpython (void)
{
Py_Exit (0);
}
EOF
360 361 362
		if /bin/sh ../libtool --mode=compile ${CC} $PY_CFLAGS -c testpython.c >/dev/null 2>&1 && \
		   /bin/sh ../libtool --mode=link ${CC} -o testpython.la -rpath `pwd` -module -avoid-version $PY_LIB_LOC testpython.lo -l$PY_LIBS $PY_EXTRA_LIBS >/dev/null 2>&1 && \
		   grep 'dlname.*testpython' testpython.la >/dev/null 2>&1; then
363 364 365 366 367 368 369 370
			AC_MSG_RESULT(yes)
		else
			AC_MSG_RESULT(no)
			python_val=false
		fi
		cd ..
		rm -rf testpython
	fi
371 372 373
	AM_CONDITIONAL(WITH_PYTHON, $python_val)
else
	AM_CONDITIONAL(WITH_PYTHON, false)
374
fi
375

Jody Goldberg's avatar
Jody Goldberg committed
376
enable_bonobo=false
377
bonobo_msg="temporarily disabled in gnome2 branch"
378
AC_ARG_WITH(bonobo,
Jody Goldberg's avatar
Jody Goldberg committed
379
	[--{with,without}-bonobo   Use the bonobo UI routines],
Jody Goldberg's avatar
Jody Goldberg committed
380 381 382
	if test "x$withval" = xyes; then
		enable_bonobo=true
		bonobo_msg=yes
383 384
	fi
)
385
dnl gnumeric_bonobo_enabled=$enable_bonobo
Jody Goldberg's avatar
Jody Goldberg committed
386
gnumeric_bonobo_enabled=$enable_bonobo
Jody Goldberg's avatar
Jody Goldberg committed
387
AM_CONDITIONAL(WITH_BONOBO, $enable_bonobo)
388

389 390 391
dnl **************************************************
dnl * Config defaults (Must be after bonobo)
dnl **************************************************
392 393
gnumeric_prefix="${prefix}"
gnumeric_exec_prefix="${exec_prefix}"
394
gnumeric_version="${VERSION}${bonobo_suffix}"
395 396 397 398
gnumeric_datadir="${datadir}/gnumeric/${gnumeric_version}"
gnumeric_libdir="${libdir}/gnumeric/${gnumeric_version}"
gnumeric_plugindir="${gnumeric_libdir}/plugins"
gnumeric_gladedir="${gnumeric_datadir}/glade"
Jody Goldberg's avatar
Jody Goldberg committed
399 400
gnumeric_icondir="${datadir}/pixmaps/gnumeric"

401
gnumeric_autoformatdir="${gnumeric_datadir}/autoformat-templates"
402

Jody Goldberg's avatar
Jody Goldberg committed
403
dnl Export to gnumeric-config.h
Almer. S. Tigelaar's avatar
Almer. S. Tigelaar committed
404
AC_DEFINE_UNQUOTED(GNUMERIC_VERSION, "$gnumeric_version")
Jody Goldberg's avatar
Jody Goldberg committed
405
AC_DEFINE_UNQUOTED(GNUMERIC_PREFIX,  "$gnumeric_prefix")
Almer. S. Tigelaar's avatar
Almer. S. Tigelaar committed
406

407 408 409 410 411 412 413
AC_SUBST(gnumeric_prefix)
AC_SUBST(gnumeric_exec_prefix)
AC_SUBST(gnumeric_datadir)
AC_SUBST(gnumeric_version)
AC_SUBST(gnumeric_libdir)
AC_SUBST(gnumeric_plugindir)
AC_SUBST(gnumeric_gladedir)
Jody Goldberg's avatar
Jody Goldberg committed
414
AC_SUBST(gnumeric_icondir)
415
AC_SUBST(gnumeric_autoformatdir)
416
AC_SUBST(gnumeric_bonobo_enabled)
417

418 419 420
dnl ******************************
dnl Check for Evolution
dnl ******************************
Jody Goldberg's avatar
Jody Goldberg committed
421
try_evolution=false
422 423
evolution=no
AC_ARG_WITH(evolution,
Jody Goldberg's avatar
Jody Goldberg committed
424
	[--{with,without}-evolution Use evolution to send spreadsheets (bonobo needed).],
425
	if test "x$withval" = xyes; then
Jody Goldberg's avatar
Jody Goldberg committed
426
		try_evolution=true
427 428
	fi
)
429
if test x"$have_bonobo" = "xtrue" -a x"$try_evolution" = "xtrue" ; then
Jody Goldberg's avatar
Jody Goldberg committed
430
	path_to_composer_idl=`pkg-config --datadir`/idl/Evolution-Composer.idl
431 432
	AC_CHECK_FILE($path_to_composer_idl, evolution=yes, evolution=no)
fi
Jody Goldberg's avatar
Jody Goldberg committed
433
AM_CONDITIONAL(ENABLE_EVOLUTION, test x"$evolution" = "xyes")
434 435 436
if test x"$evolution" = "xyes" ; then
    AC_DEFINE(ENABLE_EVOLUTION)
fi
437

438 439 440 441 442 443 444 445 446
dnl ******************************
dnl Check for Applix SHELF
dnl ******************************
dnl try_applix_shelf=false
dnl applix_shelf=
dnl applix_shelf_msg=no
dnl have_applix_shelf=false
dnl AC_ARG_WITH(applix_shelf,
dnl	[--{with,without}-shelf   Compile with Applix SHELF support or without it],
447
dnl	if test "x$withval" = xyes; then
448 449 450
dnl		try_applix_shelf=true
dnl	fi
dnl)
451

Jody Goldberg's avatar
Jody Goldberg committed
452 453 454 455 456
ORBIT="`$PKG_CONFIG --variable=orbit_idl ORBit-2.0`"
BONOBO_IDL_DIR="`$PKG_CONFIG --variable=idldir libbonobo-2.0`"
BONOBO_ACTIVATION_IDL_DIR="`$PKG_CONFIG --variable=idldir bonobo-activation-2.0`"
ORBIT_IDL="${ORBIT} -I${BONOBO_IDL_DIR} -I${BONOBO_ACTIVATION_IDL_DIR}"
AC_SUBST(ORBIT_IDL)
457

458 459 460
dnl ====================================
dnl = Plan Perfect Plugin
dnl ====================================
Morten Welinder's avatar
Morten Welinder committed
461
AM_CONDITIONAL(WITH_PLAN_PERFECT, false)
Jody Goldberg's avatar
Jody Goldberg committed
462

463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478
dnl ====================================
dnl = Test whether jw is installed
dnl ====================================
AC_PATH_PROG(JW,jw,no)
if test x$JW = xno; then
  HAVE_JW="no"
else
  HAVE_JW="yes"
fi
AM_CONDITIONAL(HAVE_JW, test "x$HAVE_JW" = "xyes")
AC_SUBST(HAVE_JW)
dnl ====================================
dnl = End tests for jw
dnl ====================================


Arturo Espinosa's avatar
Arturo Espinosa committed
479
AC_OUTPUT([
480
gnumeric.spec
Arturo Espinosa's avatar
Arturo Espinosa committed
481
Makefile
Jody Goldberg's avatar
Jody Goldberg committed
482
src/Makefile
483
icons/Makefile
Miguel de Icaza's avatar
Miguel de Icaza committed
484
idl/Makefile
Arturo Espinosa's avatar
Arturo Espinosa committed
485
src/Makefile
486 487
src/dialogs/Makefile
src/functions/Makefile
Jody Goldberg's avatar
Jody Goldberg committed
488 489
src/pixmaps/Makefile
src/widgets/Makefile
490
doc/Makefile
491
doc/C/Makefile
Jody Goldberg's avatar
Jody Goldberg committed
492
omf-install/Makefile
Arturo Espinosa's avatar
Arturo Espinosa committed
493
plugins/Makefile
Morten Welinder's avatar
Morten Welinder committed
494
plugins/numtheory/Makefile
Morten Welinder's avatar
Morten Welinder committed
495
plugins/derivatives/Makefile
496
plugins/sc/Makefile
497
plugins/sylk/Makefile
498
plugins/excel/Makefile
Jody Goldberg's avatar
typos  
Jody Goldberg committed
499
plugins/gda/Makefile
500
plugins/gb/Makefile
Michael Meeks's avatar
Michael Meeks committed
501
plugins/lotus-123/Makefile
502
plugins/oleo/Makefile
503
plugins/python/Makefile
504 505 506
plugins/python-loader/Makefile
plugins/gnome-glossary/Makefile
plugins/py-func/Makefile
507
plugins/perl/Makefile
508
plugins/perl/ext/Makefile.PL
Mark Probst's avatar
Mark Probst committed
509
plugins/guile/Makefile
Michael Meeks's avatar
Michael Meeks committed
510
plugins/xbase/Makefile
511
plugins/html/Makefile
512
plugins/dif/Makefile
Jody Goldberg's avatar
Jody Goldberg committed
513
plugins/xml_sax/Makefile
Jody Goldberg's avatar
Jody Goldberg committed
514
plugins/applix/Makefile
515
plugins/plan-perfect/Makefile
Jody Goldberg's avatar
Jody Goldberg committed
516
plugins/psiconv/Makefile
Jukka-Pekka Iivonen's avatar
Jukka-Pekka Iivonen committed
517
plugins/mps/Makefile
Arturo Espinosa's avatar
Arturo Espinosa committed
518
po/Makefile.in
Jody Goldberg's avatar
Jody Goldberg committed
519 520
templates/Makefile
templates/english/Makefile
521
templates/autoformat/Makefile
Jody Goldberg's avatar
Jody Goldberg committed
522
tools/Makefile
523
stamp.h
Fatih Demir's avatar
Fatih Demir committed
524
])
525

526

527 528
echo "

529 530 531 532 533 534 535 536 537 538
WARNING WARNING WARNING

    This is the _DEVELOPMENT_ branch of gnumeric.  It is undergoing rapid change
    and is _NOT_ suitable for packaging or production work.  Please use the
    stable branch

	cvs co -r gnome_1_4 gnumeric

WARNING WARNING WARNING

539 540 541 542
Configuration:

	Source code location:	${srcdir}
	Compiler:		${CC} 
543

544 545 546 547
	MS Excel Support :	${excel_msg}
	GDA support:		${gda_msg}
	GB support:		${gb_msg}

548
	Bonobo Support:		${bonobo_msg}
549
	Guile Support:		${guile_msg}
Jody Goldberg's avatar
Jody Goldberg committed
550
	Evolution Support:      ${evolution}
551
"