[EMAIL PROTECTED] wrote on Wed, 18 Jul 2007 03:02 -0400:
> diff -p -u -r1.242 -r1.243
> --- Makefile.in       28 May 2007 22:40:55 -0000      1.242
> +++ Makefile.in       18 Jul 2007 07:02:27 -0000      1.243
> @@ -257,7 +257,7 @@ GCC_CFLAGS := -pipe -Wall -Wstrict-proto
>  #
>  #SERVERCFLAGS = -D__GEN_POSIX_LOCKING__ -D__PVFS2_TROVE_SUPPORT__
>  
> -SERVERCFLAGS = -D__GEN_POSIX_LOCKING__ -D__PVFS2_JOB_THREADED__ \
> +SERVERCFLAGS = @CFLAGS@ -D__GEN_POSIX_LOCKING__ -D__PVFS2_JOB_THREADED__ \
>  -D__PVFS2_TROVE_THREADED__ @MISC_TROVE_FLAGS@ @DB_CFLAGS@ \
>  -D__PVFS2_TROVE_SUPPORT__ -D__PVFS2_SERVER__

Confused.  Every command that includes SERVERCFLAGS also includes
CFLAGS.  Why do you need a second copy of CFLAGS?

> diff -p -u -r1.317 -r1.318
> --- configure.in      9 Jun 2007 20:36:57 -0000       1.317
> +++ configure.in      18 Jul 2007 07:02:29 -0000      1.318
> @@ -786,6 +786,10 @@ if test -n "$MX_HOME" ; then
>      AC_CHECK_HEADER(myriexpress.h,, AC_MSG_ERROR([Header myriexpress.h not 
> found.]))
>      BUILD_MX=1
>      CPPFLAGS="$CPPFLAGS_OLD"
> +    CFLAGS="${CFLAGS} -I${MX_HOME}/include"
> +    LDFLAGS="$LDFLAGS -L${MX_HOME}/lib"
> +    SERVER_LDFLAGS="$SERVER_LDFLAGS -L${MX_HOME}/lib"
> +    LIBS="$LIBS -lmyriexpress"
>  fi

All the other BMI implementations don't modify CFLAGS at this stage.
There is a chunk in Makefile.in that does so depending on calculated
MX_HOME, e.g.  MX already has one of these too.  Why is this
necessary?

> @@ -1163,6 +1167,8 @@ doc/random/module.mk
>  examples/pvfs2-server.rc
>  doc/doxygen/pvfs2-doxygen.conf
>  )
> +
> +chmod $BUILD_ABSOLUTE_TOP/src/apps/admin/pvfs2-config

Does this even work?  Maybe "+x"?

                -- Pete
_______________________________________________
Pvfs2-developers mailing list
Pvfs2-developers@beowulf-underground.org
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers

Reply via email to