Develop and Download Open Source Software

Browse CVS Repository

Diff of /satellite/satellite4/configure.in

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

revision 1.12 by orrisroot, Sun Oct 30 19:09:51 2005 UTC revision 1.13 by orrisroot, Sun Oct 30 19:40:54 2005 UTC
# Line 67  AC_CHECK_LIB(m, sin) Line 67  AC_CHECK_LIB(m, sin)
67    
68  # check pthread library  # check pthread library
69  ACX_PTHREAD  ACX_PTHREAD
70    # Some platforms use these, so just defineed them.  They can't hurt if they
71    # are not supported.
72    PTHREAD_CFLAGS="$PTHREAD_CFLAGS -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS"
73    # At this point, we don't want to muck with the compiler name for threading.
74    # Let's see who fails, perhaps AIX.  2004-04-23
75    if test "$PTHREAD_CC" != "$CC"; then
76    AC_MSG_ERROR([
77    satellite4 does not support platforms that require a special
78    compiler binary for thread-safety.
79    ])
80    fi
81    
82  # check termcap library  # check termcap library
83  AM_PATH_TERMCAP  AM_PATH_TERMCAP
84  # check X Toolkit  # check X Toolkit
85  AM_PATH_XTOOLKIT  AM_PATH_XTOOLKIT
86    
 # added pthread flags  
 CC="$PTHREAD_CC"  
 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"  
 CXXFLAGS="$CXXFLAGS $PTHREAD_CFLAGS"  
 LIBS="$PTHREAD_LIBS $LIBS"  
   
87  # FIXME: Replace `main' with a function in `-lsatellite':  # FIXME: Replace `main' with a function in `-lsatellite':
88  #AC_CHECK_LIB([satellite], [main])  #AC_CHECK_LIB([satellite], [main])
89  # FIXME: Replace `main' with a function in `-lslshell':  # FIXME: Replace `main' with a function in `-lslshell':
# Line 127  AC_FUNC_VPRINTF Line 133  AC_FUNC_VPRINTF
133  AC_CHECK_FUNCS([endpwent floor ftime getcwd gethostname gettimeofday memmove memset mkdir munmap pow putenv rmdir setenv setlocale sqrt strchr strdup strpbrk strrchr strstr strtol lrand48 \  AC_CHECK_FUNCS([endpwent floor ftime getcwd gethostname gettimeofday memmove memset mkdir munmap pow putenv rmdir setenv setlocale sqrt strchr strdup strpbrk strrchr strstr strtol lrand48 \
134                  bzero strerror strncpy snprintf lockf flock vsnprintf])                  bzero strerror strncpy snprintf lockf flock vsnprintf])
135    
136    # replaced cflags and libs for pthread support
137    CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
138    CXXFLAGS="$CXXFLAGS $PTHREAD_CFLAGS"
139    LIBS="$PTHREAD_LIBS $LIBS"
140    
141  AC_CONFIG_FILES([Makefile  AC_CONFIG_FILES([Makefile
142                   satellite4-config                   satellite4-config
143                   lib/Makefile                   lib/Makefile

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26