| | 24 | |
| | 25 | eval { |
| | 26 | Devel::CheckLib::assert_lib(lib => "iconv", libpath => $ENV{LIBDIR}); |
| | 27 | }; |
| | 28 | if ($@) { |
| | 29 | print <<EOM; |
| | 30 | |
| | 31 | *** Whoa! libiconv was not detected! *** |
| | 32 | |
| | 33 | Can't proceed without libiconv. |
| | 34 | You will have to install libiconv by yourself. |
| | 35 | |
| | 36 | EOM |
| | 37 | |
| | 38 | # XXX - in the future, after we create Alien::Iconv, I want to say |
| | 39 | # the following instead: |
| | 40 | # You can either |
| | 41 | # (1) install Alien::Iconv (which will build iconv from source), or |
| | 42 | # (2) install libiconv by yourself by other means. |
| | 43 | #before proceeding. |
| | 44 | exit 0; |
| | 45 | } |