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

Collapse All | Expand All

(-)configure.in.old (-10 / +10 lines)
Lines 52-61 Link Here
52
dnl
52
dnl
53
ALL_LINGUAS="ja zh_CN zh_TW"
53
ALL_LINGUAS="ja zh_CN zh_TW"
54
AM_GNU_GETTEXT([external])
54
AM_GNU_GETTEXT([external])
55
LDFLAGS="$LDFLAGS $INTLLIBS"
55
LIBS="$LIBS $INTLLIBS"
56
AC_CHECK_LIB(iconv, iconv, haslibiconv=yes, haslibiconv=no)
56
AC_CHECK_LIB(iconv, iconv, haslibiconv=yes, haslibiconv=no)
57
if test "x$haslibiconv" = "xyes"; then
57
if test "x$haslibiconv" = "xyes"; then
58
    LDFLAGS="$LDFLAGS $LIBICONV"
58
    LIBS="$LIBS $LIBICONV"
59
fi
59
fi
60
localedir='${prefix}/share/locale'
60
localedir='${prefix}/share/locale'
61
AC_SUBST(localedir)
61
AC_SUBST(localedir)
Lines 311-320 Link Here
311
311
312
  *)
312
  *)
313
    AC_MSG_CHECKING(whether threads work with -pthread)
313
    AC_MSG_CHECKING(whether threads work with -pthread)
314
    LDSAVEFLAGS=$LDFLAGS
314
    LIBSSAVE=$LDFLAGS
315
    LDFLAGS="$LDFLAGS -pthread"
315
    LIBS="$LIBS -pthread"
316
    AC_TRY_LINK_FUNC(pthread_create, pthread_ok=yes, pthread_ok=no)
316
    AC_TRY_LINK_FUNC(pthread_create, pthread_ok=yes, pthread_ok=no)
317
    LDFLAGS=$LDSAVEFLAGS
317
    LIBS=$LIBSSAVE
318
318
319
    if test "x$pthread_ok" = "xyes"; then
319
    if test "x$pthread_ok" = "xyes"; then
320
      AC_MSG_RESULT(yes)
320
      AC_MSG_RESULT(yes)
Lines 349-368 Link Here
349
case $target in
349
case $target in
350
  *-*-solaris*)
350
  *-*-solaris*)
351
    AC_MSG_CHECKING(whether SunOS has -lrt )
351
    AC_MSG_CHECKING(whether SunOS has -lrt )
352
    LDSAVEFLAGS="$LDFLAGS"
352
    LIBSSAVE="$LIBS"
353
    LDFLAGS="$LDFLAGS -lrt"
353
    LIBS="$LIBS -lrt"
354
    AC_TRY_LINK_FUNC(nanosleep, rt_ok=yes, rt_ok=no)
354
    AC_TRY_LINK_FUNC(nanosleep, rt_ok=yes, rt_ok=no)
355
    if test "x$rt_ok" = "xyes"; then
355
    if test "x$rt_ok" = "xyes"; then
356
      AC_MSG_RESULT(yes)
356
      AC_MSG_RESULT(yes)
357
    else
357
    else
358
      AC_MSG_RESULT(no)
358
      AC_MSG_RESULT(no)
359
      AC_MSG_CHECKING(whether SunOS has -lposix4 )
359
      AC_MSG_CHECKING(whether SunOS has -lposix4 )
360
      LDFLAGS="$LDSAVEFLAGS -lposix4"
360
      LIBS="$LIBSSAVE -lposix4"
361
      AC_TRY_LINK_FUNC(nanosleep, posix_ok=yes, posix_ok=no)
361
      AC_TRY_LINK_FUNC(nanosleep, posix_ok=yes, posix_ok=no)
362
      if test "x$posix_ok" = "xyes"; then
362
      if test "x$posix_ok" = "xyes"; then
363
        AC_MSG_RESULT(yes)
363
        AC_MSG_RESULT(yes)
364
      else
364
      else
365
        LDFLAGS=$LDSAVEFLAGS
365
        LIBS=$LIBSSAVE
366
        AC_MSG_RESULT(no)
366
        AC_MSG_RESULT(no)
367
        AC_MSG_WARN([*** Try setting LIBS or LDFLAGS manually to point to the library with nanosleep()***])
367
        AC_MSG_WARN([*** Try setting LIBS or LDFLAGS manually to point to the library with nanosleep()***])
368
      fi
368
      fi
Lines 406-412 Link Here
406
    fi
406
    fi
407
  else
407
  else
408
    CFLAGS="$CFLAGS `$XFT_CONFIG --cflags`"
408
    CFLAGS="$CFLAGS `$XFT_CONFIG --cflags`"
409
    LDFLAGS="$LDFLAGS `$XFT_CONFIG --libs`"
409
    LIBS="$LIBS `$XFT_CONFIG --libs`"
410
  fi
410
  fi
411
fi
411
fi
412
if test "x$enable_cookies" = "xno" ; then
412
if test "x$enable_cookies" = "xno" ; then

Return to bug 144130