--- Setup.py	Sun Sep 14 06:35:30 2003
+++ Setup.py.new	Sat Sep 20 15:53:51 2003
@@ -40,6 +40,7 @@
 # Unixoid OS's I will just look for the usual suspects.
 
 libdirs = dirtest([
+    "PREFIX/lib",
     "/usr/local/lib", "/sw/lib", "/usr/lib",
     "/usr/lib/X11", "/usr/X11R6/lib",
     "/opt/gnome/lib",
@@ -48,6 +49,7 @@
 # include_dirs are also non-portable; same trick here.
 
 incdirs = dirtest([
+    "PREFIX/include",
     "/usr/local/include", "/sw/include", "/usr/include",
     "/usr/include/X11", "/usr/X11R6/include",
     "/opt/gnome/include",
@@ -56,7 +58,7 @@
 # Try to identify our libraries
 
 want_libs = [
-    "gd",
+    "gd", "iconv",
     "jpeg", "png", "z",
     "X11", "Xpm",
     "ttf", "freetype",
