root/vic/branches/cc/configure.in.tail @ 4718

Revision 4718, 1.4 KB (checked in by soohyunc, 4 years ago)

Updated configure.in.tail (copied from mpeg4 branch)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1dnl standard final commands for vic/vat/etc. autoconf scripts
2dnl $Header$ (LBL)
3
4# various include hacks
5dirs="../common/src \
6        /usr/include/uclmmbase \
7        /usr/include/common-mml \
8        /usr/local/include/uclmmbase \
9        /usr/local/include/common-mml"
10
11if test x$prefix != xNONE ; then
12        dirs="$prefix/include/common-mml $prefix/include/uclmmbase $dirs"
13fi
14
15for dir in $dirs; do
16        if test -d $dir ; then
17                V_INCLUDE="$V_INCLUDE -I$dir"
18        fi
19done
20
21# various linker hacks
22if test x$prefix != xNONE ; then
23        if test -d $prefix/lib64 ; then
24                V_LDFLAGS="-L$prefix/lib64 $V_LDFLAGS"
25        else
26                V_LDFLAGS="-L$prefix/lib $V_LDFLAGS"
27        fi
28else
29        if test -d ../common/src ; then
30                V_LDFLAGS="-L../common/src $V_LDFLAGS"
31        fi
32fi
33
34# always use -g with gcc during development (even with -O)
35#if test "$CC" = gcc && test -f .devel ; then
36if test "$CC" = gcc  ; then
37        V_CCOPT="$V_CCOPT -g -W -Wall -Wno-return-type"
38        V_CCOPT_H261="$V_CCOPT_H261 -g -W -Wall -Wno-return-type"
39        V_DEFINE="$V_DEFINE -fsigned-char"
40fi
41
42V_TAR_TARGET=$target_os
43AC_SUBST(V_TAR_TARGET)
44
45AC_SUBST(V_ALL)
46AC_SUBST(V_CCOPT)
47AC_SUBST(V_LDFLAGS)
48AC_SUBST(V_CCLDFLAGS32)
49AC_SUBST(V_CCOPT_H261)
50AC_SUBST(V_TAR_EXTRA)
51AC_SUBST(V_LIB)
52AC_SUBST(V_DEFINE)
53AC_SUBST(V_SIGRET)
54AC_SUBST(V_SHELL)
55AC_SUBST(V_STATIC)
56AC_SUBST(V_TARCMD)
57AC_SUBST(V_INCLUDE)
58AC_SUBST(V_OBJ)
59AC_SUBST(V_BROKEN_OBJ)
60AC_SUBST(V_OBJ_CRYPT)
61
62AC_OUTPUT(Makefile)
63
64if test -f .devel ; then
65        make depend
66fi
Note: See TracBrowser for help on using the browser.