Check-in [866ccdd97b]
Overview
Comment:Updated to link to statgrab if we are using functions from it
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 866ccdd97b9e22ff9084e05701de5bef470f98e9
User & Date: rkeene on 2014-01-21 00:24:22.000
Other Links: manifest | tags
Context
2014-01-21
00:24
Rebuilt configure script check-in: fc514afcf6 user: rkeene tags: trunk
00:24
Updated to link to statgrab if we are using functions from it check-in: 866ccdd97b user: rkeene tags: trunk
00:23
Added COPYING file check-in: a169b5a32e user: rkeene tags: trunk
Changes
36
37
38
39
40
41
42
43

44
45
46
47
48
49
50
36
37
38
39
40
41
42

43
44
45
46
47
48
49
50







-
+







		  OLDCFLAGS="$CFLAGS"
		  OLDCPPFLAGS="$CPPFLAGS"
		  CPPFLAGS="$CPPFLAGS ${LIBSTATGRABCFLAGS}"
		  CFLAGS="$CFLAGS ${LIBSTATGRABCFLAGS}"
  		  AC_CHECK_HEADER(statgrab.h, [
		    AC_DEFINE(HAVE_LIBSTATGRAB_H, [1], [Define to 1 if you have the <statgrab.h> header file.])
		    AC_DEFINE(HAVE_LIBSTATGRAB, [1], [Define to 1 if you have sg_get_mem_stats from -lstatgrab])
		    LIBS="$LIBS $LIBSTATGRABFLAGS"
		    LIBS="$LIBS $LIBSTATGRABFLAGS -lstatgrab"
  		    AC_CHECK_LIB(statgrab, statgrab_drop_privileges, [
		      AC_DEFINE(HAVE_STATGRAB_DROP_PRIVILEGES, [1], [Define to 1 if you have statgrab_drop_privileges from -lstatgrab])
		    ])
		  ], [
		    CFLAGS="$OLDCFLAGS"
		    CPPFLAGS="$OLDCPPFLAGS"
		    AC_MSG_ERROR(Could not find statgrab.h)