+case "@host_os@" in
+ darwin*)
+ # Special Code for executing on Darwin / Mac OS X only
+ if [ "$DYLD_LIBRARY_PATH" = "" ]
+ then
+ DYLD_LIBRARY_PATH=$mylibdir
+ else
+ DYLD_LIBRARY_PATH=$mylibdir:$DYLD_LIBRARY_PATH
+ fi
+ # DYLD_LIBRARY_PATH will not be empty now
+ # Add the grlibdir paths to the front of any library load variable
+ if [ "$grlibdir" != "" ]
+ then
+ DYLD_LIBRARY_PATH=$grlibdir:$DYLD_LIBRARY_PATH
+ fi
+ # Add the withdirs paths to the end of any library load variable
+ if [ "$withlibdirs" != "" ]
+ then
+ DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$withlibdirs
+ fi
+ export DYLD_LIBRARY_PATH
+ ;;
+ cygwin*|win*|mingw*)
+ # Special Code for executing on Win32 variants only
+ if [ "$PATH" = "" ]
+ then
+ PATH=$mylibdir
+ else
+ PATH=$mylibdir:$PATH
+ fi
+ # PATH will not be empty now
+ # Add the grlibdir paths to the front of any library load variable
+ if [ "$grlibdir" != "" ]
+ then
+ PATH=$grlibdir:$PATH
+ fi
+ # Add the withdirs paths to the end of any library load variable
+ if [ "$withlibdirs" != "" ]
+ then
+ PATH=$PATH:$withlibdirs
+ fi
+ export PATH
+ ;;
+esac