This contains my bachelors thesis and associated tex files, code snippets and maybe more. Topic: Data Movement in Heterogeneous Memories with Intel Data Streaming Accelerator
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
1.3 KiB

  1. AC_INIT(diction.c)
  2. AC_CONFIG_HEADER(config.h)
  3. AC_CANONICAL_HOST
  4. VERSION=1.03
  5. UPDATED='April 8, 2003'
  6. ALL_LINGUAS="de"
  7. if test "$prefix" = NONE
  8. then
  9. case $host in
  10. *-linux-*)
  11. PIPE="-pipe "
  12. ;;
  13. esac
  14. fi
  15. AC_PROG_CC
  16. if test "$GCC" = yes
  17. then
  18. CFLAGS="${CFLAGS} ${PIPE}-Wno-unused -Wshadow -Wbad-function-cast -Wmissing-prototypes -Wstrict-prototypes -Wcast-align -Wcast-qual -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wnested-externs -Wundef -pedantic -fno-common"
  19. LDFLAGS='-g'
  20. fi
  21. AC_PROG_INSTALL
  22. AC_CHECK_FUNCS(strerror)
  23. AC_MSG_CHECKING(for broken realloc)
  24. AC_TRY_RUN([#include <sys/types.h>
  25. #include <signal.h>
  26. #include <stdlib.h>
  27. static void sigsegv(int n)
  28. {
  29. exit(1);
  30. }
  31. int main(void)
  32. {
  33. signal(SIGSEGV,sigsegv);
  34. realloc((void*)0,1);
  35. exit(0);
  36. }
  37. ],AC_MSG_RESULT(no),AC_DEFINE(BROKEN_REALLOC) AC_MSG_RESULT(yes))
  38. USE_NLS=no
  39. AC_CHECK_PROG(MSGFMT,msgfmt,yes,no)
  40. if test "$MSGFMT" = yes
  41. then
  42. AC_CHECK_HEADERS(libintl.h,[LIBINTL=yes])
  43. if test "$LIBINTL" = yes
  44. then
  45. AC_SEARCH_LIBS(gettext,intl,[AC_DEFINE(HAVE_GETTEXT) USE_NLS=yes])
  46. fi
  47. fi
  48. AC_DEFINE_UNQUOTED(VERSION,"$VERSION")
  49. AC_SUBST(VERSION)
  50. AC_SUBST(UPDATED)
  51. eval DATADIR=$datadir
  52. AC_SUBST(DATADIR)
  53. AC_SUBST(USE_NLS)
  54. AC_OUTPUT(Makefile diction.1 diction.texi diction.spec style.1)