/[xforms]/xforms/configure.ac
ViewVC logotype

Diff of /xforms/configure.ac

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by leeming, Tue Sep 9 16:08:49 2003 UTC revision 1.7 by leeming, Fri Oct 3 08:52:51 2003 UTC
# Line 25  for file in config/install-sh config/mki Line 25  for file in config/install-sh config/mki
25    chmod 755 ${srcdir}/${file}    chmod 755 ${srcdir}/${file}
26  done  done
27    
28  AC_ARG_ENABLE(demos,  AC_ARG_ENABLE(demos, [AC_HELP_STRING([--enable-demos], [Build demo programs])])
29      [AC_HELP_STRING([--enable-demos], [Build demo programs (default is NO)])],  AM_CONDITIONAL(BUILD_DEMOS, test x$enable_demos = xyes)
     [case "${enableval}" in  
         yes) demos=true ;;  
         no)  demos=false ;;  
         *) AC_MSG_ERROR(bad value ${enableval} for --enable-demos) ;;  
      esac],[demos=false])  
 AM_CONDITIONAL(BUILD_DEMOS, test x$demos = xtrue)  
30    
31  ### Check for programs  ### Check for programs
32  XFORMS_PROG_CC  XFORMS_PROG_CC
# Line 86  AC_CHECK_LIB(m, sin) Line 80  AC_CHECK_LIB(m, sin)
80  AC_CHECK_LIB(c, fopen)  AC_CHECK_LIB(c, fopen)
81    
82  # Checks for header files.  # Checks for header files.
83  dnl we should do something clever when GL is not installed  AC_CHECK_HEADERS([sys/select.h])
84  AC_CHECK_HEADERS([sys/select.h GL/glx.h])  
85    # Check whether we want to build the gl code
86    AC_ARG_ENABLE(gl,
87      [AC_HELP_STRING([--disable-gl], [Do not build GL support library])])
88    if test x$enable_gl != xno ; then
89      AC_CHECK_HEADER([GL/glx.h],, [enable_gl=no])
90    fi
91    AM_CONDITIONAL(BUILD_GL, [test x$enable_gl != xno])
92    
93    
94  dnl we have some code in lib/listdir.c that could use that...  dnl we have some code in lib/listdir.c that could use that...
95  dnl AC_HEADER_DIRENT  dnl AC_HEADER_DIRENT

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26