You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axkit-dev@xml.apache.org by ma...@apache.org on 2005/08/09 20:06:13 UTC

cvs commit: xml-axkit/lib/Apache/AxKit Makefile.PL

matts       2005/08/09 11:06:13

  Modified:    lib/Apache/AxKit Makefile.PL
  Log:
  Find iconv in better places
  
  Revision  Changes    Path
  1.2       +5 -5      xml-axkit/lib/Apache/AxKit/Makefile.PL
  
  Index: Makefile.PL
  ===================================================================
  RCS file: /home/cvs/xml-axkit/lib/Apache/AxKit/Makefile.PL,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Makefile.PL	13 Jan 2002 20:45:11 -0000	1.1
  +++ Makefile.PL	9 Aug 2005 18:06:12 -0000	1.2
  @@ -18,14 +18,14 @@
   $DEBUG = $AxKit::DEBUG || delete $config{DEBUG};
   ######################################################
   
  -if (have_library("iconv", "iconv") || have_library("iconv", "libiconv")) {
  +if (have_library("c", "iconv")) {
  +    # other unix
  +}
  +elsif (have_library("iconv", "iconv") || have_library("iconv", "libiconv")) {
       # probably FreeBSD or Win32
       print "Found libiconv. Might be *BSD or Win32...\n\n";
       $config{LIBS} .= " -liconv";
   }
  -elsif (have_library("c", "iconv")) {
  -    # other unix
  -}
   else {
       print <<"REASON";
   AxKit needs the iconv system library to work properly. This comes by