Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 310167 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-6 / +7 lines)
Line  Link Here
0
-- libetpan-0.57/configure.ac
0
++ libetpan-0.57/configure.ac
Lines 104-111 Link Here
104
fi
104
fi
105
AM_CONDITIONAL(HAVE_MINGW32_SYSTEM, test "$have_w32_system" = yes)
105
AM_CONDITIONAL(HAVE_MINGW32_SYSTEM, test "$have_w32_system" = yes)
106
106
107
# Check the C compiler.
107
# Check the C and CXX compiler.
108
AC_PROG_CC
108
AC_PROG_CC
109
AC_PROG_CXX
109
110
110
# Compiler flags.
111
# Compiler flags.
111
AC_ARG_ENABLE(debug,   [  --enable-debug          setup flags (gcc) for debugging (default=no)],
112
AC_ARG_ENABLE(debug,   [  --enable-debug          setup flags (gcc) for debugging (default=no)],
Lines 382-388 Link Here
382
  case "$DBVERS" in
383
  case "$DBVERS" in
383
    3)
384
    3)
384
    AC_MSG_RESULT([version 3.x or above])
385
    AC_MSG_RESULT([version 3.x or above])
385
    for lib in db-4.7 db-4.6 db-4.5 db-4.4 db-4.3 db-4.2 db-4.1 db-4.0 db-4 db4 db-3.2 db-3 db3 db; do
386
    for lib in db-4.8 db-4.7 db-4.6 db-4.5 db-4.4 db-4.3 db-4.2 db-4.1 db-4.0 db-4 db4 db-3.2 db-3 db3 db; do
386
      if test "x$DBLINKED" = "x0"; then
387
      if test "x$DBLINKED" = "x0"; then
387
dnl        AC_CHECK_LIB($lib, db_create, [DBLIB="-l$lib"; DBLINKED=1], [])
388
dnl        AC_CHECK_LIB($lib, db_create, [DBLIB="-l$lib"; DBLINKED=1], [])
388
dnl installations of libdb4 function names are defined in db.h
389
dnl installations of libdb4 function names are defined in db.h
Lines 452-462 Link Here
452
  for flag in "pthreads" "pthread"; do
453
  for flag in "pthreads" "pthread"; do
453
    if test "x$checkpthread" = "xyes"; then
454
    if test "x$checkpthread" = "xyes"; then
454
      AC_MSG_CHECKING([for pthread_create with -$flag])
455
      AC_MSG_CHECKING([for pthread_create with -$flag])
455
      OLDFLAGS="$LDFLAGS"
456
      OLDLIBS="$LIBS"
456
      LDFLAGS="-$flag $LDFLAGS"
457
      LIBS="$LIBS -l$flag"
457
      AC_TRY_LINK([], [pthread_create();], 
458
      AC_TRY_LINK([], [pthread_create();], 
458
                      [pthflag=yes; checkpthread=no], 
459
                      [pthflag=yes; checkpthread=no], 
459
                      [pthflag=no; LDFLAGS="$OLDCFLAGS"])
460
                      [pthflag=no; LIBS="$OLDLIBS"])
460
      AC_MSG_RESULT($pthflag)
461
      AC_MSG_RESULT($pthflag)
461
    fi
462
    fi
462
  done
463
  done

Return to bug 310167