View | Details | Raw Unified | Return to bug 123380
Collapse All | Expand All

(-)configure.in (-3 / +43 lines)
Lines 1-4 Link Here
1
# $Id: configure.in,v 1.17 2004/05/01 16:43:29 andrewbaker Exp $ 
1
# $Id: configure.in,v 1.2 2005/03/08 20:37:40 bamm Exp $ 
2
AC_INIT(src/barnyard.c)
2
AC_INIT(src/barnyard.c)
3
AM_CONFIG_HEADER(config.h)
3
AM_CONFIG_HEADER(config.h)
4
AM_INIT_AUTOMAKE(barnyard,0.2.0)
4
AM_INIT_AUTOMAKE(barnyard,0.2.0)
Lines 281-287 Link Here
281
281
282
  dnl check for the header
282
  dnl check for the header
283
  LDFLAGS="${LDFLAGS} -L${MYSQL_LIB_DIR}"
283
  LDFLAGS="${LDFLAGS} -L${MYSQL_LIB_DIR}"
284
  LIBS="${LIBS} -lz -lssl -lmysqlclient"
284
  LIBS="${LIBS} -lmysqlclient -lcrypto"
285
  AC_CHECK_LIB(mysqlclient, mysql_real_connect, FOUND=yes, FOUND=no)
285
  AC_CHECK_LIB(mysqlclient, mysql_real_connect, FOUND=yes, FOUND=no)
286
286
287
  if test "$FOUND" = "no"; then
287
  if test "$FOUND" = "no"; then
Lines 290-297 Link Here
290
    
290
    
291
fi
291
fi
292
292
293
294
dnl mysql support 
293
dnl mysql support 
294
295
AC_ARG_ENABLE(postgres,
295
AC_ARG_ENABLE(postgres,
296
    [  --enable-postgres              PostgreSQL database support])
296
    [  --enable-postgres              PostgreSQL database support])
297
AC_ARG_WITH(postgres_includes,
297
AC_ARG_WITH(postgres_includes,
Lines 338-343 Link Here
338
    
338
    
339
fi
339
fi
340
340
341
AC_ARG_ENABLE(tcl,
342
	[  --enable-tcl           Enable Tcl language support.],,
343
	[enable_tcl="no"])
344
dnl AC_MSG_RESULT($enable_tcl)
345
346
if test "yes" = "$enable_tcl"; then
347
348
    dnl let tclsh tell us where it was
349
	dnl installed (prefer new tcl versions).
350
	AC_CHECK_PROGS(TCLSH, tclsh8.4 tclsh8.3 tclsh8.2 tclsh8.1 tclsh8.0 tclsh)
351
    if test "$TCLSH" != ""; then
352
        tclpath=`echo 'puts [[lindex $tcl_pkgPath 0]]' | $TCLSH`
353
    fi
354
355
    dnl let the user overwrite the installation
356
	dnl directory which was just found.
357
	AC_ARG_WITH(tcl,
358
		[  --with-tcl=PATH         Location of tclConfig.sh],
359
		tclpath="$withval")
360
361
	dnl check, if tclConfig.sh can be found in
362
	dnl tclsh's installation directory.
363
    if test ! -r $tclpath/tclConfig.sh; then
364
		AC_MSG_RESULT(
365
		[
366
	Can't find Tcl libraries.  Use --with-tcl to specify
367
        the directory containing tclConfig.sh on your system.
368
	Continuing build without Tcl support.])
369
    else
370
	dnl source tclsh's configuration file
371
	dnl and tell the user about the version.
372
	. $tclpath/tclConfig.sh
373
	AC_MSG_CHECKING([for the tcl version number])
374
	AC_MSG_RESULT([$TCL_VERSION, patchlevel $TCL_PATCH_LEVEL])
375
        LIBS="$LIBS $TCL_LIBS $TCL_LIB_SPEC"
376
	TCL_INCLUDE="$TCL_PREFIX/include/tcl$TCL_VERSION"
377
	CPPFLAGS="$CPPFLAGS -I$TCL_INCLUDE -DENABLE_TCL";
378
    fi
379
fi
380
341
if test "$tru64_types" = "yes"; then
381
if test "$tru64_types" = "yes"; then
342
        AC_CHECK_TYPE(u_int8_t, unsigned char)
382
        AC_CHECK_TYPE(u_int8_t, unsigned char)
343
        AC_CHECK_TYPE(u_int16_t, unsigned short)
383
        AC_CHECK_TYPE(u_int16_t, unsigned short)

Return to bug 123380