(Faref): Handle compiled function as pseudovector.
[bpt/emacs.git] / configure.in
index f7e7cd9..31267bd 100644 (file)
@@ -21,9 +21,21 @@ archlibdir='${libexecdir}/emacs/${version}/${configuration}'
 docdir='${datadir}/emacs/${version}/etc'
 
 AC_ARG_WITH(gcc,
-[  --with-gcc              Use GCC to compile Emacs])
+[  --with-gcc              use GCC to compile Emacs])
+AC_ARG_WITH(pop,
+[  --with-pop              support POP for mail retrieval],
+[AC_DEFINE(MAIL_USE_POP)])
+AC_ARG_WITH(kerberos,
+[  --with-kerberos         support Kerberos-authenticated POP],
+[AC_DEFINE(KERBEROS)])
+AC_ARG_WITH(hesiod,
+[  --with-hesiod           support Hesiod to get the POP server host],
+[AC_DEFINE(HESIOD)])
+dnl This should be the last --with option, because --with-x is
+dnl added later on when we find the path of X, and it's best to
+dnl keep them together visually.
 AC_ARG_WITH(x-toolkit,
-[  --with-x-toolkit=KIT    Use an X toolkit (KIT = yes/lucid/athena/motif)],
+[  --with-x-toolkit=KIT    use an X toolkit (KIT = yes/lucid/athena/motif)],
 [        case "${withval}" in
            y | ye | yes )      val=athena ;;
            n | no )            val=no  ;;
@@ -394,6 +406,12 @@ case "${canonical}" in
   rs6000-ibm-aix3.2.5 | powerpc-ibm-aix3.2.5 )
     machine=ibmrs6000 opsys=aix3-2-5
   ;;
+  rs6000-ibm-aix4.1* | powerpc-ibm-aix4.1*  )
+    machine=ibmrs6000 opsys=aix4-1
+  ;;
+  rs6000-ibm-aix4* | powerpc-ibm-aix4*  )
+    machine=ibmrs6000 opsys=aix4
+  ;;
   rs6000-ibm-aix* | powerpc-ibm-aix* )
     machine=ibmrs6000 opsys=aix3-2
   ;;
@@ -760,7 +778,11 @@ if test x"${opsys}" = x; then
     *-sysv4.1 | *-sysvr4.1 )
        NON_GNU_CPP=/usr/lib/cpp
        opsys=usg5-4 ;;
-    *-sysv4.2 | *-sysvr4.2 )           opsys=usg5-4-2 ;;
+    *-sysv4.2 | *-sysvr4.2 )
+       if [ x$NON_GNU_CPP = x ]; then
+         NON_GNU_CPP=/usr/ccs/lib/cpp
+       fi
+       opsys=usg5-4-2 ;;
     * )
       unported=yes
     ;;
@@ -1247,13 +1269,11 @@ test "${exec_prefix}" != NONE &&
 changequote([, ])dnl
 
 AC_OUTPUT(Makefile lib-src/Makefile.in oldXMenu/Makefile \
-       lwlib/Makefile src/Makefile.in, [
+       man/Makefile lwlib/Makefile src/Makefile.in, [
 
 ### Make the necessary directories, if they don't exist.
-for dir in ./src ./lib-src ./cpp ./oldXMenu ./lwlib ./etc ; do
-  if test ! -d ${dir}; then
-    mkdir ${dir}
-  fi
+for dir in cpp etc ; do
+  test -d ${dir} || mkdir ${dir}
 done
 
 # Build src/Makefile from ${srcdir}/src/Makefile.in.  This must be done