Re: New Patches for SCO OpenServer 5.0.X and UnixWare 7.1.X and OpenUNIX 8.0.0

Boyd Lynn Gerber <[email protected]>
Newsgroups gmane.comp.version-control.cvs.bugs
Message-ID <[email protected]>
On Fri, 9 May 2003, Derek Robert Price wrote:
> Huh?  What's the difference between that and configure's
>
>     gcc -c -g -O2  conftest.c
>
> command line?

I usually use

AC_TRY_RUN([
#include <sys/stat.h>
int main( int argc, char **argv )
{
    int a;
    S_ISSOCK(a);
}

  ], AC_DEFINE(HAVE_XXX) xxx="${xxx}xxx ",
  )

  if test -z "$xxxxx"; then xxxx="no"; fi
  AC_MSG_RESULT($xxxxx)AC_MSG_RESULT

tt,

--
Boyd Gerber <[email protected]>
ZENEZ	1042 East Fort Union #135, Midvale Utah  84047
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.