[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-cvs: CVS update: configure.ac



  User: danmc   
  Date: 05/08/17 12:41:52

  Modified:    .        configure.ac
  Log:
  fix up grenum on systems such as solaris without getopt_long.
  
  
  
  
  Revision  Changes    Path
  1.22      +3 -2      eda/geda/devel/utils/configure.ac
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: configure.ac
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/devel/utils/configure.ac,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -b -r1.21 -r1.22
  --- configure.ac	16 Aug 2005 17:05:14 -0000	1.21
  +++ configure.ac	17 Aug 2005 16:41:52 -0000	1.22
  @@ -188,14 +188,15 @@
   AC_HEADER_SYS_WAIT
   AC_HEADER_DIRENT
   AC_CHECK_HEADERS(unistd.h string.h stdlib.h \
  -                 stdarg.h assert.h fcntl.h errno.h)
  +                 stdarg.h assert.h fcntl.h errno.h \
  +                 getopt.h)
   
   # Checks for typedefs, structures, and compiler characteristics.
   AC_C_CONST
   
   # Checks for library functions.
   AC_TYPE_SIGNAL
  -AC_CHECK_FUNCS(getcwd strstr vsnprintf snprintf)
  +AC_CHECK_FUNCS(getcwd strstr vsnprintf snprintf getopt_long)
   
   AC_MSG_CHECKING([for optarg in unistd.h])
   AC_TRY_COMPILE(