From: Hans U. N. <hu...@us...> - 2007-05-21 13:50:59
|
Update of /cvsroot/libexif/libexif In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv20046 Modified Files: configure.ac Log Message: move exif symlink creation (for #include <exif/exif-foo.h> on uninstalled source tree) to proper place Index: configure.ac =================================================================== RCS file: /cvsroot/libexif/libexif/configure.ac,v retrieving revision 1.21 retrieving revision 1.22 diff -u -p -d -r1.21 -r1.22 --- configure.ac 17 May 2007 14:57:25 -0000 1.21 +++ configure.ac 21 May 2007 13:50:55 -0000 1.22 @@ -3,6 +3,15 @@ AC_INIT([EXIF library],[0.6.14.cvs1],[li AC_CONFIG_SRCDIR([libexif/exif-data.h]) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_MACRO_DIR([auto-m4]) +AC_CONFIG_COMMANDS_PRE([ + # Symlink to enable proper #include <exif/foo.h> on uninstalled + # libexif source tree. Move the header files once the source + # is out of CVS and in SVN, git, bzr, whatever. + if test -e "${srcdir}/libexif/exif"; then + rm -f "${srcdir}/libexif/exif" + fi + (cd "${srcdir}/libexif" && ${LN_S} . exif) +]) AM_INIT_AUTOMAKE([-Wall gnu 1.9 dist-bzip2 dist-zip check-news]) if test ! -d "$srcdir/m4m"; then @@ -181,15 +190,6 @@ AC_CONFIG_FILES([ libexif.pc libexif-uninstalled.pc binary/Makefile -], [ - # Symlink to enable proper #include <exif/foo.h> on uninstalled - # libexif source tree. Move the header files once the source - # is out of CVS and in SVN, git, bzr, whatever. - if test -e "${srcdir}/libexif/exif"; then - : # do nothing - else - (cd ${srcdir}/libexif && ${LN_S} exif .) - fi ]) AC_OUTPUT |