diff options
author | bubulle <bubulle@alioth.debian.org> | 2012-01-26 21:45:32 +0000 |
---|---|---|
committer | bubulle <bubulle@alioth.debian.org> | 2012-01-26 21:45:32 +0000 |
commit | e3c6ec43fd8374c1d8e07c5798ad018660056b74 (patch) | |
tree | 547a641c615b3ddb88319ee6568deea6ddaf04d1 /examples | |
parent | 8295476c4994f613054e1d49765b655ec74cd50e (diff) | |
download | samba-e3c6ec43fd8374c1d8e07c5798ad018660056b74.tar.gz |
Merge upstream 3.6.2
git-svn-id: svn://svn.debian.org/svn/pkg-samba/trunk/samba@3994 fc4039ab-9d04-0410-8cac-899223bdd6b0
Diffstat (limited to 'examples')
-rw-r--r-- | examples/VFS/configure.in | 5 | ||||
-rw-r--r-- | examples/misc/wall.perl | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/examples/VFS/configure.in b/examples/VFS/configure.in index 4e9d46544d..9e30197737 100644 --- a/examples/VFS/configure.in +++ b/examples/VFS/configure.in @@ -337,11 +337,11 @@ AC_CACHE_CHECK([whether building shared libraries actually works], ac_cv_shlib_works=no # try building a trivial shared library if test "$PICSUFFIX" = "po"; then - $CC $CPPFLAGS $CFLAGS $PICFLAGS -c -o shlib.po ${srcdir-.}/../../tests/shlib.c && + $CC $CPPFLAGS $CFLAGS $PICFLAGS -c -o shlib.po ${SAMBA_SOURCE}/../tests/shlib.c && $CC $CPPFLAGS $CFLAGS `eval echo $LDSHFLAGS` -o "shlib.$SHLIBEXT" shlib.po && ac_cv_shlib_works=yes else - $CC $CPPFLAGS $CFLAGS $PICFLAGS -c -o shlib.$PICSUFFIX ${srcdir-.}/../../tests/shlib.c && + $CC $CPPFLAGS $CFLAGS $PICFLAGS -c -o shlib.$PICSUFFIX ${SAMBA_SOURCE}/../tests/shlib.c && mv shlib.$PICSUFFIX shlib.po && $CC $CPPFLAGS $CFLAGS `eval echo $LDSHFLAGS` -o "shlib.$SHLIBEXT" shlib.po && ac_cv_shlib_works=yes @@ -350,6 +350,7 @@ AC_CACHE_CHECK([whether building shared libraries actually works], ]) if test $ac_cv_shlib_works = no; then BLDSHARED=false + AC_MSG_WARN([[Did you forget to specify --with-samba-source=/path/to/samba?]]) fi fi diff --git a/examples/misc/wall.perl b/examples/misc/wall.perl index 9303658ce1..72d6e8944d 100644 --- a/examples/misc/wall.perl +++ b/examples/misc/wall.perl @@ -1,4 +1,4 @@ -#!/usr/local/bin/perl +#!/usr/bin/perl # #@(#) smb-wall.pl Description: #@(#) A perl script which allows you to announce whatever you choose to |