summaryrefslogtreecommitdiff
path: root/DevIL/m4/devil-report.m4
blob: e10661e2a36c1bd7175379aad1445e6b25f2f095 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
AC_DEFUN([IL_REPORT],
[AC_MSG_NOTICE([+----------------------------------------+])
AS_IF([test "x$enable_IL" = "xyes"],
      [AC_MSG_NOTICE([\| IL library  Supported formats \|])
       AC_MSG_NOTICE([+----------------------------------------+-------+])
       AC_MSG_NOTICE([$SUPPORTED_FORMATS]) 
       AC_MSG_NOTICE([+----------------------------------------+])
       AC_MSG_NOTICE([\| IL library External libraries \|]) 
       AC_MSG_NOTICE([+----------------------------------------+-------+])
       AC_MSG_NOTICE([Required libs: $IL_LIBS_REQUIRED])
       AS_IF([test "x$enable_modules" = "xyes"],
             [AC_MSG_NOTICE([+----------------------------------------+-------+])
              AC_MSG_NOTICE([Optional libs: $IL_LIBS_OPTIONAL]) ]) ],
      [AC_MSG_NOTICE([\| IL disabled (huh? good luck!) \|]) ]) ])

AC_DEFUN([ILU_REPORT],
[AC_MSG_NOTICE([+----------------------------------------+])
AS_IF([test "x$enable_ILU" = "xyes"],
      [AC_MSG_NOTICE([\|      ILU part enabled        \|]) ],
      [AC_MSG_NOTICE([\|      ILU part disabled       \|]) 
       AC_MSG_NOTICE([+----------------------------------------+-------+])
       AC_MSG_NOTICE([Pass --enable-ILU option to the configure script if you want to build ILU]) ]) ])

AC_DEFUN([ILUT_REPORT],
[AC_MSG_NOTICE([+----------------------------------------+])
AS_IF([test "x$enable_ILUT" = "xyes"],
      [AC_MSG_NOTICE([\| ILUT library  Supported APIs \|])
       AC_MSG_NOTICE([+----------------------------------------+-------+])
       AC_MSG_NOTICE([$SUPPORTED_API])],
      [AC_MSG_NOTICE([\|      ILUT part disabled      \|])
       AC_MSG_NOTICE([+----------------------------------------+-------+])
       AC_MSG_NOTICE([Pass --enable-ILUT option to the configure script if you want to build ILUT]) ]) ])

AC_DEFUN([EXTENSIONS_REPORT],
[AC_MSG_NOTICE([+----------------------------------------+])
       AC_MSG_NOTICE([\| Detected Machine Extensions  \|])
AC_MSG_NOTICE([+----------------------------------------+-------+])
AC_MSG_NOTICE([$SUPPORTED_EXTENSION]) ])

AC_DEFUN([EXAMPLES_REPORT],
[AC_MSG_NOTICE([+----------------------------------------+])
AS_IF([test "x$with_examples" = "xyes"],
      [AC_MSG_NOTICE([\|      Building examples       \|]) 
       AC_MSG_NOTICE([+----------------------------------------+-------+])
       AC_MSG_NOTICE([$EXAMPLES_TO_BUILD])
       AS_IF([test "x$build" != "x$host"],
             [AC_MSG_NOTICE([Note: You may get some errors when cross-compiling when using OpenEXR, Allegro and/or SDL. So if you are cross-compiling and getting these errors (very likely if you use MingW), just pass --disable-exr, --disable-allegro or --disable-sdl to the configure script.]) ]) ],
      [AC_MSG_NOTICE([\|  Not building any examples   \|]) 
       AC_MSG_NOTICE([+----------------------------------------+-------+])
       AC_MSG_NOTICE([Pass --with-examples option to the configure script if you want to build examples.]) ])
AC_MSG_NOTICE([+----------------------------------------+]) ])