do not configure in the perl5 interface.
the perl5 interface needs to be installed under /usr/local/lib/perl5/*, which
is generally owned by root. This allows a non-root build/install with the
only root requirement being the make/install of hte perl5 stuff...
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/parser/Attic/gram.c,v 2.44 1998/10/09 21:28:42 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/parser/Attic/gram.c,v 2.45 1998/10/13 17:26:41 scrappy Exp $
*
* HISTORY
* AUTHOR DATE MAJOR EVENT
-1, -1, -1, -1, -1, -1, -1, -1, 204
};
/* -*-C-*- Note some compilers choke on comments on `#line' lines. */
-#line 3 "/usr/local/bison/bison.simple"
+#line 3 "/usr/local/share/bison.simple"
/* Skeleton output parser for bison,
Copyright (C) 1984, 1989, 1990 Free Software Foundation, Inc.
#endif
#endif
\f
-#line 196 "/usr/local/bison/bison.simple"
+#line 196 "/usr/local/share/bison.simple"
/* The user can define YYPARSE_PARAM as the name of an argument to be passed
into yyparse. The argument should have type void *.
break;}
}
/* the action file gets copied in in place of this dollarsign */
-#line 498 "/usr/local/bison/bison.simple"
+#line 498 "/usr/local/share/bison.simple"
\f
yyvsp -= yylen;
yyssp -= yylen;
/* A lexical scanner generated by flex */
/* Scanner skeleton version:
- * /master/usr.bin/lex/skel.c,v 1.3 1997/09/25 00:10:23 jch Exp
+ * $Header: /cvsroot/pgsql/src/backend/parser/Attic/scan.c,v 1.31 1998/10/13 17:26:50 scrappy Exp $
*/
#define FLEX_SCANNER
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/parser/Attic/scan.c,v 1.30 1998/10/09 03:07:54 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/parser/Attic/scan.c,v 1.31 1998/10/13 17:26:50 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
withval="$with_perl"
case "$withval" in
- y | ye | yes) USE_PERL=true; echo "$ac_t""enabled" 1>&6 ;;
- *) USE_PERL=false; echo "$ac_t""disabled" 1>&6 ;;
+ y | ye | yes) USE_PERL=true; echo "$ac_t""enabled" 1>&6 ;;
+ *) USE_PERL=false; echo "$ac_t""disabled" 1>&6 ;;
esac
else
#dnl Verify that postgres is already installed
#dnl per instructions for perl interface installation
-#if test "$USE_PERL" = "true"
-#then
-# if test ! -x "$prefix"/bin/postgres -a ! -x "$ac_default_prefix"/bin/postgres
-# then AC_MSG_WARN(perl support disabled; postgres not previously installed)
-# USE_PERL=
-# fi
-#fi
+if test "$USE_PERL" = "true"
+then
+ if test "$WHOAMI" != "root"
+ then echo "configure: warning: perl support disabled; must be root to install" 1>&2
+ USE_PERL=
+ fi
+fi
export USE_PERL
echo $ac_n "checking setting USE_ODBC""... $ac_c" 1>&6
[ --with-perl use perl ],
[
case "$withval" in
- y | ye | yes) USE_PERL=true; AC_MSG_RESULT(enabled) ;;
- *) USE_PERL=false; AC_MSG_RESULT(disabled) ;;
+ y | ye | yes) USE_PERL=true; AC_MSG_RESULT(enabled) ;;
+ *) USE_PERL=false; AC_MSG_RESULT(disabled) ;;
esac
],
[ USE_PERL=false; AC_MSG_RESULT(disabled) ]
#dnl Verify that postgres is already installed
#dnl per instructions for perl interface installation
-#if test "$USE_PERL" = "true"
-#then
-# if test ! -x "$prefix"/bin/postgres -a ! -x "$ac_default_prefix"/bin/postgres
-# then AC_MSG_WARN(perl support disabled; postgres not previously installed)
-# USE_PERL=
-# fi
-#fi
+if test "$USE_PERL" = "true"
+then
+ if test "$WHOAMI" != "root"
+ then AC_MSG_WARN(perl support disabled; must be root to install)
+ USE_PERL=
+ fi
+fi
export USE_PERL
dnl We include odbc support unless we disable it with --with-odbc=false