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

Collapse All | Expand All

(-)configure.in (-4 / +12 lines)
Lines 715-732 Link Here
715
      )
715
      )
716
716
717
      dnl Similarly, the libiconv library is only needed on some non-GNU
717
      dnl Similarly, the libiconv library is only needed on some non-GNU
718
      dnl systems.
718
      dnl systems.  Note that some systems redefine the iconv_open function
719
      dnl to something else (Bug#3682), e.g. libiconv_open.
719
      AC_CHECK_LIB(iconv, iconv_open,
720
      AC_CHECK_LIB(iconv, iconv_open,
720
        [LIBS="$LIBS -liconv"
721
        [LIBS="$LIBS -liconv"
721
         AC_DEFINE(HAVE_LIBICONV, 1, [Define if libiconv is present.])
722
         AC_DEFINE(HAVE_LIBICONV, 1, [Define if libiconv is present.])
722
         AC_DEFINE(PR_USE_NLS, 1, [Define if using NLS support.])
723
         AC_DEFINE(PR_USE_NLS, 1, [Define if using NLS support.])
723
         ENABLE_NLS="1"
724
         ENABLE_NLS="1"
724
        ],
725
        ],
725
        [AC_CHECK_LIB(c, iconv_open,
726
        [AC_CHECK_LIB(iconv, libiconv_open,
726
          [AC_DEFINE(PR_USE_NLS, 1, [Define if using NLS support.])
727
          [LIBS="$LIBS -liconv"
728
           AC_DEFINE(HAVE_LIBICONV, 1, [Define if libiconv is present.])
729
           AC_DEFINE(PR_USE_NLS, 1, [Define if using NLS support.])
727
           ENABLE_NLS="1"
730
           ENABLE_NLS="1"
728
          ],
731
          ],
729
          [AC_MSG_ERROR([libiconv support, required for NLS, not present -- aborting])]
732
          [AC_CHECK_LIB(c, iconv_open,
733
            [AC_DEFINE(PR_USE_NLS, 1, [Define if using NLS support.])
734
             ENABLE_NLS="1"
735
            ],
736
            [AC_MSG_ERROR([libiconv support, required for NLS, not present -- aborting])]
737
          ])
730
        ])
738
        ])
731
      )
739
      )
732
    fi
740
    fi

Return to bug 354295