]> Pileus Git - ~andy/fetchmail/blobdiff - configure.in
Try to fix a nasty MIME-decoding bug.
[~andy/fetchmail] / configure.in
index 56098371860a169e84035cf53b8e74c66305096b..53b07e562b3e8c511044b4ae2a008e8ab0e222f3 100644 (file)
@@ -50,18 +50,22 @@ then
   echo "Adding -lbsd to standard libraries"
   LIBS="$LIBS -lbsd"
   LDFLAGS=""
-  if test `uname -r` = "2.5.0"
-  then
-    echo "Prepending standard include path to gcc flags"
-    CPFLAGS="-I/usr/include"
-  fi
+  echo "Prepending standard include path to gcc flags"
+  CPFLAGS="-I/usr/include"
 fi
 
+# Check for FreeBSD special case: -lkvm needed
+if test `uname` = "FreeBSD" 
+then
+   echo "Adding -lkvm to standard libraries"
+   LIBS="$LIBS -lkvm"
+fi
 # i18n
 # Arnaldo Carvalho de Melo <acme@conectiva.com.br>
 # Sat Nov  7 15:39:03 EDT 1998
 
-ALL_LINGUAS="pt_BR es pl"
+ALL_LINGUAS="pt_BR es pl fr"
 
 AM_GNU_GETTEXT
 
@@ -122,8 +126,9 @@ AC_SUBST(EXTRADEFS)
 AC_SUBST(EXTRASRC)
 AC_SUBST(EXTRAOBJ)
 
-AC_CHECK_FUNCS(tcsetattr stty setsid seteuid gethostbyname res_search herror \
-  strrchr strerror setlinebuf syslog snprintf vprintf vsnprintf vsyslog \
+AC_CHECK_FUNCS(tcsetattr stty setsid geteuid seteuid gethostbyname \
+  res_search herror strrchr strerror setlinebuf syslog \
+  snprintf vprintf vsnprintf vsyslog \
   atexit inet_aton strftime setrlimit socketpair sigprocmask)
 
 # Under Red Hat 4.0 (and many other Linuxes) -lresolv is seriously flaky