+dnl This library is distributed in the hope that it will be useful,
+dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
+dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+dnl Lesser General Public License for more details.
+dnl
+dnl You should have received a copy of the GNU Lesser General Public
+dnl License along with this library; if not, write to the Free Software
+dnl Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+dnl
+dnl See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+dnl
+dnl OPTIONS_QT
+dnl ------------------------------------------------------------------------
+dnl Adds the --with-qt=path
+dnl
+AC_DEFUN([OPTIONS_QT], [
+ AC_ARG_WITH([qt],
+ [AC_HELP_STRING([--with-qt], [Possible usage:
+ "Qt_Install_Path" - prefix to path where Qt was installd;
+ "" or "yes" or "auto" - means seaching installed Qt product in the system (checking $QTDIR and then - standard system paths );
+ "no" - not use Qt product (is not supported)
+ By default "" option is used)])],
+ [with_qt=$withval], [with_qt=""])
+])