File tree Expand file tree Collapse file tree 5 files changed +28
-1
lines changed Expand file tree Collapse file tree 5 files changed +28
-1
lines changed Original file line number Diff line number Diff line change @@ -10,14 +10,19 @@ Makefile.in
10
10
/aclocal.m4
11
11
/ar-lib
12
12
/autom4te.cache
13
+ /compile
14
+ /config.guess
13
15
/config.h
14
16
/config.h.in
15
17
/config.h.in~
16
18
/config.log
17
19
/config.status
20
+ /config.sub
18
21
/configure
19
22
/depcomp
20
23
/install-sh
24
+ /libtool
25
+ /ltmain.sh
21
26
/missing
22
27
/alfalfa- * .tar.gz
23
28
/stamp-h1
Original file line number Diff line number Diff line change
1
+ ACLOCAL_AMFLAGS = -I m4
1
2
AM_DISTCHECK_CONFIGURE_FLAGS = --enable-debug
2
3
3
4
SUBDIRS = src man
Original file line number Diff line number Diff line change 6
6
AM_INIT_AUTOMAKE ( [ foreign tar-ustar] )
7
7
AC_CONFIG_SRCDIR ( [ src/decoder/prediction.cc] )
8
8
AC_CONFIG_HEADERS ( [ config.h] )
9
+ AC_CONFIG_MACRO_DIRS([ m4] )
9
10
10
11
# Checks for programs.
11
12
AC_PROG_CXX
12
- AC_PROG_RANLIB
13
+ dnl AC_PROG_RANLIB
14
+ LT_INIT
13
15
AC_PATH_PROG ( [ PERL] , [ perl] , [ ] )
14
16
AS_IF ( [ test x"$PERL" = x] ,
15
17
[ AC_MSG_ERROR ( [ cannot find perl] ) ] )
@@ -42,6 +44,20 @@ AC_ARG_ENABLE([debug],
42
44
43
45
AC_SUBST ( NODEBUG_CXXFLAGS )
44
46
47
+ AC_ARG_ENABLE ( [ all-static] ,
48
+ [ AS_HELP_STRING ( [ --enable-all-static] , [ Build statically linked binaries] ) ] ,
49
+ [ case "$enableval" in
50
+ '' | yes)
51
+ STATIC_BUILD_FLAG="-all-static"
52
+ ;;
53
+ *)
54
+ AC_MSG_ERROR ( [ Unknown argument '$enableval' to --enable-all-static] )
55
+ ;;
56
+ esac] ,
57
+ [ STATIC_BUILD_FLAG=""] )
58
+
59
+ AC_SUBST ( STATIC_BUILD_FLAG )
60
+
45
61
# Checks for assemblers
46
62
# TODO only check this when arch is x86
47
63
AC_CHECK_PROGS ( [ AS] , [ yasm nasm] , [ none] )
Original file line number Diff line number Diff line change
1
+ *
Original file line number Diff line number Diff line change 1
1
AM_CPPFLAGS = -I$(srcdir ) /../util -I$(srcdir ) /../decoder -I$(srcdir ) /../display -I$(srcdir ) /../encoder $(GLU_CFLAGS ) $(GLEW_CFLAGS ) $(GLFW3_CFLAGS ) $(X264_CFLAGS ) $(CXX11_FLAGS )
2
2
AM_CXXFLAGS = $(PICKY_CXXFLAGS ) $(NODEBUG_CXXFLAGS )
3
+ AM_LDFLAGS = $(STATIC_BUILD_FLAG )
3
4
4
5
bin_PROGRAMS = vp8decode vp8play collisions xc-enc xc-ssim xc-dissect xc-framesize xc-stitch comp-states
5
6
@@ -8,6 +9,9 @@ vp8decode_LDADD = ../decoder/libalfalfadecoder.a ../util/libalfalfautil.a $(X264
8
9
9
10
vp8play_SOURCES = vp8play.cc
10
11
vp8play_LDADD = ../decoder/libalfalfadecoder.a ../encoder/libalfalfaencoder.a ../display/libalfalfadisplay.a ../util/libalfalfautil.a $(GLU_LIBS ) $(X264_LIBS ) $(GLEW_LIBS ) $(GLFW3_LIBS )
12
+ # NOTE: Debian does not distribute static libs for libGLEW et al,
13
+ # so we have to override AM_LDFLAGS and always dynamically link
14
+ vp8play_LDFLAGS =
11
15
12
16
collisions_SOURCES = collisions.cc
13
17
collisions_LDADD = ../decoder/libalfalfadecoder.a ../util/libalfalfautil.a $(X264_LIBS )
You can’t perform that action at this time.
0 commit comments