Mark,

> config.h:

> /*
>  * define if your system has mkstemp
>  */
> /* #undef HAVE_MKSTEMP */

stdlib.h is the same on both systems.

With gcc 4.1.2:
<...>
checking for io.h... no
checking for sys/time.h... yes
checking for gettimeofday... yes
checking for tempnam... yes
checking for chmod... yes
checking for umask... yes
checking for mkstemp... yes
checking for strerror... yes
checking for stdin... yes
checking version number... 0.5pl20
<...>

With 3.3.5:
<...>
checking for io.h... no
checking for sys/time.h... yes
checking for gettimeofday... no
checking for tempnam... no
checking for chmod... no
checking for umask... no
checking for mkstemp... no
checking for strerror... no
checking for stdin... no
checking for stdarg.h... yes
checking for varargs.h... no
checking version number... 0.5pl20
<...>

Starting clean I can edit this section in uulib/configure:

if eval "test \"`echo '$ac_cv_func_'mkstemp`\" = yes"; then
  echo "$ac_t""yes" 1>&6
  cat >> confdefs.h <<\EOF
#define HAVE_MKSTEMP 1
EOF

else
  echo "$ac_t""no" 1>&6
fi

and force it to #define HAVE_MKSTEMP 1
and then I can run make from the shell prompt and it I believe it
compiles, but I don't know what is the root cause of the test
failures. I did not run 'make install' as I'm not sure if what
was produced is trustworthy.

<...>
checking for umask... no
checking for mkstemp... yes
checking for strerror... no
<...>

Gary V


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to