diff options
author | Sander Vesik <svesik@openoffice.org> | 2001-11-12 17:46:42 +0000 |
---|---|---|
committer | Sander Vesik <svesik@openoffice.org> | 2001-11-12 17:46:42 +0000 |
commit | fe56519702a5b35696dba73a90d358bb7d8059b4 (patch) | |
tree | 40a2b9756b7d67e936159ac951629739d8004bd3 /config_office | |
parent | 5e29b7e9d2394d86562b094be8e8173e4e8e2500 (diff) |
Check for the presence of the gpc files
Diffstat (limited to 'config_office')
-rw-r--r-- | config_office/configure.in | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/config_office/configure.in b/config_office/configure.in index 10bb9ee00189..343e0b949808 100644 --- a/config_office/configure.in +++ b/config_office/configure.in @@ -958,6 +958,25 @@ fi else with_unzip_home="NO_UNZIP_HOME" fi + +dnl =================================================================== +dnl Test for the presence of the required gpc.{c,h} files +dnl =================================================================== + +AC_MSG_CHECKING([GPC files]) +if test -e ../external/gpc/gpc.h; then + HAVE_GPC_H="yes" +fi +if test -e ../external/gpc/gpc.c; then + HAVE_GPC_C="yes" +fi + +if test "$HAVE_GPC_H" == "yes" -a "$HAVE_GPC_C" == "yes"; then + AC_MSG_RESULT([GPC files found]) +else + AC_MSG_ERROR([GPC files not found]) +fi + dnl =================================================================== dnl Setting up the environment. dnl =================================================================== |