|
1 | 1 | dnl Process this file with autoconf to produce a configure script.
|
2 |
| -dnl $Header: /cvsroot/pgsql/configure.in,v 1.213 2002/10/23 20:59:03 momjian Exp $ |
| 2 | +dnl $Header: /cvsroot/pgsql/configure.in,v 1.214 2002/10/24 01:33:50 momjian Exp $ |
3 | 3 | dnl
|
4 | 4 | dnl Developers, please strive to achieve this order:
|
5 | 5 | dnl
|
|
837 | 837 |
|
838 | 838 | AC_REPLACE_FUNCS([fseeko gethostname getrusage inet_aton random srandom strcasecmp strdup strerror strtol strtoul])
|
839 | 839 |
|
| 840 | +# BSD/OS has a custom fseeko/ftello built on fsetpos/fgetpos |
| 841 | +# We override the previous test that said fseeko/ftello didn't exist |
| 842 | +case $host_os in bsdi*) |
| 843 | +ac_cv_func_fseeko=yes |
| 844 | +esac |
| 845 | + |
840 | 846 | # Solaris has a very slow qsort in certain cases.
|
841 | 847 | case $host_os in
|
842 | 848 | solaris*) AC_LIBOBJ(qsort) ;;
|
@@ -903,12 +909,6 @@ AC_CHECK_FUNCS(atexit, [],
|
903 | 909 | [AC_CHECK_FUNCS(on_exit, [],
|
904 | 910 | [AC_MSG_ERROR([neither atexit() nor on_exit() found])])])
|
905 | 911 |
|
906 |
| -# BSD/OS has a custom fseeko/ftello built on fsetpos/fgetpos |
907 |
| -# We override the previous test that said fseeko/ftello didn't exist |
908 |
| -case $host_os in bsdi*) |
909 |
| -ac_cv_func_fseeko=yes |
910 |
| -esac |
911 |
| - |
912 | 912 | AC_FUNC_FSEEKO
|
913 | 913 |
|
914 | 914 |
|
|