Menu

#3 src/dvdnav.c needs VERSION in config.h  Edit

closed
nobody
None
5
2012-07-08
2002-12-02
No

src/dvdnav.c needs the VERSION to be in config.h
but its not because it was doing AC_SUBST(VERSION)
after AM_CONFIG_HEADER(config.h) in configure.in rather
than before.

diff -ur libdvdnav-0.1.4.orig/configure.in
libdvdnav-0.1.4/configure.in
--- libdvdnav-0.1.4.orig/configure.in 2002-09-18
23:48:28.000000000 -0500
+++ libdvdnav-0.1.4/configure.in 2002-12-02
16:28:42.000000000 -0600
@@ -58,10 +58,13 @@
check_athlon=yes
fi

+
+AC_SUBST(VERSION)
+
+
dnl create a config.h file (Automake will add
-DHAVE_CONFIG_H)
AM_CONFIG_HEADER(config.h)

-AC_SUBST(VERSION)

ISODATE=date +%Y-%m-%d
AC_SUBST(ISODATE)

Discussion

  • Joshua Jackson

    Joshua Jackson - 2002-12-02

    Logged In: YES
    user_id=336247

    Actually, this patch, of course, didn't fix it :)

     
  • Joshua Jackson

    Joshua Jackson - 2002-12-02

    Logged In: YES
    user_id=336247

    seems I have to do this to get it to work...
    misc/autogen.sh
    autoheader
    misc/autogen.sh

     
  • James Courtier-Dutton

    Logged In: YES
    user_id=9273

    Error message not present in latest libdvdnav cvs.

    define VERSION "0.1.9cvs"

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB