Skip to content
This repository has been archived by the owner on Sep 15, 2022. It is now read-only.

Commit

Permalink
Ensure a C++ compiler is actually installed per Joshua Drake
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.pgadmin.org/trunk@5064 a7884b65-44f6-0310-8a51-81a127f17b15
  • Loading branch information
dpage committed Mar 29, 2006
1 parent b36e07f commit 4bdf4e6
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
17 changes: 17 additions & 0 deletions acinclude.m4
Expand Up @@ -9,6 +9,17 @@
#
#######################################################################

#################################
# Check there is a C++ compiler #
#################################

AC_DEFUN([CHECK_CPP_COMPILER],
[
if test "$ac_cv_prog_cxx_g" == no; then
AC_MSG_ERROR([could not find a suitable C++ to build pgAdmin])
fi
])

#############################
# Override wxWidgets version #
#############################
Expand Down Expand Up @@ -407,6 +418,12 @@ AC_DEFUN([SUMMARY],
echo "PostgreSQL directory: $PG_HOME"
echo "PostgreSQL pg_config binary: $PG_CONFIG"
echo "PostgreSQL version: $PG_VERSION"
if test "$PG_SSL" == yes
then
echo "PostgreSQL SSL support: Present"
else
echo "PostgreSQL SSL support: Missing"
fi
echo
echo "wxWidgets directory: $WX_HOME"
echo "wxWidgets wx-config binary: $WX_CONFIG"
Expand Down
1 change: 1 addition & 0 deletions configure.ac.in
Expand Up @@ -12,6 +12,7 @@ AC_PREFIX_DEFAULT([/usr/local/pgadmin3])
# Checks for programs.
AC_PROG_CC
AC_PROG_CXX
CHECK_CPP_COMPILER

# Checks for header files.
AC_HEADER_STDC
Expand Down

0 comments on commit 4bdf4e6

Please sign in to comment.